MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' { 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 - gh72.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' { 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 - gh72 Making Mercury/int3s/gh72.int3 Making Mercury/ints/gh72.int Making Mercury/javas/jmercury/gh72.java gh72.m:123: Warning: this disjunction further instantiates the already gh72.m:123: partially instantiated variable T. gh72.m:123: Since the memory cell of this variable is allocated *before* the gh72.m:123: disjunction, the different disjuncts will return their gh72.m:123: potentially different solutions for this variable in the same gh72.m:123: memory cell, which will cause any all-solutions predicate to gh72.m:123: think that the different solutions (since they are at the same gh72.m:123: address) are in fact all the same when invoked on the procedure. Making Java class files Mercury/javas/jmercury/gh72.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_package_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/gh72.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_package_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_stag_ordered_package_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72__du_ptag_ordered_package_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_name_ordered_package_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72__type_ctor_info_package_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/gh72.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/gh72.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] gh72__type_class_id_method_ids_fxc_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/gh72.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId gh72__type_class_id_fxc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/gh72.java:57: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct gh72__type_class_decl_fxc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/gh72.java:291: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/gh72.java:3506: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh72.java:3526: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh72.java:585: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:758: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:823: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:888: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1131: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1308: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1327: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1346: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1515: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1579: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1643: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1863: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1927: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1991: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2116: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2288: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2307: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2326: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2495: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2559: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2623: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2799: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh72.java:2849: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh72.java:3107: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/gh72.java:3248: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/gh72.java:3462: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/gh72.java:3610: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3623: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3636: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3649: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3663: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3675: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3684: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3693: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3702: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3711: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3720: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3730: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3742: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3751: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3760: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "gh72"; ^ Mercury/javas/jmercury/gh72.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/gh72.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/gh72.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class gh72 Mercury/javas/jmercury/gh72.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class gh72 Mercury/javas/jmercury/gh72.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/gh72.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh72 Mercury/javas/jmercury/gh72.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh72 Mercury/javas/jmercury/gh72.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh72 Mercury/javas/jmercury/gh72.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh72 Mercury/javas/jmercury/gh72.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/gh72.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_package_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/gh72.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_package_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_stag_ordered_package_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72__du_ptag_ordered_package_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_name_ordered_package_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72__type_ctor_info_package_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/gh72.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/gh72.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] gh72__type_class_id_method_ids_fxc_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/gh72.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId gh72__type_class_id_fxc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/gh72.java:57: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct gh72__type_class_decl_fxc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/gh72.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/gh72.java:62: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class gh72 Mercury/javas/jmercury/gh72.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ 100 errors make[3]: *** [/tmp/mmake.9aKbvv:2364: gh72] Error 1 make[3]: Target 'gh72.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' ERROR OUTPUT gh72.m:123: Warning: this disjunction further instantiates the already gh72.m:123: partially instantiated variable T. gh72.m:123: Since the memory cell of this variable is allocated *before* the gh72.m:123: disjunction, the different disjuncts will return their gh72.m:123: potentially different solutions for this variable in the same gh72.m:123: memory cell, which will cause any all-solutions predicate to gh72.m:123: think that the different solutions (since they are at the same gh72.m:123: address) are in fact all the same when invoked on the procedure. END OF THE ERROR OUTPUT