Remove HasSrcSpan (#17494)

Metric Decrease:
    haddock.compiler
22 jobs for master in 44 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Lint
passed #213218
lint
lint-linters

00:00:14

failed #213221
lint
lint-submods-branch

00:00:13

passed #213219
lint
lint-testsuite

00:00:15

passed #213220
lint
typecheck-testsuite

00:00:13

 
  Quick Build
skipped #213222
x86_64-linux
hadrian-ghc-in-ghci
 
  Build
skipped #213225
x86_64-linux
release-x86_64-linux-deb9-dwarf
skipped #213224
x86_64-linux
validate-x86_64-linux-deb9-debug
skipped #213223
x86_64-linux
validate-x86_64-linux-deb9-hadrian
 
  Full Build
skipped #213228
aarch64-linux allowed to fail
validate-aarch64-linux-deb9
skipped #213229
armv7-linux allowed to fail
validate-armv7-linux-deb9
skipped #213230
x86_64-linux
validate-i386-linux-deb9
skipped #213227
x86_64-darwin
validate-x86_64-darwin
skipped #213231
x86_64-linux
validate-x86_64-linux-deb9-integer-simple
skipped #213226
x86_64-linux
validate-x86_64-linux-deb9-unreg-hadrian
skipped #213232
x86_64-linux
validate-x86_64-linux-fedora27
skipped #213234
x86_64-windows allowed to fail
validate-x86_64-windows
skipped #213233
x86_64-windows allowed to fail
validate-x86_64-windows-hadrian
 
  Cleanup
passed #213235
x86_64-darwin
cleanup-darwin

00:00:12

 
  Packaging
skipped #213236
x86_64-linux allowed to fail
doc-tarball
 
  Testing
skipped #213237
x86_64-linux allowed to fail manual
hackage
skipped #213238
x86_64-linux
perf-nofib
 
  Deploy
skipped #213239
x86_64-linux allowed to fail
pages
 
Name Stage Failure
failed
lint-submods-branch Lint
Fetching origin
Entering 'utils/haddock'
Fetching origin
Entering 'utils/hsc2hs'
Fetching origin
$ submodchecker . $(git rev-list $CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA)
Submodule update(s) detected in 5aba5d3218330f8ce127aa7767efcbb6f63a2db1:
*FAIL* commit message does not contain magic 'submodule' word
ERROR: Job failed: exit code 1