MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-08-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - func.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/accumulator' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-08-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - func Making Mercury/int3s/func.int3 Making Mercury/ints/func.int Making Mercury/opts/func.opt Making Mercury/javas/jmercury/func.java Making Java class files Mercury/javas/jmercury/func.java:33: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/func.java:34: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/func.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/func.java:151: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/func.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func"; ^ Mercury/javas/jmercury/func.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func Mercury/javas/jmercury/func.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func Mercury/javas/jmercury/func.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func.java:33: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/func.java:34: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/func.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/func.java:40: 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 func Mercury/javas/jmercury/func.java:41: 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 func Mercury/javas/jmercury/func.java:41: 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/func.java:42: 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 func Mercury/javas/jmercury/func.java:42: 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/func.java:46: 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 func Mercury/javas/jmercury/func.java:48: 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 func Mercury/javas/jmercury/func.java:48: 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/func.java:49: 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 func Mercury/javas/jmercury/func.java:49: 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/func.java:53: 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 func Mercury/javas/jmercury/func.java:55: 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 func Mercury/javas/jmercury/func.java:55: 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/func.java:56: 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 func Mercury/javas/jmercury/func.java:56: 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/func.java:57: 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 func Mercury/javas/jmercury/func.java:57: 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/func.java:60: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/func.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func.java:64: error: package list does not exist (list.List_1) func.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/func.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func.java:69: error: package list does not exist (list.List_1) func.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/func.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func.java:74: error: package list does not exist (list.List_1) func.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/func.java:77: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/func.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/func.java:95: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/func.java:96: error: package io does not exist io.Text_output_stream_0 Var_17 = null; ^ Mercury/javas/jmercury/func.java:97: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_19 = null; ^ Mercury/javas/jmercury/func.java:99: error: package list does not exist list.List_1 T_21 = null; ^ Mercury/javas/jmercury/func.java:100: error: package io does not exist io.Text_output_stream_0 Var_25 = null; ^ Mercury/javas/jmercury/func.java:101: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_27 = null; ^ Mercury/javas/jmercury/func.java:102: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_29 = null; ^ Mercury/javas/jmercury/func.java:103: error: package univ does not exist univ.Univ_0 Var_31 = null; ^ Mercury/javas/jmercury/func.java:104: error: package ops does not exist ops.Priority_0 Var_32 = null; ^ Mercury/javas/jmercury/func.java:108: error: cannot find symbol Var_19 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class func Mercury/javas/jmercury/func.java:111: error: package io does not exist Var_17 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/func.java:116: error: cannot find symbol io.write_string_4_p_0(Var_17, Var_7); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:118: error: package list does not exist Var_9 = (list.List_1) func.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/func.java:119: error: package list.List_1 does not exist H_20 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/func.java:119: error: illegal start of type H_20 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/func.java:120: error: package list.List_1 does not exist T_21 = ((list.List_1.F_cons_2) Var_9).F2; ^ Mercury/javas/jmercury/func.java:124: 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 func Mercury/javas/jmercury/func.java:124: 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/func.java:126: error: cannot find symbol Var_27 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class func Mercury/javas/jmercury/func.java:129: error: package io does not exist Var_25 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/func.java:133: error: package deconstruct does not exist Var_29 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/func.java:136: error: cannot find symbol Var_31 = univ.type_to_univ_2_p_1(TypeCtorInfo_16_16, java.lang.Integer.valueOf(Sum_4)); ^ symbol: variable univ location: class func Mercury/javas/jmercury/func.java:138: error: package ops does not exist Var_32 = (ops.Priority_0) func.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/func.java:140: 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_30, Var_25, Var_29, Var_31, Var_32); ^ symbol: variable stream__string_writer location: class func Mercury/javas/jmercury/func.java:144: error: cannot find symbol io.write_char_4_p_0(Var_25, Var_34); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:166: error: package list.List_1 does not exist int H_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/func.java:166: error: illegal start of type int H_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/func.java:167: error: package list does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/func.java:167: 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/func.java:170: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = T_4; ^ 74 errors make[3]: *** [/tmp/mmake.A3MMXF:1211: func] Error 1 make[3]: Target 'func.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/accumulator'