MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid_nodepend' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-24/stage2/scripts/mmc --make --options-file - fundeps_vars.err ** Error making `Mercury/int3s/fundeps_vars.int3'. fundeps_vars.m:022: Error: expected a variable as a functional dependency fundeps_vars.m:022: domain parameter, got `c'. fundeps_vars.m:022: Error: expected a variable as a functional dependency range fundeps_vars.m:022: parameter, got `e'. fundeps_vars.m:029: Error: type variable `F' in the functional dependency is fundeps_vars.m:029: not a parameter of type class `coll'/2. Making Mercury/ints/fundeps_vars.int fundeps_vars.m:022: Error: expected a variable as a functional dependency fundeps_vars.m:022: domain parameter, got `c'. fundeps_vars.m:022: Error: expected a variable as a functional dependency range fundeps_vars.m:022: parameter, got `e'. fundeps_vars.m:029: Error: type variable `F' in the functional dependency is fundeps_vars.m:029: not a parameter of type class `coll'/2. ** Error making `Mercury/ints/fundeps_vars.int'. make[3]: [/tmp/mmake.u9qxgR:921: fundeps_vars.err] Error 1 (ignored) if { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-24/stage2/scripts/mmc --make --options-file - -r fundeps_vars.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing fundeps_vars.err with fundeps_vars.err_exp*, results in fundeps_vars.err_res ** fundeps_vars.err did not match the expected error output ** (closest match was fundeps_vars.err_res1) --- fundeps_vars.err_exp 2024-06-13 22:03:37.000000000 +1000 +++ fundeps_vars.err 2024-07-25 17:04:44.008094377 +1000 @@ -4,9 +4,3 @@ fundeps_vars.m:022: parameter, got `e'. fundeps_vars.m:029: Error: type variable `F' in the functional dependency is fundeps_vars.m:029: not a parameter of type class `coll'/2. -fundeps_vars.m:037: Error: `:- instance' declaration for `coll'/2 without -fundeps_vars.m:037: corresponding `:- typeclass' declaration. -fundeps_vars.m:037: In declaration of instance of typeclass `coll'/2: -fundeps_vars.m:037: error: the typeclass `coll'/2 is undefined. -fundeps_vars.m:044: In declaration of predicate `test'/2: -fundeps_vars.m:044: error: the typeclass `coll'/2 is undefined. make[3]: *** [../Mmake.common:172: fundeps_vars.err_res] Error 1 make[3]: Target 'fundeps_vars.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid_nodepend'