MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - headvar_not_found.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - headvar_not_found.class Making Mercury/int3s/headvar_not_found.int3 Making Mercury/ints/headvar_not_found.int Making Mercury/javas/jmercury/headvar_not_found.java Making Mercury/classes/jmercury/headvar_not_found.class Mercury/javas/jmercury/headvar_not_found.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] headvar_not_found__field_types_module_info_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/headvar_not_found.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc headvar_not_found__du_functor_desc_module_info_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/headvar_not_found.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] headvar_not_found__du_stag_ordered_module_info_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] headvar_not_found__du_ptag_ordered_module_info_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] headvar_not_found__du_name_ordered_module_info_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct headvar_not_found__type_ctor_info_module_info_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/headvar_not_found.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] headvar_not_found__field_types_xmode_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/headvar_not_found.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc headvar_not_found__du_functor_desc_xmode_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/headvar_not_found.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] headvar_not_found__du_stag_ordered_xmode_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] headvar_not_found__du_ptag_ordered_xmode_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] headvar_not_found__du_name_ordered_xmode_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:28: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct headvar_not_found__type_ctor_info_xmode_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/headvar_not_found.java:150: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/headvar_not_found.java:542: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/headvar_not_found.java:257: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/headvar_not_found.java:562: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/headvar_not_found.java:325: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/headvar_not_found.java:473: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/headvar_not_found.java:587: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/headvar_not_found.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] headvar_not_found__field_types_module_info_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/headvar_not_found.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc headvar_not_found__du_functor_desc_module_info_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/headvar_not_found.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] headvar_not_found__du_stag_ordered_module_info_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] headvar_not_found__du_ptag_ordered_module_info_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] headvar_not_found__du_name_ordered_module_info_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct headvar_not_found__type_ctor_info_module_info_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/headvar_not_found.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] headvar_not_found__field_types_xmode_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/headvar_not_found.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc headvar_not_found__du_functor_desc_xmode_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/headvar_not_found.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] headvar_not_found__du_stag_ordered_xmode_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] headvar_not_found__du_ptag_ordered_xmode_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] headvar_not_found__du_name_ordered_xmode_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/headvar_not_found.java:28: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct headvar_not_found__type_ctor_info_xmode_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/headvar_not_found.java:33: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/headvar_not_found.java:33: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:35: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/headvar_not_found.java:35: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:40: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:48: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:54: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/headvar_not_found.java:56: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:70: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/headvar_not_found.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/headvar_not_found.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/headvar_not_found.java:87: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/headvar_not_found.java:87: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:89: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/headvar_not_found.java:89: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:94: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:102: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/headvar_not_found.java:110: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:124: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/headvar_not_found.java:129: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/headvar_not_found.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/headvar_not_found.java:167: error: package list does not exist list.List_1 Modes_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/headvar_not_found.java:167: error: package list.List_1 does not exist list.List_1 Modes_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/headvar_not_found.java:168: error: package list.List_1 does not exist headvar_not_found.Xmode_0 Mode_4 = ((headvar_not_found.Xmode_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/headvar_not_found.java:171: error: cannot find symbol ((headvar_not_found.Inputs_precede_outputs_2_p_0_env_0) env_ptr).succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:175: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = Modes_5; ^ Mercury/javas/jmercury/headvar_not_found.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(headvar_not_found.headvar_not_found__type_ctor_info_xmode_0); ^ Mercury/javas/jmercury/headvar_not_found.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(headvar_not_found.headvar_not_found__type_ctor_info_xmode_0); ^ Mercury/javas/jmercury/headvar_not_found.java:190: error: cannot find symbol list.member_2_p_1(TypeCtorInfo_8_8, Modes_5, new AddrOf2_0(4), env_ptr); ^ symbol: variable list location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:196: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/headvar_not_found.java:213: error: package jmercury.runtime does not exist ((headvar_not_found.Inputs_precede_outputs_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/headvar_not_found.java:224: error: cannot find symbol ((headvar_not_found.Inputs_precede_outputs_2_p_0_env_0) env_ptr).succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class headvar_not_found Mercury/javas/jmercury/headvar_not_found.java:263: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/headvar_not_found.java:269: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/headvar_not_found.java:276: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/headvar_not_found.java:280: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/headvar_not_found.java:285: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/headvar_not_found.java:287: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/headvar_not_found.java:289: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/headvar_not_found.java:296: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/headvar_not_found.java:301: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/headvar_not_found.java:303: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/headvar_not_found.java:316: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/headvar_not_found.java:331: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/headvar_not_found.java:337: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/headvar_not_found.java:344: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/headvar_not_found.java:348: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/headvar_not_found.java:353: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/headvar_not_found.java:355: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/headvar_not_found.java:357: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/headvar_not_found.java:364: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/headvar_not_found.java:369: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/headvar_not_found.java:371: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/headvar_not_found.java:384: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/headvar_not_found.java:529: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 87 errors ** Error making `Mercury/classes/jmercury/headvar_not_found.class'. make[3]: *** [/tmp/mmake.gg7ri1:1500: headvar_not_found.class] Error 1 make[3]: Target 'headvar_not_found.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/valid'