MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' { 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 - dupcall_types_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' { 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 - dupcall_types_bug Making Mercury/int3s/dupcall_types_bug.int3 Making Mercury/ints/dupcall_types_bug.int Making Mercury/javas/jmercury/dupcall_types_bug.java Making Java class files Mercury/javas/jmercury/dupcall_types_bug.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dupcall_types_bug"; ^ Mercury/javas/jmercury/dupcall_types_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dupcall_types_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dupcall_types_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dupcall_types_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dupcall_types_bug.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:36: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/dupcall_types_bug.java:53: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:58: error: package io does not exist io.Posn_0 Posn0_7 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:59: error: package io does not exist io.Read_result_1 Int_8 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:60: error: package io does not exist io.Read_result_1 Str_10 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:61: error: package io does not exist io.Posn_0 Var_9 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:62: error: package io does not exist io.Posn_0 Var_11 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:67: error: cannot find symbol Len_6 = string.length_2_p_1(String_5); ^ symbol: variable string location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:69: error: package io does not exist Posn0_7 = (io.Posn_0) dupcall_types_bug.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:70: error: cannot find symbol TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:70: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/dupcall_types_bug.java:72: error: cannot find symbol java.lang.Object [] result = io.read_from_string_6_p_0(TypeCtorInfo_23_23, FileName_4, String_5, Len_6, Posn0_7); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:73: error: package io does not exist Int_8 = (io.Read_result_1) result[0]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:74: error: package io does not exist Var_9 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:76: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:76: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/dupcall_types_bug.java:78: error: cannot find symbol java.lang.Object [] result = io.read_from_string_6_p_0(TypeCtorInfo_24_24, FileName_4, String_5, Len_6, Posn0_7); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:79: error: package io does not exist Str_10 = (io.Read_result_1) result[0]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:80: error: package io does not exist Var_11 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:85: error: package io.Read_result_1 does not exist I_12 = ((java.lang.Integer) (((io.Read_result_1.Ok_1) Int_8).F1)).intValue(); ^ Mercury/javas/jmercury/dupcall_types_bug.java:85: error: illegal start of type I_12 = ((java.lang.Integer) (((io.Read_result_1.Ok_1) Int_8).F1)).intValue(); ^ Mercury/javas/jmercury/dupcall_types_bug.java:88: error: package io.Read_result_1 does not exist S_13 = ((java.lang.String) ((io.Read_result_1.Ok_1) Str_10).F1); ^ Mercury/javas/jmercury/dupcall_types_bug.java:93: error: cannot find symbol io.write_int_3_p_0(I_12); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:96: error: cannot find symbol io.write_string_3_p_0(S_13); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:99: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:107: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class dupcall_types_bug 40 errors make[3]: *** [/tmp/mmake.k3kjTv:2364: dupcall_types_bug] Error 1 make[3]: Target 'dupcall_types_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded'