MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/stage2/scripts/mmc --make --options-file - calendar_basics.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/stage2/scripts/mmc --make --options-file - calendar_basics Making Mercury/int3s/calendar_basics.int3 Making Mercury/ints/calendar_basics.int Making Mercury/javas/jmercury/calendar_basics.java Making Java class files Mercury/javas/jmercury/calendar_basics.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int_0__plain_calendar__type_ctor_info_month_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int_0__plain_calendar__type_ctor_info_month_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_calendar__type_ctor_info_month_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_calendar__type_ctor_info_month_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] calendar_basics__field_types_julian_day_test_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/calendar_basics.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc calendar_basics__du_functor_desc_julian_day_test_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/calendar_basics.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] calendar_basics__du_stag_ordered_julian_day_test_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/calendar_basics.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] calendar_basics__du_ptag_ordered_julian_day_test_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/calendar_basics.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] calendar_basics__du_name_ordered_julian_day_test_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/calendar_basics.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct calendar_basics__type_ctor_info_julian_day_test_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:143: 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/calendar_basics.java:145: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/calendar_basics.java:146: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[29]; ^ Mercury/javas/jmercury/calendar_basics.java:147: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/calendar_basics.java:531: error: package calendar does not exist calendar.Month_0 Month_6) ^ Mercury/javas/jmercury/calendar_basics.java:2470: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/calendar_basics.java:881: error: package calendar does not exist calendar.Month_0 Month_8) ^ Mercury/javas/jmercury/calendar_basics.java:1530: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/calendar_basics.java:2146: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/calendar_basics.java:2473: error: package calendar does not exist public calendar.Date_time_0 date_time; ^ Mercury/javas/jmercury/calendar_basics.java:2483: error: package calendar does not exist calendar.Date_time_0 date_time, ^ Mercury/javas/jmercury/calendar_basics.java:2268: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/calendar_basics.java:2286: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/calendar_basics.java:2382: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/calendar_basics.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "calendar_basics"; ^ Mercury/javas/jmercury/calendar_basics.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/calendar_basics.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/calendar_basics.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/calendar_basics.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/calendar_basics.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int_0__plain_calendar__type_ctor_info_month_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int_0__plain_calendar__type_ctor_info_month_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_calendar__type_ctor_info_month_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_calendar__type_ctor_info_month_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] calendar_basics__field_types_julian_day_test_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/calendar_basics.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc calendar_basics__du_functor_desc_julian_day_test_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/calendar_basics.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] calendar_basics__du_stag_ordered_julian_day_test_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/calendar_basics.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] calendar_basics__du_ptag_ordered_julian_day_test_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/calendar_basics.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] calendar_basics__du_name_ordered_julian_day_test_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/calendar_basics.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct calendar_basics__type_ctor_info_julian_day_test_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/calendar_basics.java:48: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/calendar_basics.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_month_0 ^ Mercury/javas/jmercury/calendar_basics.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_month_0 ^ symbol: variable calendar location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:55: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/calendar_basics.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_month_0 ^ Mercury/javas/jmercury/calendar_basics.java:58: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_month_0 ^ symbol: variable calendar location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:62: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_month_0, ^ Mercury/javas/jmercury/calendar_basics.java:64: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_month_0, ^ symbol: variable calendar location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:65: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/calendar_basics.java:65: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:69: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_month_0 ^ Mercury/javas/jmercury/calendar_basics.java:71: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_month_0 ^ symbol: variable calendar location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/calendar_basics.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:77: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_date_time_0; ^ Mercury/javas/jmercury/calendar_basics.java:77: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) calendar.calendar__type_ctor_info_date_time_0; ^ symbol: variable calendar location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:79: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/calendar_basics.java:79: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:90: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:98: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:104: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/calendar_basics.java:106: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:120: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/calendar_basics.java:125: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/calendar_basics.java:128: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/calendar_basics.java:143: 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/calendar_basics.java:145: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/calendar_basics.java:146: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[29]; ^ Mercury/javas/jmercury/calendar_basics.java:147: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/calendar_basics.java:155: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/calendar_basics.java:156: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:156: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/calendar_basics.java:157: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_month_0))) ^ symbol: variable calendar location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:157: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_month_0))) ^ Mercury/javas/jmercury/calendar_basics.java:164: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:164: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/calendar_basics.java:166: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:166: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/calendar_basics.java:167: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:167: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/calendar_basics.java:168: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:168: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/calendar_basics.java:175: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:175: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/calendar_basics.java:177: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:177: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/calendar_basics.java:178: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class calendar_basics Mercury/javas/jmercury/calendar_basics.java:178: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/calendar_basics.java:179: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class calendar_basics 100 errors gmake[3]: *** [/tmp/mmake.gtJJXD:2426: calendar_basics] Error 1 gmake[3]: Target 'calendar_basics.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-04-05/tests/hard_coded'