MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - param_mode_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - param_mode_bug.class Making Mercury/int3s/param_mode_bug.int3 Making Mercury/ints/param_mode_bug.int Making Mercury/javas/jmercury/param_mode_bug.java Making Mercury/classes/jmercury/param_mode_bug.class Mercury/javas/jmercury/param_mode_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc param_mode_bug__du_functor_desc_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/param_mode_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct param_mode_bug__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/param_mode_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] param_mode_bug__field_types_list_1_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/param_mode_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc param_mode_bug__du_functor_desc_list_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/param_mode_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] param_mode_bug__du_stag_ordered_list_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/param_mode_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] param_mode_bug__du_ptag_ordered_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/param_mode_bug.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] param_mode_bug__du_name_ordered_list_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/param_mode_bug.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct param_mode_bug__type_ctor_info_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/param_mode_bug.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/param_mode_bug.java:360: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/param_mode_bug.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/param_mode_bug.java:139: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/param_mode_bug.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/param_mode_bug.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/param_mode_bug.java:179: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/param_mode_bug.java:252: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/param_mode_bug.java:317: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/param_mode_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc param_mode_bug__du_functor_desc_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/param_mode_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct param_mode_bug__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/param_mode_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] param_mode_bug__field_types_list_1_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/param_mode_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc param_mode_bug__du_functor_desc_list_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/param_mode_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] param_mode_bug__du_stag_ordered_list_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/param_mode_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] param_mode_bug__du_ptag_ordered_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/param_mode_bug.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] param_mode_bug__du_name_ordered_list_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/param_mode_bug.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct param_mode_bug__type_ctor_info_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/param_mode_bug.java:31: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class param_mode_bug Mercury/javas/jmercury/param_mode_bug.java:39: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class param_mode_bug Mercury/javas/jmercury/param_mode_bug.java:47: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/param_mode_bug.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) param_mode_bug.param_mode_bug__pti_list_1__pseudo_1; ^ Mercury/javas/jmercury/param_mode_bug.java:55: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class param_mode_bug Mercury/javas/jmercury/param_mode_bug.java:63: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class param_mode_bug Mercury/javas/jmercury/param_mode_bug.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/param_mode_bug.java:77: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class param_mode_bug Mercury/javas/jmercury/param_mode_bug.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/param_mode_bug.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/param_mode_bug.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/param_mode_bug.java:106: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/param_mode_bug.java:188: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/param_mode_bug.java:195: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/param_mode_bug.java:199: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/param_mode_bug.java:201: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/param_mode_bug.java:204: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/param_mode_bug.java:211: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/param_mode_bug.java:214: error: cannot find symbol SubResult1_6 = builtin.compare_3_p_0(TypeInfo_for_T_11, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class param_mode_bug Mercury/javas/jmercury/param_mode_bug.java:216: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/param_mode_bug.java:241: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/param_mode_bug.java:244: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = param_mode_bug.__Compare____list_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((param_mode_bug.List_1) wrapper_arg_3), ((param_mode_bug.List_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/param_mode_bug.java:284: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_T_9, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class param_mode_bug Mercury/javas/jmercury/param_mode_bug.java:310: error: package jmercury.runtime does not exist succeeded = param_mode_bug.__Unify____list_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((param_mode_bug.List_1) wrapper_arg_2), ((param_mode_bug.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/param_mode_bug.java:347: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Note: Mercury/javas/jmercury/param_mode_bug.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 50 errors ** Error making `Mercury/classes/jmercury/param_mode_bug.class'. make[3]: *** [/tmp/mmake.amQfn3:1500: param_mode_bug.class] Error 1 make[3]: Target 'param_mode_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/valid'