MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { 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 --deforestation '; 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 - deforest_cc_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { 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 --deforestation '; 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 - deforest_cc_bug Making Mercury/int3s/deforest_cc_bug.int3 Making Mercury/ints/deforest_cc_bug.int Making Mercury/javas/jmercury/deforest_cc_bug.java Making Java class files Mercury/javas/jmercury/deforest_cc_bug.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/deforest_cc_bug.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[6]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:96: error: package list does not exist list.List_1 ArgsRest_6) ^ Mercury/javas/jmercury/deforest_cc_bug.java:134: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/deforest_cc_bug.java:181: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/deforest_cc_bug.java:224: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/deforest_cc_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "deforest_cc_bug"; ^ Mercury/javas/jmercury/deforest_cc_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/deforest_cc_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/deforest_cc_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/deforest_cc_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/deforest_cc_bug.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/deforest_cc_bug.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[6]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/deforest_cc_bug.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/deforest_cc_bug.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/deforest_cc_bug.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:58: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/deforest_cc_bug.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:63: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/deforest_cc_bug.java:66: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:68: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/deforest_cc_bug.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:73: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/deforest_cc_bug.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:78: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/deforest_cc_bug.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:83: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/deforest_cc_bug.java:98: error: package list does not exist list.List_1 Inputs_8 = null; ^ Mercury/javas/jmercury/deforest_cc_bug.java:104: error: package list does not exist Inputs_8 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:112: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:136: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/deforest_cc_bug.java:141: error: package list does not exist HeadVar__3_3 = (list.List_1) deforest_cc_bug.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:146: error: package list.List_1 does not exist int A2_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:146: error: illegal start of type int A2_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:147: error: package list does not exist list.List_1 As_8 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/deforest_cc_bug.java:147: error: package list.List_1 does not exist list.List_1 As_8 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/deforest_cc_bug.java:148: error: package list does not exist list.List_1 Inputs0_9 = null; ^ Mercury/javas/jmercury/deforest_cc_bug.java:152: error: package list does not exist Inputs0_9 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:156: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:172: error: package list does not exist list.List_1 Var_7 = (list.List_1) deforest_cc_bug.MR_scalar_common_4[5]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:172: error: package list does not exist list.List_1 Var_7 = (list.List_1) deforest_cc_bug.MR_scalar_common_4[5]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:189: error: package list.List_1 does not exist int E_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:189: error: illegal start of type int E_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:190: error: package list does not exist list.List_1 Es_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/deforest_cc_bug.java:190: error: package list.List_1 does not exist list.List_1 Es_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/deforest_cc_bug.java:191: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__2_2)[1]); ^ Mercury/javas/jmercury/deforest_cc_bug.java:191: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__2_2)[1]); ^ Mercury/javas/jmercury/deforest_cc_bug.java:193: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/deforest_cc_bug.java:196: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_15_15 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) HeadVar__2_2))), ((java.lang.Object) (java.lang.Integer.valueOf(E_9))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/deforest_cc_bug.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/deforest_cc_bug.java:211: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/deforest_cc_bug.java:215: error: cannot find symbol conv0_STATE_VARIABLE_IO_8_8 = builtin.cc_multi_equal_2_p_0(TypeCtorInfo_9_9, ((java.lang.Object) (0))); ^ symbol: variable builtin location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:218: error: cannot find symbol io.write_int_3_p_0(Arg_4); ^ symbol: variable io location: class deforest_cc_bug 65 errors make[3]: *** [/tmp/mmake.otnPG2:2360: deforest_cc_bug] Error 1 make[3]: Target 'deforest_cc_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'