MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - chain.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/accumulator' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - chain Making Mercury/int3s/chain.int3 Making Mercury/ints/chain.int Making Mercury/opts/chain.opt Making Mercury/javas/jmercury/chain.java Making Java class files Mercury/javas/jmercury/chain.java:32: 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/chain.java:34: 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/chain.java:35: 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[9]; ^ Mercury/javas/jmercury/chain.java:121: error: package list does not exist list.List_1 A_NewH_15, ^ Mercury/javas/jmercury/chain.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct A_TypeCtorInfo_14_16, ^ Mercury/javas/jmercury/chain.java:123: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/chain.java:119: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/chain.java:307: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/chain.java:305: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/chain.java:348: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/chain.java:376: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/chain.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "chain"; ^ Mercury/javas/jmercury/chain.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/chain.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/chain.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class chain Mercury/javas/jmercury/chain.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class chain Mercury/javas/jmercury/chain.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/chain.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/chain.java:32: 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/chain.java:34: 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/chain.java:35: 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[9]; ^ Mercury/javas/jmercury/chain.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/chain.java:40: 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 chain Mercury/javas/jmercury/chain.java:40: 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/chain.java:41: 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 chain Mercury/javas/jmercury/chain.java:41: 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/chain.java:45: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/chain.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/chain.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/chain.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/chain.java:58: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/chain.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class chain Mercury/javas/jmercury/chain.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/chain.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/chain.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/chain.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:69: error: package list does not exist (list.List_1) chain.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/chain.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:74: error: package list does not exist (list.List_1) chain.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/chain.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:79: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/chain.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:84: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/chain.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:89: error: package list does not exist (list.List_1) chain.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/chain.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:94: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/chain.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:99: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/chain.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:104: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/chain.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:109: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/chain.java:127: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/chain.java:132: error: package list does not exist list.List_1 T0_7 = (list.List_1) chain.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/chain.java:132: error: package list does not exist list.List_1 T0_7 = (list.List_1) chain.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/chain.java:135: error: cannot find symbol HeadVar__2_2 = list.append_3_p_1(A_TypeCtorInfo_14_16, T0_7, A_NewH_15); ^ symbol: variable list location: class chain Mercury/javas/jmercury/chain.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/chain.java:141: error: package list.List_1 does not exist int H_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/chain.java:141: error: illegal start of type int H_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/chain.java:142: error: package list does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/chain.java:142: error: package list.List_1 does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/chain.java:143: error: package list does not exist list.List_1 NewH_8 = null; ^ Mercury/javas/jmercury/chain.java:144: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/chain.java:145: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/chain.java:146: error: package list does not exist list.List_1 Var_11 = (list.List_1) chain.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/chain.java:146: error: package list does not exist list.List_1 Var_11 = (list.List_1) chain.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/chain.java:147: error: package list does not exist list.List_1 NewAcc_NewH_17 = null; ^ Mercury/javas/jmercury/chain.java:148: error: package list does not exist list.List_1 next_value_of_A_NewH_15 = null; ^ Mercury/javas/jmercury/chain.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct next_value_of_A_TypeCtorInfo_14_16 = null; ^ Mercury/javas/jmercury/chain.java:150: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/chain.java:153: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:158: error: package list does not exist Var_10 = (list.List_1) chain.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/chain.java:159: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class chain Mercury/javas/jmercury/chain.java:159: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/chain.java:161: error: cannot find symbol NewH_8 = list.append_3_p_1(TypeCtorInfo_14_14, Var_9, Var_10); ^ symbol: variable list location: class chain Mercury/javas/jmercury/chain.java:164: error: cannot find symbol NewAcc_NewH_17 = list.append_3_p_1(TypeCtorInfo_14_14, NewH_8, A_NewH_15); ^ symbol: variable list location: class chain Mercury/javas/jmercury/chain.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_49_49 = null; ^ Mercury/javas/jmercury/chain.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = null; ^ Mercury/javas/jmercury/chain.java:184: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_65 = null; ^ Mercury/javas/jmercury/chain.java:185: error: package list does not exist list.List_1 ListA_4 = null; ^ Mercury/javas/jmercury/chain.java:186: error: package list does not exist list.List_1 ListB_5 = null; ^ Mercury/javas/jmercury/chain.java:190: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/chain.java:192: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/chain.java:194: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/chain.java:196: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/chain.java:197: error: package io does not exist io.Text_output_stream_0 Var_51 = null; ^ 100 errors make[3]: *** [/tmp/mmake.ckfpJH:1211: chain] Error 1 make[3]: Target 'chain.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/accumulator'