MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/tests/declarative_debugger' /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/scripts/mmc --generate-dependencies --grade asm_fast.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl --trace rep --trace-table-io-all io_tab_impure > io_tab_impure.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/tests/declarative_debugger' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/tests/declarative_debugger' /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/scripts/mmc --make-interface --grade asm_fast.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl --trace rep --trace-table-io-all io_tab_impure /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/scripts/mmc --compile-to-c --grade asm_fast.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl --trace rep --trace-table-io-all io_tab_impure > io_tab_impure.err 2>&1 /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/scripts/mgnuc --grade asm_fast.par.gc -- -c io_tab_impure.c -o io_tab_impure.o /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/scripts/mgnuc --grade asm_fast.par.gc -- -c io_tab_impure_init.c -o io_tab_impure_init.o /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/scripts/ml --grade asm_fast.par.gc --no-mercury-stdlib-dir --trace --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/browser/mer_browser.init --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/mdbcomp/mer_mdbcomp.init --ssdb-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/ssdb/mer_ssdb.init -- -o io_tab_impure io_tab_impure_init.o \ io_tab_impure.o \ /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/trace/libmer_trace.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/trace/libmer_eventspec.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/ssdb/libmer_ssdb.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/browser/libmer_browser.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/mdbcomp/libmer_mdbcomp.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/library/libmer_std.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/runtime/libmer_rt.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/boehm_gc/libpar_gc.a MERCURY_OPTIONS="$MERCURY_OPTIONS -de" HOME=/nonexistent MERCURY_SUPPRESS_MDB_BANNER=yes MERCURY_DEBUGGER_INIT=/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/stage2/scripts/test_mdbrc mdb ./io_tab_impure < io_tab_impure.inp \ > io_tab_impure.out 2>&1 \ || { grep . io_tab_impure.out /dev/null; exit 1; } Comparing io_tab_impure.out with io_tab_impure.exp*, results in io_tab_impure.res ** io_tab_impure.out did not match the expected output ** (closest match was io_tab_impure.res1) --- io_tab_impure.exp 2020-10-11 14:28:48.000000000 +1100 +++ io_tab_impure.out 2022-01-25 11:16:29.622861604 +1100 @@ -11,24 +11,16 @@ mdb> f hello E3: C2 EXIT pred io_tab_impure.impure_print_hello/0-0 (det) io_tab_impure.m:28 (io_tab_impure.m:24) mdb> dd -a -impure_print_hello -1 tabled IO action: -print("hello") +helloimpure_print_hello Valid? n impure_print("hello") -1 tabled IO action: -print("hello") Valid? n make_io_state(_) Valid? y print("hello", _, _) -1 tabled IO action: -print("hello") Valid? n Found incorrect contour: print("hello", _, _) -1 tabled IO action: -print("hello") Is this a bug? y - E4: C3 EXIT pred io_tab_impure.print/3-0 (det) io_tab_impure.m:40 (io_tab_impure.m:35) +hello E4: C3 EXIT pred io_tab_impure.print/3-0 (det) io_tab_impure.m:40 (io_tab_impure.m:35) mdb> quit -y make[3]: *** [../Mmake.common:138: io_tab_impure.res] Error 1 make[3]: Target 'io_tab_impure.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-23/tests/declarative_debugger' ERROR OUTPUT io_tab_impure.m:038: Ignoring the io_tab_impure.m:038: `:- pragma table_io(entry_stores_procid_inputs_outputs, alone)' io_tab_impure.m:038: declaration for predicate `io_tab_impure.print'/3 mode io_tab_impure.m:038: 0, because tabling is not compatible with parallel io_tab_impure.m:038: execution. END OF THE ERROR OUTPUT