MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { 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 -w '; 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 - bug159.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { 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 -w '; 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 - bug159.class Making Mercury/int3s/bug159.int3 Making Mercury/ints/bug159.int Making Mercury/javas/jmercury/bug159.java bug159.m:015: Ignoring the `:- pragma memo' declaration for function bug159.m:015: `bug159.pickles'/0 mode 0, because tabling is is implemented bug159.m:015: only on the C backend. Making Mercury/classes/jmercury/bug159.class Mercury/javas/jmercury/bug159.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug159__type_ctor_info_byte_buffer_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug159.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_4bug159__type_ctor_info_pickles_0univ__type_ctor_info_univ_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug159.java:17: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug159__type_ctor_info_maybe_pickle_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug159.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug159__field_types_pickles_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug159.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug159__du_functor_desc_pickles_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug159.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug159__du_stag_ordered_pickles_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug159.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug159__du_ptag_ordered_pickles_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug159.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug159__du_name_ordered_pickles_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug159.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug159__type_ctor_info_pickles_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug159.java:136: 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/bug159.java:483: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug159.java:160: error: package univ does not exist univ.Univ_0 _UnivList_6, ^ Mercury/javas/jmercury/bug159.java:201: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug159.java:240: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug159.java:268: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug159.java:405: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug159.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug159__type_ctor_info_byte_buffer_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug159.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_4bug159__type_ctor_info_pickles_0univ__type_ctor_info_univ_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug159.java:17: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug159__type_ctor_info_maybe_pickle_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug159.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug159__field_types_pickles_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug159.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug159__du_functor_desc_pickles_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug159.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug159__du_stag_ordered_pickles_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug159.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug159__du_ptag_ordered_pickles_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug159.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug159__du_name_ordered_pickles_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug159.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug159__type_ctor_info_pickles_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug159.java:32: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/bug159.java:37: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug159.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug159.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bug159.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bug159 Mercury/javas/jmercury/bug159.java:49: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class bug159 Mercury/javas/jmercury/bug159.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(bug159.bug159__type_ctor_info_pickles_0), ^ Mercury/javas/jmercury/bug159.java:52: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0), ^ symbol: variable univ location: class bug159 Mercury/javas/jmercury/bug159.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0), ^ Mercury/javas/jmercury/bug159.java:53: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class bug159 Mercury/javas/jmercury/bug159.java:53: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/bug159.java:54: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class bug159 Mercury/javas/jmercury/bug159.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/bug159.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/bug159.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug159.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug159.java:70: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug159.__vti_pred_4bug159__type_ctor_info_pickles_0univ__type_ctor_info_univ_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bug159.java:78: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug159.java:78: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug159 Mercury/javas/jmercury/bug159.java:83: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug159 Mercury/javas/jmercury/bug159.java:91: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug159 Mercury/javas/jmercury/bug159.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug159.java:99: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug159 Mercury/javas/jmercury/bug159.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug159.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug159.java:121: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug159.java:136: 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/bug159.java:141: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bug159.java:142: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class bug159 Mercury/javas/jmercury/bug159.java:142: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/bug159.java:143: 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 bug159 Mercury/javas/jmercury/bug159.java:143: 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/bug159.java:167: error: cannot find symbol require.error_1_p_0(Var_10); ^ symbol: variable require location: class bug159 Mercury/javas/jmercury/bug159.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug159.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug159.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug159.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug159.java:178: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_16 = null; ^ Mercury/javas/jmercury/bug159.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorInfo_Struct Var_13 = null; ^ Mercury/javas/jmercury/bug159.java:185: error: cannot find symbol Var_16 = type_desc.type_of_1_f_0(TypeInfo_17_17); ^ symbol: variable type_desc location: class bug159 Mercury/javas/jmercury/bug159.java:188: error: cannot find symbol Var_13 = type_desc.type_ctor_1_f_0(Var_16); ^ symbol: variable type_desc location: class bug159 Mercury/javas/jmercury/bug159.java:207: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug159.java:213: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug159.java:218: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug159.java:220: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug159.java:231: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug159.java:245: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug159.java:248: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class bug159 Mercury/javas/jmercury/bug159.java:259: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug159.java:274: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug159.java:280: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug159.java:288: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug159.java:293: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug159.java:295: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug159.java:307: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug159.java:350: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class bug159 Mercury/javas/jmercury/bug159.java:470: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 80 errors ** Error making `Mercury/classes/jmercury/bug159.class'. make[3]: *** [/tmp/mmake.rY9Tm1:1500: bug159.class] Error 1 make[3]: Target 'bug159.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' ERROR OUTPUT bug159.m:015: Ignoring the `:- pragma memo' declaration for function bug159.m:015: `bug159.pickles'/0 mode 0, because tabling is is implemented bug159.m:015: only on the C backend. END OF THE ERROR OUTPUT