MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - fold_tests.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - fold_tests Making Mercury/int3s/fold_tests.int3 Making Mercury/ints/fold_tests.int Making Mercury/javas/jmercury/fold_tests.java Making Java class files Mercury/javas/jmercury/fold_tests.java:326: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/fold_tests.java:368: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/fold_tests.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "fold_tests"; ^ Mercury/javas/jmercury/fold_tests.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/fold_tests.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/fold_tests.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class fold_tests Mercury/javas/jmercury/fold_tests.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class fold_tests Mercury/javas/jmercury/fold_tests.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/fold_tests.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/fold_tests.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/fold_tests.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/fold_tests.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/fold_tests.java:51: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:51: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/fold_tests.java:52: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:52: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/fold_tests.java:53: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:53: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/fold_tests.java:60: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:60: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/fold_tests.java:61: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:61: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/fold_tests.java:62: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:62: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/fold_tests.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ Mercury/javas/jmercury/fold_tests.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/fold_tests.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_54 = null; ^ Mercury/javas/jmercury/fold_tests.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_55 = null; ^ Mercury/javas/jmercury/fold_tests.java:117: error: package list does not exist list.List_1 TestList_4 = null; ^ Mercury/javas/jmercury/fold_tests.java:141: error: cannot find symbol TestList_4 = list.f_46_46_2_f_0(Var_9, Var_10); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:145: error: cannot find symbol TypeCtorInfo_24_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:145: error: package jmercury.runtime does not exist TypeCtorInfo_24_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/fold_tests.java:146: error: cannot find symbol TypeCtorInfo_25_55 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:146: error: package jmercury.runtime does not exist TypeCtorInfo_25_55 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/fold_tests.java:148: error: cannot find symbol conv0_STATE_VARIABLE_IO_10_45 = list.gap_foldl_5_p_0(TypeCtorInfo_24_54, TypeCtorInfo_25_55, Var_43, Var_44, TestList_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:151: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:156: error: cannot find symbol conv1_STATE_VARIABLE_IO_16_51 = list.last_gap_foldl_6_p_0(TypeCtorInfo_24_54, TypeCtorInfo_25_55, Var_48, Var_44, Var_50, TestList_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:159: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:163: error: cannot find symbol TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:163: error: package jmercury.runtime does not exist TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/fold_tests.java:164: error: cannot find symbol TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:164: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/fold_tests.java:166: error: cannot find symbol conv3_Str0_5 = list.foldl_4_p_0(TypeCtorInfo_30_30, TypeCtorInfo_31_31, Var_12, TestList_4, ((java.lang.Object) (Var_13))); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:173: error: cannot find symbol conv5_Str1_6 = list.chunk_foldl_5_p_1(TypeCtorInfo_30_30, TypeCtorInfo_31_31, Var_14, Var_15, TestList_4, ((java.lang.Object) (Var_16))); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:178: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:181: error: cannot find symbol io.write_string_3_p_0(Str0_5); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:185: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:189: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:192: error: cannot find symbol io.write_string_3_p_0(Str1_6); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:196: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:210: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:224: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:239: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:253: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:302: error: cannot find symbol STATE_VARIABLE_Str_7 = string.int_to_string_1_f_0(N_4); ^ symbol: variable string location: class fold_tests Mercury/javas/jmercury/fold_tests.java:311: error: cannot find symbol Var_10 = string.int_to_string_1_f_0(N_4); ^ symbol: variable string location: class fold_tests Mercury/javas/jmercury/fold_tests.java:315: error: cannot find symbol Var_11 = string.f_43_43_2_f_0(Var_12, STATE_VARIABLE_Str_0_6); ^ symbol: variable string location: class fold_tests Mercury/javas/jmercury/fold_tests.java:318: error: cannot find symbol STATE_VARIABLE_Str_7 = string.f_43_43_2_f_0(Var_10, Var_11); ^ symbol: variable string location: class fold_tests Mercury/javas/jmercury/fold_tests.java:355: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/fold_tests.java:416: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 67 errors make[3]: *** [/tmp/mmake.J7IBrh:2362: fold_tests] Error 1 make[3]: Target 'fold_tests.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/hard_coded'