MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/scripts/mmc --make --options-file - singleton_test.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/scripts/mmc --make --options-file - singleton_test.err Making Mercury/int3s/singleton_test.int3 Making Mercury/ints/singleton_test.int Making singleton_test.err ... output log truncated, see `singleton_test.err' for the complete log. 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.m:013: Warning: unresolved polymorphism in function singleton_test.m:013: `my_append_func'/2. 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' and `L2' occur only once in singleton_test.m:035: this 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:042: In the C# code for predicate `my_c_pred'/3: singleton_test.m:042: warning: variable `Y' does not occur in the C# code. singleton_test.m:055: In the C# code for function `my_c_func'/2: singleton_test.m:055: warning: variable `X' does not occur in the C# code. singleton_test.m:071: In the C# code for predicate `c_hello_world'/3: singleton_test.m:071: warning: variable `Msg' does not occur in the C# 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' and `B' occur only once in this singleton_test.m:082: scope. For more information, recompile with `-E'. --- singleton_test.err_exp3 2024-05-20 21:50:23.000000000 +1000 +++ singleton_test.err 2024-07-20 15:56:20.226718239 +1000 @@ -1,28 +1,27 @@ -singleton_test.m:013: In function `my_append_func'/2: -singleton_test.m:013: warning: unresolved polymorphism. +singleton_test.m:013: Warning: unresolved polymorphism in function +singleton_test.m:013: `my_append_func'/2. singleton_test.m:013: The variables with unbound types were: -singleton_test.m:013: L1 -singleton_test.m:013: L2 +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: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:035: warning: variables `L1' and `L2' occur only once in +singleton_test.m:035: this 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:036: warning: variable `T' occurs only once in this scope. +singleton_test.m:042: In the C# code for predicate `my_c_pred'/3: +singleton_test.m:042: warning: variable `Y' does not occur in the C# code. +singleton_test.m:055: In the C# code for function `my_c_func'/2: +singleton_test.m:055: warning: variable `X' does not occur in the C# code. +singleton_test.m:071: In the C# code for predicate `c_hello_world'/3: +singleton_test.m:071: warning: variable `Msg' does not occur in the C# 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: 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: warning: variables `A' and `B' occur only once in this singleton_test.m:082: scope. For more information, recompile with `-E'. make[3]: *** [/tmp/mmake.He6jWK:920: 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-07-19/tests/warnings' ERROR OUTPUT singleton_test.m:013: Warning: unresolved polymorphism in function singleton_test.m:013: `my_append_func'/2. 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' and `L2' occur only once in singleton_test.m:035: this 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:042: In the C# code for predicate `my_c_pred'/3: singleton_test.m:042: warning: variable `Y' does not occur in the C# code. singleton_test.m:055: In the C# code for function `my_c_func'/2: singleton_test.m:055: warning: variable `X' does not occur in the C# code. singleton_test.m:071: In the C# code for predicate `c_hello_world'/3: singleton_test.m:071: warning: variable `Msg' does not occur in the C# 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' and `B' occur only once in this singleton_test.m:082: scope. For more information, recompile with `-E'. END OF THE ERROR OUTPUT