MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - overload_resolution.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid_seq' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - overload_resolution.class Making Mercury/int3s/overload_resolution.int3 Making Mercury/int3s/overload_resolution_helper_1.int3 Making Mercury/ints/overload_resolution.int Making Mercury/ints/overload_resolution_helper_1.int Making Mercury/opts/overload_resolution.opt Making Mercury/opts/overload_resolution_helper_1.opt Making Mercury/javas/jmercury/overload_resolution.java Making Mercury/classes/jmercury/overload_resolution.class Mercury/javas/jmercury/overload_resolution.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] overload_resolution__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/overload_resolution.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc overload_resolution__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/overload_resolution.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc overload_resolution__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/overload_resolution.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] overload_resolution__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/overload_resolution.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] overload_resolution__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/overload_resolution.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] overload_resolution__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/overload_resolution.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct overload_resolution__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/overload_resolution.java:109: error: package overload_resolution_helper_1.T_0 does not exist private static final overload_resolution_helper_1.T_0.F_1[] MR_scalar_common_4 = new overload_resolution_helper_1.T_0.F_1[1]; ^ Mercury/javas/jmercury/overload_resolution.java:175: error: package overload_resolution_helper_1 does not exist overload_resolution_helper_1.T_0 LambdaHeadVar__1_11, ^ Mercury/javas/jmercury/overload_resolution.java:460: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/overload_resolution.java:278: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/overload_resolution.java:380: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/overload_resolution.java:398: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/overload_resolution.java:440: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/overload_resolution.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] overload_resolution__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/overload_resolution.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc overload_resolution__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/overload_resolution.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc overload_resolution__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/overload_resolution.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] overload_resolution__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/overload_resolution.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] overload_resolution__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/overload_resolution.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] overload_resolution__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/overload_resolution.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct overload_resolution__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/overload_resolution.java:27: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/overload_resolution.java:27: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:32: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:40: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/overload_resolution.java:65: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/overload_resolution.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/overload_resolution.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/overload_resolution.java:109: error: package overload_resolution_helper_1.T_0 does not exist private static final overload_resolution_helper_1.T_0.F_1[] MR_scalar_common_4 = new overload_resolution_helper_1.T_0.F_1[1]; ^ Mercury/javas/jmercury/overload_resolution.java:115: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:116: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:116: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/overload_resolution.java:117: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:117: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/overload_resolution.java:121: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:123: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:123: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/overload_resolution.java:124: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:124: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/overload_resolution.java:128: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:130: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:130: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/overload_resolution.java:131: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:131: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/overload_resolution.java:132: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:132: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/overload_resolution.java:139: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:139: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/overload_resolution.java:152: error: cannot find symbol ((java.lang.Object) (overload_resolution_helper_1.overload_resolution_helper_1__type_ctor_info_t_0)), ^ symbol: variable overload_resolution_helper_1 location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:152: error: illegal start of type ((java.lang.Object) (overload_resolution_helper_1.overload_resolution_helper_1__type_ctor_info_t_0)), ^ Mercury/javas/jmercury/overload_resolution.java:153: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class overload_resolution Mercury/javas/jmercury/overload_resolution.java:153: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/overload_resolution.java:162: error: package overload_resolution_helper_1.T_0 does not exist new overload_resolution_helper_1.T_0.F_1( ^ Mercury/javas/jmercury/overload_resolution.java:183: error: package overload_resolution_helper_1.T_0 does not exist Var_9 = ((overload_resolution_helper_1.T_0.F_1) LambdaHeadVar__1_11).F1; ^ Mercury/javas/jmercury/overload_resolution.java:204: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_3)[1]); ^ Mercury/javas/jmercury/overload_resolution.java:204: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_3)[1]); ^ Mercury/javas/jmercury/overload_resolution.java:208: error: package jmercury.runtime does not exist conv1_Int_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr1) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_3))))); ^ Mercury/javas/jmercury/overload_resolution.java:220: error: package overload_resolution_helper_1 does not exist overload_resolution_helper_1.T_0 Var_8 = null; ^ Mercury/javas/jmercury/overload_resolution.java:223: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Lambda_5)[1]); ^ Mercury/javas/jmercury/overload_resolution.java:223: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Lambda_5)[1]); ^ Mercury/javas/jmercury/overload_resolution.java:225: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_3 = null; ^ Mercury/javas/jmercury/overload_resolution.java:228: error: package jmercury.runtime does not exist conv2_X_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr1) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Lambda_5))))); ^ Mercury/javas/jmercury/overload_resolution.java:231: error: package overload_resolution_helper_1 does not exist Var_8 = (overload_resolution_helper_1.T_0) overload_resolution.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/overload_resolution.java:237: error: package jmercury.runtime does not exist func_3 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_10)[1]); ^ Mercury/javas/jmercury/overload_resolution.java:239: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr3) func_3).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_10))), ((java.lang.Object) (((java.lang.Object) (Var_8)))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_11))))).booleanValue(); ^ Mercury/javas/jmercury/overload_resolution.java:273: error: package overload_resolution_helper_1 does not exist succeeded = overload_resolution.IntroducedFrom__pred__bar__19__1_2_p_0(((overload_resolution_helper_1.T_0) wrapper_arg_1), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ Mercury/javas/jmercury/overload_resolution.java:284: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/overload_resolution.java:290: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/overload_resolution.java:300: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/overload_resolution.java:305: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/overload_resolution.java:307: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/overload_resolution.java:311: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/overload_resolution.java:314: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/overload_resolution.java:316: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/overload_resolution.java:326: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/overload_resolution.java:427: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 80 errors ** Error making `Mercury/classes/jmercury/overload_resolution.class'. make[3]: *** [/tmp/mmake.6yg72I:1242: overload_resolution.class] Error 1 make[3]: Target 'overload_resolution.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid_seq'