Detect TH use in GHCi (fix #18330)

Before this patch, modules using Template Haskell could be considered
stable by GHCi and could pass recompilation avoidance checks while they
mustn't (see #18330).
22 jobs for !3844 with hsyl20/18330 in 398 minutes and 49 seconds
latest detached
Status Job ID Name Coverage
  Lint
passed #413953
lint
ghc-linters

00:03:03

passed #413954
lint
lint-linters

00:03:04

passed #413957
lint
lint-submods

00:00:26

passed #413955
lint
lint-testsuite

00:02:04

passed #413956
lint
typecheck-testsuite

00:00:16

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

00:11:37

 
  Build
passed #413959
x86_64-linux
validate-x86_64-linux-deb9-hadrian

01:54:06

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

03:47:26

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

03:36:41

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

01:39:34

passed #413961
x86_64-darwin
validate-x86_64-darwin

01:08:54

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

01:54:14

passed #413967
x86_64-linux
validate-x86_64-linux-deb9-dwarf

01:44:31

passed #413966
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

00:53:23

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

02:50:15

passed #413968
x86_64-linux
validate-x86_64-linux-fedora27

00:56:51

failed #413970
new-x86_64-windows test allowed to fail
validate-x86_64-windows

00:30:53

failed #413969
new-x86_64-windows test allowed to fail
validate-x86_64-windows-hadrian

00:48:42

 
  Cleanup
passed #413971
x86_64-darwin
cleanup-darwin

00:00:14

 
  Packaging
failed #413972
x86_64-linux allowed to fail
doc-tarball

00:02:31

 
  Testing
manual #413973
x86_64-linux allowed to fail manual
hackage
passed #413974
x86_64-linux
perf-nofib

00:37:43

 
Name Stage Failure
failed
doc-tarball Packaging
Entering 'utils/haddock'
Entering 'utils/hsc2hs'
Downloading artifacts
Downloading artifacts for validate-x86_64-linux-deb9-debug (413965)...
Downloading artifacts from coordinator... ok
id=413965 responseStatus=200 OK token=yXA8CATv
Executing "step_script" stage of the job script
$ if [ ! -f "$LINUX_BINDIST" ]; then # collapsed multi-line command
Error: ghc-x86_64-mingw32.tar.xz does not exist. Did the 64-bit Windows job fail?
ERROR: Job failed: exit code 1
failed
validate-x86_64-windows-hadrian Full Build
Git branch:   13-1-stable
GO version: go1.13.8
Built: 2020-06-19T21:12:23+0000
OS/Arch: windows/amd64
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=8624 revision=6214287e version=13.1.0
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1
failed
validate-x86_64-windows Full Build
Git branch:   13-1-stable
GO version: go1.13.8
Built: 2020-06-19T21:12:23+0000
OS/Arch: windows/amd64
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=1300 revision=6214287e version=13.1.0
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1
failed
validate-armv7-linux-deb9 Full Build
Uploading artifacts...
ghc-armv7-linux-deb9.tar.xz: found 1 matching files

junit.xml: found 1 matching files

performance-metrics.tsv: found 1 matching files

Uploading artifacts to coordinator... ok
id=413963 responseStatus=201 Created token=cWoJ2tKi
Uploading artifacts...
junit.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=413963 responseStatus=201 Created token=cWoJ2tKi
ERROR: Job failed: exit code 1
failed
validate-aarch64-linux-deb9 Full Build
T15630(normal)            compile_time/peak_megabytes_allocated              22.000
(baseline @ HEAD~1) 21.000 [unchanged, 4.8%]
T17096(normal) compile_time/bytes allocated 677208952.000
(baseline @ HEAD~1) 676991832.000 [unchanged, 0.0%]
T17499(normal) runtime/bytes allocated 96040808.000
(baseline @ HEAD~1) 96040808.000 [unchanged, 0.0%]
T17516(normal) compile_time/bytes allocated 2135112056.000
(baseline @ HEAD~1) 2134784294.000 [unchanged, 0.0%]
T17516(normal) compile_time/max_bytes_used
Job's log exceeded limit of 16384000 bytes.