MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' { 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 - ho_func_call_2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' { 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 - ho_func_call_2.class Making Mercury/int3s/ho_func_call_2.int3 Making Mercury/ints/ho_func_call_2.int Making Mercury/javas/jmercury/ho_func_call_2.java Making Mercury/classes/jmercury/ho_func_call_2.class Mercury/javas/jmercury/ho_func_call_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_2ho_func_call_2__type_ctor_info_t_0ho_func_call_2__type_ctor_info_t_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_call_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_func_call_2__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ho_func_call_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_func_call_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_func_call_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_func_call_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_func_call_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ho_func_call_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ho_func_call_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_func_call_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_func_call_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_func_call_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_call_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ho_func_call_2__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ho_func_call_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ho_func_call_2__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ho_func_call_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ho_func_call_2__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ho_func_call_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ho_func_call_2__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ho_func_call_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ho_func_call_2__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ho_func_call_2.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_func_call_2__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_call_2.java:166: 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/ho_func_call_2.java:474: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/ho_func_call_2.java:475: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ho_func_call_2.java:455: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ho_func_call_2.java:244: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_func_call_2.java:285: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_func_call_2.java:386: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_func_call_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_func_call_2"; ^ Mercury/javas/jmercury/ho_func_call_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_func_call_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_func_call_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_func_call_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_func_call_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_2ho_func_call_2__type_ctor_info_t_0ho_func_call_2__type_ctor_info_t_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_call_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_func_call_2__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ho_func_call_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_func_call_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_func_call_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_func_call_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_func_call_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ho_func_call_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ho_func_call_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_func_call_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_func_call_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_func_call_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_call_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ho_func_call_2__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ho_func_call_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ho_func_call_2__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ho_func_call_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ho_func_call_2__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ho_func_call_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ho_func_call_2__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ho_func_call_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ho_func_call_2__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ho_func_call_2.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_func_call_2__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_call_2.java:51: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:53: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_call_2.ho_func_call_2__type_ctor_info_t_0), ^ Mercury/javas/jmercury/ho_func_call_2.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_call_2.ho_func_call_2__type_ctor_info_t_0) ^ Mercury/javas/jmercury/ho_func_call_2.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) ho_func_call_2.__vti_func_2ho_func_call_2__type_ctor_info_t_0ho_func_call_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/ho_func_call_2.java:63: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/ho_func_call_2.java:79: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:93: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/ho_func_call_2.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ho_func_call_2.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ho_func_call_2.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/ho_func_call_2.java:148: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ho_func_call_2.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ho_func_call_2.java:166: 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/ho_func_call_2.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_func_call_2.java:173: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:173: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/ho_func_call_2.java:174: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_call_2.ho_func_call_2__type_ctor_info_t_0))), ^ Mercury/javas/jmercury/ho_func_call_2.java:175: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_call_2.ho_func_call_2__type_ctor_info_t_0))) ^ Mercury/javas/jmercury/ho_func_call_2.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = null; ^ Mercury/javas/jmercury/ho_func_call_2.java:206: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_13)[1]); ^ Mercury/javas/jmercury/ho_func_call_2.java:206: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_13)[1]); ^ Mercury/javas/jmercury/ho_func_call_2.java:210: error: package jmercury.runtime does not exist conv2_X_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_13))), ((java.lang.Object) (((java.lang.Object) (Var_8)))))); ^ Mercury/javas/jmercury/ho_func_call_2.java:213: error: package jmercury.runtime does not exist TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_call_2.ho_func_call_2__type_ctor_info_t_0); ^ Mercury/javas/jmercury/ho_func_call_2.java:215: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_12_12, ((java.lang.Object) (X_4))); ^ symbol: variable io location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:250: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_func_call_2.java:256: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ho_func_call_2.java:259: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_call_2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_func_call_2.java:259: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_call_2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_func_call_2.java:264: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_8_8, ((java.lang.Object) (ArgX1_4)), ((java.lang.Object) (ArgY1_5))); ^ symbol: variable builtin location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:276: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_func_call_2.java:291: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_func_call_2.java:292: error: cannot find symbol int Cast_HeadVar1_4 = (int) HeadVar__2_2.MR_value; ^ symbol: variable MR_value location: variable HeadVar__2_2 of type T_0 Mercury/javas/jmercury/ho_func_call_2.java:293: error: cannot find symbol int Cast_HeadVar2_5 = (int) HeadVar__3_3.MR_value; ^ symbol: variable MR_value location: variable HeadVar__3_3 of type T_0 Mercury/javas/jmercury/ho_func_call_2.java:297: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/ho_func_call_2.java:302: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/ho_func_call_2.java:304: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ho_func_call_2.java:315: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_func_call_2.java:342: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) ArgX1_3, (/* closure */ java.lang.Object[]) ArgY1_4); ^ symbol: variable private_builtin location: class ho_func_call_2 Mercury/javas/jmercury/ho_func_call_2.java:366: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__1_1 of type T_0 Mercury/javas/jmercury/ho_func_call_2.java:366: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__2_2 of type T_0 Mercury/javas/jmercury/ho_func_call_2.java:442: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 87 errors ** Error making `Mercury/classes/jmercury/ho_func_call_2.class'. make[3]: *** [/tmp/mmake.d6xeS7:1500: ho_func_call_2.class] Error 1 make[3]: Target 'ho_func_call_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid'