MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-17/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-17/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-09-17/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-17/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-09-17/stage2/scripts/mmc --make --options-file - rational_test.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-17/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-17/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-17/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-09-17/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-17/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-09-17/stage2/scripts/mmc --make --options-file - rational_test Making Mercury/int3s/rational_test.int3 Making Mercury/ints/rational_test.int Making Mercury/javas/jmercury/rational_test.java Making Java class files Mercury/javas/jmercury/rational_test.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/rational_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/rational_test.java:128: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/rational_test.java:126: error: package rational does not exist private static rational.Rational_0 ^ Mercury/javas/jmercury/rational_test.java:161: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/rational_test.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/rational_test.java:212: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/rational_test.java:247: error: package rational does not exist rational.Rational_0 Rat_3) ^ Mercury/javas/jmercury/rational_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rational_test"; ^ Mercury/javas/jmercury/rational_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rational_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rational_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rational_test Mercury/javas/jmercury/rational_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rational_test Mercury/javas/jmercury/rational_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rational_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rational_test.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/rational_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/rational_test.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/rational_test.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:41: error: package list does not exist (list.List_1) rational_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/rational_test.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:46: error: package list does not exist (list.List_1) rational_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rational_test.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:51: error: package list does not exist (list.List_1) rational_test.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/rational_test.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rational_test.java:64: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class rational_test Mercury/javas/jmercury/rational_test.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rational_test.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_30 = null; ^ Mercury/javas/jmercury/rational_test.java:67: error: package rational does not exist rational.Rational_0 Var_8 = null; ^ Mercury/javas/jmercury/rational_test.java:68: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/rational_test.java:71: error: package rational does not exist rational.Rational_0 Var_14 = null; ^ Mercury/javas/jmercury/rational_test.java:72: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/rational_test.java:74: error: package list does not exist list.List_1 Rest_17 = null; ^ Mercury/javas/jmercury/rational_test.java:77: error: package list does not exist list.List_1 Rest_21 = null; ^ Mercury/javas/jmercury/rational_test.java:78: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/rational_test.java:85: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:97: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:100: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:103: error: package list does not exist Var_22 = (list.List_1) rational_test.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/rational_test.java:104: error: cannot find symbol TypeCtorInfo_14_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class rational_test Mercury/javas/jmercury/rational_test.java:104: error: package jmercury.runtime does not exist TypeCtorInfo_14_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rational_test.java:110: error: cannot find symbol Var_15 = list.append_3_p_1(TypeCtorInfo_14_30, Var_22, Rest_21); ^ symbol: variable list location: class rational_test Mercury/javas/jmercury/rational_test.java:119: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:122: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:130: error: package rational does not exist rational.Rational_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/rational_test.java:134: error: cannot find symbol HeadVar__2_2 = rational.one_0_f_0(); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:138: error: package list.List_1 does not exist int N_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/rational_test.java:138: error: illegal start of type int N_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/rational_test.java:139: error: package list does not exist list.List_1 Ns_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/rational_test.java:139: error: package list.List_1 does not exist list.List_1 Ns_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/rational_test.java:140: error: package rational does not exist rational.Rational_0 CF_5 = null; ^ Mercury/javas/jmercury/rational_test.java:141: error: package rational does not exist rational.Rational_0 Var_6 = null; ^ Mercury/javas/jmercury/rational_test.java:143: error: package rational does not exist rational.Rational_0 Var_8 = null; ^ Mercury/javas/jmercury/rational_test.java:146: error: cannot find symbol Var_6 = rational.rational_2_f_0(N_3, Var_7); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:152: error: cannot find symbol Var_8 = rational.reciprocal_1_f_0(CF_5); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:155: error: cannot find symbol HeadVar__2_2 = rational.f_plus_2_f_0(Var_6, Var_8); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:167: error: package list does not exist list.List_1 List_6 = null; ^ Mercury/javas/jmercury/rational_test.java:172: error: package list does not exist List_6 = (list.List_1) rational_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/rational_test.java:175: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/rational_test.java:177: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/rational_test.java:178: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/rational_test.java:191: error: package list.List_1 does not exist Var_11 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:197: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:203: error: package list.List_1 does not exist List_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:219: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/rational_test.java:224: error: package list does not exist HeadVar__3_3 = (list.List_1) rational_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/rational_test.java:227: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/rational_test.java:236: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:250: error: package integer does not exist integer.Integer_0 Num_5 = null; ^ Mercury/javas/jmercury/rational_test.java:251: error: package integer does not exist integer.Integer_0 Den_6 = null; ^ Mercury/javas/jmercury/rational_test.java:254: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/rational_test.java:255: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/rational_test.java:257: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/rational_test.java:258: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/rational_test.java:261: error: cannot find symbol Num_5 = rational.numer_1_f_0(Rat_3); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:264: error: cannot find symbol Den_6 = rational.denom_1_f_0(Rat_3); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:267: error: cannot find symbol NS_7 = integer.to_string_1_f_0(Num_5); ^ symbol: variable integer location: class rational_test Mercury/javas/jmercury/rational_test.java:270: error: cannot find symbol ND_8 = integer.to_string_1_f_0(Den_6); ^ symbol: variable integer location: class rational_test Mercury/javas/jmercury/rational_test.java:273: error: package list does not exist Var_13 = (list.List_1) rational_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/rational_test.java:275: error: package list.List_1 does not exist Var_12 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:281: error: package list.List_1 does not exist Var_10 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:287: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:293: error: cannot find symbol S_4 = string.append_list_2_p_0(Var_9); ^ symbol: variable string location: class rational_test 87 errors make[3]: *** [/tmp/mmake.7g8U6R:2364: rational_test] Error 1 make[3]: Target 'rational_test.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-17/tests/hard_coded'