MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-30/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-30/stage2/scripts/mmc --make --options-file - construct_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-30/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-30/stage2/scripts/mmc --make --options-file - construct_bug Making Mercury/int3s/construct_bug.int3 Making Mercury/int3s/construct_bug_helper_1.int3 Making Mercury/ints/construct_bug.int Making Mercury/ints/construct_bug_helper_1.int Making Mercury/javas/jmercury/construct_bug.java Making Mercury/javas/jmercury/construct_bug_helper_1.java Making Java class files Mercury/javas/jmercury/construct_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__pti_bag_1__plain_list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug.java:58: 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/construct_bug.java:59: 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[13]; ^ Mercury/javas/jmercury/construct_bug.java:153: error: package bag does not exist bag.Bag_1 LambdaHeadVar__1_23) ^ Mercury/javas/jmercury/construct_bug.java:151: error: package bag does not exist private static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug.java:417: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__pti_bag_1__plain_list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_list__ti_list_1builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__ti_bag_1list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:20: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_bug_helper_1__type_ctor_info_stat_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_bug_helper_1__type_ctor_info_statkey_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:109: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:218: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_11, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:219: error: package bag does not exist bag.Bag_1 LambdaHeadVar__2_12) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:216: error: package bag does not exist private static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:269: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:283: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:323: error: package list does not exist list.List_1 Name_16, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:324: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:347: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:388: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_14) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:418: error: package bag does not exist bag.Bag_1 Stats_6, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:420: error: package pair does not exist pair.Pair_2 HeadVar__3_3, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:421: error: package pair does not exist pair.Pair_2 HeadVar__4_4) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:416: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:539: error: package list does not exist list.List_1 Elem_4, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:540: error: package bag does not exist bag.Bag_1 InStat_5) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:537: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:554: error: package list does not exist list.List_1 Elem_6, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:555: error: package bag does not exist bag.Bag_1 InStat_7) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:551: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:572: error: package list does not exist list.List_1 Elem_5, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:574: error: package bag does not exist bag.Bag_1 InStat_7) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:570: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:591: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:592: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:593: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:657: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:668: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:682: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:680: error: package bag does not exist private static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:724: error: package list does not exist list.List_1 Elem_4, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:725: error: package bag does not exist bag.Bag_1 InStat_5) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:722: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:739: error: package list does not exist list.List_1 Elem_6, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:740: error: package bag does not exist bag.Bag_1 InStat_7) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:736: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:755: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:769: error: package list does not exist list.List_1 List_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:926: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1010: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1026: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1024: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1039: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1074: error: package bag does not exist bag.Bag_1 A_4, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1075: error: package bag does not exist bag.Bag_1 B_5) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1072: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1088: error: package bag does not exist bag.Bag_1 HeadVar__2_2, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1089: error: package bag does not exist bag.Bag_1 HeadVar__3_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1086: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1119: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1120: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1117: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1150: error: package bag does not exist bag.Bag_1 HeadVar__1_1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1151: error: package bag does not exist bag.Bag_1 HeadVar__2_2) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1179: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1180: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1208: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1304: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1365: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr5 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1391: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1394: error: package list does not exist public list.List_1 conv0_HeadVar__2_21; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1400: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1402: error: package list does not exist public list.List_1 HeadVar__2_21; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1408: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1410: error: package list does not exist public list.List_1 HeadVar__2_2; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1412: error: package list does not exist public list.List_1 TOut_9; ^ Mercury/javas/jmercury/construct_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "construct_bug"; ^ Mercury/javas/jmercury/construct_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/construct_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/construct_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class construct_bug Mercury/javas/jmercury/construct_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class construct_bug Mercury/javas/jmercury/construct_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/construct_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_bug Mercury/javas/jmercury/construct_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_bug Mercury/javas/jmercury/construct_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_bug Mercury/javas/jmercury/construct_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_bug Mercury/javas/jmercury/construct_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/construct_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__pti_bag_1__plain_list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug.java:38: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class construct_bug Mercury/javas/jmercury/construct_bug.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class construct_bug Mercury/javas/jmercury/construct_bug.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/construct_bug.java:44: error: cannot find symbol bag.bag__type_ctor_info_bag_1, ^ symbol: variable bag location: class construct_bug Mercury/javas/jmercury/construct_bug.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) construct_bug.list__ti_list_1builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/construct_bug.java:58: 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]; ^ 100 errors make[3]: *** [/tmp/mmake.Hg63cd:2366: construct_bug] Error 1 make[3]: Target 'construct_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded'