MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/scripts/mmc --make --options-file - bug452.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/scripts/mmc --make --options-file - bug452 Making Mercury/int3s/bug452.int3 Making Mercury/ints/bug452.int Making Mercury/javas/jmercury/bug452.java Making Java class files Mercury/javas/jmercury/bug452.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_ordinal_ordered_category_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug452.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_name_ordered_category_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug452.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug452__type_ctor_info_category_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug452.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_ordinal_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/bug452.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_name_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/bug452.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug452__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug452.java:180: 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/bug452.java:181: 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[8]; ^ Mercury/javas/jmercury/bug452.java:637: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug452.java:638: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug452.java:624: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug452.java:625: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug452.java:393: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug452.java:432: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug452.java:519: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug452.java:579: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug452.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug452"; ^ Mercury/javas/jmercury/bug452.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug452.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug452.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug452 Mercury/javas/jmercury/bug452.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug452 Mercury/javas/jmercury/bug452.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug452.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug452.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_ordinal_ordered_category_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug452.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_name_ordered_category_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug452.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug452__type_ctor_info_category_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug452.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_ordinal_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/bug452.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_name_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/bug452.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug452__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug452.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug452.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug452.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug452.java:155: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug452.java:160: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug452.java:163: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug452.java:180: 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/bug452.java:181: 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[8]; ^ Mercury/javas/jmercury/bug452.java:191: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:191: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bug452.java:192: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:192: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bug452.java:201: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug452.java:203: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:205: error: package list does not exist (list.List_1) bug452.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bug452.java:208: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:210: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bug452.java:213: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:215: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/bug452.java:218: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:220: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/bug452.java:223: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:225: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bug452.java:228: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:230: error: package list does not exist (list.List_1) bug452.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bug452.java:233: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:235: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/bug452.java:238: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:240: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/bug452.java:249: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:249: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bug452.java:250: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:250: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bug452.java:263: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug452.bug452__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/bug452.java:263: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug452.bug452__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/bug452.java:264: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bug452.java:264: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:264: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bug452.java:266: error: package list does not exist list.List_1 Var_7 = (list.List_1) bug452.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/bug452.java:266: error: package list does not exist list.List_1 Var_7 = (list.List_1) bug452.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/bug452.java:270: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_22_22, TypeCtorInfo_23_23, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class bug452 Mercury/javas/jmercury/bug452.java:294: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/bug452.java:295: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/bug452.java:303: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug452.bug452__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/bug452.java:305: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (Thing_5))); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:309: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:311: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug452.bug452__type_ctor_info_category_0); ^ Mercury/javas/jmercury/bug452.java:313: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (Cat0_6))); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:317: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:320: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (Cat_8))); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:328: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ 100 errors make[3]: *** [/tmp/mmake.iSHHNC:2366: bug452] Error 1 make[3]: Target 'bug452.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded'