MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/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-07-27/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/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-27/stage2/scripts/mmc --make --options-file - logged_stream.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/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-07-27/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/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-27/stage2/scripts/mmc --make --options-file - logged_stream.class Making Mercury/int3s/logged_stream.int3 Making Mercury/ints/logged_stream.int Making Mercury/javas/jmercury/logged_stream.java Making Mercury/classes/jmercury/logged_stream.class Mercury/javas/jmercury/logged_stream.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] logged_stream__field_types_logged_error_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/logged_stream.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc logged_stream__du_functor_desc_logged_error_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/logged_stream.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] logged_stream__du_stag_ordered_logged_error_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/logged_stream.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] logged_stream__du_ptag_ordered_logged_error_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/logged_stream.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] logged_stream__du_name_ordered_logged_error_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/logged_stream.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct logged_stream__type_ctor_info_logged_error_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/logged_stream.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] logged_stream__field_types_logged_stream_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/logged_stream.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc logged_stream__du_functor_desc_logged_stream_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/logged_stream.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] logged_stream__du_stag_ordered_logged_stream_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/logged_stream.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] logged_stream__du_ptag_ordered_logged_stream_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/logged_stream.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] logged_stream__du_name_ordered_logged_stream_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/logged_stream.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct logged_stream__type_ctor_info_logged_stream_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/logged_stream.java:579: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/logged_stream.java:562: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/logged_stream.java:265: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_E_8, ^ Mercury/javas/jmercury/logged_stream.java:263: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/logged_stream.java:307: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_11, ^ Mercury/javas/jmercury/logged_stream.java:308: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_L_12, ^ Mercury/javas/jmercury/logged_stream.java:305: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/logged_stream.java:361: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_E_7, ^ Mercury/javas/jmercury/logged_stream.java:400: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_9, ^ Mercury/javas/jmercury/logged_stream.java:401: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_L_10, ^ Mercury/javas/jmercury/logged_stream.java:447: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/logged_stream.java:466: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/logged_stream.java:518: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/logged_stream.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] logged_stream__field_types_logged_error_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/logged_stream.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc logged_stream__du_functor_desc_logged_error_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/logged_stream.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] logged_stream__du_stag_ordered_logged_error_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/logged_stream.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] logged_stream__du_ptag_ordered_logged_error_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/logged_stream.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] logged_stream__du_name_ordered_logged_error_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/logged_stream.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct logged_stream__type_ctor_info_logged_error_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/logged_stream.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] logged_stream__field_types_logged_stream_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/logged_stream.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc logged_stream__du_functor_desc_logged_stream_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/logged_stream.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] logged_stream__du_stag_ordered_logged_stream_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/logged_stream.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] logged_stream__du_ptag_ordered_logged_stream_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/logged_stream.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] logged_stream__du_name_ordered_logged_stream_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/logged_stream.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct logged_stream__type_ctor_info_logged_stream_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/logged_stream.java:37: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/logged_stream.java:42: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:50: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/logged_stream.java:58: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/logged_stream.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/logged_stream.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/logged_stream.java:89: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/logged_stream.java:91: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2; ^ Mercury/javas/jmercury/logged_stream.java:100: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:108: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/logged_stream.java:116: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/logged_stream.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/logged_stream.java:138: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/logged_stream.java:196: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_stream_12)[0])[5]); ^ Mercury/javas/jmercury/logged_stream.java:196: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_stream_12)[0])[5]); ^ Mercury/javas/jmercury/logged_stream.java:201: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_stream_12))), ((java.lang.Object) (S_5)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/logged_stream.java:237: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_error_4)[0])[5]); ^ Mercury/javas/jmercury/logged_stream.java:237: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_error_4)[0])[5]); ^ Mercury/javas/jmercury/logged_stream.java:241: error: package jmercury.runtime does not exist conv1_HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_error_4))), ((java.lang.Object) (E_3)))); ^ Mercury/javas/jmercury/logged_stream.java:270: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/logged_stream.java:276: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/logged_stream.java:283: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_E_8, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:296: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/logged_stream.java:299: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = logged_stream.__Compare____logged_error_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((logged_stream.Logged_error_1) wrapper_arg_3), ((logged_stream.Logged_error_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/logged_stream.java:313: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/logged_stream.java:319: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/logged_stream.java:326: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/logged_stream.java:329: error: cannot find symbol SubResult1_6 = builtin.compare_3_p_0(TypeInfo_for_S_11, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:331: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/logged_stream.java:336: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_L_12, ArgX2_7, ArgY2_8); ^ symbol: variable builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:350: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/logged_stream.java:353: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = logged_stream.__Compare____logged_stream_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((logged_stream.Logged_stream_2) wrapper_arg_4), ((logged_stream.Logged_stream_2) wrapper_arg_5)); ^ Mercury/javas/jmercury/logged_stream.java:353: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = logged_stream.__Compare____logged_stream_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((logged_stream.Logged_stream_2) wrapper_arg_4), ((logged_stream.Logged_stream_2) wrapper_arg_5)); ^ Mercury/javas/jmercury/logged_stream.java:378: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_E_7, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:393: error: package jmercury.runtime does not exist succeeded = logged_stream.__Unify____logged_error_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((logged_stream.Logged_error_1) wrapper_arg_2), ((logged_stream.Logged_error_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/logged_stream.java:420: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_S_9, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:424: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_L_10, ArgX2_5, ArgY2_6); ^ symbol: variable builtin location: class logged_stream Mercury/javas/jmercury/logged_stream.java:440: error: package jmercury.runtime does not exist succeeded = logged_stream.__Unify____logged_stream_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((logged_stream.Logged_stream_2) wrapper_arg_3), ((logged_stream.Logged_stream_2) wrapper_arg_4)); ^ Mercury/javas/jmercury/logged_stream.java:440: error: package jmercury.runtime does not exist succeeded = logged_stream.__Unify____logged_stream_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((logged_stream.Logged_stream_2) wrapper_arg_3), ((logged_stream.Logged_stream_2) wrapper_arg_4)); ^ Mercury/javas/jmercury/logged_stream.java:505: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/logged_stream.java:549: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 82 errors ** Error making `Mercury/classes/jmercury/logged_stream.class'. make[3]: *** [/tmp/mmake.MxSEho:1500: logged_stream.class] Error 1 make[3]: Target 'logged_stream.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-27/tests/valid'