MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - swap.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/accumulator' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - swap Making Mercury/int3s/swap.int3 Making Mercury/ints/swap.int Making Mercury/opts/swap.opt Making Mercury/javas/jmercury/swap.java Making Java class files Mercury/javas/jmercury/swap.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/swap.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/swap.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[3]; ^ Mercury/javas/jmercury/swap.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/swap.java:96: error: package list does not exist list.List_1 A__10, ^ Mercury/javas/jmercury/swap.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/swap.java:98: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/swap.java:94: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/swap.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "swap"; ^ Mercury/javas/jmercury/swap.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/swap.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/swap.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class swap Mercury/javas/jmercury/swap.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class swap Mercury/javas/jmercury/swap.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/swap.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/swap.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/swap.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/swap.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[3]; ^ Mercury/javas/jmercury/swap.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/swap.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/swap.java:41: 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 swap Mercury/javas/jmercury/swap.java:41: 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/swap.java:42: 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 swap Mercury/javas/jmercury/swap.java:42: 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/swap.java:46: 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 swap Mercury/javas/jmercury/swap.java:47: 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 swap Mercury/javas/jmercury/swap.java:47: 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/swap.java:48: 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 swap Mercury/javas/jmercury/swap.java:48: 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/swap.java:52: 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 swap Mercury/javas/jmercury/swap.java:54: 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 swap Mercury/javas/jmercury/swap.java:54: 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/swap.java:55: 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 swap Mercury/javas/jmercury/swap.java:55: 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/swap.java:59: 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 swap Mercury/javas/jmercury/swap.java:61: 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 swap Mercury/javas/jmercury/swap.java:61: 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/swap.java:62: 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 swap Mercury/javas/jmercury/swap.java:62: 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/swap.java:63: 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 swap Mercury/javas/jmercury/swap.java:63: 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/swap.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/swap.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:70: error: package list does not exist (list.List_1) swap.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/swap.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:75: error: package list does not exist (list.List_1) swap.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/swap.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:80: error: package list does not exist (list.List_1) swap.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/swap.java:83: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/swap.java:102: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/swap.java:107: error: package list does not exist list.List_1 R0_6 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:107: error: package list does not exist list.List_1 R0_6 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:110: error: cannot find symbol HeadVar__2_2 = list.append_3_p_1(TypeInfo_for_T_9, R0_6, A__10); ^ symbol: variable list location: class swap Mercury/javas/jmercury/swap.java:115: error: package list.List_1 does not exist java.lang.Object H_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/swap.java:116: error: package list does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/swap.java:116: error: package list.List_1 does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/swap.java:117: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/swap.java:118: error: package list does not exist list.List_1 Var_8 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:118: error: package list does not exist list.List_1 Var_8 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:119: error: package list does not exist list.List_1 NewAcc__11 = null; ^ Mercury/javas/jmercury/swap.java:120: error: package list does not exist list.List_1 next_value_of_A__10 = null; ^ Mercury/javas/jmercury/swap.java:121: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/swap.java:124: error: package list.List_1 does not exist Var_7 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:130: error: cannot find symbol NewAcc__11 = list.append_3_p_1(TypeInfo_for_T_9, Var_7, A__10); ^ symbol: variable list location: class swap Mercury/javas/jmercury/swap.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/swap.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = null; ^ Mercury/javas/jmercury/swap.java:149: error: package list does not exist list.List_1 ListA_4 = null; ^ Mercury/javas/jmercury/swap.java:151: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/swap.java:152: error: package io does not exist io.Text_output_stream_0 Var_18 = null; ^ Mercury/javas/jmercury/swap.java:153: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_20 = null; ^ Mercury/javas/jmercury/swap.java:155: error: package list does not exist list.List_1 T_22 = null; ^ Mercury/javas/jmercury/swap.java:156: error: package list does not exist list.List_1 Var_25 = null; ^ Mercury/javas/jmercury/swap.java:157: error: package list does not exist list.List_1 Var_26 = null; ^ Mercury/javas/jmercury/swap.java:158: error: package io does not exist io.Text_output_stream_0 Var_29 = null; ^ Mercury/javas/jmercury/swap.java:159: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_31 = null; ^ Mercury/javas/jmercury/swap.java:160: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_33 = null; ^ Mercury/javas/jmercury/swap.java:161: error: package univ does not exist univ.Univ_0 Var_35 = null; ^ Mercury/javas/jmercury/swap.java:162: error: package ops does not exist ops.Priority_0 Var_36 = null; ^ Mercury/javas/jmercury/swap.java:166: error: cannot find symbol Var_20 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class swap Mercury/javas/jmercury/swap.java:169: error: package io does not exist Var_18 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/swap.java:174: error: cannot find symbol io.write_string_4_p_0(Var_18, Var_7); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:176: error: package list does not exist Var_9 = (list.List_1) swap.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/swap.java:177: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class swap Mercury/javas/jmercury/swap.java:177: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/swap.java:178: error: package list.List_1 does not exist H_21 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/swap.java:178: error: illegal start of type H_21 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/swap.java:179: error: package list.List_1 does not exist T_22 = ((list.List_1.F_cons_2) Var_9).F2; ^ Mercury/javas/jmercury/swap.java:180: error: package list does not exist Var_26 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:182: error: package list.List_1 does not exist Var_25 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:190: error: package jmercury.runtime does not exist TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(swap.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/swap.java:192: error: cannot find symbol Var_31 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class swap Mercury/javas/jmercury/swap.java:195: error: package io does not exist Var_29 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/swap.java:199: error: package deconstruct does not exist Var_33 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/swap.java:202: error: cannot find symbol Var_35 = univ.type_to_univ_2_p_1(TypeInfo_17_17, ((java.lang.Object) (ListA_4))); ^ symbol: variable univ location: class swap Mercury/javas/jmercury/swap.java:204: error: package ops does not exist Var_36 = (ops.Priority_0) swap.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/swap.java:206: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_34, Var_29, Var_33, Var_35, Var_36); ^ symbol: variable stream__string_writer location: class swap 100 errors make[3]: *** [/tmp/mmake.GV28P1:1211: swap] Error 1 make[3]: Target 'swap.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/accumulator'