MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-18/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-18/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-18/stage2/scripts/mmc --make --options-file - singleton_test.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-18/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-18/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-18/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-18/stage2/scripts/mmc --make --options-file - singleton_test.err Making Mercury/int3s/singleton_test.int3 Making Mercury/ints/singleton_test.int ** Nothing to be done for `singleton_test.err'. rm -f singleton_test.res_error diff -u singleton_test.err_exp singleton_test.err > singleton_test.res_error || \ { test -f singleton_test.err_exp2 && \ diff -u singleton_test.err_exp2 singleton_test.err > singleton_test.res_error; } || \ { test -f singleton_test.err_exp3 && \ diff -u singleton_test.err_exp3 singleton_test.err > singleton_test.res_error; } || \ { test -f singleton_test.err_exp4 && \ diff -u singleton_test.err_exp4 singleton_test.err > singleton_test.res_error; } || \ { cat singleton_test.err; cat singleton_test.res_error; exit 1; } --- singleton_test.err_exp3 2024-05-20 21:50:23.000000000 +1000 +++ singleton_test.err 2024-09-19 15:27:48.336057293 +1000 @@ -1,28 +0,0 @@ -singleton_test.m:013: In function `my_append_func'/2: -singleton_test.m:013: warning: unresolved polymorphism. -singleton_test.m:013: The variables with unbound types were: -singleton_test.m:013: L1 -singleton_test.m:013: L2 -singleton_test.m:013: Their types will be implicitly set to the builtin type -singleton_test.m:013: `void'. -singleton_test.m:031: In clause for predicate `my_append'/3: -singleton_test.m:031: warning: variable `L2' occurs only once in this scope. -singleton_test.m:035: In clause for function `my_append_func'/2: -singleton_test.m:035: warning: variables `L1, L2' occur only once in this -singleton_test.m:035: scope. -singleton_test.m:036: In clause for function `my_append_func'/2: -singleton_test.m:036: warning: variable `T' occurs only once in this scope. -singleton_test.m:046: In the Java code for predicate `my_c_pred'/3: -singleton_test.m:046: warning: variable `Y' does not occur in the Java code. -singleton_test.m:059: In the Java code for function `my_c_func'/2: -singleton_test.m:059: warning: variable `X' does not occur in the Java code. -singleton_test.m:076: In the Java code for predicate `c_hello_world'/3: -singleton_test.m:076: warning: variable `Msg' does not occur in the Java -singleton_test.m:076: code. -singleton_test.m:082: In clause for predicate `test_head'/6: -singleton_test.m:082: warning: variable `_D' occurs more than once in this -singleton_test.m:082: scope. -singleton_test.m:082: In clause for predicate `test_head'/6: -singleton_test.m:082: warning: variables `A, B' occur only once in this -singleton_test.m:082: scope. -For more information, recompile with `-E'. make[3]: *** [/tmp/mmake.9AyOUq:922: singleton_test.res_error] Error 1 make[3]: Target 'singleton_test.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-18/tests/warnings'