MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - trace_goal_reorder.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - trace_goal_reorder.class Making Mercury/int3s/trace_goal_reorder.int3 Making Mercury/ints/trace_goal_reorder.int Making Mercury/javas/jmercury/trace_goal_reorder.java trace_goal_reorder.m:022: Warning: new state variable `IO' shadows old one. Making Mercury/classes/jmercury/trace_goal_reorder.class Mercury/javas/jmercury/trace_goal_reorder.java:15: error: package maybe.Maybe_error_2 does not exist private static final maybe.Maybe_error_2.Error_1[] MR_scalar_common_1 = new maybe.Maybe_error_2.Error_1[1]; ^ Mercury/javas/jmercury/trace_goal_reorder.java:30: error: package maybe does not exist public static maybe.Maybe_error_2 ^ Mercury/javas/jmercury/trace_goal_reorder.java:15: error: package maybe.Maybe_error_2 does not exist private static final maybe.Maybe_error_2.Error_1[] MR_scalar_common_1 = new maybe.Maybe_error_2.Error_1[1]; ^ Mercury/javas/jmercury/trace_goal_reorder.java:19: error: package maybe.Maybe_error_2 does not exist new maybe.Maybe_error_2.Error_1( ^ Mercury/javas/jmercury/trace_goal_reorder.java:33: error: package maybe does not exist maybe.Maybe_error_2 Res_4 = null; ^ Mercury/javas/jmercury/trace_goal_reorder.java:34: error: package io does not exist io.Result_1 Res0_6 = null; ^ Mercury/javas/jmercury/trace_goal_reorder.java:37: error: cannot find symbol Res0_6 = io.read_byte_3_p_0(); ^ symbol: variable io location: class trace_goal_reorder Mercury/javas/jmercury/trace_goal_reorder.java:39: error: illegal start of type switch (Res0_6.data_tag) { ^ Mercury/javas/jmercury/trace_goal_reorder.java:42: error: package io.Result_1 does not exist int Byte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res0_6).F1)).intValue(); ^ Mercury/javas/jmercury/trace_goal_reorder.java:42: error: illegal start of type int Byte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res0_6).F1)).intValue(); ^ Mercury/javas/jmercury/trace_goal_reorder.java:45: error: package maybe.Maybe_error_2 does not exist Res_4 = new maybe.Maybe_error_2.Ok_1( ^ Mercury/javas/jmercury/trace_goal_reorder.java:52: error: package maybe does not exist Res_4 = (maybe.Maybe_error_2) trace_goal_reorder.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/trace_goal_reorder.java:56: error: package io does not exist io.Error_0 Err_8 = ((io.Result_1.Error_1) Res0_6).F1; ^ Mercury/javas/jmercury/trace_goal_reorder.java:56: error: package io.Result_1 does not exist io.Error_0 Err_8 = ((io.Result_1.Error_1) Res0_6).F1; ^ Mercury/javas/jmercury/trace_goal_reorder.java:60: error: cannot find symbol Msg_9 = io.error_message_2_p_0(Err_8); ^ symbol: variable io location: class trace_goal_reorder Mercury/javas/jmercury/trace_goal_reorder.java:63: error: package maybe.Maybe_error_2 does not exist Res_4 = new maybe.Maybe_error_2.Error_1( ^ Mercury/javas/jmercury/trace_goal_reorder.java:70: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 17 errors ** Error making `Mercury/classes/jmercury/trace_goal_reorder.class'. make[3]: *** [/tmp/mmake.5PB1e7:1500: trace_goal_reorder.class] Error 1 make[3]: Target 'trace_goal_reorder.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' ERROR OUTPUT trace_goal_reorder.m:022: Warning: new state variable `IO' shadows old one. END OF THE ERROR OUTPUT