MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-24/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-10-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-24/stage2/scripts/mmc --make --options-file - fold_days.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-24/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-10-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-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-10-24/stage2/scripts/mmc --make --options-file - fold_days Making Mercury/int3s/fold_days.int3 Making Mercury/ints/fold_days.int Making Mercury/javas/jmercury/fold_days.java Making Java class files Mercury/javas/jmercury/fold_days.java:482: error: package calendar does not exist calendar.Date_0 Date_4) ^ Mercury/javas/jmercury/fold_days.java:502: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/fold_days.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "fold_days"; ^ Mercury/javas/jmercury/fold_days.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/fold_days.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/fold_days.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class fold_days Mercury/javas/jmercury/fold_days.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class fold_days Mercury/javas/jmercury/fold_days.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/fold_days.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/fold_days.java:41: error: cannot find symbol ((java.lang.Object) (calendar.calendar__type_ctor_info_date_0)), ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:41: error: illegal start of type ((java.lang.Object) (calendar.calendar__type_ctor_info_date_0)), ^ Mercury/javas/jmercury/fold_days.java:42: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:42: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/fold_days.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/fold_days.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_134_134 = null; ^ Mercury/javas/jmercury/fold_days.java:93: error: package calendar does not exist calendar.Date_0 Date1A_4 = null; ^ Mercury/javas/jmercury/fold_days.java:94: error: package calendar does not exist calendar.Date_0 Date1B_5 = null; ^ Mercury/javas/jmercury/fold_days.java:95: error: package calendar does not exist calendar.Date_0 Date2A_6 = null; ^ Mercury/javas/jmercury/fold_days.java:96: error: package calendar does not exist calendar.Date_0 Date2B_7 = null; ^ Mercury/javas/jmercury/fold_days.java:97: error: package calendar does not exist calendar.Date_0 Date3A_8 = null; ^ Mercury/javas/jmercury/fold_days.java:98: error: package calendar does not exist calendar.Date_0 Date3B_9 = null; ^ Mercury/javas/jmercury/fold_days.java:99: error: package calendar does not exist calendar.Date_0 Date4A_10 = null; ^ Mercury/javas/jmercury/fold_days.java:100: error: package calendar does not exist calendar.Date_0 Date4B_11 = null; ^ Mercury/javas/jmercury/fold_days.java:101: error: package calendar does not exist calendar.Date_0 Date5A_12 = null; ^ Mercury/javas/jmercury/fold_days.java:102: error: package calendar does not exist calendar.Date_0 Date5B_13 = null; ^ Mercury/javas/jmercury/fold_days.java:103: error: package calendar does not exist calendar.Date_0 Date6A_14 = null; ^ Mercury/javas/jmercury/fold_days.java:104: error: package calendar does not exist calendar.Date_0 Date6B_15 = null; ^ Mercury/javas/jmercury/fold_days.java:106: error: package calendar does not exist calendar.Month_0 Var_19 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:106: error: package calendar does not exist calendar.Month_0 Var_19 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:113: error: package calendar does not exist calendar.Month_0 Var_26 = null; ^ Mercury/javas/jmercury/fold_days.java:122: error: package calendar does not exist calendar.Month_0 Var_38 = null; ^ Mercury/javas/jmercury/fold_days.java:129: error: package calendar does not exist calendar.Month_0 Var_45 = null; ^ Mercury/javas/jmercury/fold_days.java:138: error: package calendar does not exist calendar.Month_0 Var_57 = null; ^ Mercury/javas/jmercury/fold_days.java:145: error: package calendar does not exist calendar.Month_0 Var_64 = null; ^ Mercury/javas/jmercury/fold_days.java:154: error: package calendar does not exist calendar.Month_0 Var_76 = null; ^ Mercury/javas/jmercury/fold_days.java:161: error: package calendar does not exist calendar.Month_0 Var_83 = null; ^ Mercury/javas/jmercury/fold_days.java:170: error: package calendar does not exist calendar.Month_0 Var_95 = null; ^ Mercury/javas/jmercury/fold_days.java:177: error: package calendar does not exist calendar.Month_0 Var_102 = null; ^ Mercury/javas/jmercury/fold_days.java:186: error: package calendar does not exist calendar.Month_0 Var_114 = null; ^ Mercury/javas/jmercury/fold_days.java:193: error: package calendar does not exist calendar.Month_0 Var_121 = null; ^ Mercury/javas/jmercury/fold_days.java:209: error: cannot find symbol Date1A_4 = calendar.det_init_date_7_f_0(Var_18, Var_19, Var_20, Var_21, Var_22, Var_23, Var_24); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:212: error: package calendar does not exist Var_26 = calendar.Month_0.K2; ^ Mercury/javas/jmercury/fold_days.java:219: error: cannot find symbol Date1B_5 = calendar.det_init_date_7_f_0(Var_25, Var_26, Var_27, Var_28, Var_29, Var_30, Var_31); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:223: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:226: error: cannot find symbol TypeCtorInfo_134_134 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:226: error: package jmercury.runtime does not exist TypeCtorInfo_134_134 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/fold_days.java:228: error: cannot find symbol conv0_STATE_VARIABLE_IO_35_35 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_34, Date1A_4, Date1B_5, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:231: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:234: error: package calendar does not exist Var_38 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:241: error: cannot find symbol Date2A_6 = calendar.det_init_date_7_f_0(Var_37, Var_38, Var_39, Var_40, Var_41, Var_42, Var_43); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:244: error: package calendar does not exist Var_45 = calendar.Month_0.K2; ^ Mercury/javas/jmercury/fold_days.java:251: error: cannot find symbol Date2B_7 = calendar.det_init_date_7_f_0(Var_44, Var_45, Var_46, Var_47, Var_48, Var_49, Var_50); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:255: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:259: error: cannot find symbol conv1_STATE_VARIABLE_IO_54_54 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_53, Date2A_6, Date2B_7, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:262: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:265: error: package calendar does not exist Var_57 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:272: error: cannot find symbol Date3A_8 = calendar.det_init_date_7_f_0(Var_56, Var_57, Var_58, Var_59, Var_60, Var_61, Var_62); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:275: error: package calendar does not exist Var_64 = calendar.Month_0.K2; ^ Mercury/javas/jmercury/fold_days.java:282: error: cannot find symbol Date3B_9 = calendar.det_init_date_7_f_0(Var_63, Var_64, Var_65, Var_66, Var_67, Var_68, Var_69); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:286: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:290: error: cannot find symbol conv2_STATE_VARIABLE_IO_73_73 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_72, Date3A_8, Date3B_9, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:293: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:296: error: package calendar does not exist Var_76 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:303: error: cannot find symbol Date4A_10 = calendar.det_init_date_7_f_0(Var_75, Var_76, Var_77, Var_78, Var_79, Var_80, Var_81); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:306: error: package calendar does not exist Var_83 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:313: error: cannot find symbol Date4B_11 = calendar.det_init_date_7_f_0(Var_82, Var_83, Var_84, Var_85, Var_86, Var_87, Var_88); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:317: error: cannot find symbol io.write_string_3_p_0(Var_89); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:321: error: cannot find symbol conv3_STATE_VARIABLE_IO_92_92 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_91, Date4A_10, Date4B_11, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:324: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:327: error: package calendar does not exist Var_95 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:334: error: cannot find symbol Date5A_12 = calendar.det_init_date_7_f_0(Var_94, Var_95, Var_96, Var_97, Var_98, Var_99, Var_100); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:337: error: package calendar does not exist Var_102 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:344: error: cannot find symbol Date5B_13 = calendar.det_init_date_7_f_0(Var_101, Var_102, Var_103, Var_104, Var_105, Var_106, Var_107); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:348: error: cannot find symbol io.write_string_3_p_0(Var_108); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:352: error: cannot find symbol conv4_STATE_VARIABLE_IO_111_111 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_110, Date5A_12, Date5B_13, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:355: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:358: error: package calendar does not exist Var_114 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:365: error: cannot find symbol Date6A_14 = calendar.det_init_date_7_f_0(Var_113, Var_114, Var_115, Var_116, Var_117, Var_118, Var_119); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:368: error: package calendar does not exist Var_121 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:375: error: cannot find symbol Date6B_15 = calendar.det_init_date_7_f_0(Var_120, Var_121, Var_122, Var_123, Var_124, Var_125, Var_126); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:379: error: cannot find symbol io.write_string_3_p_0(Var_127); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:383: error: cannot find symbol conv5_STATE_VARIABLE_IO_130_130 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_129, Date6A_14, Date6B_15, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:386: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:400: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:415: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:430: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:445: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:460: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:475: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:489: error: cannot find symbol Str_6 = calendar.date_to_string_1_f_0(Date_4); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:493: error: cannot find symbol Var_9 = string.f_43_43_2_f_0(Str_6, Var_11); ^ symbol: variable string location: class fold_days Mercury/javas/jmercury/fold_days.java:496: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:568: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 98 errors make[3]: *** [/tmp/mmake.7kHe6r:2362: fold_days] Error 1 make[3]: Target 'fold_days.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-24/tests/hard_coded'