MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/scripts/mmc --make --options-file - binary_stdin.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/scripts/mmc --make --options-file - binary_stdin Making Mercury/int3s/binary_stdin.int3 Making Mercury/ints/binary_stdin.int Making Mercury/javas/jmercury/binary_stdin.java Making Java class files Mercury/javas/jmercury/binary_stdin.java:286: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/binary_stdin.java:383: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/binary_stdin.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "binary_stdin"; ^ Mercury/javas/jmercury/binary_stdin.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/binary_stdin.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/binary_stdin.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/binary_stdin.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/binary_stdin.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/binary_stdin.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/binary_stdin.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/binary_stdin.java:57: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_binary_input_stream_0)), ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:57: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_binary_input_stream_0)), ^ Mercury/javas/jmercury/binary_stdin.java:58: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:58: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/binary_stdin.java:59: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:59: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/binary_stdin.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/binary_stdin.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/binary_stdin.java:73: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/binary_stdin.java:74: error: package io does not exist io.Binary_input_stream_0 Stream_4 = null; ^ Mercury/javas/jmercury/binary_stdin.java:82: error: package io does not exist io.Result_1 Res_22 = null; ^ Mercury/javas/jmercury/binary_stdin.java:87: error: cannot find symbol conv0_STATE_VARIABLE_IO_10_10 = mr_int.fold_up_5_p_2(TypeCtorInfo_21_21, Var_7, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable mr_int location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:90: error: cannot find symbol Stream_4 = io.stdin_binary_stream_3_p_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:103: error: cannot find symbol conv1_STATE_VARIABLE_IO_15_15 = mr_int.fold_up_5_p_2(TypeCtorInfo_21_21, Var_12, Var_13, Var_14, ((java.lang.Object) (0))); ^ symbol: variable mr_int location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:106: error: cannot find symbol Res_22 = io.read_byte_4_p_0(Stream_4); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:108: error: illegal start of type switch (Res_22.data_tag) { ^ Mercury/javas/jmercury/binary_stdin.java:115: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:119: error: cannot find symbol io.set_exit_status_3_p_0(Var_28); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:129: error: package io does not exist io.Error_0 Error_24 = ((io.Result_1.Error_1) Res_22).F1; ^ Mercury/javas/jmercury/binary_stdin.java:129: error: package io.Result_1 does not exist io.Error_0 Error_24 = ((io.Result_1.Error_1) Res_22).F1; ^ Mercury/javas/jmercury/binary_stdin.java:130: error: package io does not exist io.Text_output_stream_0 Var_29 = null; ^ Mercury/javas/jmercury/binary_stdin.java:135: error: cannot find symbol Var_29 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:138: error: cannot find symbol Var_30 = io.error_message_1_f_0(Error_24); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:141: error: cannot find symbol io.write_string_4_p_0(Var_29, Var_30); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:145: error: cannot find symbol io.set_exit_status_3_p_0(Var_32); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:150: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/binary_stdin.java:154: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:183: error: package io does not exist binary_stdin.read_byte_test_4_p_0(((io.Binary_input_stream_0) ((java.lang.Object[]) closure)[3]), ((java.lang.Integer) wrapper_arg_1).intValue()); ^ Mercury/javas/jmercury/binary_stdin.java:193: error: package io does not exist io.Result_1 Res_6 = null; ^ Mercury/javas/jmercury/binary_stdin.java:196: error: cannot find symbol Res_6 = io.read_byte_3_p_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:198: error: illegal start of type switch (Res_6.data_tag) { ^ Mercury/javas/jmercury/binary_stdin.java:201: error: package io.Result_1 does not exist int ReadByte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res_6).F1)).intValue(); ^ Mercury/javas/jmercury/binary_stdin.java:201: error: illegal start of type int ReadByte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res_6).F1)).intValue(); ^ Mercury/javas/jmercury/binary_stdin.java:206: error: package io does not exist io.Text_output_stream_0 Stderr_8 = null; ^ Mercury/javas/jmercury/binary_stdin.java:212: error: cannot find symbol Stderr_8 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:216: error: cannot find symbol io.write_string_4_p_0(Stderr_8, Var_13); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:219: error: cannot find symbol io.write_int_4_p_0(Stderr_8, ExpectedByte_4); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:223: error: cannot find symbol io.write_string_4_p_0(Stderr_8, Var_16); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:226: error: cannot find symbol io.write_int_4_p_0(Stderr_8, ReadByte_7); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:229: error: cannot find symbol io.nl_3_p_0(Stderr_8); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:233: error: cannot find symbol io.set_exit_status_3_p_0(Var_20); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:240: error: package io does not exist io.Text_output_stream_0 Var_22 = null; ^ Mercury/javas/jmercury/binary_stdin.java:245: error: cannot find symbol Var_22 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:249: error: cannot find symbol io.write_string_4_p_0(Var_22, Var_23); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:253: error: cannot find symbol io.set_exit_status_3_p_0(Var_25); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:259: error: package io does not exist io.Error_0 Error_9 = ((io.Result_1.Error_1) Res_6).F1; ^ Mercury/javas/jmercury/binary_stdin.java:259: error: package io.Result_1 does not exist io.Error_0 Error_9 = ((io.Result_1.Error_1) Res_6).F1; ^ Mercury/javas/jmercury/binary_stdin.java:260: error: package io does not exist io.Text_output_stream_0 Var_27 = null; ^ Mercury/javas/jmercury/binary_stdin.java:265: error: cannot find symbol Var_27 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:268: error: cannot find symbol Var_28 = io.error_message_1_f_0(Error_9); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:271: error: cannot find symbol io.write_string_4_p_0(Var_27, Var_28); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:275: error: cannot find symbol io.set_exit_status_3_p_0(Var_30); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:280: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/binary_stdin.java:290: error: package io does not exist io.Result_1 Res_8 = null; ^ Mercury/javas/jmercury/binary_stdin.java:293: error: cannot find symbol Res_8 = io.read_byte_4_p_0(Stream_5); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:295: error: illegal start of type switch (Res_8.data_tag) { ^ Mercury/javas/jmercury/binary_stdin.java:298: error: package io.Result_1 does not exist int ReadByte_9 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res_8).F1)).intValue(); ^ Mercury/javas/jmercury/binary_stdin.java:298: error: illegal start of type int ReadByte_9 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res_8).F1)).intValue(); ^ Mercury/javas/jmercury/binary_stdin.java:303: error: package io does not exist io.Text_output_stream_0 Stderr_10 = null; ^ Mercury/javas/jmercury/binary_stdin.java:309: error: cannot find symbol Stderr_10 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:313: error: cannot find symbol io.write_string_4_p_0(Stderr_10, Var_15); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:316: error: cannot find symbol io.write_int_4_p_0(Stderr_10, ExpectedByte_6); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:320: error: cannot find symbol io.write_string_4_p_0(Stderr_10, Var_18); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:323: error: cannot find symbol io.write_int_4_p_0(Stderr_10, ReadByte_9); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:326: error: cannot find symbol io.nl_3_p_0(Stderr_10); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:330: error: cannot find symbol io.set_exit_status_3_p_0(Var_22); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:337: error: package io does not exist io.Text_output_stream_0 Var_24 = null; ^ Mercury/javas/jmercury/binary_stdin.java:342: error: cannot find symbol Var_24 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:346: error: cannot find symbol io.write_string_4_p_0(Var_24, Var_25); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:350: error: cannot find symbol io.set_exit_status_3_p_0(Var_27); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:356: error: package io does not exist io.Error_0 Error_11 = ((io.Result_1.Error_1) Res_8).F1; ^ Mercury/javas/jmercury/binary_stdin.java:356: error: package io.Result_1 does not exist io.Error_0 Error_11 = ((io.Result_1.Error_1) Res_8).F1; ^ Mercury/javas/jmercury/binary_stdin.java:357: error: package io does not exist io.Text_output_stream_0 Var_29 = null; ^ Mercury/javas/jmercury/binary_stdin.java:362: error: cannot find symbol Var_29 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:365: error: cannot find symbol Var_30 = io.error_message_1_f_0(Error_11); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:368: error: cannot find symbol io.write_string_4_p_0(Var_29, Var_30); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:372: error: cannot find symbol io.set_exit_status_3_p_0(Var_32); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:377: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/binary_stdin.java:413: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors make[3]: *** [/tmp/mmake.SOTnES:2364: binary_stdin] Error 1 make[3]: Target 'binary_stdin.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'