MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/scripts/mmc --make --options-file - instance_unconstrained_tvar.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/typeclasses' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/scripts/mmc --make --options-file - instance_unconstrained_tvar Making Mercury/int3s/instance_unconstrained_tvar.int3 Making Mercury/ints/instance_unconstrained_tvar.int Making Mercury/javas/jmercury/instance_unconstrained_tvar.java Making Java class files Mercury/javas/jmercury/instance_unconstrained_tvar.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] instance_unconstrained_tvar__type_class_id_method_ids_p_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId instance_unconstrained_tvar__type_class_id_p_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct instance_unconstrained_tvar__type_class_decl_p_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.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/instance_unconstrained_tvar.java:84: 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/instance_unconstrained_tvar.java:85: 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[3]; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:127: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:189: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "instance_unconstrained_tvar"; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] instance_unconstrained_tvar__type_class_id_method_ids_p_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId instance_unconstrained_tvar__type_class_id_p_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct instance_unconstrained_tvar__type_class_decl_p_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:58: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.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/instance_unconstrained_tvar.java:84: 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/instance_unconstrained_tvar.java:85: 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[3]; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:90: 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 instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:90: 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/instance_unconstrained_tvar.java:91: 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 instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:91: 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/instance_unconstrained_tvar.java:96: 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 instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:96: 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/instance_unconstrained_tvar.java:97: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(instance_unconstrained_tvar.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:100: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:104: error: package list does not exist (list.List_1) instance_unconstrained_tvar.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:109: error: package list does not exist (list.List_1) instance_unconstrained_tvar.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:114: error: package list does not exist (list.List_1) instance_unconstrained_tvar.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:129: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ symbol: variable list location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = null; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:133: error: package jmercury.runtime does not exist TypeInfo_6_6 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:139: error: cannot find symbol io.write_3_p_0(TypeInfo_6_6, ((java.lang.Object) (HeadVar__1_1))); ^ symbol: variable io location: class instance_unconstrained_tvar Mercury/javas/jmercury/instance_unconstrained_tvar.java:153: error: package jmercury.runtime does not exist instance_unconstrained_tvar.ClassMethod_for_instance_unconstrained_tvar__p____list__list__arity1______instance_unconstrained_tvar__m_3_3_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:153: error: package list does not exist instance_unconstrained_tvar.ClassMethod_for_instance_unconstrained_tvar__p____list__list__arity1______instance_unconstrained_tvar__m_3_3_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:163: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_p_4)[0])[5]); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:163: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_p_4)[0])[5]); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:167: error: package jmercury.runtime does not exist conv1_HeadVar__3_3 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_p_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:175: error: package list does not exist list.List_1 Var_6 = (list.List_1) instance_unconstrained_tvar.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:175: error: package list does not exist list.List_1 Var_6 = (list.List_1) instance_unconstrained_tvar.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:176: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_p_14)[0])[5]); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:176: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_p_14)[0])[5]); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:180: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_7_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_p_14))), ((java.lang.Object) (((java.lang.Object) (Var_6)))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/instance_unconstrained_tvar.java:183: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class instance_unconstrained_tvar 60 errors gmake[3]: *** [/tmp/mmake.Pvqs9G:1241: instance_unconstrained_tvar] Error 1 gmake[3]: Target 'instance_unconstrained_tvar.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/typeclasses'