MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - petdr1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - petdr1 Making Mercury/int3s/petdr1.int3 Making Mercury/ints/petdr1.int Making Mercury/javas/jmercury/petdr1.java petdr1.m:012: In module `petdr1': petdr1.m:012: warning: module `require' is imported in the interface, but it petdr1.m:012: is not used in the interface. petdr1.m:017: Warning: the determinism declaration for `interpreter'(out) could petdr1.m:017: be tighter. petdr1.m:017: Declared `nondet', inferred `det'. petdr1.m:019: Warning: the determinism declaration for `which'(out) could be petdr1.m:019: tighter. petdr1.m:019: Declared `nondet', inferred `multi'. petdr1.m:028: Warning: the condition of this if-then-else cannot succeed. petdr1.m:029: Warning: the negated goal cannot succeed. Making Java class files Mercury/javas/jmercury/petdr1.java:58: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/petdr1.java:75: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/petdr1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "petdr1"; ^ Mercury/javas/jmercury/petdr1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/petdr1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/petdr1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class petdr1 Mercury/javas/jmercury/petdr1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class petdr1 Mercury/javas/jmercury/petdr1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/petdr1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class petdr1 Mercury/javas/jmercury/petdr1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class petdr1 Mercury/javas/jmercury/petdr1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class petdr1 Mercury/javas/jmercury/petdr1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class petdr1 Mercury/javas/jmercury/petdr1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/petdr1.java:64: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(Out_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/petdr1.java:87: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__1_1), ((java.lang.Object) (cont_env_ptr))); ^ 15 errors make[3]: *** [/tmp/mmake.0XtVNP:1282: petdr1] Error 1 make[3]: Target 'petdr1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/general' ERROR OUTPUT petdr1.m:012: In module `petdr1': petdr1.m:012: warning: module `require' is imported in the interface, but it petdr1.m:012: is not used in the interface. petdr1.m:017: Warning: the determinism declaration for `interpreter'(out) could petdr1.m:017: be tighter. petdr1.m:017: Declared `nondet', inferred `det'. petdr1.m:019: Warning: the determinism declaration for `which'(out) could be petdr1.m:019: tighter. petdr1.m:019: Declared `nondet', inferred `multi'. petdr1.m:028: Warning: the condition of this if-then-else cannot succeed. petdr1.m:029: Warning: the negated goal cannot succeed. END OF THE ERROR OUTPUT