MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1306: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.wnxQ5L:1948: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/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-10-23/stage2/scripts/mmc --make --options-file - instances_pc.instances_pc_helper_1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/tests/invalid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1306: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1947: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1948: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Vq1UhC:1948: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/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-10-23/stage2/scripts/mmc --make --options-file - instances_pc.instances_pc_helper_1.err Making Mercury/int3s/instances_pc.int3 Making Mercury/int3s/instances_pc.instances_pc_helper_1.int3 Making Mercury/int0s/instances_pc.int0 Making Mercury/ints/instances_pc.int Making Mercury/ints/instances_pc.instances_pc_helper_1.int ** Nothing to be done for `instances_pc.instances_pc_helper_1.err'. if { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/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-10-23/stage2/scripts/mmc --make --options-file - -r instances_pc.instances_pc_helper_1.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing instances_pc.instances_pc_helper_1.err with instances_pc.instances_pc_helper_1.err_exp*, results in instances_pc.instances_pc_helper_1.err_res ** instances_pc.instances_pc_helper_1.err did not match the expected error output ** (closest match was instances_pc.instances_pc_helper_1.err_res2) --- instances_pc.instances_pc_helper_1.err_exp2 2023-10-26 21:55:27.000000000 +1100 +++ instances_pc.instances_pc_helper_1.err 2024-10-24 18:32:36.715313920 +1100 @@ -1,4 +1,4 @@ -Mercury/int0s/instances_pc.int0:005: Inconsistent instance declaration for -Mercury/int0s/instances_pc.int0:005: typeclass `instances_pc.foo'/2 with +Mercury/int0s/instances_pc.int0:005: Error: inconsistent instance declaration +Mercury/int0s/instances_pc.int0:005: for typeclass `instances_pc.foo'/2 with Mercury/int0s/instances_pc.int0:005: functional dependency `(A -> B)'. instances_pc.instances_pc_helper_1.m:019: Here is the conflicting instance. make[3]: *** [../Mmake.common:172: instances_pc.instances_pc_helper_1.err_res] Error 1 make[3]: Target 'instances_pc.instances_pc_helper_1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-23/tests/invalid' ERROR OUTPUT Mercury/int0s/instances_pc.int0:005: Error: inconsistent instance declaration Mercury/int0s/instances_pc.int0:005: for typeclass `instances_pc.foo'/2 with Mercury/int0s/instances_pc.int0:005: functional dependency `(A -> B)'. instances_pc.instances_pc_helper_1.m:019: Here is the conflicting instance. END OF THE ERROR OUTPUT