MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/scripts/mmc --make --options-file - func_default_modes.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/scripts/mmc --make --options-file - func_default_modes.class Making Mercury/int3s/func_default_modes.int3 Making Mercury/ints/func_default_modes.int Making Mercury/javas/jmercury/func_default_modes.java Making Mercury/classes/jmercury/func_default_modes.class Mercury/javas/jmercury/func_default_modes.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] func_default_modes__type_class_id_method_ids_tc_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/func_default_modes.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId func_default_modes__type_class_id_tc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/func_default_modes.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct func_default_modes__type_class_decl_tc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/func_default_modes.java:83: 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/func_default_modes.java:86: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/func_default_modes.java:87: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/func_default_modes.java:418: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/func_default_modes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func_default_modes"; ^ Mercury/javas/jmercury/func_default_modes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func_default_modes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func_default_modes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func_default_modes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func_default_modes.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] func_default_modes__type_class_id_method_ids_tc_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/func_default_modes.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId func_default_modes__type_class_id_tc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/func_default_modes.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct func_default_modes__type_class_decl_tc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/func_default_modes.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/func_default_modes.java:58: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:83: 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/func_default_modes.java:86: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/func_default_modes.java:87: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/func_default_modes.java:93: 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 func_default_modes Mercury/javas/jmercury/func_default_modes.java:93: 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/func_default_modes.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/func_default_modes.java:97: 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 func_default_modes Mercury/javas/jmercury/func_default_modes.java:97: 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/func_default_modes.java:98: 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 func_default_modes Mercury/javas/jmercury/func_default_modes.java:98: 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/func_default_modes.java:105: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:105: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/func_default_modes.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/func_default_modes.java:127: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/func_default_modes.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_default_modes.java:131: error: package list does not exist (list.List_1) func_default_modes.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/func_default_modes.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_default_modes.java:136: error: package list does not exist (list.List_1) func_default_modes.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/func_default_modes.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_default_modes.java:141: error: package list does not exist (list.List_1) func_default_modes.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/func_default_modes.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_default_modes.java:146: error: package list does not exist (list.List_1) func_default_modes.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/func_default_modes.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_default_modes.java:151: error: package list does not exist (list.List_1) func_default_modes.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/func_default_modes.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_default_modes.java:156: error: package list does not exist (list.List_1) func_default_modes.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/func_default_modes.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/func_default_modes.java:170: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/func_default_modes.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_65_65 = null; ^ Mercury/javas/jmercury/func_default_modes.java:174: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/func_default_modes.java:175: error: package list does not exist list.List_1 Var_16 = (list.List_1) func_default_modes.MR_scalar_common_6[5]; ^ Mercury/javas/jmercury/func_default_modes.java:175: error: package list does not exist list.List_1 Var_16 = (list.List_1) func_default_modes.MR_scalar_common_6[5]; ^ Mercury/javas/jmercury/func_default_modes.java:176: error: package list does not exist list.List_1 Var_29 = null; ^ Mercury/javas/jmercury/func_default_modes.java:178: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/func_default_modes.java:179: error: package list does not exist list.List_1 Var_45 = null; ^ Mercury/javas/jmercury/func_default_modes.java:180: error: package list does not exist list.List_1 Var_47 = null; ^ Mercury/javas/jmercury/func_default_modes.java:183: error: cannot find symbol Var_14 = list.filter_map_2_f_0(TypeCtorInfo_64_64, TypeCtorInfo_64_64, A_4, Var_16); ^ symbol: variable list location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:185: error: package jmercury.runtime does not exist TypeInfo_65_65 = jmercury.runtime.TypeInfo_Struct.maybe_new(func_default_modes.MR_scalar_common_2[0]); ^ Mercury/javas/jmercury/func_default_modes.java:187: error: cannot find symbol io.write_line_3_p_0(TypeInfo_65_65, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:190: error: package list does not exist Var_32 = (list.List_1) func_default_modes.MR_scalar_common_6[5]; ^ Mercury/javas/jmercury/func_default_modes.java:192: error: cannot find symbol Var_29 = list.filter_map_2_f_0(TypeCtorInfo_64_64, TypeCtorInfo_64_64, Var_31, Var_32); ^ symbol: variable list location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:195: error: cannot find symbol io.write_line_3_p_0(TypeInfo_65_65, ((java.lang.Object) (Var_29))); ^ symbol: variable io location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:197: error: package list does not exist Var_47 = (list.List_1) func_default_modes.MR_scalar_common_6[5]; ^ Mercury/javas/jmercury/func_default_modes.java:199: error: cannot find symbol Var_45 = list.filter_map_2_f_0(TypeCtorInfo_64_64, TypeCtorInfo_64_64, B_7, Var_47); ^ symbol: variable list location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:202: error: cannot find symbol io.write_line_3_p_0(TypeInfo_65_65, ((java.lang.Object) (Var_45))); ^ symbol: variable io location: class func_default_modes Mercury/javas/jmercury/func_default_modes.java:353: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_tc_63)[0])[5]); ^ Mercury/javas/jmercury/func_default_modes.java:353: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_tc_63)[0])[5]); ^ Mercury/javas/jmercury/func_default_modes.java:357: 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_tc_63))), ((java.lang.Object) (java.lang.Integer.valueOf(LambdaHeadVar__1_12))))); ^ Mercury/javas/jmercury/func_default_modes.java:397: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_tc_3)[0])[5]); ^ Mercury/javas/jmercury/func_default_modes.java:397: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_tc_3)[0])[5]); ^ Mercury/javas/jmercury/func_default_modes.java:401: 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_tc_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/func_default_modes.java:465: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 77 errors ** Error making `Mercury/classes/jmercury/func_default_modes.class'. make[3]: *** [/tmp/mmake.hXKsnf:1500: func_default_modes.class] Error 1 make[3]: Target 'func_default_modes.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid'