MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-09-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-15/stage2/scripts/mmc --make --options-file - ee_valid_test.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-09-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-15/stage2/scripts/mmc --make --options-file - ee_valid_test Making Mercury/int3s/ee_valid_test.int3 Making Mercury/ints/ee_valid_test.int Making Mercury/javas/jmercury/ee_valid_test.java Making Java class files Mercury/javas/jmercury/ee_valid_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ee_valid_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ee_valid_test.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_valid_test__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_valid_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/ee_valid_test.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/ee_valid_test.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_valid_test__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_valid_test.java:540: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/ee_valid_test.java:541: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ee_valid_test.java:553: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/ee_valid_test.java:554: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ee_valid_test.java:352: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ee_valid_test.java:391: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ee_valid_test.java:478: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ee_valid_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ee_valid_test"; ^ Mercury/javas/jmercury/ee_valid_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ee_valid_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ee_valid_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ee_valid_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ee_valid_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ee_valid_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ee_valid_test.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_valid_test__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_valid_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/ee_valid_test.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/ee_valid_test.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_valid_test__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_valid_test.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/ee_valid_test.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ee_valid_test.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ee_valid_test.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/ee_valid_test.java:149: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ee_valid_test.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ee_valid_test.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:185: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:196: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(ee_valid_test.ee_valid_test__type_ctor_info_fruit_0); ^ Mercury/javas/jmercury/ee_valid_test.java:198: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_8))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:202: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:214: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:218: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:230: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_16))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:234: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:246: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_20))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:250: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:261: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(ee_valid_test.ee_valid_test__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/ee_valid_test.java:263: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_26_26, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:358: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:359: 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 Foo_0 Mercury/javas/jmercury/ee_valid_test.java:360: 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 Foo_0 Mercury/javas/jmercury/ee_valid_test.java:364: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/ee_valid_test.java:369: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/ee_valid_test.java:371: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ee_valid_test.java:382: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:397: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:398: 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/ee_valid_test.java:399: 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/ee_valid_test.java:403: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/ee_valid_test.java:408: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/ee_valid_test.java:410: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ee_valid_test.java:421: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:435: 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 Foo_0 Mercury/javas/jmercury/ee_valid_test.java:435: 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 Foo_0 Mercury/javas/jmercury/ee_valid_test.java:458: 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/ee_valid_test.java:458: 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/ee_valid_test.java:525: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 83 errors make[3]: *** [/tmp/mmake.PwDoFM:2364: ee_valid_test] Error 1 make[3]: Target 'ee_valid_test.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/hard_coded'