MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - environment.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - environment Making Mercury/int3s/environment.int3 Making Mercury/ints/environment.int Making Mercury/javas/jmercury/environment.java Making Java class files Mercury/javas/jmercury/environment.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/environment.java:47: 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/environment.java:48: 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[2]; ^ Mercury/javas/jmercury/environment.java:187: error: package bool does not exist bool.Bool_0 ShouldBeSet_7, ^ Mercury/javas/jmercury/environment.java:188: error: package bool does not exist bool.Bool_0 ShouldBePrinted_8) ^ Mercury/javas/jmercury/environment.java:292: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/environment.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "environment"; ^ Mercury/javas/jmercury/environment.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/environment.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/environment.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class environment Mercury/javas/jmercury/environment.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class environment Mercury/javas/jmercury/environment.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/environment.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/environment.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/environment.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class environment Mercury/javas/jmercury/environment.java:47: 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/environment.java:48: 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[2]; ^ Mercury/javas/jmercury/environment.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/environment.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:59: error: package list does not exist (list.List_1) environment.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/environment.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:64: error: package list does not exist (list.List_1) environment.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/environment.java:72: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:72: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/environment.java:73: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:73: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/environment.java:99: error: cannot find symbol io__environment.set_environment_var_4_p_0(Var_19, Var_20); ^ symbol: variable io__environment location: class environment Mercury/javas/jmercury/environment.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/environment.java:110: error: package bool does not exist bool.Bool_0 Var_8 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:110: error: package bool does not exist bool.Bool_0 Var_8 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:111: error: package bool does not exist bool.Bool_0 Var_9 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/environment.java:111: error: package bool does not exist bool.Bool_0 Var_9 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/environment.java:113: error: package bool does not exist bool.Bool_0 Var_12 = null; ^ Mercury/javas/jmercury/environment.java:114: error: package bool does not exist bool.Bool_0 Var_13 = null; ^ Mercury/javas/jmercury/environment.java:115: error: package exception does not exist exception.Exception_result_1 TryResult_15 = null; ^ Mercury/javas/jmercury/environment.java:122: error: package bool does not exist Var_12 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/environment.java:123: error: package bool does not exist Var_13 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:128: error: cannot find symbol TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class environment Mercury/javas/jmercury/environment.java:128: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/environment.java:130: error: cannot find symbol TryResult_15 = exception.try_io_4_p_0(TypeCtorInfo_32_32, TryLambda_30); ^ symbol: variable exception location: class environment Mercury/javas/jmercury/environment.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/environment.java:136: error: package univ does not exist univ.Univ_0 Var_16 = ((exception.Exception_result_1.Exception_1) TryResult_15).F1; ^ Mercury/javas/jmercury/environment.java:136: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_16 = ((exception.Exception_result_1.Exception_1) TryResult_15).F1; ^ Mercury/javas/jmercury/environment.java:140: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_16); ^ symbol: variable exception location: class environment Mercury/javas/jmercury/environment.java:141: error: package jmercury.runtime does not exist TypeInfo_28_28 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/environment.java:146: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:149: error: cannot find symbol io.write_line_3_p_0(TypeInfo_28_28, E_4); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:155: error: package bool does not exist bool.Bool_0 Var_23 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:155: error: package bool does not exist bool.Bool_0 Var_23 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:156: error: package bool does not exist bool.Bool_0 Var_24 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:156: error: package bool does not exist bool.Bool_0 Var_24 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:190: error: package maybe does not exist maybe.Maybe_1 MaybeValue_10 = null; ^ Mercury/javas/jmercury/environment.java:191: error: package bool does not exist bool.Bool_0 Ok_12 = null; ^ Mercury/javas/jmercury/environment.java:192: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/environment.java:194: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/environment.java:195: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/environment.java:198: error: cannot find symbol MaybeValue_10 = io__environment.get_environment_var_4_p_0(Var_6); ^ symbol: variable io__environment location: class environment Mercury/javas/jmercury/environment.java:201: error: package list does not exist Var_20 = (list.List_1) environment.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/environment.java:203: error: package list.List_1 does not exist Var_19 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:209: error: package list.List_1 does not exist Var_16 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:215: error: cannot find symbol io.write_strings_3_p_0(Var_16); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:222: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:225: error: cannot find symbol Ok_12 = bool.not_2_p_0(ShouldBeSet_7); ^ symbol: variable bool location: class environment Mercury/javas/jmercury/environment.java:230: error: package maybe.Maybe_1 does not exist java.lang.String Value_11 = ((java.lang.String) ((maybe.Maybe_1.Yes_1) MaybeValue_10).F1); ^ Mercury/javas/jmercury/environment.java:232: error: illegal start of type switch (ShouldBePrinted_8.MR_value) { ^ Mercury/javas/jmercury/environment.java:239: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/environment.java:241: error: package list does not exist list.List_1 Var_26 = null; ^ Mercury/javas/jmercury/environment.java:242: error: package list does not exist list.List_1 Var_27 = (list.List_1) environment.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/environment.java:242: error: package list does not exist list.List_1 Var_27 = (list.List_1) environment.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/environment.java:245: error: package list.List_1 does not exist Var_26 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:251: error: package list.List_1 does not exist Var_23 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:257: error: cannot find symbol io.write_strings_3_p_0(Var_23); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:262: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/environment.java:266: error: illegal start of type switch (Ok_12.MR_value) { ^ Mercury/javas/jmercury/environment.java:272: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:281: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:286: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 81 errors make[3]: *** [/tmp/mmake.H27xdk:1282: environment] Error 1 make[3]: Target 'environment.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/general'