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 '; 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 - test_map_filter.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 '; 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 - test_map_filter Making Mercury/int3s/test_map_filter.int3 Making Mercury/ints/test_map_filter.int Making Mercury/javas/jmercury/test_map_filter.java Making Java class files Mercury/javas/jmercury/test_map_filter.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_map_filter.java:50: 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/test_map_filter.java:101: error: package pair does not exist pair.Pair_2 HeadVar__1_24) ^ Mercury/javas/jmercury/test_map_filter.java:114: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_Map_0_8) ^ Mercury/javas/jmercury/test_map_filter.java:110: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/test_map_filter.java:294: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_map_filter.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_map_filter"; ^ Mercury/javas/jmercury/test_map_filter.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_map_filter.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_map_filter.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_map_filter.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_map_filter.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_map_filter.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/test_map_filter.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/test_map_filter.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:50: 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/test_map_filter.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_map_filter.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/test_map_filter.java:58: 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 test_map_filter Mercury/javas/jmercury/test_map_filter.java:58: 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/test_map_filter.java:59: 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 test_map_filter Mercury/javas/jmercury/test_map_filter.java:59: 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/test_map_filter.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_map_filter.java:67: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:67: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/test_map_filter.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/test_map_filter.java:76: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:76: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_map_filter.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_map_filter.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_map_filter.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_map_filter.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_map_filter.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_map_filter.java:106: error: cannot find symbol io.write_line_3_p_0(TypeInfo_27_27, ((java.lang.Object) (HeadVar__1_24))); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:119: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_Map_9 = null; ^ Mercury/javas/jmercury/test_map_filter.java:124: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/test_map_filter.java:126: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_Map_11_11 = null; ^ Mercury/javas/jmercury/test_map_filter.java:130: error: package tree234 does not exist tree234.Tree234_2 next_value_of_STATE_VARIABLE_Map_0_8 = null; ^ Mercury/javas/jmercury/test_map_filter.java:133: error: cannot find symbol Var_10 = string.int_to_string_1_f_0(Cur_5); ^ symbol: variable string location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:135: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:135: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_map_filter.java:137: error: cannot find symbol STATE_VARIABLE_Map_11_11 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_101_116_95_105_110_115_101_114_116_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_4_p_0(TypeCtorInfo_16_16, Cur_5, ((java.lang.Object) (Var_10)), STATE_VARIABLE_Map_0_8); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:167: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(Key_4, Var_9); ^ symbol: variable mr_int location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:175: error: cannot find symbol Value_6 = string.f_43_43_2_f_0(Var_10, Value0_5); ^ symbol: variable string location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_map_filter.java:189: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_map_filter.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_map_filter.java:190: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_map_filter.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/test_map_filter.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/test_map_filter.java:193: error: package tree234 does not exist tree234.Tree234_2 Map0_4 = null; ^ Mercury/javas/jmercury/test_map_filter.java:194: error: package tree234 does not exist tree234.Tree234_2 Map_5 = null; ^ Mercury/javas/jmercury/test_map_filter.java:195: error: package list does not exist list.List_1 AL_7 = null; ^ Mercury/javas/jmercury/test_map_filter.java:198: error: package tree234 does not exist tree234.Tree234_2 Var_12 = null; ^ Mercury/javas/jmercury/test_map_filter.java:207: error: cannot find symbol Var_12 = map.init_0_f_0(TypeCtorInfo_19_19, TypeCtorInfo_20_20); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:214: error: cannot find symbol Map_5 = map.filter_map_values_3_p_0(TypeCtorInfo_19_19, TypeCtorInfo_20_20, TypeCtorInfo_20_20, Var_13, Map0_4); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:218: error: cannot find symbol java.lang.Object [] result = map.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_115_101_97_114_99_104_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_p_0(TypeCtorInfo_20_20, Map_5, Var_14); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:229: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Val14_6))); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:236: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:240: error: cannot find symbol AL_7 = map.to_sorted_assoc_list_2_p_0(TypeCtorInfo_19_19, TypeCtorInfo_20_20, Map_5); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:243: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_map_filter.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_map_filter.java:244: error: cannot find symbol TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:244: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/test_map_filter.java:246: error: cannot find symbol conv2_STATE_VARIABLE_IO_9 = list.foldl_4_p_2(TypeInfo_28_28, TypeCtorInfo_29_29, Var_18, AL_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:287: error: package pair does not exist test_map_filter.IntroducedFrom__pred__main__31__1_3_p_0(((pair.Pair_2) wrapper_arg_1)); ^ Mercury/javas/jmercury/test_map_filter.java:324: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 78 errors make[3]: *** [/tmp/mmake.nHL0zD:2360: test_map_filter] Error 1 make[3]: Target 'test_map_filter.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'