MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - bug455.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - bug455 Making Mercury/int3s/bug455.int3 Making Mercury/int3s/bug455_helper_1.int3 Making Mercury/ints/bug455_helper_1.int Making Mercury/ints/bug455.int Making Mercury/opts/bug455_helper_1.opt Making Mercury/opts/bug455.opt Making Mercury/javas/jmercury/bug455.java Making Mercury/javas/jmercury/bug455_helper_1.java Making Java class files Mercury/javas/jmercury/bug455.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug455"; ^ Mercury/javas/jmercury/bug455.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug455.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug455.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug455 Mercury/javas/jmercury/bug455.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug455 Mercury/javas/jmercury/bug455.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug455.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug455.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug455.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug455.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug455.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug455.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug455.java:53: 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 bug455 Mercury/javas/jmercury/bug455.java:53: 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/bug455.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug455.java:77: error: package io does not exist io.Text_output_stream_0 Var_37 = null; ^ Mercury/javas/jmercury/bug455.java:78: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_39 = null; ^ Mercury/javas/jmercury/bug455.java:80: error: package io does not exist io.Text_output_stream_0 Var_41 = null; ^ Mercury/javas/jmercury/bug455.java:81: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_43 = null; ^ Mercury/javas/jmercury/bug455.java:82: error: package io does not exist io.Text_output_stream_0 Var_46 = null; ^ Mercury/javas/jmercury/bug455.java:83: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_48 = null; ^ Mercury/javas/jmercury/bug455.java:85: error: package io does not exist io.Text_output_stream_0 Var_50 = null; ^ Mercury/javas/jmercury/bug455.java:86: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_52 = null; ^ Mercury/javas/jmercury/bug455.java:87: error: package io does not exist io.Text_output_stream_0 Var_55 = null; ^ Mercury/javas/jmercury/bug455.java:88: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_57 = null; ^ Mercury/javas/jmercury/bug455.java:90: error: package io does not exist io.Text_output_stream_0 Var_59 = null; ^ Mercury/javas/jmercury/bug455.java:91: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_61 = null; ^ Mercury/javas/jmercury/bug455.java:92: error: package io does not exist io.Text_output_stream_0 Var_64 = null; ^ Mercury/javas/jmercury/bug455.java:93: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_66 = null; ^ Mercury/javas/jmercury/bug455.java:95: error: package io does not exist io.Text_output_stream_0 Var_68 = null; ^ Mercury/javas/jmercury/bug455.java:96: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_70 = null; ^ Mercury/javas/jmercury/bug455.java:97: error: package io does not exist io.Text_output_stream_0 Var_73 = null; ^ Mercury/javas/jmercury/bug455.java:98: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_75 = null; ^ Mercury/javas/jmercury/bug455.java:100: error: package io does not exist io.Text_output_stream_0 Var_77 = null; ^ Mercury/javas/jmercury/bug455.java:101: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_79 = null; ^ Mercury/javas/jmercury/bug455.java:102: error: package io does not exist io.Text_output_stream_0 Var_82 = null; ^ Mercury/javas/jmercury/bug455.java:103: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_84 = null; ^ Mercury/javas/jmercury/bug455.java:105: error: package io does not exist io.Text_output_stream_0 Var_86 = null; ^ Mercury/javas/jmercury/bug455.java:106: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_88 = null; ^ Mercury/javas/jmercury/bug455.java:107: error: package io does not exist io.Text_output_stream_0 Var_91 = null; ^ Mercury/javas/jmercury/bug455.java:108: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_93 = null; ^ Mercury/javas/jmercury/bug455.java:110: error: package io does not exist io.Text_output_stream_0 Var_95 = null; ^ Mercury/javas/jmercury/bug455.java:111: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_97 = null; ^ Mercury/javas/jmercury/bug455.java:114: error: cannot find symbol Var_39 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:117: error: package io does not exist Var_37 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:122: error: cannot find symbol io.write_int_4_p_0(Var_37, Var_6); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:126: error: cannot find symbol Var_43 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:129: error: package io does not exist Var_41 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:134: error: cannot find symbol io.write_char_4_p_0(Var_41, Var_40); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:138: error: cannot find symbol Var_48 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:141: error: package io does not exist Var_46 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:146: error: cannot find symbol io.write_int8_4_p_0(Var_46, Var_9); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:150: error: cannot find symbol Var_52 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:153: error: package io does not exist Var_50 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:158: error: cannot find symbol io.write_char_4_p_0(Var_50, Var_49); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:162: error: cannot find symbol Var_57 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:165: error: package io does not exist Var_55 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:170: error: cannot find symbol io.write_int16_4_p_0(Var_55, Var_12); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:174: error: cannot find symbol Var_61 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:177: error: package io does not exist Var_59 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:182: error: cannot find symbol io.write_char_4_p_0(Var_59, Var_58); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:186: error: cannot find symbol Var_66 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:189: error: package io does not exist Var_64 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:194: error: cannot find symbol io.write_int32_4_p_0(Var_64, Var_15); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:198: error: cannot find symbol Var_70 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:201: error: package io does not exist Var_68 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:206: error: cannot find symbol io.write_char_4_p_0(Var_68, Var_67); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:210: error: cannot find symbol Var_75 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:213: error: package io does not exist Var_73 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:218: error: cannot find symbol io.write_int64_4_p_0(Var_73, Var_18); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:222: error: cannot find symbol Var_79 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:225: error: package io does not exist Var_77 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:230: error: cannot find symbol io.write_char_4_p_0(Var_77, Var_76); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:234: error: cannot find symbol Var_84 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:237: error: package io does not exist Var_82 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:242: error: cannot find symbol io.write_uint_4_p_0(Var_82, Var_21); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:246: error: cannot find symbol Var_88 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:249: error: package io does not exist Var_86 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:254: error: cannot find symbol io.write_char_4_p_0(Var_86, Var_85); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:258: error: cannot find symbol Var_93 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:261: error: package io does not exist Var_91 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:266: error: cannot find symbol io.write_uint8_4_p_0(Var_91, Var_24); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:270: error: cannot find symbol Var_97 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:273: error: package io does not exist Var_95 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:278: error: cannot find symbol io.write_char_4_p_0(Var_95, Var_94); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:282: error: cannot find symbol io.write_uint16_3_p_0(Var_27); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:285: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bug455 100 errors make[3]: *** [/tmp/mmake.2LgBh4:2360: bug455] Error 1 make[3]: Target 'bug455.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'