MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - read_submod_opt.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid_seq' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid_seq' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - read_submod_opt.class Making Mercury/int3s/read_submod_opt.int3 Making Mercury/int3s/read_submod_opt_helper_1.int3 Making Mercury/ints/read_submod_opt.int Making Mercury/int0s/read_submod_opt_helper_1.int0 Making Mercury/ints/read_submod_opt_helper_1.int Making Mercury/opts/read_submod_opt.opt Making Mercury/opts/read_submod_opt_helper_1.opt Making Mercury/javas/jmercury/read_submod_opt.java Making Mercury/classes/jmercury/read_submod_opt.class Mercury/javas/jmercury/read_submod_opt.java:33: error: package read_submod_opt_helper_1 does not exist private static final read_submod_opt_helper_1.Foo_0[] MR_scalar_common_2 = new read_submod_opt_helper_1.Foo_0[1]; ^ Mercury/javas/jmercury/read_submod_opt.java:34: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_3 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/read_submod_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_submod_opt"; ^ Mercury/javas/jmercury/read_submod_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_submod_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_submod_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_submod_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_submod_opt.java:33: error: package read_submod_opt_helper_1 does not exist private static final read_submod_opt_helper_1.Foo_0[] MR_scalar_common_2 = new read_submod_opt_helper_1.Foo_0[1]; ^ Mercury/javas/jmercury/read_submod_opt.java:34: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_3 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/read_submod_opt.java:39: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:40: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:40: 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/read_submod_opt.java:41: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:41: 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/read_submod_opt.java:45: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:47: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:47: 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/read_submod_opt.java:48: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:48: 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/read_submod_opt.java:52: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:54: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:54: 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/read_submod_opt.java:55: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:55: 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/read_submod_opt.java:56: 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 read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:56: 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/read_submod_opt.java:59: error: package read_submod_opt_helper_1 does not exist new read_submod_opt_helper_1.Foo_0( ^ Mercury/javas/jmercury/read_submod_opt.java:63: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/read_submod_opt.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_submod_opt_helper_1.read_submod_opt_helper_1__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/read_submod_opt.java:77: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_submod_opt_helper_1.read_submod_opt_helper_1__type_ctor_info_foo_0); ^ symbol: variable read_submod_opt_helper_1 location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_submod_opt_helper_1.read_submod_opt_helper_1__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/read_submod_opt.java:79: error: package read_submod_opt_helper_1 does not exist read_submod_opt_helper_1.Foo_0 X_4 = (read_submod_opt_helper_1.Foo_0) read_submod_opt.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/read_submod_opt.java:79: error: package read_submod_opt_helper_1 does not exist read_submod_opt_helper_1.Foo_0 X_4 = (read_submod_opt_helper_1.Foo_0) read_submod_opt.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/read_submod_opt.java:80: error: package io does not exist io.Text_output_stream_0 Var_11 = null; ^ Mercury/javas/jmercury/read_submod_opt.java:81: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_13 = null; ^ Mercury/javas/jmercury/read_submod_opt.java:82: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_15 = null; ^ Mercury/javas/jmercury/read_submod_opt.java:83: error: package univ does not exist univ.Univ_0 Var_17 = null; ^ Mercury/javas/jmercury/read_submod_opt.java:84: error: package ops does not exist ops.Priority_0 Var_18 = null; ^ Mercury/javas/jmercury/read_submod_opt.java:88: error: cannot find symbol Var_13 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:91: error: package io does not exist Var_11 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/read_submod_opt.java:95: error: package deconstruct does not exist Var_15 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/read_submod_opt.java:98: error: cannot find symbol Var_17 = univ.type_to_univ_2_p_1(TypeCtorInfo_8_8, ((java.lang.Object) (X_4))); ^ symbol: variable univ location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:100: error: package ops does not exist Var_18 = (ops.Priority_0) read_submod_opt.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/read_submod_opt.java:102: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_16, Var_11, Var_15, Var_17, Var_18); ^ symbol: variable stream__string_writer location: class read_submod_opt Mercury/javas/jmercury/read_submod_opt.java:106: error: cannot find symbol io.write_char_4_p_0(Var_11, Var_20); ^ symbol: variable io location: class read_submod_opt 51 errors ** Error making `Mercury/classes/jmercury/read_submod_opt.class'. make[3]: *** [/tmp/mmake.5d3q8o:1239: read_submod_opt.class] Error 1 make[3]: Target 'read_submod_opt.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid_seq'