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 - stream_put_bug.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 - stream_put_bug Making Mercury/int3s/stream_put_bug.int3 Making Mercury/ints/stream_put_bug.int Making Mercury/javas/jmercury/stream_put_bug.java Making Java class files Mercury/javas/jmercury/stream_put_bug.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/stream_put_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_put_bug"; ^ Mercury/javas/jmercury/stream_put_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_put_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_put_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_put_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_put_bug.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/stream_put_bug.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__stream__arity2__string__builder__handle__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/stream_put_bug.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_put_bug.java:44: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__output__arity2__string__builder__handle__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/stream_put_bug.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_put_bug.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__writer__arity3__string__builder__handle__arity0__string__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/stream_put_bug.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/stream_put_bug.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_put_bug.java:58: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/stream_put_bug.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/stream_put_bug.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/stream_put_bug.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/stream_put_bug.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/stream_put_bug.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/stream_put_bug.java:78: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_7_7 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:79: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_11_11 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:81: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_18_18 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:85: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_32 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:90: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:92: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:96: error: cannot find symbol STATE_VARIABLE_State_7_7 = string__builder.init_0_f_0(); ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:101: error: package string__parse_util does not exist Var_32 = (string__parse_util.String_format_flags_0) stream_put_bug.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/stream_put_bug.java:103: error: cannot find symbol Var_26 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_32, Var_13); ^ symbol: variable string__format location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:106: error: cannot find symbol Var_33 = string.f_43_43_2_f_0(Var_26, Var_25); ^ symbol: variable string location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:110: error: cannot find symbol Var_35 = string.f_43_43_2_f_0(Var_34, Var_33); ^ symbol: variable string location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:112: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_writer_23)[0])[5]); ^ Mercury/javas/jmercury/stream_put_bug.java:114: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_State_11_11 = ((java.lang.Object) ((jmercury.runtime.MethodPtr4) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_writer_23))), ((java.lang.Object) (((java.lang.Object) (0)))), ((java.lang.Object) (((java.lang.Object) (Var_35)))), ((java.lang.Object) (((java.lang.Object) (STATE_VARIABLE_State_7_7)))))); ^ Mercury/javas/jmercury/stream_put_bug.java:116: error: package string__builder does not exist STATE_VARIABLE_State_11_11 = ((string__builder.State_0) conv1_STATE_VARIABLE_State_11_11); ^ Mercury/javas/jmercury/stream_put_bug.java:119: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_writer_24)[0])[5]); ^ Mercury/javas/jmercury/stream_put_bug.java:121: error: package jmercury.runtime does not exist conv3_STATE_VARIABLE_State_18_18 = ((java.lang.Object) ((jmercury.runtime.MethodPtr4) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_writer_24))), ((java.lang.Object) (((java.lang.Object) (0)))), ((java.lang.Object) (((java.lang.Object) (Var_39)))), ((java.lang.Object) (((java.lang.Object) (STATE_VARIABLE_State_11_11)))))); ^ Mercury/javas/jmercury/stream_put_bug.java:123: error: package string__builder does not exist STATE_VARIABLE_State_18_18 = ((string__builder.State_0) conv3_STATE_VARIABLE_State_18_18); ^ Mercury/javas/jmercury/stream_put_bug.java:125: error: cannot find symbol Var_22 = string__builder.to_string_1_f_0(STATE_VARIABLE_State_18_18); ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:128: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class stream_put_bug 55 errors make[3]: *** [/tmp/mmake.GUY48M:2364: stream_put_bug] Error 1 make[3]: Target 'stream_put_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'