MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' { 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 - static_term_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' { 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 - static_term_bug Making Mercury/int3s/static_term_bug.int3 Making Mercury/ints/static_term_bug.int Making Mercury/javas/jmercury/static_term_bug.java Making Java class files Mercury/javas/jmercury/static_term_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_term_bug__field_types_data_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_term_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_stag_ordered_data_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_term_bug__du_ptag_ordered_data_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_term_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_name_ordered_data_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_term_bug__field_types_data_info_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/static_term_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_info_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_stag_ordered_data_info_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_term_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_term_bug__du_ptag_ordered_data_info_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_term_bug.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_name_ordered_data_info_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_term_bug.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_data_info_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc static_term_bug__enum_functor_desc_side_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc static_term_bug__enum_functor_desc_side_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] static_term_bug__enum_ordinal_ordered_side_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] static_term_bug__enum_name_ordered_side_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_side_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:683: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_term_bug.java:647: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_term_bug.java:302: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_term_bug.java:351: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_term_bug.java:705: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/static_term_bug.java:706: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_term_bug.java:421: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_term_bug.java:569: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/static_term_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "static_term_bug"; ^ Mercury/javas/jmercury/static_term_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/static_term_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/static_term_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/static_term_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/static_term_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_term_bug__field_types_data_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_term_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_stag_ordered_data_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_term_bug__du_ptag_ordered_data_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_term_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_name_ordered_data_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_term_bug__field_types_data_info_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/static_term_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_info_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_stag_ordered_data_info_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_term_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_term_bug__du_ptag_ordered_data_info_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_term_bug.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_name_ordered_data_info_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_term_bug.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_data_info_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc static_term_bug__enum_functor_desc_side_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc static_term_bug__enum_functor_desc_side_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] static_term_bug__enum_ordinal_ordered_side_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] static_term_bug__enum_name_ordered_side_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_side_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:60: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:68: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) static_term_bug.static_term_bug__type_ctor_info_data_info_0; ^ Mercury/javas/jmercury/static_term_bug.java:77: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:85: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/static_term_bug.java:95: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/static_term_bug.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/static_term_bug.java:121: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/static_term_bug.java:130: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) static_term_bug.static_term_bug__type_ctor_info_side_0; ^ Mercury/javas/jmercury/static_term_bug.java:132: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/static_term_bug.java:132: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:137: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:145: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/static_term_bug.java:153: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/static_term_bug.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/static_term_bug.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/static_term_bug.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/static_term_bug.java:212: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/static_term_bug.java:215: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/static_term_bug.java:283: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(static_term_bug.static_term_bug__type_ctor_info_data_0); ^ Mercury/javas/jmercury/static_term_bug.java:283: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(static_term_bug.static_term_bug__type_ctor_info_data_0); ^ Mercury/javas/jmercury/static_term_bug.java:286: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (Data_4))); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:289: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:297: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:308: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/static_term_bug.java:314: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/static_term_bug.java:327: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/static_term_bug.java:330: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/static_term_bug.java:332: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/static_term_bug.java:342: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/static_term_bug.java:357: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/static_term_bug.java:363: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/static_term_bug.java:370: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/static_term_bug.java:371: error: cannot find symbol int Var_13 = (int) ArgX1_4.MR_value; ^ symbol: variable MR_value location: variable ArgX1_4 of type Side_0 Mercury/javas/jmercury/static_term_bug.java:372: error: cannot find symbol int Var_14 = (int) ArgY1_5.MR_value; ^ symbol: variable MR_value location: variable ArgY1_5 of type Side_0 Mercury/javas/jmercury/static_term_bug.java:376: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/static_term_bug.java:381: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/static_term_bug.java:383: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/static_term_bug.java:385: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/static_term_bug.java:392: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/static_term_bug.java:397: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ 100 errors make[3]: *** [/tmp/mmake.yceFYU:2364: static_term_bug] Error 1 make[3]: Target 'static_term_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded'