MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - io_globals_deadlock.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - io_globals_deadlock Making Mercury/int3s/io_globals_deadlock.int3 Making Mercury/ints/io_globals_deadlock.int Making Mercury/javas/jmercury/io_globals_deadlock.java io_globals_deadlock.m:027: Warning: call to obsolete predicate io_globals_deadlock.m:027: `io.set_globals'/3. io_globals_deadlock.m:039: Warning: call to obsolete predicate io_globals_deadlock.m:039: `io.get_globals'/3. io_globals_deadlock.m:046: Warning: call to obsolete predicate io_globals_deadlock.m:046: `io.update_globals'/3. Making Java class files Mercury/javas/jmercury/io_globals_deadlock.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/io_globals_deadlock.java:171: error: package univ does not exist univ.Univ_0 STATE_VARIABLE_Univ_0_5) ^ Mercury/javas/jmercury/io_globals_deadlock.java:169: error: package univ does not exist private static univ.Univ_0 ^ Mercury/javas/jmercury/io_globals_deadlock.java:252: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/io_globals_deadlock.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "io_globals_deadlock"; ^ Mercury/javas/jmercury/io_globals_deadlock.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/io_globals_deadlock.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/io_globals_deadlock.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/io_globals_deadlock.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/io_globals_deadlock.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/io_globals_deadlock.java:43: error: cannot find symbol ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ symbol: variable unit location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:43: error: illegal start of type ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ Mercury/javas/jmercury/io_globals_deadlock.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/io_globals_deadlock.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/io_globals_deadlock.java:58: error: cannot find symbol ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)), ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:58: error: illegal start of type ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)), ^ Mercury/javas/jmercury/io_globals_deadlock.java:59: error: cannot find symbol ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)) ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:59: error: illegal start of type ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)) ^ Mercury/javas/jmercury/io_globals_deadlock.java:68: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/io_globals_deadlock.java:69: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/io_globals_deadlock.java:70: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/io_globals_deadlock.java:71: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/io_globals_deadlock.java:72: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/io_globals_deadlock.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/io_globals_deadlock.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:86: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:88: error: package exception does not exist exception.Exception_result_1 Result_4 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:89: error: package univ does not exist univ.Univ_0 Globals_6 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:91: error: package univ does not exist univ.Univ_0 Var_10 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_40 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:101: error: cannot find symbol Var_10 = univ.univ_1_f_1(TypeCtorInfo_26_26, java.lang.Integer.valueOf(Var_12)); ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:104: error: cannot find symbol io.set_globals_3_p_0(Var_10); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:107: error: cannot find symbol TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0); ^ symbol: variable unit location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:107: error: package jmercury.runtime does not exist TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:109: error: cannot find symbol Result_4 = exception.try_io_4_p_0(TypeCtorInfo_30_30, Var_13); ^ symbol: variable exception location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:116: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:124: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:128: error: cannot find symbol Globals_6 = io.get_globals_3_p_0(); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:131: error: cannot find symbol conv0_FinalValue_7 = univ.det_univ_to_type_2_p_0(TypeCtorInfo_26_26, Globals_6); ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:136: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:138: error: package string__parse_util does not exist Var_40 = (string__parse_util.String_format_flags_0) io_globals_deadlock.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/io_globals_deadlock.java:140: error: cannot find symbol Var_34 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_40, FinalValue_7); ^ symbol: variable string__format location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:143: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:147: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:174: error: package univ does not exist univ.Univ_0 STATE_VARIABLE_Univ_6 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:176: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:180: error: cannot find symbol java.lang.Object [] result = univ.univ_to_type_2_p_0(TypeCtorInfo_11_11, STATE_VARIABLE_Univ_0_5); ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:194: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:198: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_12_12, ((java.lang.Object) (Var_7))); ^ symbol: variable exception location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:203: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:207: error: cannot find symbol STATE_VARIABLE_Univ_6 = univ.univ_1_f_1(TypeCtorInfo_13_13, java.lang.Integer.valueOf(Var_9)); ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:213: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:217: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Var_10))); ^ symbol: variable exception location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:230: error: cannot find symbol io.update_globals_3_p_0(Var_7); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:241: error: package univ does not exist univ.Univ_0 conv0_STATE_VARIABLE_Univ_6 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:244: error: package univ does not exist conv0_STATE_VARIABLE_Univ_6 = io_globals_deadlock.update_1_2_p_0(((univ.Univ_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/io_globals_deadlock.java:281: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 75 errors make[3]: *** [/tmp/mmake.XE8Dck:2364: io_globals_deadlock] Error 1 make[3]: Target 'io_globals_deadlock.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' ERROR OUTPUT io_globals_deadlock.m:027: Warning: call to obsolete predicate io_globals_deadlock.m:027: `io.set_globals'/3. io_globals_deadlock.m:039: Warning: call to obsolete predicate io_globals_deadlock.m:039: `io.get_globals'/3. io_globals_deadlock.m:046: Warning: call to obsolete predicate io_globals_deadlock.m:046: `io.update_globals'/3. END OF THE ERROR OUTPUT