MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - nested_module_ambiguity.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid_seq' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - nested_module_ambiguity.class Making Mercury/int3s/nested_module_ambiguity.int3 Making Mercury/int0s/nested_module_ambiguity.int0 Making Mercury/ints/nested_module_ambiguity.int Making Mercury/javas/jmercury/nested_module_ambiguity.java Making Mercury/classes/jmercury/nested_module_ambiguity.class Mercury/javas/jmercury/nested_module_ambiguity.java:32: 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/nested_module_ambiguity.java:33: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:34: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nested_module_ambiguity"; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nested_module_ambiguity.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nested_module_ambiguity.java:32: 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/nested_module_ambiguity.java:33: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:34: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/nested_module_ambiguity.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/nested_module_ambiguity.java:40: 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 nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity.java:40: 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/nested_module_ambiguity.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/nested_module_ambiguity.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nested_module_ambiguity.java:47: error: package list does not exist (list.List_1) nested_module_ambiguity.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/nested_module_ambiguity.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nested_module_ambiguity.java:52: error: package list does not exist (list.List_1) nested_module_ambiguity.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/nested_module_ambiguity.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_13 = null; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:66: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:68: error: package list does not exist list.List_1 Var_8 = (list.List_1) nested_module_ambiguity.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/nested_module_ambiguity.java:68: error: package list does not exist list.List_1 Var_8 = (list.List_1) nested_module_ambiguity.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/nested_module_ambiguity__nested_module_ambiguity_helper_1.java:19: error: package list does not exist list.List_1 X_5) ^ Mercury/javas/jmercury/nested_module_ambiguity__nested_module_ambiguity_helper_1.java:16: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/nested_module_ambiguity.java:73: error: package jmercury.runtime does not exist TypeInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(nested_module_ambiguity.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/nested_module_ambiguity.java:75: error: cannot find symbol io.write_line_3_p_0(TypeInfo_13_13, ((java.lang.Object) (List_4))); ^ symbol: variable io location: class nested_module_ambiguity Mercury/javas/jmercury/nested_module_ambiguity__nested_module_ambiguity_helper_1.java:21: error: package list does not exist list.List_1 X_3 = X_5; ^ 36 errors ** Error making `Mercury/classes/jmercury/nested_module_ambiguity.class'. make[3]: *** [/tmp/mmake.8Lewjy:1242: nested_module_ambiguity.class] Error 1 make[3]: Target 'nested_module_ambiguity.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid_seq'