MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - typeclass_in_opt.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - typeclass_in_opt.class Making Mercury/int3s/typeclass_in_opt.int3 Making Mercury/int3s/typeclass_in_opt_helper_1.int3 Making Mercury/ints/typeclass_in_opt.int Making Mercury/ints/typeclass_in_opt_helper_1.int Making Mercury/opts/typeclass_in_opt.opt Making Mercury/opts/typeclass_in_opt_helper_1.opt Making Mercury/javas/jmercury/typeclass_in_opt.java Making Mercury/classes/jmercury/typeclass_in_opt.class Mercury/javas/jmercury/typeclass_in_opt.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] typeclass_in_opt__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc typeclass_in_opt__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/typeclass_in_opt.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc typeclass_in_opt__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/typeclass_in_opt.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] typeclass_in_opt__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] typeclass_in_opt__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] typeclass_in_opt__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct typeclass_in_opt__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/typeclass_in_opt.java:109: error: package typeclass_in_opt_helper_1.T_0 does not exist private static final typeclass_in_opt_helper_1.T_0.F_1[] MR_scalar_common_4 = new typeclass_in_opt_helper_1.T_0.F_1[1]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:180: error: package typeclass_in_opt_helper_1 does not exist typeclass_in_opt_helper_1.T_0 LambdaHeadVar__1_11, ^ Mercury/javas/jmercury/typeclass_in_opt.java:475: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/typeclass_in_opt.java:293: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/typeclass_in_opt.java:395: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/typeclass_in_opt.java:413: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/typeclass_in_opt.java:455: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/typeclass_in_opt.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] typeclass_in_opt__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc typeclass_in_opt__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/typeclass_in_opt.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc typeclass_in_opt__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/typeclass_in_opt.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] typeclass_in_opt__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] typeclass_in_opt__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] typeclass_in_opt__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct typeclass_in_opt__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/typeclass_in_opt.java:27: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/typeclass_in_opt.java:27: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:32: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:40: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/typeclass_in_opt.java:65: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/typeclass_in_opt.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/typeclass_in_opt.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/typeclass_in_opt.java:109: error: package typeclass_in_opt_helper_1.T_0 does not exist private static final typeclass_in_opt_helper_1.T_0.F_1[] MR_scalar_common_4 = new typeclass_in_opt_helper_1.T_0.F_1[1]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:115: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) typeclass_in_opt_helper_1.base_typeclass_info_typeclass_in_opt_helper_1__class__arity1__int__arity0__)), ^ symbol: variable typeclass_in_opt_helper_1 location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:116: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:116: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/typeclass_in_opt.java:120: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:121: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:121: 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/typeclass_in_opt.java:122: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:122: 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/typeclass_in_opt.java:126: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:128: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:128: 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/typeclass_in_opt.java:129: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:129: 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/typeclass_in_opt.java:133: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:135: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:135: 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/typeclass_in_opt.java:136: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:136: 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/typeclass_in_opt.java:137: 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 typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:137: 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/typeclass_in_opt.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/typeclass_in_opt.java:157: error: cannot find symbol ((java.lang.Object) (typeclass_in_opt_helper_1.typeclass_in_opt_helper_1__type_ctor_info_t_0)), ^ symbol: variable typeclass_in_opt_helper_1 location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:157: error: illegal start of type ((java.lang.Object) (typeclass_in_opt_helper_1.typeclass_in_opt_helper_1__type_ctor_info_t_0)), ^ Mercury/javas/jmercury/typeclass_in_opt.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class typeclass_in_opt Mercury/javas/jmercury/typeclass_in_opt.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/typeclass_in_opt.java:167: error: package typeclass_in_opt_helper_1.T_0 does not exist new typeclass_in_opt_helper_1.T_0.F_1( ^ Mercury/javas/jmercury/typeclass_in_opt.java:188: error: package typeclass_in_opt_helper_1.T_0 does not exist Var_9 = ((typeclass_in_opt_helper_1.T_0.F_1) LambdaHeadVar__1_11).F1; ^ Mercury/javas/jmercury/typeclass_in_opt.java:209: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_3)[1]); ^ Mercury/javas/jmercury/typeclass_in_opt.java:209: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_3)[1]); ^ Mercury/javas/jmercury/typeclass_in_opt.java:213: 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/typeclass_in_opt.java:226: error: package typeclass_in_opt_helper_1 does not exist typeclass_in_opt_helper_1.T_0 Var_8 = null; ^ Mercury/javas/jmercury/typeclass_in_opt.java:229: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Lambda_5)[1]); ^ Mercury/javas/jmercury/typeclass_in_opt.java:229: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Lambda_5)[1]); ^ Mercury/javas/jmercury/typeclass_in_opt.java:231: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_3 = null; ^ Mercury/javas/jmercury/typeclass_in_opt.java:232: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/typeclass_in_opt.java:235: 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/typeclass_in_opt.java:238: error: package typeclass_in_opt_helper_1 does not exist Var_8 = (typeclass_in_opt_helper_1.T_0) typeclass_in_opt.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/typeclass_in_opt.java:244: error: package jmercury.runtime does not exist func_3 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_11)[1]); ^ Mercury/javas/jmercury/typeclass_in_opt.java:246: 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_11))), ((java.lang.Object) (((java.lang.Object) (Var_8)))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_12))))).booleanValue(); ^ Mercury/javas/jmercury/typeclass_in_opt.java:251: error: package jmercury.runtime does not exist func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_class_10)[0])[5]); ^ Mercury/javas/jmercury/typeclass_in_opt.java:253: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr2) func_4).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_class_10))), ((java.lang.Object) (java.lang.Integer.valueOf(X_2))))).booleanValue(); ^ Mercury/javas/jmercury/typeclass_in_opt.java:288: error: package typeclass_in_opt_helper_1 does not exist succeeded = typeclass_in_opt.IntroducedFrom__pred__bar__30__1_2_p_0(((typeclass_in_opt_helper_1.T_0) wrapper_arg_1), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ Mercury/javas/jmercury/typeclass_in_opt.java:299: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/typeclass_in_opt.java:305: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/typeclass_in_opt.java:315: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/typeclass_in_opt.java:320: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/typeclass_in_opt.java:322: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/typeclass_in_opt.java:326: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/typeclass_in_opt.java:329: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/typeclass_in_opt.java:331: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/typeclass_in_opt.java:341: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/typeclass_in_opt.java:442: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 86 errors ** Error making `Mercury/classes/jmercury/typeclass_in_opt.class'. make[3]: *** [/tmp/mmake.IpIz58:1242: typeclass_in_opt.class] Error 1 make[3]: Target 'typeclass_in_opt.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq'