MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/tests/hard_coded'
{ echo MCFLAGS += '--grade csharp    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs    '; echo MCFLAGS += ' '; echo CFLAGS += '    '; echo JAVACFLAGS += '-J"-Xmx1024m"   '; echo CSCFLAGS += '   '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/stage2/scripts/mmc --make --options-file - read_bitmap_size.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/tests/hard_coded'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/tests/hard_coded'
{ echo MCFLAGS += '--grade csharp    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs    '; echo MCFLAGS += ' '; echo CFLAGS += '    '; echo JAVACFLAGS += '-J"-Xmx1024m"   '; echo CSCFLAGS += '   '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/stage2/scripts/mmc --make --options-file - read_bitmap_size
Making Mercury/int3s/read_bitmap_size.int3
Making Mercury/ints/read_bitmap_size.int
Making Mercury/css/read_bitmap_size.cs
Making read_bitmap_size.exe
{ test -f read_bitmap_size.inp && cat read_bitmap_size.inp; } | ./read_bitmap_size > read_bitmap_size.out 2>&1 || \
	{ grep . read_bitmap_size.out /dev/null; exit 1; }
read_bitmap_size.out:Uncaught Mercury exception:
read_bitmap_size.out:io_error_exception_object("error closing file: Cannot access a disposed object.\nObject name: \'Stream has been closed\'.", '<<foreign(system_error, System.ObjectDisposedException: Cannot access a disposed object.\nObject name: \'Stream has been closed\'.\n  at System.IO.FileStream.Write (System.Byte[] array, System.Int32 offset, System.Int32 count) [0x00010] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 \n  at System.IO.BufferedStream.FlushWrite () [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 \n  at System.IO.BufferedStream.Flush () [0x00012] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 \n  at System.IO.BufferedStream.Dispose (System.Boolean disposing) [0x00011] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 \n  at System.IO.Stream.Close () [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 \n  at mercury.io__stream_ops.mercury_close (mercury.io__stream_ops+MR_MercuryFileStruct mf) [0x0003a] in <5422127ab67c463e9f55b463c18d348b>:0 \n  at mercury.io.close_binary_output_3_p_0 (mercury.io+Binary_output_stream_0 HeadVar__1_1) [0x00011] in <5422127ab67c463e9f55b463c18d348b>:0 )>>')
gmake[3]: *** [../Mmake.common:115: read_bitmap_size.out] Error 1
gmake[3]: Target 'read_bitmap_size.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/tests/hard_coded'