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 --optimize-constructor-last-call '; 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 - bug103.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 --optimize-constructor-last-call '; 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 - bug103 Making Mercury/int3s/bug103.int3 Making Mercury/ints/bug103.int Making Mercury/javas/jmercury/bug103.java Making Java class files Mercury/javas/jmercury/bug103.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug103__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug103.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug103__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug103.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug103__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug103.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug103__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug103.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug103__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug103.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug103__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug103.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug103__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug103.java:412: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug103.java:126: 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/bug103.java:127: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/bug103.java:181: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/bug103.java:230: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug103.java:370: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug103.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug103"; ^ Mercury/javas/jmercury/bug103.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug103.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug103.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug103 Mercury/javas/jmercury/bug103.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug103 Mercury/javas/jmercury/bug103.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug103.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug103.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug103__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug103.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug103__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug103.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug103__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug103.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug103__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug103.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug103__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug103.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug103__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug103.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug103__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug103.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug103.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug103 Mercury/javas/jmercury/bug103.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug103.bug103__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/bug103.java:66: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:82: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug103.java:84: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug103.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug103.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug103.java:126: 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/bug103.java:127: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/bug103.java:133: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug103.java:135: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug103.java:136: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/bug103.java:136: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/bug103.java:137: error: package list does not exist (list.List_1) bug103.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bug103.java:140: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug103.java:141: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/bug103.java:141: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/bug103.java:142: error: package list does not exist (list.List_1) bug103.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bug103.java:145: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug103.java:146: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/bug103.java:146: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/bug103.java:147: error: package list does not exist (list.List_1) bug103.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bug103.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/bug103.java:162: error: package list does not exist list.List_1 Var_8 = (list.List_1) bug103.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/bug103.java:162: error: package list does not exist list.List_1 Var_8 = (list.List_1) bug103.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/bug103.java:170: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug103.bug103__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bug103.java:172: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Foo_5))); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:175: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:193: error: package bool does not exist bool.Bool_0 H_4 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/bug103.java:193: error: package bool does not exist bool.Bool_0 H_4 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/bug103.java:193: error: package list.List_1 does not exist bool.Bool_0 H_4 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/bug103.java:194: error: package list does not exist list.List_1 T_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/bug103.java:194: error: package list.List_1 does not exist list.List_1 T_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/bug103.java:196: error: illegal start of type switch (H_4.MR_value) { ^ Mercury/javas/jmercury/bug103.java:221: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug103.java:238: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug103.java:245: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug103.java:254: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/bug103.java:258: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug103.java:263: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug103.java:265: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug103.java:267: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/bug103.java:282: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug103.java:285: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug103.java:287: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug103.java:298: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug103.java:399: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 83 errors make[3]: *** [/tmp/mmake.GGH2Z4:2366: bug103] Error 1 make[3]: Target 'bug103.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded'