MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - func_ctor_ambig.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - func_ctor_ambig Making Mercury/int3s/func_ctor_ambig.int3 Making Mercury/ints/func_ctor_ambig.int Making Mercury/javas/jmercury/func_ctor_ambig.java Making Java class files Mercury/javas/jmercury/func_ctor_ambig.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc func_ctor_ambig__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/func_ctor_ambig.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] func_ctor_ambig__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/func_ctor_ambig.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] func_ctor_ambig__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/func_ctor_ambig.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct func_ctor_ambig__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/func_ctor_ambig.java:150: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/func_ctor_ambig.java:196: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/func_ctor_ambig.java:240: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/func_ctor_ambig.java:241: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/func_ctor_ambig.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func_ctor_ambig"; ^ Mercury/javas/jmercury/func_ctor_ambig.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func_ctor_ambig.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func_ctor_ambig.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func_ctor_ambig.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func_ctor_ambig.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc func_ctor_ambig__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/func_ctor_ambig.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] func_ctor_ambig__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/func_ctor_ambig.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] func_ctor_ambig__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/func_ctor_ambig.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct func_ctor_ambig__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/func_ctor_ambig.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/func_ctor_ambig.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/func_ctor_ambig.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/func_ctor_ambig.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/func_ctor_ambig.java:81: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/func_ctor_ambig.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/func_ctor_ambig.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/func_ctor_ambig.java:92: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:95: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:95: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/func_ctor_ambig.java:97: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_22_22, java.lang.Integer.valueOf(Var_8)); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:101: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:105: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_22_22, java.lang.Integer.valueOf(Var_12)); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:109: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:111: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(func_ctor_ambig.func_ctor_ambig__type_ctor_info_t_0); ^ Mercury/javas/jmercury/func_ctor_ambig.java:113: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_23_23, ((java.lang.Object) (0))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:117: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:120: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_23_23, ((java.lang.Object) (0))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:153: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/func_ctor_ambig.java:153: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/func_ctor_ambig.java:164: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/func_ctor_ambig.java:225: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 46 errors make[3]: *** [/tmp/mmake.EAWIyK:2364: func_ctor_ambig] Error 1 make[3]: Target 'func_ctor_ambig.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded'