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 - failure_unify.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 - failure_unify Making Mercury/int3s/failure_unify.int3 Making Mercury/ints/failure_unify.int Making Mercury/javas/jmercury/failure_unify.java failure_unify.m:019: Warning: the condition of this if-then-else cannot failure_unify.m:019: succeed. failure_unify.m:022: In clause for `main(di, uo)': failure_unify.m:022: warning: unification of `X' and `Y' cannot succeed. failure_unify.m:022: `X' has instantiatedness `unique(f(unique(1)))', failure_unify.m:022: `Y' has instantiatedness `unique(f(unique(2)))'. Making Java class files Mercury/javas/jmercury/failure_unify.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] failure_unify__field_types_f_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/failure_unify.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc failure_unify__du_functor_desc_f_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/failure_unify.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] failure_unify__du_stag_ordered_f_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/failure_unify.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] failure_unify__du_ptag_ordered_f_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/failure_unify.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] failure_unify__du_name_ordered_f_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/failure_unify.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct failure_unify__type_ctor_info_f_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/failure_unify.java:239: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/failure_unify.java:112: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/failure_unify.java:197: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/failure_unify.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "failure_unify"; ^ Mercury/javas/jmercury/failure_unify.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/failure_unify.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/failure_unify.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class failure_unify Mercury/javas/jmercury/failure_unify.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class failure_unify Mercury/javas/jmercury/failure_unify.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/failure_unify.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/failure_unify.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] failure_unify__field_types_f_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/failure_unify.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc failure_unify__du_functor_desc_f_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/failure_unify.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] failure_unify__du_stag_ordered_f_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/failure_unify.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] failure_unify__du_ptag_ordered_f_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/failure_unify.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] failure_unify__du_name_ordered_f_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/failure_unify.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct failure_unify__type_ctor_info_f_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/failure_unify.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/failure_unify.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class failure_unify Mercury/javas/jmercury/failure_unify.java:48: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class failure_unify Mercury/javas/jmercury/failure_unify.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class failure_unify Mercury/javas/jmercury/failure_unify.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/failure_unify.java:64: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class failure_unify Mercury/javas/jmercury/failure_unify.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/failure_unify.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/failure_unify.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/failure_unify.java:108: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:118: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/failure_unify.java:124: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/failure_unify.java:132: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/failure_unify.java:137: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/failure_unify.java:139: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/failure_unify.java:151: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/failure_unify.java:226: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 43 errors make[3]: *** [/tmp/mmake.LrRv2J:2364: failure_unify] Error 1 make[3]: Target 'failure_unify.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' ERROR OUTPUT failure_unify.m:019: Warning: the condition of this if-then-else cannot failure_unify.m:019: succeed. failure_unify.m:022: In clause for `main(di, uo)': failure_unify.m:022: warning: unification of `X' and `Y' cannot succeed. failure_unify.m:022: `X' has instantiatedness `unique(f(unique(1)))', failure_unify.m:022: `Y' has instantiatedness `unique(f(unique(2)))'. END OF THE ERROR OUTPUT