MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-02/stage2/scripts/mmc --make --options-file - read_min_int.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-02/stage2/scripts/mmc --make --options-file - read_min_int Making Mercury/int3s/read_min_int.int3 Making Mercury/ints/read_min_int.int Making Mercury/javas/jmercury/read_min_int.java Making Java class files Mercury/javas/jmercury/read_min_int.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] read_min_int__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/read_min_int.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc read_min_int__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/read_min_int.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] read_min_int__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/read_min_int.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] read_min_int__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/read_min_int.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] read_min_int__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/read_min_int.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_min_int__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_min_int.java:101: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/read_min_int.java:161: error: package io does not exist io.Text_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/read_min_int.java:430: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/read_min_int.java:303: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_min_int.java:388: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/read_min_int.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_min_int"; ^ Mercury/javas/jmercury/read_min_int.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_min_int.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_min_int.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_min_int Mercury/javas/jmercury/read_min_int.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_min_int Mercury/javas/jmercury/read_min_int.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_min_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_min_int.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] read_min_int__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/read_min_int.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc read_min_int__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/read_min_int.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] read_min_int__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/read_min_int.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] read_min_int__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/read_min_int.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] read_min_int__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/read_min_int.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_min_int__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_min_int.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/read_min_int.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class read_min_int Mercury/javas/jmercury/read_min_int.java:48: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class read_min_int Mercury/javas/jmercury/read_min_int.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class read_min_int Mercury/javas/jmercury/read_min_int.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/read_min_int.java:64: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class read_min_int Mercury/javas/jmercury/read_min_int.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/read_min_int.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_min_int.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_min_int.java:101: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/read_min_int.java:105: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/read_min_int.java:121: error: package io does not exist io.Res_1 OpenRes_4 = null; ^ Mercury/javas/jmercury/read_min_int.java:128: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:132: error: cannot find symbol OpenRes_4 = io.open_input_4_p_0(Var_11); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/read_min_int.java:136: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/read_min_int.java:137: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/read_min_int.java:137: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/read_min_int.java:140: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Error_6))); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:143: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:148: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/read_min_int.java:148: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/read_min_int.java:148: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/read_min_int.java:154: error: cannot find symbol io.close_input_3_p_0(Stream_5); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:165: error: package io does not exist io.Result_1 IORes_6 = null; ^ Mercury/javas/jmercury/read_min_int.java:169: error: cannot find symbol IORes_6 = io.read_line_as_string_4_p_0(Stream_4); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:171: error: illegal start of type switch (IORes_6.data_tag) { ^ Mercury/javas/jmercury/read_min_int.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/read_min_int.java:175: error: package io.Result_1 does not exist java.lang.String String_7 = ((java.lang.String) ((io.Result_1.Ok_1) IORes_6).F1); ^ Mercury/javas/jmercury/read_min_int.java:177: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) read_min_int.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/read_min_int.java:177: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) read_min_int.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/read_min_int.java:178: error: package io does not exist io.Read_result_1 Res_10 = null; ^ Mercury/javas/jmercury/read_min_int.java:180: error: package io does not exist io.Posn_0 _Posn_11 = null; ^ Mercury/javas/jmercury/read_min_int.java:183: error: cannot find symbol Var_22 = string.length_1_f_0(String_7); ^ symbol: variable string location: class read_min_int Mercury/javas/jmercury/read_min_int.java:185: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_min_int.read_min_int__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/read_min_int.java:187: error: cannot find symbol java.lang.Object [] result = io.read_from_string_6_p_0(TypeCtorInfo_31_31, FileName_8, String_7, Var_22, Posn0_9); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:188: error: package io does not exist Res_10 = (io.Read_result_1) result[0]; ^ Mercury/javas/jmercury/read_min_int.java:189: error: package io does not exist _Posn_11 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/read_min_int.java:191: error: illegal start of type switch (Res_10.data_tag) { ^ Mercury/javas/jmercury/read_min_int.java:194: error: package io.Read_result_1 does not exist read_min_int.Foo_0 X_12 = ((read_min_int.Foo_0) ((io.Read_result_1.Ok_1) Res_10).F1); ^ Mercury/javas/jmercury/read_min_int.java:197: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (X_12))); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:200: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:210: error: package io.Read_result_1 does not exist java.lang.String Error_13 = ((io.Read_result_1.Error_2) Res_10).F1; ^ Mercury/javas/jmercury/read_min_int.java:213: error: cannot find symbol io.write_string_3_p_0(Error_13); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:216: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:221: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_min_int.java:232: error: package io does not exist io.Error_0 IOError_15 = ((io.Result_1.Error_1) IORes_6).F1; ^ Mercury/javas/jmercury/read_min_int.java:232: error: package io.Result_1 does not exist io.Error_0 IOError_15 = ((io.Result_1.Error_1) IORes_6).F1; ^ Mercury/javas/jmercury/read_min_int.java:236: error: cannot find symbol Var_29 = io.error_message_1_f_0(IOError_15); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:239: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:242: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:247: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_min_int.java:258: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_min_int.read_min_int__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/read_min_int.java:258: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_min_int.read_min_int__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/read_min_int.java:259: error: package io does not exist io.Read_result_1 Res_4 = null; ^ Mercury/javas/jmercury/read_min_int.java:263: error: cannot find symbol Res_4 = io.read_3_p_0(TypeCtorInfo_17_17); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:265: error: illegal start of type switch (Res_4.data_tag) { ^ Mercury/javas/jmercury/read_min_int.java:268: error: package io.Read_result_1 does not exist read_min_int.Foo_0 X_5 = ((read_min_int.Foo_0) ((io.Read_result_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/read_min_int.java:271: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (X_5))); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:274: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:285: error: package io.Read_result_1 does not exist java.lang.String Error_6 = ((io.Read_result_1.Error_2) Res_4).F1; ^ Mercury/javas/jmercury/read_min_int.java:288: error: cannot find symbol io.write_string_3_p_0(Error_6); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:291: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:297: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_min_int.java:309: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/read_min_int.java:315: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/read_min_int.java:323: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/read_min_int.java:328: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/read_min_int.java:330: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/read_min_int.java:342: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/read_min_int.java:417: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors make[3]: *** [/tmp/mmake.vH3osN:2364: read_min_int] Error 1 make[3]: Target 'read_min_int.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/hard_coded'