MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - map_fold.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - map_fold Making Mercury/int3s/map_fold.int3 Making Mercury/ints/map_fold.int Making Mercury/javas/jmercury/map_fold.java Making Java class files Mercury/javas/jmercury/map_fold.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_fold.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_fold.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/map_fold.java:61: 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/map_fold.java:237: error: package tree234 does not exist tree234.Tree234_2 LambdaHeadVar__2_16) ^ Mercury/javas/jmercury/map_fold.java:234: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/map_fold.java:252: error: package list does not exist list.List_1 LambdaHeadVar__3_25) ^ Mercury/javas/jmercury/map_fold.java:248: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/map_fold.java:276: error: package list does not exist list.List_1 LambdaHeadVar__3_32) ^ Mercury/javas/jmercury/map_fold.java:272: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/map_fold.java:298: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/map_fold.java:318: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/map_fold.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "map_fold"; ^ Mercury/javas/jmercury/map_fold.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/map_fold.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/map_fold.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class map_fold Mercury/javas/jmercury/map_fold.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class map_fold Mercury/javas/jmercury/map_fold.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/map_fold.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/map_fold.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_fold.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_fold.java:38: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class map_fold Mercury/javas/jmercury/map_fold.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/map_fold.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_fold.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class map_fold Mercury/javas/jmercury/map_fold.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_fold.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/map_fold.java:61: 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/map_fold.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_fold.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class map_fold Mercury/javas/jmercury/map_fold.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/map_fold.java:67: 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 map_fold Mercury/javas/jmercury/map_fold.java:67: 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/map_fold.java:68: 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 map_fold Mercury/javas/jmercury/map_fold.java:68: 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/map_fold.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_fold.java:72: 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 map_fold Mercury/javas/jmercury/map_fold.java:72: 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/map_fold.java:73: 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 map_fold Mercury/javas/jmercury/map_fold.java:73: 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/map_fold.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/map_fold.java:95: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:95: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/map_fold.java:96: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:96: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/map_fold.java:113: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/map_fold.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_fold.java:125: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_fold.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_fold.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/map_fold.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_fold.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/map_fold.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_51_51 = null; ^ Mercury/javas/jmercury/map_fold.java:128: error: package tree234 does not exist tree234.Tree234_2 Map_4 = null; ^ Mercury/javas/jmercury/map_fold.java:129: error: package list does not exist list.List_1 L_7 = null; ^ Mercury/javas/jmercury/map_fold.java:130: error: package list does not exist list.List_1 R_11 = null; ^ Mercury/javas/jmercury/map_fold.java:132: error: package list does not exist list.List_1 Var_18 = null; ^ Mercury/javas/jmercury/map_fold.java:135: error: package tree234 does not exist tree234.Tree234_2 Var_21 = null; ^ Mercury/javas/jmercury/map_fold.java:137: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/map_fold.java:139: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/map_fold.java:145: error: cannot find symbol Var_18 = list.f_46_46_2_f_0(Var_19, Var_20); ^ symbol: variable list location: class map_fold Mercury/javas/jmercury/map_fold.java:148: error: cannot find symbol Var_21 = map.init_0_f_0(TypeCtorInfo_48_48, TypeCtorInfo_48_48); ^ symbol: variable map location: class map_fold Mercury/javas/jmercury/map_fold.java:151: error: cannot find symbol conv1_Map_4 = list.foldl_3_f_0(TypeCtorInfo_48_48, TypeInfo_49_49, Var_14, Var_18, ((java.lang.Object) (Var_21))); ^ symbol: variable list location: class map_fold Mercury/javas/jmercury/map_fold.java:153: error: package tree234 does not exist Map_4 = ((tree234.Tree234_2) conv1_Map_4); ^ Mercury/javas/jmercury/map_fold.java:154: error: package jmercury.runtime does not exist TypeInfo_51_51 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_fold.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/map_fold.java:156: error: package list does not exist Var_28 = (list.List_1) map_fold.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/map_fold.java:158: error: cannot find symbol conv3_L_7 = map.foldl_3_f_0(TypeCtorInfo_48_48, TypeCtorInfo_48_48, TypeInfo_51_51, Var_22, Map_4, ((java.lang.Object) (Var_28))); ^ symbol: variable map location: class map_fold Mercury/javas/jmercury/map_fold.java:160: error: package list does not exist L_7 = ((list.List_1) conv3_L_7); ^ Mercury/javas/jmercury/map_fold.java:162: error: package list does not exist Var_35 = (list.List_1) map_fold.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/map_fold.java:164: error: cannot find symbol conv5_R_11 = map.foldr_3_f_0(TypeCtorInfo_48_48, TypeCtorInfo_48_48, TypeInfo_51_51, Var_29, Map_4, ((java.lang.Object) (Var_35))); ^ symbol: variable map location: class map_fold Mercury/javas/jmercury/map_fold.java:166: error: package list does not exist R_11 = ((list.List_1) conv5_R_11); ^ Mercury/javas/jmercury/map_fold.java:168: error: cannot find symbol io.print_3_p_0(TypeInfo_51_51, ((java.lang.Object) (L_7))); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:171: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:174: error: cannot find symbol io.print_3_p_0(TypeInfo_51_51, ((java.lang.Object) (R_11))); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:177: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:189: error: package tree234 does not exist tree234.Tree234_2 conv0_LambdaHeadVar__3_17 = null; ^ Mercury/javas/jmercury/map_fold.java:192: error: package tree234 does not exist conv0_LambdaHeadVar__3_17 = map_fold.IntroducedFrom__func__main__33__1_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((tree234.Tree234_2) wrapper_arg_2)); ^ Mercury/javas/jmercury/map_fold.java:207: error: package list does not exist list.List_1 conv2_LambdaHeadVar__4_26 = null; ^ Mercury/javas/jmercury/map_fold.java:210: error: package list does not exist conv2_LambdaHeadVar__4_26 = map_fold.IntroducedFrom__func__main__34__1_3_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue(), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/map_fold.java:225: error: package list does not exist list.List_1 conv4_LambdaHeadVar__4_33 = null; ^ Mercury/javas/jmercury/map_fold.java:228: error: package list does not exist conv4_LambdaHeadVar__4_33 = map_fold.IntroducedFrom__func__main__35__1_3_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue(), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/map_fold.java:239: error: package tree234 does not exist tree234.Tree234_2 LambdaHeadVar__3_17 = null; ^ Mercury/javas/jmercury/map_fold.java:240: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_fold.java:240: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:240: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_fold.java:243: error: cannot find symbol LambdaHeadVar__3_17 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_102_117_110_99_95_95_101_108_101_109_32_58_61_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_f_0(TypeCtorInfo_50_50, LambdaHeadVar__1_15, LambdaHeadVar__2_16, java.lang.Integer.valueOf(LambdaHeadVar__1_15)); ^ symbol: variable map location: class map_fold Mercury/javas/jmercury/map_fold.java:254: error: package list does not exist list.List_1 LambdaHeadVar__4_26 = null; ^ Mercury/javas/jmercury/map_fold.java:255: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/map_fold.java:258: error: package list.List_1 does not exist Var_27 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_fold.java:264: error: package list.List_1 does not exist LambdaHeadVar__4_26 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_fold.java:278: error: package list does not exist list.List_1 LambdaHeadVar__4_33 = null; ^ Mercury/javas/jmercury/map_fold.java:279: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/map_fold.java:282: error: package list.List_1 does not exist Var_34 = new list.List_1.F_cons_2( ^ 100 errors make[3]: *** [/tmp/mmake.2kk0bT:2364: map_fold] Error 1 make[3]: Target 'map_fold.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/hard_coded'