MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - random_1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - random_1 Making Mercury/int3s/random_1.int3 Making Mercury/ints/random_1.int Making Mercury/javas/jmercury/random_1.java Making Java class files Mercury/javas/jmercury/random_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_1.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/random_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "random_1"; ^ Mercury/javas/jmercury/random_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/random_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/random_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class random_1 Mercury/javas/jmercury/random_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class random_1 Mercury/javas/jmercury/random_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/random_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/random_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_1.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/random_1.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_1.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_urandom_params_1))), ^ symbol: variable random location: class random_1 Mercury/javas/jmercury/random_1.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_urandom_params_1))), ^ Mercury/javas/jmercury/random_1.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_1.java:43: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_1.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_urandom_state_1))), ^ symbol: variable random location: class random_1 Mercury/javas/jmercury/random_1.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_urandom_state_1))), ^ Mercury/javas/jmercury/random_1.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_1.java:49: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_1.java:54: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__urandom__arity2__random__urandom_params__arity1__random__urandom_state__arity1__)), ^ symbol: variable random location: class random_1 Mercury/javas/jmercury/random_1.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_1.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/random_1.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_1.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/random_1.java:61: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc32.base_typeclass_info_random__urandom__arity2__random__sfc32__params__arity0__random__sfc32__ustate__arity0__)), ^ symbol: variable random__sfc32 location: class random_1 Mercury/javas/jmercury/random_1.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_1 Mercury/javas/jmercury/random_1.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_1.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_1 Mercury/javas/jmercury/random_1.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_1.java:67: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc64.base_typeclass_info_random__urandom__arity2__random__sfc64__params__arity0__random__sfc64__ustate__arity0__)), ^ symbol: variable random__sfc64 location: class random_1 Mercury/javas/jmercury/random_1.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ symbol: variable random__sfc64 location: class random_1 Mercury/javas/jmercury/random_1.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_1.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class random_1 Mercury/javas/jmercury/random_1.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_1.java:72: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/random_1.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/random_1.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/random_1.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/random_1.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/random_1.java:77: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/random_1.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/random_1.java:94: error: package random does not exist random.Urandom_state_1 RSsfc16_5 = null; ^ Mercury/javas/jmercury/random_1.java:95: error: package random__sfc32 does not exist random__sfc32.Ustate_0 RSsfc32_8 = null; ^ Mercury/javas/jmercury/random_1.java:96: error: package random__sfc64 does not exist random__sfc64.Ustate_0 RSsfc64_11 = null; ^ Mercury/javas/jmercury/random_1.java:98: error: package random__sfc16 does not exist random__sfc16.Random_0 Var_17 = null; ^ Mercury/javas/jmercury/random_1.java:109: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:112: error: cannot find symbol Var_17 = random__sfc16.init_0_f_0(); ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:114: error: cannot find symbol TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0); ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:114: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0); ^ Mercury/javas/jmercury/random_1.java:116: error: cannot find symbol RSsfc16_5 = random.make_urandom_3_p_0(TypeCtorInfo_27_27, ((java.lang.Object) (Var_17))); ^ symbol: variable random location: class random_1 Mercury/javas/jmercury/random_1.java:125: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:128: error: cannot find symbol RSsfc32_8 = random__sfc32.init_2_p_0(); ^ symbol: variable random__sfc32 location: class random_1 Mercury/javas/jmercury/random_1.java:137: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:140: error: cannot find symbol RSsfc64_11 = random__sfc64.init_2_p_0(); ^ symbol: variable random__sfc64 location: class random_1 Mercury/javas/jmercury/random_1.java:176: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_37 = null; ^ Mercury/javas/jmercury/random_1.java:179: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_45 = null; ^ Mercury/javas/jmercury/random_1.java:181: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_48 = null; ^ Mercury/javas/jmercury/random_1.java:186: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_urandom_35)[0])[8]); ^ Mercury/javas/jmercury/random_1.java:186: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_urandom_35)[0])[8]); ^ Mercury/javas/jmercury/random_1.java:192: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_urandom_35))), ((java.lang.Object) (RP_8)), ((java.lang.Object) (STATE_VARIABLE_RS_0_14)))); ^ Mercury/javas/jmercury/random_1.java:200: error: cannot find symbol A_12 = uint64.cast_to_int_1_f_0(Var_20); ^ symbol: variable uint64 location: class random_1 Mercury/javas/jmercury/random_1.java:205: error: cannot find symbol B_13 = uint64.cast_to_int_1_f_0(Var_22); ^ symbol: variable uint64 location: class random_1 Mercury/javas/jmercury/random_1.java:208: error: cannot find symbol Var_38 = string__format.format_cast_int_to_uint_2_p_0(A_12); ^ symbol: variable string__format location: class random_1 Mercury/javas/jmercury/random_1.java:210: error: package string__parse_util does not exist Var_45 = (string__parse_util.String_format_flags_0) random_1.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/random_1.java:212: error: package string__parse_util does not exist Var_37 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/random_1.java:214: error: cannot find symbol Var_39 = string__format.format_uint_component_width_noprec_5_p_0(Var_45, Var_46, Var_37, Var_38); ^ symbol: variable string__format location: class random_1 Mercury/javas/jmercury/random_1.java:217: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:220: error: cannot find symbol Var_49 = string__format.format_cast_int_to_uint_2_p_0(B_13); ^ symbol: variable string__format location: class random_1 Mercury/javas/jmercury/random_1.java:223: error: package string__parse_util does not exist Var_48 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/random_1.java:225: error: cannot find symbol Var_50 = string__format.format_uint_component_width_noprec_5_p_0(Var_45, Var_57, Var_48, Var_49); ^ symbol: variable string__format location: class random_1 Mercury/javas/jmercury/random_1.java:228: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:232: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class random_1 79 errors make[3]: *** [/tmp/mmake.vKJmWK:2364: random_1] Error 1 make[3]: Target 'random_1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/hard_coded'