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 - reuse_static_2.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 - reuse_static_2.class Making Mercury/int3s/reuse_static_2.int3 Making Mercury/ints/reuse_static_2.int Making Mercury/javas/jmercury/reuse_static_2.java Making Mercury/classes/jmercury/reuse_static_2.class Mercury/javas/jmercury/reuse_static_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] reuse_static_2__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc reuse_static_2__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/reuse_static_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] reuse_static_2__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] reuse_static_2__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] reuse_static_2__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct reuse_static_2__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/reuse_static_2.java:84: 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/reuse_static_2.java:85: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_2 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:86: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.Yes_1[] MR_scalar_common_3 = new maybe.Maybe_1.Yes_1[2]; ^ Mercury/javas/jmercury/reuse_static_2.java:114: error: package maybe does not exist maybe.Maybe_1 Maybe_3) ^ Mercury/javas/jmercury/reuse_static_2.java:112: error: package maybe does not exist public static maybe.Maybe_1 ^ Mercury/javas/jmercury/reuse_static_2.java:273: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/reuse_static_2.java:146: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/reuse_static_2.java:231: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/reuse_static_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] reuse_static_2__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc reuse_static_2__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/reuse_static_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] reuse_static_2__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] reuse_static_2__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] reuse_static_2__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct reuse_static_2__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/reuse_static_2.java:26: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/reuse_static_2.java:26: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class reuse_static_2 Mercury/javas/jmercury/reuse_static_2.java:31: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class reuse_static_2 Mercury/javas/jmercury/reuse_static_2.java:39: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class reuse_static_2 Mercury/javas/jmercury/reuse_static_2.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/reuse_static_2.java:47: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class reuse_static_2 Mercury/javas/jmercury/reuse_static_2.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/reuse_static_2.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/reuse_static_2.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/reuse_static_2.java:84: 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/reuse_static_2.java:85: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_2 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:86: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.Yes_1[] MR_scalar_common_3 = new maybe.Maybe_1.Yes_1[2]; ^ Mercury/javas/jmercury/reuse_static_2.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/reuse_static_2.java:91: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ symbol: variable maybe location: class reuse_static_2 Mercury/javas/jmercury/reuse_static_2.java:91: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ Mercury/javas/jmercury/reuse_static_2.java:92: 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 reuse_static_2 Mercury/javas/jmercury/reuse_static_2.java:92: 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/reuse_static_2.java:95: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/reuse_static_2.java:97: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/reuse_static_2.java:101: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/reuse_static_2.java:117: error: package maybe does not exist maybe.Maybe_1 Res_4 = null; ^ Mercury/javas/jmercury/reuse_static_2.java:120: error: package maybe does not exist Res_4 = (maybe.Maybe_1) reuse_static_2.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/reuse_static_2.java:123: error: package maybe.Maybe_1 does not exist reuse_static_2.Struct_0 This_5 = ((reuse_static_2.Struct_0) ((maybe.Maybe_1.Yes_1) Maybe_3).F1); ^ Mercury/javas/jmercury/reuse_static_2.java:124: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/reuse_static_2.java:125: error: package maybe does not exist maybe.Maybe_1 Var_6 = (maybe.Maybe_1) reuse_static_2.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/reuse_static_2.java:125: error: package maybe does not exist maybe.Maybe_1 Var_6 = (maybe.Maybe_1) reuse_static_2.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/reuse_static_2.java:126: error: package maybe does not exist maybe.Maybe_1 Var_10 = null; ^ Mercury/javas/jmercury/reuse_static_2.java:130: error: package maybe.Maybe_1 does not exist Var_10 = new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/reuse_static_2.java:134: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(reuse_static_2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/reuse_static_2.java:136: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_11_11, ((java.lang.Object) (Var_6)), ((java.lang.Object) (Var_10))); ^ symbol: variable builtin location: class reuse_static_2 Mercury/javas/jmercury/reuse_static_2.java:139: error: package maybe does not exist Res_4 = (maybe.Maybe_1) reuse_static_2.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:141: error: package maybe does not exist Res_4 = (maybe.Maybe_1) reuse_static_2.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/reuse_static_2.java:152: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/reuse_static_2.java:158: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/reuse_static_2.java:166: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/reuse_static_2.java:171: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/reuse_static_2.java:173: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/reuse_static_2.java:185: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/reuse_static_2.java:260: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 59 errors ** Error making `Mercury/classes/jmercury/reuse_static_2.class'. make[3]: *** [/tmp/mmake.LqsYMU:1500: reuse_static_2.class] Error 1 make[3]: Target 'reuse_static_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/valid'