MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-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-07-24/stage2/scripts/mmc --make --options-file - bidirectional.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-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-07-24/stage2/scripts/mmc --make --options-file - bidirectional Making Mercury/int3s/bidirectional.int3 Making Mercury/ints/bidirectional.int Making Mercury/javas/jmercury/bidirectional.java Making Java class files Mercury/javas/jmercury/bidirectional.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bidirectional__enum_functor_desc_rw_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bidirectional.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bidirectional__enum_functor_desc_rw_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bidirectional.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bidirectional__enum_ordinal_ordered_rw_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bidirectional.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bidirectional__enum_name_ordered_rw_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bidirectional.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bidirectional__type_ctor_info_rw_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bidirectional.java:88: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_1 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/bidirectional.java:89: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bidirectional.java:385: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bidirectional.java:386: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bidirectional.java:107: error: package list does not exist list.List_1 List_6) ^ Mercury/javas/jmercury/bidirectional.java:160: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bidirectional.java:277: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bidirectional.java:341: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bidirectional.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bidirectional"; ^ Mercury/javas/jmercury/bidirectional.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bidirectional.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bidirectional.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bidirectional Mercury/javas/jmercury/bidirectional.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bidirectional Mercury/javas/jmercury/bidirectional.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bidirectional.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bidirectional.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bidirectional__enum_functor_desc_rw_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bidirectional.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bidirectional__enum_functor_desc_rw_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bidirectional.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bidirectional__enum_ordinal_ordered_rw_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bidirectional.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bidirectional__enum_name_ordered_rw_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bidirectional.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bidirectional__type_ctor_info_rw_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bidirectional.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bidirectional.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bidirectional.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bidirectional.java:88: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_1 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/bidirectional.java:89: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bidirectional.java:93: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/bidirectional.java:95: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bidirectional.java:111: error: package maybe does not exist maybe.Maybe_1 Val_8 = null; ^ Mercury/javas/jmercury/bidirectional.java:115: error: package maybe does not exist Val_8 = (maybe.Maybe_1) bidirectional.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bidirectional.java:118: error: package list.List_1 does not exist int X_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) List_6).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:118: error: illegal start of type int X_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) List_6).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:121: error: package maybe.Maybe_1 does not exist Val_8 = new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/bidirectional.java:131: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:137: error: package maybe.Maybe_1 does not exist int X_25 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) Val_8).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:137: error: illegal start of type int X_25 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) Val_8).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:140: error: cannot find symbol io.write_int_3_p_0(X_25); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:144: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:149: error: package list does not exist list.List_1 Xs_13 = ((list.List_1.F_cons_2) List_6).F2; ^ Mercury/javas/jmercury/bidirectional.java:149: error: package list.List_1 does not exist list.List_1 Xs_13 = ((list.List_1.F_cons_2) List_6).F2; ^ Mercury/javas/jmercury/bidirectional.java:150: error: package list does not exist list.List_1 next_value_of_List_6 = Xs_13; ^ Mercury/javas/jmercury/bidirectional.java:165: error: package list does not exist list.List_1 List_6 = null; ^ Mercury/javas/jmercury/bidirectional.java:166: error: package maybe does not exist maybe.Maybe_1 Val_8 = null; ^ Mercury/javas/jmercury/bidirectional.java:167: error: package io does not exist io.Result_1 MaybeLine_18 = null; ^ Mercury/javas/jmercury/bidirectional.java:168: error: package io does not exist io.Result_1 Result0_26 = null; ^ Mercury/javas/jmercury/bidirectional.java:169: error: package list does not exist list.List_1 LineRev_28 = null; ^ Mercury/javas/jmercury/bidirectional.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_32 = null; ^ Mercury/javas/jmercury/bidirectional.java:171: error: package list does not exist list.List_1 Line0_27 = null; ^ Mercury/javas/jmercury/bidirectional.java:172: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/bidirectional.java:176: error: package list does not exist list.List_1 Chars_19 = null; ^ Mercury/javas/jmercury/bidirectional.java:180: error: cannot find symbol Result0_26 = io.read_line_3_p_0(); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:185: error: package list does not exist Line0_27 = ((list.List_1) ((io.Result_1.Ok_1) Result0_26).F1); ^ Mercury/javas/jmercury/bidirectional.java:185: error: package io.Result_1 does not exist Line0_27 = ((list.List_1) ((io.Result_1.Ok_1) Result0_26).F1); ^ Mercury/javas/jmercury/bidirectional.java:187: error: cannot find symbol TypeCtorInfo_15_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class bidirectional Mercury/javas/jmercury/bidirectional.java:187: error: package jmercury.runtime does not exist TypeCtorInfo_15_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/bidirectional.java:189: error: cannot find symbol Var_30 = list.reverse_2_p_0(TypeCtorInfo_15_32, Line0_27); ^ symbol: variable list location: class bidirectional Mercury/javas/jmercury/bidirectional.java:194: error: package list.List_1 does not exist Var_34 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_30).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:194: error: illegal start of type Var_34 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_30).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:195: error: package list.List_1 does not exist LineRev_28 = ((list.List_1.F_cons_2) Var_30).F2; ^ Mercury/javas/jmercury/bidirectional.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/bidirectional.java:201: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class bidirectional Mercury/javas/jmercury/bidirectional.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/bidirectional.java:202: error: package list does not exist list.List_1 Line_29 = null; ^ Mercury/javas/jmercury/bidirectional.java:205: error: cannot find symbol Line_29 = list.reverse_2_p_0(TypeCtorInfo_16_33, LineRev_28); ^ symbol: variable list location: class bidirectional Mercury/javas/jmercury/bidirectional.java:208: error: package io.Result_1 does not exist MaybeLine_18 = new io.Result_1.Ok_1( ^ Mercury/javas/jmercury/bidirectional.java:218: error: package list does not exist Chars_19 = ((list.List_1) ((io.Result_1.Ok_1) MaybeLine_18).F1); ^ Mercury/javas/jmercury/bidirectional.java:218: error: package io.Result_1 does not exist Chars_19 = ((list.List_1) ((io.Result_1.Ok_1) MaybeLine_18).F1); ^ Mercury/javas/jmercury/bidirectional.java:220: error: cannot find symbol Line_20 = string.from_char_list_2_p_0(Chars_19); ^ symbol: variable string location: class bidirectional Mercury/javas/jmercury/bidirectional.java:223: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(Line_20); ^ symbol: variable string location: class bidirectional Mercury/javas/jmercury/bidirectional.java:230: error: package maybe.Maybe_1 does not exist Val_8 = new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/bidirectional.java:235: error: package maybe does not exist Val_8 = (maybe.Maybe_1) bidirectional.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bidirectional.java:237: error: package list does not exist List_6 = (list.List_1) bidirectional.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/bidirectional.java:240: error: package maybe.Maybe_1 does not exist int X_9 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) Val_8).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:240: error: illegal start of type int X_9 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) Val_8).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:243: error: package list.List_1 does not exist List_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bidirectional.java:251: error: package list does not exist list.List_1 Xs_13 = null; ^ Mercury/javas/jmercury/bidirectional.java:256: error: package list.List_1 does not exist ((list.List_1.F_cons_2) List_6).F2 = Xs_13; ^ Mercury/javas/jmercury/bidirectional.java:264: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/bidirectional.java:283: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bidirectional.java:284: error: cannot find symbol int Cast_HeadVar1_4 = (int) HeadVar__2_2.MR_value; ^ symbol: variable MR_value location: variable HeadVar__2_2 of type Rw_0 Mercury/javas/jmercury/bidirectional.java:285: error: cannot find symbol int Cast_HeadVar2_5 = (int) HeadVar__3_3.MR_value; ^ symbol: variable MR_value location: variable HeadVar__3_3 of type Rw_0 Mercury/javas/jmercury/bidirectional.java:289: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bidirectional.java:294: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bidirectional.java:296: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bidirectional.java:307: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bidirectional.java:321: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__1_1 of type Rw_0 Mercury/javas/jmercury/bidirectional.java:321: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__2_2 of type Rw_0 Mercury/javas/jmercury/bidirectional.java:370: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 96 errors make[3]: *** [/tmp/mmake.O7yaAB:2360: bidirectional] Error 1 make[3]: Target 'bidirectional.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'