MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O3 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-09-21/stage2/scripts/mmc --make --options-file - bug51.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O3 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-09-21/stage2/scripts/mmc --make --options-file - bug51.class Making Mercury/int3s/bug51.int3 Making Mercury/ints/bug51.int Making Mercury/javas/jmercury/bug51.java Making Mercury/classes/jmercury/bug51.class Mercury/javas/jmercury/bug51.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug51__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug51.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug51__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug51.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug51__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug51.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug51__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug51.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug51__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug51.java:88: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug51.java:89: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/bug51.java:227: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug51.java:228: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug51.java:119: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug51.java:183: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug51.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug51"; ^ Mercury/javas/jmercury/bug51.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug51.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug51.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug51 Mercury/javas/jmercury/bug51.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug51 Mercury/javas/jmercury/bug51.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug51.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug51 Mercury/javas/jmercury/bug51.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug51 Mercury/javas/jmercury/bug51.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug51 Mercury/javas/jmercury/bug51.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug51 Mercury/javas/jmercury/bug51.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug51.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug51__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug51.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug51__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug51.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug51__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug51.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug51__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug51.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug51__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug51.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug51.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug51.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug51.java:88: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug51.java:89: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/bug51.java:93: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug51.java:95: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug51.java:97: error: package list does not exist (list.List_1) bug51.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bug51.java:111: error: package list does not exist list.List_1 Xs_17 = (list.List_1) bug51.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bug51.java:111: error: package list does not exist list.List_1 Xs_17 = (list.List_1) bug51.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bug51.java:125: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug51.java:126: 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 Fruit_0 Mercury/javas/jmercury/bug51.java:127: 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 Fruit_0 Mercury/javas/jmercury/bug51.java:131: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug51.java:136: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug51.java:138: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug51.java:149: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug51.java:163: 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 Fruit_0 Mercury/javas/jmercury/bug51.java:163: 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 Fruit_0 Mercury/javas/jmercury/bug51.java:212: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 47 errors ** Error making `Mercury/classes/jmercury/bug51.class'. make[3]: *** [/tmp/mmake.V1Khwp:1500: bug51.class] Error 1 make[3]: Target 'bug51.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/valid'