MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - highorder.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/accumulator' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - highorder Making Mercury/int3s/highorder.int3 Making Mercury/ints/highorder.int Making Mercury/opts/highorder.opt Making Mercury/javas/jmercury/highorder.java Making Java class files Mercury/javas/jmercury/highorder.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/highorder.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/highorder.java:37: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_6 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/highorder.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_13, ^ Mercury/javas/jmercury/highorder.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_14, ^ Mercury/javas/jmercury/highorder.java:110: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/highorder.java:226: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/highorder.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "highorder"; ^ Mercury/javas/jmercury/highorder.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/highorder.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/highorder.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class highorder Mercury/javas/jmercury/highorder.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class highorder Mercury/javas/jmercury/highorder.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/highorder.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/highorder.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/highorder.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/highorder.java:37: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_6 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/highorder.java:42: 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 highorder Mercury/javas/jmercury/highorder.java:43: 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 highorder Mercury/javas/jmercury/highorder.java:43: 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/highorder.java:44: 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 highorder Mercury/javas/jmercury/highorder.java:44: 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/highorder.java:48: 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 highorder Mercury/javas/jmercury/highorder.java:50: 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 highorder Mercury/javas/jmercury/highorder.java:50: 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/highorder.java:51: 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 highorder Mercury/javas/jmercury/highorder.java:51: 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/highorder.java:55: 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 highorder Mercury/javas/jmercury/highorder.java:57: 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 highorder Mercury/javas/jmercury/highorder.java:57: 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/highorder.java:58: 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 highorder Mercury/javas/jmercury/highorder.java:58: 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/highorder.java:59: 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 highorder Mercury/javas/jmercury/highorder.java:59: 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/highorder.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/highorder.java:67: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:67: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/highorder.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/highorder.java:77: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/highorder.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/highorder.java:81: error: package list does not exist (list.List_1) highorder.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/highorder.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/highorder.java:86: error: package list does not exist (list.List_1) highorder.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/highorder.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/highorder.java:91: error: package list does not exist (list.List_1) highorder.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/highorder.java:94: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/highorder.java:119: error: package list.List_1 does not exist java.lang.Object H_8 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/highorder.java:120: error: package list does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/highorder.java:120: error: package list.List_1 does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/highorder.java:122: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/highorder.java:127: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_1)[1]); ^ Mercury/javas/jmercury/highorder.java:129: error: package jmercury.runtime does not exist Acc_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_1))), ((java.lang.Object) (H_8)), ((java.lang.Object) (Acc1_12)))); ^ Mercury/javas/jmercury/highorder.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/highorder.java:143: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/highorder.java:145: error: package io does not exist io.Text_output_stream_0 Var_22 = null; ^ Mercury/javas/jmercury/highorder.java:146: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_24 = null; ^ Mercury/javas/jmercury/highorder.java:147: error: package io does not exist io.Text_output_stream_0 Var_25 = null; ^ Mercury/javas/jmercury/highorder.java:148: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_27 = null; ^ Mercury/javas/jmercury/highorder.java:149: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_29 = null; ^ Mercury/javas/jmercury/highorder.java:150: error: package univ does not exist univ.Univ_0 Var_31 = null; ^ Mercury/javas/jmercury/highorder.java:151: error: package ops does not exist ops.Priority_0 Var_32 = null; ^ Mercury/javas/jmercury/highorder.java:156: error: cannot find symbol Var_24 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class highorder Mercury/javas/jmercury/highorder.java:159: error: package io does not exist Var_22 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/highorder.java:164: error: cannot find symbol io.write_string_4_p_0(Var_22, Var_7); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:167: error: package list does not exist Var_10 = (list.List_1) highorder.MR_scalar_common_5[2]; ^ Mercury/javas/jmercury/highorder.java:169: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:169: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/highorder.java:175: error: cannot find symbol Var_27 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class highorder Mercury/javas/jmercury/highorder.java:178: error: package io does not exist Var_25 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/highorder.java:182: error: package deconstruct does not exist Var_29 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/highorder.java:185: error: cannot find symbol Var_31 = univ.type_to_univ_2_p_1(TypeCtorInfo_21_21, java.lang.Integer.valueOf(ListA_4)); ^ symbol: variable univ location: class highorder Mercury/javas/jmercury/highorder.java:187: error: package ops does not exist Var_32 = (ops.Priority_0) highorder.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/highorder.java:189: 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 highorder Mercury/javas/jmercury/highorder.java:193: error: cannot find symbol io.write_char_4_p_0(Var_25, Var_34); ^ symbol: variable io location: class highorder 80 errors make[3]: *** [/tmp/mmake.RIOzyy:1211: highorder] Error 1 make[3]: Target 'highorder.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/accumulator'