MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-09-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-09-19/stage2/scripts/mmc --make --options-file - multi_moded.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-09-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/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-09-19/stage2/scripts/mmc --make --options-file - multi_moded Making Mercury/int3s/multi_moded.int3 Making Mercury/ints/multi_moded.int Making Mercury/javas/jmercury/multi_moded.java Making Java class files Mercury/javas/jmercury/multi_moded.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] multi_moded__type_class_id_method_ids_thisclass_1 = new jmercury.runtime.TypeClassMethod[3]; ^ Mercury/javas/jmercury/multi_moded.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId multi_moded__type_class_id_thisclass_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/multi_moded.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct multi_moded__type_class_decl_thisclass_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/multi_moded.java:99: 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/multi_moded.java:280: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_moded.java:341: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_moded.java:365: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_moded.java:451: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_moded.java:530: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_moded.java:553: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/multi_moded.java:622: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/multi_moded.java:665: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/multi_moded.java:690: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/multi_moded.java:699: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/multi_moded.java:708: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/multi_moded.java:716: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/multi_moded.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "multi_moded"; ^ Mercury/javas/jmercury/multi_moded.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/multi_moded.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/multi_moded.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class multi_moded Mercury/javas/jmercury/multi_moded.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class multi_moded Mercury/javas/jmercury/multi_moded.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/multi_moded.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_moded Mercury/javas/jmercury/multi_moded.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_moded Mercury/javas/jmercury/multi_moded.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_moded Mercury/javas/jmercury/multi_moded.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_moded Mercury/javas/jmercury/multi_moded.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/multi_moded.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] multi_moded__type_class_id_method_ids_thisclass_1 = new jmercury.runtime.TypeClassMethod[3]; ^ Mercury/javas/jmercury/multi_moded.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId multi_moded__type_class_id_thisclass_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/multi_moded.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct multi_moded__type_class_decl_thisclass_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/multi_moded.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/multi_moded.java:62: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class multi_moded Mercury/javas/jmercury/multi_moded.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/multi_moded.java:68: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class multi_moded Mercury/javas/jmercury/multi_moded.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/multi_moded.java:74: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class multi_moded Mercury/javas/jmercury/multi_moded.java:99: 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/multi_moded.java:107: 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 multi_moded Mercury/javas/jmercury/multi_moded.java:107: 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/multi_moded.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/multi_moded.java:111: 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 multi_moded Mercury/javas/jmercury/multi_moded.java:111: 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/multi_moded.java:112: 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 multi_moded Mercury/javas/jmercury/multi_moded.java:112: 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/multi_moded.java:119: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class multi_moded Mercury/javas/jmercury/multi_moded.java:119: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/multi_moded.java:120: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class multi_moded Mercury/javas/jmercury/multi_moded.java:120: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/multi_moded.java:294: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_moded.java:305: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_moded.java:320: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((multi_moded.classMethod_for_multi_moded__thisclass____int__arity0______multi_moded__c_2_2_p_2_10003_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((multi_moded.classMethod_for_multi_moded__thisclass____int__arity0______multi_moded__c_2_2_p_2_10003_env_0) env_ptr).wrapper_arg_2)), ((java.lang.Object) (((multi_moded.classMethod_for_multi_moded__thisclass____int__arity0______multi_moded__c_2_2_p_2_10003_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/multi_moded.java:379: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_thisclass_10)[0])[7]); ^ Mercury/javas/jmercury/multi_moded.java:379: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_thisclass_10)[0])[7]); ^ Mercury/javas/jmercury/multi_moded.java:382: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr4) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_thisclass_10))), ((java.lang.Object) (java.lang.Integer.valueOf(HeadVar__1_8))), ((java.lang.Object) (new AddrOf2_0(1))), ((java.lang.Object) (env_ptr))); ^ Mercury/javas/jmercury/multi_moded.java:395: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((multi_moded.introducedFrom__pred__main__29__1_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((multi_moded.introducedFrom__pred__main__29__1_2_p_0_env_0) env_ptr).HeadVar__2_9), ((java.lang.Object) (((multi_moded.introducedFrom__pred__main__29__1_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/multi_moded.java:419: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_thisclass_3)[0])[5]); ^ Mercury/javas/jmercury/multi_moded.java:419: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_thisclass_3)[0])[5]); ^ Mercury/javas/jmercury/multi_moded.java:422: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_thisclass_3))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (HeadVar__2_2)))).booleanValue(); ^ Mercury/javas/jmercury/multi_moded.java:434: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_thisclass_3)[0])[6]); ^ Mercury/javas/jmercury/multi_moded.java:434: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_thisclass_3)[0])[6]); ^ Mercury/javas/jmercury/multi_moded.java:437: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_thisclass_3))), ((java.lang.Object) (HeadVar__2_2)))); ^ Mercury/javas/jmercury/multi_moded.java:464: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_thisclass_3)[0])[7]); ^ Mercury/javas/jmercury/multi_moded.java:464: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_thisclass_3)[0])[7]); ^ Mercury/javas/jmercury/multi_moded.java:467: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr4) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_thisclass_3))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (new AddrOf2_0(2))), ((java.lang.Object) (env_ptr))); ^ Mercury/javas/jmercury/multi_moded.java:481: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((multi_moded.C_2_p_2_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((multi_moded.C_2_p_2_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((multi_moded.C_2_p_2_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/multi_moded.java:488: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/multi_moded.java:488: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class multi_moded Mercury/javas/jmercury/multi_moded.java:488: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/multi_moded.java:489: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/multi_moded.java:490: error: package list does not exist list.List_1 Solns_4 = null; ^ Mercury/javas/jmercury/multi_moded.java:494: error: cannot find symbol Solns_4 = solutions.solutions_2_p_1(TypeCtorInfo_11_11, Var_7); ^ symbol: variable solutions location: class multi_moded Mercury/javas/jmercury/multi_moded.java:496: error: package jmercury.runtime does not exist TypeInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_moded.MR_scalar_common_2[0]); ^ Mercury/javas/jmercury/multi_moded.java:498: error: cannot find symbol io.write_line_3_p_0(TypeInfo_12_12, ((java.lang.Object) (Solns_4))); ^ symbol: variable io location: class multi_moded Mercury/javas/jmercury/multi_moded.java:510: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((multi_moded.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((multi_moded.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((multi_moded.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/multi_moded.java:609: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/multi_moded.java:647: error: package jmercury.runtime does not exist multi_moded.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/multi_moded.java:652: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/multi_moded.java:678: error: package jmercury.runtime does not exist multi_moded.ClassMethod_for_multi_moded__thisclass____int__arity0______multi_moded__c_2_2_p_2_10003(((/* generic_type */ java.lang.Object) arg1), ((java.lang.Object) arg2), ((jmercury.runtime.MethodPtr) arg3), ((/* env_ptr */ java.lang.Object) arg4)); ^ 78 errors make[3]: *** [/tmp/mmake.B6OTJI:1244: multi_moded] Error 1 make[3]: Target 'multi_moded.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-19/tests/typeclasses'