MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/submodules' { 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 - nested_t2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/submodules' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/submodules' { 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 - nested_t2 Making Mercury/int3s/nested_t2.int3 Making Mercury/int0s/nested_t2.int0 Making Mercury/ints/nested_t2.int Making Mercury/javas/jmercury/nested_t2.java Making Java class files Mercury/javas/jmercury/nested_t2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc nested_t2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/nested_t2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] nested_t2__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/nested_t2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc nested_t2__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/nested_t2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] nested_t2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/nested_t2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] nested_t2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/nested_t2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] nested_t2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/nested_t2.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2.java:262: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/nested_t2.java:118: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/nested_t2.java:220: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nested_t2__child.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__child__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2__child.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__child__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2__child.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__child__type_ctor_info_t3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2__child.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__child__type_ctor_info_t4_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2__child.java:248: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/nested_t2__child.java:278: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/nested_t2__child.java:308: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/nested_t2__child.java:338: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/nested_t2__child.java:482: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nested_t2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc nested_t2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/nested_t2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] nested_t2__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/nested_t2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc nested_t2__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/nested_t2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] nested_t2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/nested_t2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] nested_t2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/nested_t2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] nested_t2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/nested_t2.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2.java:30: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class nested_t2 Mercury/javas/jmercury/nested_t2.java:38: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class nested_t2 Mercury/javas/jmercury/nested_t2.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/nested_t2.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class nested_t2 Mercury/javas/jmercury/nested_t2.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class nested_t2 Mercury/javas/jmercury/nested_t2.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class nested_t2 Mercury/javas/jmercury/nested_t2.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/nested_t2.java:65: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class nested_t2 Mercury/javas/jmercury/nested_t2.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/nested_t2.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/nested_t2.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/nested_t2.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/nested_t2.java:110: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class nested_t2 Mercury/javas/jmercury/nested_t2.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/nested_t2.java:114: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class nested_t2 Mercury/javas/jmercury/nested_t2.java:124: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nested_t2.java:130: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/nested_t2.java:134: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/nested_t2.java:136: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/nested_t2.java:139: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/nested_t2.java:147: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/nested_t2.java:152: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/nested_t2.java:154: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/nested_t2.java:166: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nested_t2.java:249: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/nested_t2__child.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nested_t2__child"; ^ Mercury/javas/jmercury/nested_t2__child.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nested_t2__child.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nested_t2__child.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nested_t2__child.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nested_t2__child.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__child__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2__child.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__child__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2__child.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__child__type_ctor_info_t3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2__child.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nested_t2__child__type_ctor_info_t4_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nested_t2__child.java:43: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/nested_t2__child.java:48: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/nested_t2__child.java:51: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/nested_t2__child.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) nested_t2.nested_t2__type_ctor_info_foo_0 ^ Mercury/javas/jmercury/nested_t2__child.java:63: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/nested_t2__child.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/nested_t2__child.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/nested_t2__child.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) nested_t2.nested_t2__type_ctor_info_foo_0 ^ Mercury/javas/jmercury/nested_t2__child.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/nested_t2__child.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/nested_t2__child.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/nested_t2__child.java:92: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) nested_t2.nested_t2__type_ctor_info_foo_0 ^ Mercury/javas/jmercury/nested_t2__child.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/nested_t2__child.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/nested_t2__child.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/nested_t2__child.java:112: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) nested_t2.nested_t2__type_ctor_info_foo_0 ^ Mercury/javas/jmercury/nested_t2__child.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = null; ^ Mercury/javas/jmercury/nested_t2__child.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = null; ^ Mercury/javas/jmercury/nested_t2__child.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_45_45 = null; ^ Mercury/javas/jmercury/nested_t2__child.java:151: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_10 = null; ^ Mercury/javas/jmercury/nested_t2__child.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_15 = null; ^ Mercury/javas/jmercury/nested_t2__child.java:155: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_20 = null; ^ Mercury/javas/jmercury/nested_t2__child.java:158: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_25 = null; ^ Mercury/javas/jmercury/nested_t2__child.java:173: error: cannot find symbol TypeCtorInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:173: error: package jmercury.runtime does not exist TypeCtorInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/nested_t2__child.java:175: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_8))); ^ symbol: variable io location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:177: error: package jmercury.runtime does not exist TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(nested_t2.nested_t2__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/nested_t2__child.java:179: error: cannot find symbol Var_10 = type_desc.type_of_1_f_0(TypeCtorInfo_44_44); ^ symbol: variable type_desc location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:181: error: cannot find symbol TypeCtorInfo_45_45 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0); ^ symbol: variable type_desc location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:181: error: package jmercury.runtime does not exist TypeCtorInfo_45_45 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0); ^ Mercury/javas/jmercury/nested_t2__child.java:183: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_45_45, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:187: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_13))); ^ symbol: variable io location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:190: error: cannot find symbol Var_15 = type_desc.type_of_1_f_0(TypeCtorInfo_44_44); ^ symbol: variable type_desc location: class nested_t2__child Mercury/javas/jmercury/nested_t2__child.java:193: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_45_45, ((java.lang.Object) (Var_15))); ^ symbol: variable io location: class nested_t2__child 100 errors make[3]: *** [/tmp/mmake.tXmzFu:1200: nested_t2] Error 1 make[3]: Target 'nested_t2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/submodules'