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 - test_cord_3.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 - test_cord_3 Making Mercury/int3s/test_cord_3.int3 Making Mercury/ints/test_cord_3.int Making Mercury/javas/jmercury/test_cord_3.java Making Java class files Mercury/javas/jmercury/test_cord_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_3.java:57: 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/test_cord_3.java:58: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_cord_3.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/test_cord_3.java:62: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_cord_3.java:194: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/test_cord_3.java:229: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/test_cord_3.java:288: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_3.java:417: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_cord_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_cord_3"; ^ Mercury/javas/jmercury/test_cord_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_cord_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_cord_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_cord_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_cord_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_3.java:38: error: cannot find symbol cord.cord__type_ctor_info_cord_1, ^ symbol: variable cord location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/test_cord_3.java:44: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/test_cord_3.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) test_cord_3.cord__ti_cord_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_cord_3.java:57: 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/test_cord_3.java:58: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_cord_3.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/test_cord_3.java:62: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_cord_3.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_cord_3.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(cord.cord__type_ctor_info_cord_1))), ^ symbol: variable cord location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(cord.cord__type_ctor_info_cord_1))), ^ Mercury/javas/jmercury/test_cord_3.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_cord_3.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_cord_3.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/test_cord_3.java:73: 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 test_cord_3 Mercury/javas/jmercury/test_cord_3.java:73: 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/test_cord_3.java:74: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(test_cord_3.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/test_cord_3.java:77: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_cord_3.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_cord_3.java:81: error: package list does not exist (list.List_1) test_cord_3.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_cord_3.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_cord_3.java:86: error: package list does not exist (list.List_1) test_cord_3.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_cord_3.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_cord_3.java:91: error: package list does not exist (list.List_1) test_cord_3.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/test_cord_3.java:99: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:99: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_cord_3.java:100: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:100: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_cord_3.java:115: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_cord_3.java:116: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_cord_3.java:117: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_cord_3.java:118: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_cord_3.java:119: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_cord_3.java:120: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_cord_3.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_15 = null; ^ Mercury/javas/jmercury/test_cord_3.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/test_cord_3.java:136: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/test_cord_3.java:138: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/test_cord_3.java:145: error: package jmercury.runtime does not exist TypeInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_cord_3.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test_cord_3.java:146: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:146: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/test_cord_3.java:148: error: cannot find symbol conv0_STATE_VARIABLE_IO_8_8 = list.foldl_4_p_2(TypeInfo_15_15, TypeCtorInfo_16_16, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:151: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:158: error: cannot find symbol conv1_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeInfo_15_15, TypeCtorInfo_16_16, Var_10, Var_11, ((java.lang.Object) (0))); ^ symbol: variable list location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:172: error: package pair does not exist test_cord_3.test_is_empty_3_p_0(((pair.Pair_2) wrapper_arg_1)); ^ Mercury/javas/jmercury/test_cord_3.java:187: error: package pair does not exist test_cord_3.test_is_singleton_3_p_0(((pair.Pair_2) wrapper_arg_1)); ^ Mercury/javas/jmercury/test_cord_3.java:197: error: package pair does not exist java.lang.String Name_4 = ((java.lang.String) ((pair.Pair_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/test_cord_3.java:198: error: package cord does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:198: error: package cord does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:198: error: package pair does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_cord_3.java:202: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_cord_3.java:205: error: cannot find symbol succeeded = cord.is_empty_1_p_0(TypeCtorInfo_17_17, Cord_5); ^ symbol: variable cord location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:212: error: cannot find symbol io.write_string_3_p_0(Name_4); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:216: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:219: error: cannot find symbol io.write_string_3_p_0(Result_7); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:223: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:232: error: package pair does not exist java.lang.String Name_4 = ((java.lang.String) ((pair.Pair_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/test_cord_3.java:233: error: package cord does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:233: error: package cord does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:233: error: package pair does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_cord_3.java:235: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_cord_3.java:239: error: cannot find symbol java.lang.Object [] result = cord.is_singleton_2_p_0(TypeCtorInfo_22_22, Cord_5); ^ symbol: variable cord location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:252: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = null; ^ Mercury/javas/jmercury/test_cord_3.java:256: error: cannot find symbol io.write_string_3_p_0(Name_4); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:260: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:262: error: package string__parse_util does not exist Var_33 = (string__parse_util.String_format_flags_0) test_cord_3.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/test_cord_3.java:264: error: cannot find symbol Var_27 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_33, Result_7); ^ symbol: variable string__format location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:267: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class test_cord_3 100 errors make[3]: *** [/tmp/mmake.zZ844f:2364: test_cord_3] Error 1 make[3]: Target 'test_cord_3.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'