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 -O2 --optimize-dups --optimize-frames '; 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 - opt_dup_bug.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 -O2 --optimize-dups --optimize-frames '; 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 - opt_dup_bug Making Mercury/int3s/opt_dup_bug.int3 Making Mercury/ints/opt_dup_bug.int Making Mercury/javas/jmercury/opt_dup_bug.java Making Java class files Mercury/javas/jmercury/opt_dup_bug.java:169: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/opt_dup_bug.java:208: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/opt_dup_bug.java:257: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/opt_dup_bug.java:276: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/opt_dup_bug.java:323: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/opt_dup_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "opt_dup_bug"; ^ Mercury/javas/jmercury/opt_dup_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/opt_dup_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/opt_dup_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/opt_dup_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/opt_dup_bug.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/opt_dup_bug.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/opt_dup_bug.java:58: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:58: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/opt_dup_bug.java:59: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:59: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/opt_dup_bug.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/opt_dup_bug.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/opt_dup_bug.java:112: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/opt_dup_bug.java:115: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (HeadVar__1_14))); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/opt_dup_bug.java:122: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/opt_dup_bug.java:123: error: package list does not exist list.List_1 Solutions_4 = null; ^ Mercury/javas/jmercury/opt_dup_bug.java:129: error: cannot find symbol Solutions_4 = solutions.solutions_2_p_1(TypeCtorInfo_13_13, Var_7); ^ symbol: variable solutions location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:134: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_13_13, Solutions_4, Var_9, Var_10); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:137: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:149: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((opt_dup_bug.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((opt_dup_bug.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((opt_dup_bug.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/opt_dup_bug.java:222: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/opt_dup_bug.java:237: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/opt_dup_bug.java:248: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/opt_dup_bug.java:292: error: package jmercury.runtime does not exist opt_dup_bug.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/opt_dup_bug.java:306: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 43 errors make[3]: *** [/tmp/mmake.0xxCVi:2360: opt_dup_bug] Error 1 make[3]: Target 'opt_dup_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'