MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/scripts/mmc --make --options-file - bug190.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/scripts/mmc --make --options-file - bug190.class Making Mercury/int3s/bug190.int3 Making Mercury/ints/bug190.int Making Mercury/javas/jmercury/bug190.java Making Mercury/classes/jmercury/bug190.class Mercury/javas/jmercury/bug190.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug190.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug190__type_ctor_info_bar_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug190.java:25: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug190__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug190.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug190.java:83: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug190.java:84: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/bug190.java:139: error: package list does not exist list.List_1 X_1) ^ Mercury/javas/jmercury/bug190.java:153: error: package list does not exist list.List_1 X_1) ^ Mercury/javas/jmercury/bug190.java:167: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/bug190.java:168: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/bug190.java:165: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug190.java:198: error: cannot find symbol bug190.Foo_0 HeadVar__2_2, ^ symbol: class Foo_0 location: class bug190 Mercury/javas/jmercury/bug190.java:199: error: cannot find symbol bug190.Foo_0 HeadVar__3_3) ^ symbol: class Foo_0 location: class bug190 Mercury/javas/jmercury/bug190.java:196: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug190.java:227: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/bug190.java:228: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/bug190.java:256: error: cannot find symbol bug190.Foo_0 HeadVar__1_1, ^ symbol: class Foo_0 location: class bug190 Mercury/javas/jmercury/bug190.java:257: error: cannot find symbol bug190.Foo_0 HeadVar__2_2) ^ symbol: class Foo_0 location: class bug190 Mercury/javas/jmercury/bug190.java:283: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug190.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug190.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug190__type_ctor_info_bar_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug190.java:25: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug190__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug190.java:30: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bug190 Mercury/javas/jmercury/bug190.java:32: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class bug190 Mercury/javas/jmercury/bug190.java:32: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/bug190.java:39: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/bug190.java:44: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug190.java:47: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug190.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug190.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bug190.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/bug190.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug190.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug190.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/bug190.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class bug190 Mercury/javas/jmercury/bug190.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug190.java:83: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug190.java:84: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/bug190.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bug190.java:89: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class bug190 Mercury/javas/jmercury/bug190.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/bug190.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class bug190 Mercury/javas/jmercury/bug190.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/bug190.java:93: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug190.java:95: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug190.java:97: error: package list does not exist (list.List_1) bug190.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bug190.java:110: error: package list does not exist list.List_1 X_1 = (list.List_1) bug190.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/bug190.java:110: error: package list does not exist list.List_1 X_1 = (list.List_1) bug190.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/bug190.java:125: error: package list does not exist list.List_1 X_1 = (list.List_1) bug190.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/bug190.java:125: error: package list does not exist list.List_1 X_1 = (list.List_1) bug190.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/bug190.java:170: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug190.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug190.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug190.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug190.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug190.java:172: error: package list does not exist list.List_1 Cast_HeadVar1_4 = HeadVar__2_2; ^ Mercury/javas/jmercury/bug190.java:173: error: package list does not exist list.List_1 Cast_HeadVar2_5 = HeadVar__3_3; ^ Mercury/javas/jmercury/bug190.java:176: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_6_6, ((java.lang.Object) (Cast_HeadVar1_4)), ((java.lang.Object) (Cast_HeadVar2_5))); ^ symbol: variable builtin location: class bug190 Mercury/javas/jmercury/bug190.java:187: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug190.java:190: error: package list does not exist conv0_HeadVar__1_1 = bug190.__Compare____bar_type_0_0(((list.List_1) wrapper_arg_2), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/bug190.java:190: error: package list does not exist conv0_HeadVar__1_1 = bug190.__Compare____bar_type_0_0(((list.List_1) wrapper_arg_2), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/bug190.java:201: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug190.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug190.bug190__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bug190.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug190.bug190__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bug190.java:205: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_solver_type_3_p_0(TypeCtorInfo_4_4, ((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (HeadVar__3_3))); ^ symbol: variable private_builtin location: class bug190 Mercury/javas/jmercury/bug190.java:216: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug190.java:219: error: cannot find symbol conv0_HeadVar__1_1 = bug190.__Compare____foo_0_0(((bug190.Foo_0) wrapper_arg_2), ((bug190.Foo_0) wrapper_arg_3)); ^ symbol: class Foo_0 location: class bug190 Mercury/javas/jmercury/bug190.java:219: error: cannot find symbol conv0_HeadVar__1_1 = bug190.__Compare____foo_0_0(((bug190.Foo_0) wrapper_arg_2), ((bug190.Foo_0) wrapper_arg_3)); ^ symbol: class Foo_0 location: class bug190 Mercury/javas/jmercury/bug190.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug190.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug190.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug190.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug190.java:232: error: package list does not exist list.List_1 Cast_HeadVar1_3 = HeadVar__1_1; ^ Mercury/javas/jmercury/bug190.java:233: error: package list does not exist list.List_1 Cast_HeadVar2_4 = HeadVar__2_2; ^ Mercury/javas/jmercury/bug190.java:236: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_5_5, ((java.lang.Object) (Cast_HeadVar1_3)), ((java.lang.Object) (Cast_HeadVar2_4))); ^ symbol: variable builtin location: class bug190 Mercury/javas/jmercury/bug190.java:249: error: package list does not exist succeeded = bug190.__Unify____bar_type_0_0(((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2)); ^ Mercury/javas/jmercury/bug190.java:249: error: package list does not exist succeeded = bug190.__Unify____bar_type_0_0(((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2)); ^ Mercury/javas/jmercury/bug190.java:260: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug190.bug190__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bug190.java:260: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug190.bug190__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bug190.java:263: error: cannot find symbol succeeded = private_builtin.builtin_unify_solver_type_2_p_0(TypeCtorInfo_3_3, ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (HeadVar__2_2))); ^ symbol: variable private_builtin location: class bug190 Mercury/javas/jmercury/bug190.java:276: error: cannot find symbol succeeded = bug190.__Unify____foo_0_0(((bug190.Foo_0) wrapper_arg_1), ((bug190.Foo_0) wrapper_arg_2)); ^ symbol: class Foo_0 location: class bug190 Mercury/javas/jmercury/bug190.java:276: error: cannot find symbol succeeded = bug190.__Unify____foo_0_0(((bug190.Foo_0) wrapper_arg_1), ((bug190.Foo_0) wrapper_arg_2)); ^ symbol: class Foo_0 location: class bug190 Mercury/javas/jmercury/bug190.java:330: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 78 errors ** Error making `Mercury/classes/jmercury/bug190.class'. make[3]: *** [/tmp/mmake.S7n1XS:1497: bug190.class] Error 1 make[3]: Target 'bug190.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid'