MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-02/stage2/scripts/mmc --make --options-file - common_type_cast.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-02/stage2/scripts/mmc --make --options-file - common_type_cast Making Mercury/int3s/common_type_cast.int3 Making Mercury/ints/common_type_cast.int Making Mercury/javas/jmercury/common_type_cast.java Making Java class files Mercury/javas/jmercury/common_type_cast.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_type_cast__field_types_foo_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/common_type_cast.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_type_cast__du_functor_desc_foo_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_type_cast.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_type_cast__field_types_foo_1_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/common_type_cast.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_type_cast__du_functor_desc_foo_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_type_cast.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_type_cast__du_stag_ordered_foo_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_type_cast.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] common_type_cast__du_ptag_ordered_foo_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/common_type_cast.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_type_cast__du_name_ordered_foo_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_type_cast.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct common_type_cast__type_ctor_info_foo_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/common_type_cast.java:126: 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/common_type_cast.java:404: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/common_type_cast.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/common_type_cast.java:225: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/common_type_cast.java:285: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/common_type_cast.java:342: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/common_type_cast.java:361: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/common_type_cast.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "common_type_cast"; ^ Mercury/javas/jmercury/common_type_cast.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/common_type_cast.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/common_type_cast.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/common_type_cast.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/common_type_cast.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_type_cast__field_types_foo_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/common_type_cast.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_type_cast__du_functor_desc_foo_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_type_cast.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_type_cast__field_types_foo_1_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/common_type_cast.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_type_cast__du_functor_desc_foo_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_type_cast.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_type_cast__du_stag_ordered_foo_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_type_cast.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] common_type_cast__du_ptag_ordered_foo_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/common_type_cast.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_type_cast__du_name_ordered_foo_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_type_cast.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct common_type_cast__type_ctor_info_foo_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/common_type_cast.java:45: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/common_type_cast.java:50: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:58: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/common_type_cast.java:62: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:67: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:75: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/common_type_cast.java:85: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/common_type_cast.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/common_type_cast.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/common_type_cast.java:126: 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/common_type_cast.java:133: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/common_type_cast.java:134: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(common_type_cast.common_type_cast__type_ctor_info_foo_1))), ^ Mercury/javas/jmercury/common_type_cast.java:135: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:135: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/common_type_cast.java:142: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:142: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/common_type_cast.java:143: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:143: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/common_type_cast.java:170: error: cannot find symbol LambdaHeadVar__2_12 = mr_float.float_1_f_0(LambdaHeadVar__1_11); ^ symbol: variable mr_float location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:178: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_23_23 = null; ^ Mercury/javas/jmercury/common_type_cast.java:185: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/common_type_cast.java:190: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/common_type_cast.java:192: error: package jmercury.runtime does not exist conv2_U_31 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(T_30))))); ^ Mercury/javas/jmercury/common_type_cast.java:200: error: package jmercury.runtime does not exist TypeInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(common_type_cast.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/common_type_cast.java:202: error: cannot find symbol io.write_line_3_p_0(TypeInfo_23_23, ((java.lang.Object) (Output1_7))); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:205: error: cannot find symbol io.write_line_3_p_0(TypeInfo_23_23, ((java.lang.Object) (Output2_8))); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:232: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/common_type_cast.java:238: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/common_type_cast.java:247: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:251: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/common_type_cast.java:254: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/common_type_cast.java:261: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_T_10, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:274: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/common_type_cast.java:277: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = common_type_cast.__Compare____foo_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((common_type_cast.Foo_1) wrapper_arg_3), ((common_type_cast.Foo_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/common_type_cast.java:319: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_T_9, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:335: error: package jmercury.runtime does not exist succeeded = common_type_cast.__Unify____foo_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((common_type_cast.Foo_1) wrapper_arg_2), ((common_type_cast.Foo_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/common_type_cast.java:391: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Note: Mercury/javas/jmercury/common_type_cast.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 74 errors make[3]: *** [/tmp/mmake.gj50P8:2366: common_type_cast] Error 1 make[3]: Target 'common_type_cast.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded'