MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - ground_constraint.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - ground_constraint Making Mercury/int3s/ground_constraint.int3 Making Mercury/ints/ground_constraint.int Making Mercury/javas/jmercury/ground_constraint.java Making Java class files Mercury/javas/jmercury/ground_constraint.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] ground_constraint__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/ground_constraint.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId ground_constraint__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/ground_constraint.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct ground_constraint__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/ground_constraint.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ground_constraint.java:97: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ground_constraint.java:98: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/ground_constraint.java:217: error: package list does not exist list.List_1 HeadVar__1_4) ^ Mercury/javas/jmercury/ground_constraint.java:258: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ground_constraint.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ground_constraint"; ^ Mercury/javas/jmercury/ground_constraint.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ground_constraint.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ground_constraint.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ground_constraint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ground_constraint.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] ground_constraint__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/ground_constraint.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId ground_constraint__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/ground_constraint.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct ground_constraint__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/ground_constraint.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/ground_constraint.java:71: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ground_constraint.java:97: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ground_constraint.java:98: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/ground_constraint.java:104: 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 ground_constraint Mercury/javas/jmercury/ground_constraint.java:104: 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/ground_constraint.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ground_constraint.java:108: 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 ground_constraint Mercury/javas/jmercury/ground_constraint.java:108: 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/ground_constraint.java:109: 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 ground_constraint Mercury/javas/jmercury/ground_constraint.java:109: 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/ground_constraint.java:115: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(ground_constraint.MR_scalar_common_2[0]))) ^ Mercury/javas/jmercury/ground_constraint.java:118: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/ground_constraint.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ground_constraint.java:122: error: package list does not exist (list.List_1) ground_constraint.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ground_constraint.java:143: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/ground_constraint.java:144: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_19)[0])[5]); ^ Mercury/javas/jmercury/ground_constraint.java:144: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_19)[0])[5]); ^ Mercury/javas/jmercury/ground_constraint.java:146: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/ground_constraint.java:148: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/ground_constraint.java:152: error: package jmercury.runtime does not exist conv1_S1_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_19))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_9))))); ^ Mercury/javas/jmercury/ground_constraint.java:156: error: cannot find symbol io.write_string_3_p_0(S1_4); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:159: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:163: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_20)[0])[5]); ^ Mercury/javas/jmercury/ground_constraint.java:165: error: package jmercury.runtime does not exist conv3_S2_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_20))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_12))))); ^ Mercury/javas/jmercury/ground_constraint.java:169: error: cannot find symbol io.write_string_3_p_0(S2_5); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:172: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:174: error: package list does not exist Var_15 = (list.List_1) ground_constraint.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/ground_constraint.java:176: error: package jmercury.runtime does not exist func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_21)[0])[5]); ^ Mercury/javas/jmercury/ground_constraint.java:178: error: package jmercury.runtime does not exist conv5_S3_6 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_4).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_21))), ((java.lang.Object) (((java.lang.Object) (Var_15)))))); ^ Mercury/javas/jmercury/ground_constraint.java:182: error: cannot find symbol io.write_string_3_p_0(S3_6); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:185: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class ground_constraint Mercury/javas/jmercury/ground_constraint.java:234: error: package list does not exist conv0_HeadVar__2_2 = ground_constraint.ClassMethod_for_ground_constraint__foo____list__list__arity1______ground_constraint__s_1_1_f_0(((/* typeclass_info */ java.lang.Object[]) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/ground_constraint.java:246: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/ground_constraint.java:246: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/ground_constraint.java:250: error: package jmercury.runtime does not exist conv1_HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/ground_constraint.java:287: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 60 errors make[3]: *** [/tmp/mmake.x7I2XM:1244: ground_constraint] Error 1 make[3]: Target 'ground_constraint.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/typeclasses'