Optimize MonadUnique instances based on IO (#16843)

Metric Decrease:
    T14683
22 jobs for master in 507 minutes and 44 seconds (queued for 8 seconds)
Status Job ID Name Coverage
  Lint
passed #205906
lint
lint-linters

00:00:28

passed #205909
lint
lint-submods-branch

00:00:30

passed #205907
lint
lint-testsuite

00:00:30

passed #205908
lint
typecheck-testsuite

00:00:25

 
  Quick Build
passed #205910
x86_64-linux
hadrian-ghc-in-ghci

00:22:29

 
  Build
passed #205913
x86_64-linux
release-x86_64-linux-deb9-dwarf

01:40:34

passed #205912
x86_64-linux
validate-x86_64-linux-deb9-debug

02:59:22

passed #205911
x86_64-linux
validate-x86_64-linux-deb9-hadrian

03:24:53

 
  Full Build
failed #205916
aarch64-linux allowed to fail
validate-aarch64-linux-deb9

03:19:39

failed #205917
armv7-linux allowed to fail
validate-armv7-linux-deb9

03:33:25

passed #205918
x86_64-linux
validate-i386-linux-deb9

02:00:36

passed #205915
x86_64-darwin
validate-x86_64-darwin

01:06:34

failed #205919
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

01:51:39

passed #205914
x86_64-linux
validate-x86_64-linux-deb9-unreg-hadrian

04:38:57

passed #205920
x86_64-linux
validate-x86_64-linux-fedora27

01:33:43

failed #205922
x86_64-windows allowed to fail
validate-x86_64-windows

00:03:43

failed #205921
x86_64-windows allowed to fail
validate-x86_64-windows-hadrian

00:06:04

 
  Cleanup
passed #205923
x86_64-darwin
cleanup-darwin

00:00:12

 
  Packaging
skipped #205924
x86_64-linux allowed to fail
doc-tarball
 
  Testing
skipped #205925
x86_64-linux allowed to fail manual
hackage
skipped #205926
x86_64-linux
perf-nofib
 
  Deploy
skipped #205927
x86_64-linux allowed to fail
pages
 
Name Stage Failure
failed
validate-x86_64-linux-deb9-integer-simple Full Build
junit.xml: found 1 matching files                  
performance-metrics.tsv: found 1 matching files

WARNING: Uploading artifacts to coordinator... failed id=205919 responseStatus=500 Internal Server Error status=500 Internal Server Error token=Ur2-Whxf
WARNING: Retrying... error=invalid argument
WARNING: Uploading artifacts to coordinator... failed id=205919 responseStatus=500 Internal Server Error status=500 Internal Server Error token=Ur2-Whxf
WARNING: Retrying... error=invalid argument
WARNING: Uploading artifacts to coordinator... failed id=205919 responseStatus=500 Internal Server Error status=500 Internal Server Error token=Ur2-Whxf
FATAL: invalid argument
ERROR: Job failed: exit code 1
failed
validate-aarch64-linux-deb9 Full Build
junit.xml: found 1 matching files                  
performance-metrics.tsv: found 1 matching files

WARNING: Uploading artifacts to coordinator... failed id=205916 responseStatus=500 Internal Server Error status=500 Internal Server Error token=os13_xVv
WARNING: Retrying... error=invalid argument
WARNING: Uploading artifacts to coordinator... failed id=205916 responseStatus=500 Internal Server Error status=500 Internal Server Error token=os13_xVv
WARNING: Retrying... error=invalid argument
WARNING: Uploading artifacts to coordinator... failed id=205916 responseStatus=500 Internal Server Error status=500 Internal Server Error token=os13_xVv
FATAL: invalid argument
ERROR: Job failed: exit code 1
failed
validate-armv7-linux-deb9 Full Build
junit.xml: found 1 matching files                  
performance-metrics.tsv: found 1 matching files

WARNING: Uploading artifacts to coordinator... failed id=205917 responseStatus=500 Internal Server Error status=500 Internal Server Error token=wCoFNwb8
WARNING: Retrying... error=invalid argument
WARNING: Uploading artifacts to coordinator... failed id=205917 responseStatus=500 Internal Server Error status=500 Internal Server Error token=wCoFNwb8
WARNING: Retrying... error=invalid argument
WARNING: Uploading artifacts to coordinator... failed id=205917 responseStatus=500 Internal Server Error status=500 Internal Server Error token=wCoFNwb8
FATAL: invalid argument
ERROR: Job failed: exit code 1
failed
validate-x86_64-windows Full Build
Runtime platform                                    arch=amd64 os=windows pid=3148 revision=1f513601 version=11.10.1
WARNING: $BIN_DIST_PREP_TAR_COMP: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=7516 revision=1f513601 version=11.10.1
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1
failed
validate-x86_64-windows-hadrian Full Build
Runtime platform                                    arch=amd64 os=windows pid=312 revision=1f513601 version=11.10.1
WARNING: ghc.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=6752 revision=1f513601 version=11.10.1
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1