MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/general' { 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 '; 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 - test_string_to_int_overflow.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/general' { 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 '; 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 - test_string_to_int_overflow Making Mercury/int3s/test_string_to_int_overflow.int3 Making Mercury/ints/test_string_to_int_overflow.int Making Mercury/javas/jmercury/test_string_to_int_overflow.java Making Java class files Mercury/javas/jmercury/test_string_to_int_overflow.java:1160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12, ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:1193: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_string_to_int_overflow"; ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:50: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:50: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:51: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:51: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:52: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:52: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:289: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:297: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_122_122 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:297: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_122_122 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:297: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_122_122 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:468: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:493: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:518: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:543: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:568: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:593: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:618: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:643: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:668: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:693: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:718: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:743: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:768: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:793: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:818: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:843: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:868: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:893: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:918: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:943: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:968: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:993: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1018: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1043: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1068: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1093: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1118: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1143: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1165: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:1165: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:1168: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr1) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_4))))); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:1175: error: cannot find symbol io.write_3_p_0(TypeInfo_for_T_12, X_6); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1178: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1186: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1455: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 62 errors make[3]: *** [/tmp/mmake.rTO3wG:1282: test_string_to_int_overflow] Error 1 make[3]: Target 'test_string_to_int_overflow.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/general'