GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2024-03-12T12:05:20Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/23210GHCi 9.4.4 segfault when loading asl-translator2024-03-12T12:05:20ZRyan ScottGHCi 9.4.4 segfault when loading asl-translatorGHCi (as invoked through `cabal repl`) can segfault with GHC 9.4.4 when invoked on the [`asl-translator`](https://github.com/GaloisInc/asl-translator/) library. To reproduce:
```
$ git clone https://github.com/GaloisInc/asl-translator &...GHCi (as invoked through `cabal repl`) can segfault with GHC 9.4.4 when invoked on the [`asl-translator`](https://github.com/GaloisInc/asl-translator/) library. To reproduce:
```
$ git clone https://github.com/GaloisInc/asl-translator && cd asl-translator/
$ git checkout cabal-repl-segfault
$ git submodule update --init
$ ln -s cabal.project.newbuild cabal.project
$ cabal repl -w ghc-9.4.4
```
This will eventually segfault:
```
$ cabal repl -w ghc-9.4.4
Build profile: -w ghc-9.4.4 -O1
In order, the following will be built (use -v for more details):
- asl-translator-0.1.0.0 (lib) (first run)
Preprocessing library for asl-translator-0.1.0.0..
GHCi, version 9.4.4: https://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/ryanglscott/.ghci
[ 1 of 26] Compiling Data.Parameterized.CtxFuns ( lib/Data/Parameterized/CtxFuns.hs, interpreted )
[ 2 of 26] Compiling Data.Parameterized.AssignTree ( lib/Data/Parameterized/AssignTree.hs, interpreted )
[ 3 of 26] Compiling Data.Parameterized.SomeSome ( lib/Data/Parameterized/SomeSome.hs, interpreted )
[ 4 of 26] Compiling Language.ASL.Crucible.Exceptions ( lib/Language/ASL/Crucible/Exceptions.hs, interpreted )
[ 5 of 26] Compiling Language.ASL.Formulas.Attach ( lib/Language/ASL/Formulas/Attach.hs, interpreted )
[ 6 of 26] Compiling Language.ASL.Formulas.Serialize ( lib/Language/ASL/Formulas/Serialize.hs, interpreted )
[ 7 of 26] Compiling Language.ASL.Types ( lib/Language/ASL/Types.hs, interpreted )
[ 8 of 26] Compiling Language.ASL.Globals.Types ( lib/Language/ASL/Globals/Types.hs, interpreted )
[ 9 of 26] Compiling Paths_asl_translator ( /home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build/autogen/Paths_asl_translator.hs, interpreted )
[10 of 26] Compiling Language.ASL.Formulas ( lib/Language/ASL/Formulas.hs, interpreted )
[11 of 26] Compiling Util.Log ( lib/Util/Log.hs, interpreted )
[12 of 26] Compiling Language.ASL.SyntaxTraverse ( lib/Language/ASL/SyntaxTraverse.hs, interpreted )
[13 of 26] Compiling Language.ASL.StaticExpr ( lib/Language/ASL/StaticExpr.hs, interpreted )
[14 of 26] Compiling Language.ASL.Signature ( lib/Language/ASL/Signature.hs, interpreted )
[15 of 26] Compiling Language.ASL.Translation.Exceptions ( lib/Language/ASL/Translation/Exceptions.hs, interpreted )
[16 of 26] Compiling Language.ASL.Crucible.Extension ( lib/Language/ASL/Crucible/Extension.hs, interpreted )
[17 of 26] Compiling Language.ASL.Globals.Definitions ( lib/Language/ASL/Globals/Definitions.hs, interpreted )
[18 of 26] Compiling Language.ASL.Globals ( lib/Language/ASL/Globals.hs, interpreted )
[19 of 26] Compiling Language.ASL.Translation.Preprocess ( lib/Language/ASL/Translation/Preprocess.hs, interpreted )
[20 of 26] Compiling Language.ASL.Translation ( lib/Language/ASL/Translation.hs, interpreted )
[21 of 26] Compiling Language.ASL.Globals.ConsistencyCheck ( lib/Language/ASL/Globals/ConsistencyCheck.hs, interpreted )
Globals consistency check passed.
[22 of 26] Compiling Language.ASL.Crucible ( lib/Language/ASL/Crucible.hs, interpreted )
[23 of 26] Compiling Language.ASL ( lib/Language/ASL.hs, interpreted )
[24 of 26] Compiling What4.Expr.ExprTree ( lib/What4/Expr/ExprTree.hs, interpreted )
[25 of 26] Compiling Language.ASL.Formulas.Normalize ( lib/Language/ASL/Formulas/Normalize.hs, interpreted )
Error: cabal: repl failed for asl-translator-0.1.0.0. The build process
segfaulted (i.e. SIGSEGV).
```
The exact location of the segfault is somewhat nondeterministic, but it does segfault fairly reliably. If I load the GHCi command that `cabal repl` uses into `gdb`, here is the backtrace that I get:
```
(gdb) r
Starting program: /home/ryanglscott/.ghcup/ghc/9.4.4/lib/ghc-9.4.4/bin/ghc-9.4.4 -B/home/ryanglscott/.ghcup/ghc/9.4.4/lib/ghc-9.4.4/lib --interactive -fbuilding-cabal-package -O0 -outputdir /home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build -odir /home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build -hidir /home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build -stubdir /home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build -i -i/home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build -ilib -i/home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build/autogen -i/home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build/global-autogen -I/home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build/autogen -I/home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build/global-autogen -I/home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build -optP-DUNSAFE_OPS -optP-include -optP/home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build/autogen/cabal_macros.h -this-unit-id asl-translator-0.1.0.0-inplace -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db /home/ryanglscott/.cabal/store/ghc-9.4.4/package.db -package-db /home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/packagedb/ghc-9.4.4 -package-db /home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/package.conf.inplace -package-id asl-parser-0.1.0.0-inplace -package-id base-4.17.0.0 -package-id bimap-0.5.0-3b15adda40d4922b46c85076cf11369c03274438eb0359027a2434a2d2edd653 -package-id bv-sized-1.0.5-f17825e2874d236830abebde418f7b72a4774e505cf78248e8a7e9b41d2e1064 -package-id bytestring-0.11.3.1 -package-id constraints-0.13.4-a9b8de62844560532ee38a46973dea5a26f2efbb61364fc5c2ddb27322cfff52 -package-id containers-0.6.6 -package-id crucible-0.6-inplace -package-id directory-1.3.7.1 -package-id dismantle-arm-xml-0.1.0.0-inplace -package-id dismantle-tablegen-0.1.0.0-inplace -package-id filepath-1.4.2.2 -package-id hashtables-1.3.1-8d533a8bc96c226c6a43cedc70a9b4ef1b643180fe18e6e04332f9b5a5f5e996 -package-id ilist-0.3.1.0-6f42c3f1b3d731eaabf90f776f807ea8e2a540d287a5a1bca2b8450e1c6b214d -package-id integer-logarithms-1.0.3.1-618ebf7c0d76b1ec7b0b074924d94de36f135e3b7d3a4e6c9eb71462855ccfe9 -package-id lens-5.2.2-80e4922b0bee2814d2ab07afae5c9faa4f804b8e9686f68ed37a3ea2b97259f0 -package-id mtl-2.2.2 -package-id ordered-containers-0.2.3-8c94e06e333e9bd5ee07233242fb14e0875c0eacd2632294b3e4df6ae1b37252 -package-id panic-0.4.0.1-521f633e3a59ef27711a5e6dbc97cfe583471f760788a62531cabac0cd06db6d -package-id parameterized-utils-2.1.6.0-3a943e5a6f1741aec74c0ee5270e433827b1d7930ceca347eb6e4475848fcbe0 -package-id pretty-1.1.3.6 -package-id prettyprinter-1.7.1-8966f7b39b126d3e6f23d7914649ea33b634b07705b4f7f4e0ca6c0273a7b1e1 -package-id s-cargot-0.1.5.0-05c503815f8a951225a70859c03ab6d507830db8de509e1fc134849051c41740 -package-id split-0.2.3.5-664cbef9d9510ef46c911401b98fe75ad86fdb2be72b13d114d0f7b35fa4f858 -package-id template-haskell-2.19.0.0 -package-id text-2.0.1 -package-id th-compat-0.1.4-92fbb1b1d68867a00b991509e9f99b4c2cdb11c25483de43688b2a4817292aba -package-id time-1.12.2 -package-id transformers-0.5.6.2 -package-id unliftio-core-0.2.1.0-6de77af027be946d76cd07c9970717ae828984b83829a82f3ba640e41f191b02 -package-id vector-0.13.0.0-4b8db3c68269623013c3dfb3c43bc2f75bae6ebf6f4324d50e35712f9995c0d1 -package-id what4-1.4.0.0.99-inplace -package-id zlib-0.6.3.0-7ea06883421c776c2de6a75fab769898002985f65fddb96d9caa7a11f23158a6 -XHaskell2010 Language.ASL Language.ASL.Crucible Language.ASL.Crucible.Extension Language.ASL.Crucible.Exceptions Language.ASL.Signature Language.ASL.Translation Language.ASL.Translation.Preprocess Language.ASL.Translation.Driver Language.ASL.Translation.Exceptions Language.ASL.SyntaxTraverse Language.ASL.Types Language.ASL.Formulas.Serialize Language.ASL.Formulas.Normalize Language.ASL.StaticExpr Language.ASL.Globals Language.ASL.Globals.Types Language.ASL.Globals.Definitions Language.ASL.Globals.ConsistencyCheck Data.Parameterized.CtxFuns Data.Parameterized.AssignTree Data.Parameterized.SomeSome Language.ASL.Formulas.Attach Language.ASL.Formulas Util.Log What4.Expr.ExprTree Paths_asl_translator -Wcompat -Wall -hide-all-packages
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef107700 (LWP 684162)]
[New Thread 0x7fffee906700 (LWP 684163)]
[New Thread 0x7fffee105700 (LWP 684164)]
[New Thread 0x7fffed904700 (LWP 684165)]
GHCi, version 9.4.4: https://www.haskell.org/ghc/ :? for help
[Detaching after vfork from child process 684166]
[Detaching after vfork from child process 684167]
[Detaching after vfork from child process 684168]
[Detaching after vfork from child process 684169]
[Detaching after vfork from child process 684170]
[Detaching after vfork from child process 684171]
[Detaching after vfork from child process 684172]
[Detaching after vfork from child process 684173]
Loaded GHCi configuration from /home/ryanglscott/.ghci
[Detaching after vfork from child process 684174]
[Detaching after vfork from child process 684176]
[Detaching after vfork from child process 684178]
[Detaching after vfork from child process 684180]
[Detaching after vfork from child process 684182]
[Detaching after vfork from child process 684184]
[Detaching after vfork from child process 684186]
[New Thread 0x7fffd9660700 (LWP 684188)]
[ 1 of 26] Compiling Data.Parameterized.CtxFuns ( lib/Data/Parameterized/CtxFuns.hs, interpreted )
[ 2 of 26] Compiling Data.Parameterized.AssignTree ( lib/Data/Parameterized/AssignTree.hs, interpreted )
[ 3 of 26] Compiling Data.Parameterized.SomeSome ( lib/Data/Parameterized/SomeSome.hs, interpreted )
[ 4 of 26] Compiling Language.ASL.Crucible.Exceptions ( lib/Language/ASL/Crucible/Exceptions.hs, interpreted )
[ 5 of 26] Compiling Language.ASL.Formulas.Attach ( lib/Language/ASL/Formulas/Attach.hs, interpreted )
[ 6 of 26] Compiling Language.ASL.Formulas.Serialize ( lib/Language/ASL/Formulas/Serialize.hs, interpreted )
[ 7 of 26] Compiling Language.ASL.Types ( lib/Language/ASL/Types.hs, interpreted )
[ 8 of 26] Compiling Language.ASL.Globals.Types ( lib/Language/ASL/Globals/Types.hs, interpreted )
[ 9 of 26] Compiling Paths_asl_translator ( /home/ryanglscott/Documents/Hacking/Haskell/asl-translator/dist-newstyle/build/x86_64-linux/ghc-9.4.4/asl-translator-0.1.0.0/build/autogen/Paths_asl_translator.hs, interpreted )
[10 of 26] Compiling Language.ASL.Formulas ( lib/Language/ASL/Formulas.hs, interpreted )
[11 of 26] Compiling Util.Log ( lib/Util/Log.hs, interpreted )
[12 of 26] Compiling Language.ASL.SyntaxTraverse ( lib/Language/ASL/SyntaxTraverse.hs, interpreted )
[13 of 26] Compiling Language.ASL.StaticExpr ( lib/Language/ASL/StaticExpr.hs, interpreted )
[14 of 26] Compiling Language.ASL.Signature ( lib/Language/ASL/Signature.hs, interpreted )
[15 of 26] Compiling Language.ASL.Translation.Exceptions ( lib/Language/ASL/Translation/Exceptions.hs, interpreted )
[16 of 26] Compiling Language.ASL.Crucible.Extension ( lib/Language/ASL/Crucible/Extension.hs, interpreted )
[17 of 26] Compiling Language.ASL.Globals.Definitions ( lib/Language/ASL/Globals/Definitions.hs, interpreted )
[18 of 26] Compiling Language.ASL.Globals ( lib/Language/ASL/Globals.hs, interpreted )
[19 of 26] Compiling Language.ASL.Translation.Preprocess ( lib/Language/ASL/Translation/Preprocess.hs, interpreted )
[20 of 26] Compiling Language.ASL.Translation ( lib/Language/ASL/Translation.hs, interpreted )
[21 of 26] Compiling Language.ASL.Globals.ConsistencyCheck ( lib/Language/ASL/Globals/ConsistencyCheck.hs, interpreted )
Globals consistency check passed.
[22 of 26] Compiling Language.ASL.Crucible ( lib/Language/ASL/Crucible.hs, interpreted )
[23 of 26] Compiling Language.ASL ( lib/Language/ASL.hs, interpreted )
[24 of 26] Compiling What4.Expr.ExprTree ( lib/What4/Expr/ExprTree.hs, interpreted )
[25 of 26] Compiling Language.ASL.Formulas.Normalize ( lib/Language/ASL/Formulas/Normalize.hs, interpreted )
Thread 5 "ghc-9.4.4:w" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffed904700 (LWP 684165)]
evacuate1 (p=p@entry=0x425a2d6e00) at rts/sm/Evac.c:704
704 rts/sm/Evac.c: No such file or directory.
(gdb) bt
#0 evacuate1 (p=p@entry=0x425a2d6e00) at rts/sm/Evac.c:704
#1 0x00007fffefd95ef4 in scavenge_block1 (bd=0x425a203580) at rts/sm/Scav.c:601
#2 0x00007fffefdda291 in scavenge_find_work () at rts/sm/Scav.c:2131
#3 scavenge_loop1 () at rts/sm/Scav.c:2178
#4 0x00007fffefdd052a in scavenge_until_all_done () at rts/sm/GC.c:1317
#5 0x00007fffefdd1e32 in GarbageCollect (collect_gen=<optimized out>, collect_gen@entry=1,
do_heap_census=do_heap_census@entry=false, is_overflow_gc=is_overflow_gc@entry=true,
deadlock_detect=deadlock_detect@entry=false, gc_type=gc_type@entry=2, cap=cap@entry=0x5e2050, idle_cap=<optimized out>)
at rts/sm/GC.c:552
#6 0x00007fffefdb56f9 in scheduleDoGC (pcap=pcap@entry=0x7fffed903e70, task=task@entry=0x5fa060,
force_major=force_major@entry=false, is_overflow_gc=<optimized out>, deadlock_detect=deadlock_detect@entry=false)
at rts/Schedule.c:1859
#7 0x00007fffefdb64c5 in schedule (initialCapability=initialCapability@entry=0x7fffefe181c0 <MainCapability>,
task=task@entry=0x5fa060) at rts/Schedule.c:580
#8 0x00007fffefdb7b4c in scheduleWorker (cap=cap@entry=0x7fffefe181c0 <MainCapability>, task=task@entry=0x5fa060)
at rts/Schedule.c:2644
#9 0x00007fffefdbc707 in workerStart (task=0x5fa060) at rts/Task.c:444
#10 0x00007fffefcfe609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fffefb9d133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
```
(I apologize for the very non-minimal reproducer, as I haven't found a way to minimize this.)
I am using 64-bit Ubuntu 20.04, in case that is important.9.10.1https://gitlab.haskell.org/ghc/ghc/-/issues/23138GHC Panic: loadArchive trying to load Nix's clang++ wrapper (darwin-aarch64)2024-03-10T11:39:42ZTravis Whitakerpi.boy.travis@gmail.comGHC Panic: loadArchive trying to load Nix's clang++ wrapper (darwin-aarch64)It seems something has changed about archive loading in the 9.x series (at least 9.2.7 and 9.4.4) that makes GHC not like the shell environment that Nix provides on darwin-aarch64. As is the case strangely often for me, accelerate is the...It seems something has changed about archive loading in the 9.x series (at least 9.2.7 and 9.4.4) that makes GHC not like the shell environment that Nix provides on darwin-aarch64. As is the case strangely often for me, accelerate is the only package I've found that reproduces this. Please forgive the annoying repro, I'm still searching for a smaller one.
First, clone the `loadarchive-bug` branch of my fork of accelerate [here](https://github.com/TravisWhitaker/accelerate/tree/loadarchive-bug). All I've done here is bump `base` in `accelerate.cabal`, and provided two minimal `shell.nix` files that give GHC 9.2.7 or GHC 9.4.4, plus Nixpkgs' current stdenv for darwin-aarch64. Then, all you have to do (with either the 927-shell.nix or 944-shell.nix) is:
```
$ cat shell.nix
let pkgsrc = builtins.fetchGit
{
url = "https://github.com/nixos/nixpkgs";
ref = "master";
rev = "38637c5c8fddf9c5b454918acf309c55e3809af1";
};
in with import pkgsrc {};
let thisghc = haskell.packages.ghc927.ghcWithPackages (p: [p.cabal-install]);
in mkShell
{
packages = [thisghc];
}
$ nix-shell --pure
[nix-shell:~/sources/accelerate]$ cabal clean
[nix-shell:~/sources/accelerate]$ cabal build
Resolving dependencies...
Build profile: -w ghc-9.2.7 -O1
In order, the following will be built (use -v for more details):
- accelerate-1.3.0.0 (lib:accelerate) (first run)
[1 of 1] Compiling Main ( /Users/twhitaker/sources/accelerate/dist-newstyle/build/aarch64-osx/ghc-9.2.7/accelerate-1.3.0.0/setup/setup.hs, /Users/twhitaker/sources/accelerate/dist-newstyle/build/aarch64-osx/ghc-9.2.7/accelerate-1.3.0.0/setup/Main.o )
Linking /Users/twhitaker/sources/accelerate/dist-newstyle/build/aarch64-osx/ghc-9.2.7/accelerate-1.3.0.0/setup/setup ...
Configuring accelerate-1.3.0.0...
Preprocessing library for accelerate-1.3.0.0..
Building library for accelerate-1.3.0.0..
[ 1 of 109] Compiling Crypto.Hash.XKCP ( src/Crypto/Hash/XKCP.hs, /Users/twhitaker/sources/accelerate/dist-newstyle/build/aarch64-osx/ghc-9.2.7/accelerate-1.3.0.0/build/Crypto/Hash/XKCP.o, /Users/twhitaker/sources/accelerate/dist-newstyle/build/aarch64-osx/ghc-9.2.7/accelerate-1.3.0.0/build/Crypto/Hash/XKCP.dyn_o )
ghc: loadArchive: Neither an archive, nor a fat archive: `/nix/store/wqjp99m9d4dzi4ydwj87xr0z2dfygv9b-clang-wrapper-11.1.0/bin/clang++'
ghc: panic! (the 'impossible' happened)
(GHC version 9.2.7:
loadArchive "/nix/store/wqjp99m9d4dzi4ydwj87xr0z2dfygv9b-clang-wrapper-11.1.0/bin/clang++": failed
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
```
Initially I was surprised that compiling modules needs to load archives in the first place, but then I realized it's because of the Template Haskell in `src/Crypto/Hash/XKCP.hs`. I'm not sure why it's picking on `clang++` in particular. I think it might have something to do with the fact that accelerate depends on double-conversion, which in turn depends on some C++ something or other.
Both https://gitlab.haskell.org/ghc/ghc/-/issues/16590#note_195984 and https://gitlab.haskell.org/ghc/ghc/-/issues/16063 seem related, but not exactly the same (and at least partially solved on the 9.x series).9.8.2Ben GamariBen Gamarihttps://gitlab.haskell.org/ghc/ghc/-/issues/23111Core Lint error with -fdefer-type-errors and kind error2023-03-14T15:16:29ZKrzysztof GogolewskiCore Lint error with -fdefer-type-errors and kind errorThe following program fails `ghc -dcore-lint -fdefer-type-errors`
```haskell
{-# LANGUAGE TypeFamilies #-}
module M where
import Data.Kind
type F :: Type
type family F
type G :: F
type family G
x :: G
x = ()
```
<details>
```haske...The following program fails `ghc -dcore-lint -fdefer-type-errors`
```haskell
{-# LANGUAGE TypeFamilies #-}
module M where
import Data.Kind
type F :: Type
type family F
type G :: F
type family G
x :: G
x = ()
```
<details>
```haskell
*** Core Lint errors : in result of Desugar (before optimization) ***
<no location info>: warning:
Non-CoVar has coercion type co_awK :: F ~# *
Substitution: <InScope = {}
IdSubst = []
TvSubst = []
CvSubst = []>
*** Offending Program ***
Rec {
co_awK :: F ~# *
[LclId[CoVarId]]
co_awK
= case typeError
@LiftedRep
@()
"M.hs:12:6: error: [GHC-83865]\n\
\ \\226\\128\\162 Expected a type, but \\226\\128\\152G\\226\\128\\153 has kind \\226\\128\\152F\\226\\128\\153\n\
\ \\226\\128\\162 In the type signature: x :: G\n\
\(deferred type error)"#
of wild_00 {
}
$trModule :: Module
[LclIdX]
$trModule = Module (TrNameS "main"#) (TrNameS "M"#)
x :: (G |> co_awK)
[LclIdX]
x = case case typeError
@LiftedRep
@()
"M.hs:13:5: error: [GHC-18872]\n\
\ \\226\\128\\162 Couldn't match kind \\226\\128\\152F\\226\\128\\153 with \\226\\128\\152*\\226\\128\\153\n\
\ When matching types\n\
\ G :: F\n\
\ () :: *\n\
\ \\226\\128\\162 In the expression: ()\n\
\ In an equation for \\226\\128\\152x\\226\\128\\153: x = ()\n\
\(deferred type error)"#
of wild_00 {
}
of co_ayG
{ __DEFAULT ->
case case typeError
@LiftedRep
@()
"M.hs:13:5: error: [GHC-18872]\n\
\ \\226\\128\\162 Couldn't match kind \\226\\128\\152F\\226\\128\\153 with \\226\\128\\152*\\226\\128\\153\n\
\ When matching types\n\
\ G :: F\n\
\ () :: *\n\
\ \\226\\128\\162 In the expression: ()\n\
\ In an equation for \\226\\128\\152x\\226\\128\\153: x = ()\n\
\(deferred type error)"#
of wild_00 {
}
of co_ayH
{ __DEFAULT ->
()
`cast` (Sub (Sym (co_ayH
; Sym (GRefl nominal () (Sym co_ayG)))
; GRefl nominal G co_awK)
:: () ~R# (G |> co_awK))
}
}
end Rec }
```
</details>https://gitlab.haskell.org/ghc/ghc/-/issues/23080Backpack nameModule panic2023-03-06T14:03:11Zsheafsam.derbyshire@gmail.comBackpack nameModule panicThe following variation on the `bkpreex01` test causes a panic:
```haskell
unit t23080-unit1 where
signature H1 where
data T
unit t23080-unit2 where
dependency t23080-unit1[H1=<H2>]
module B where
data T = MkT
signature ...The following variation on the `bkpreex01` test causes a panic:
```haskell
unit t23080-unit1 where
signature H1 where
data T
unit t23080-unit2 where
dependency t23080-unit1[H1=<H2>]
module B where
data T = MkT
signature H2(T(MkT)) where
import B
```
```
λ ghc --backpack T23080.bkp
[1 of 2] Processing t23080-unit1
[1 of 1] Compiling H1[sig] ( t23080-unit1\H1.hsig, nothing )
[2 of 2] Processing t23080-unit2
[1 of 3] Compiling B ( t23080-unit2\B.hs, nothing )
[2 of 3] Compiling H2[sig] ( t23080-unit2\H2.hsig, nothing )
<no location info>: error:
panic! (the 'impossible' happened)
GHC version 9.4.4:
nameModule
internal MkT_02y
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler\GHC\Utils\Panic.hs:182:37 in ghc:GHC.Utils.Panic
pprPanic, called at compiler\GHC\Types\Name.hs:325:3 in ghc:GHC.Types.Name
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
```
The issue has to do with the export of the data constructor `MkT` from `H2`... changing the export to `T(..)` makes the panic go away.https://gitlab.haskell.org/ghc/ghc/-/issues/23061ArrowChoice and RebindableSyntax causes core lint error2023-06-05T12:02:10ZEdsko de VriesArrowChoice and RebindableSyntax causes core lint errorThe below module causes a panic about "no skolem info" in ghc 8.6, 8.8 and 8.10, and a core lint error in ghc 9.0, 9.2, 9.4, and 9.7.20230301
```haskell
{-# LANGUAGE Arrows #-}
{-# LANGUAGE RebindableSyntax #-}
{-# OPTIONS_GH...The below module causes a panic about "no skolem info" in ghc 8.6, 8.8 and 8.10, and a core lint error in ghc 9.0, 9.2, 9.4, and 9.7.20230301
```haskell
{-# LANGUAGE Arrows #-}
{-# LANGUAGE RebindableSyntax #-}
{-# OPTIONS_GHC -dcore-lint #-}
module T where
import Prelude
import Control.Arrow
ifThenElse :: Bool -> a -> a -> a
ifThenElse b x y = if b then x else y
f :: ArrowChoice arr => (Int -> Int -> Bool) -> arr Int t -> arr (Int, Int) t
f p f = proc (x,y) ->
if p x y
then f -< x+1
else f -< y+2
```https://gitlab.haskell.org/ghc/ghc/-/issues/23060Bytecode interpreter: ASSERT failed - conflation of isUnliftedType == Addr#2023-06-21T17:36:40ZMatthew PickeringBytecode interpreter: ASSERT failed - conflation of isUnliftedType == Addr#```
<no location info>: error:
ASSERT failed!
CallStack (from HasCallStack):
massert, called at compiler/GHC/StgToByteCode.hs:1802:15 in ghc:GHC.StgToByteCode
```
The `UnlGadt1` test
```haskell
{-# LANGUAGE UnliftedDatatypes ...```
<no location info>: error:
ASSERT failed!
CallStack (from HasCallStack):
massert, called at compiler/GHC/StgToByteCode.hs:1802:15 in ghc:GHC.StgToByteCode
```
The `UnlGadt1` test
```haskell
{-# LANGUAGE UnliftedDatatypes #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE KindSignatures #-}
import GHC.Exts
import GHC.Types
data T a :: UnliftedType where
TInt :: T Int
f :: T a -> Int
f _ = 0
g :: T a -> T a
g TInt = TInt
{-# NOINLINE g #-}
main = do
case g TInt of TInt -> putStrLn "should see this"
print (f (error "boom")) -- crashes!
```
```
"/home/matt/ghc-9.6-backports/_debug_clean/stage1/bin/ghc" UnlGadt1.hs -dcore-lint -dstg-lint -dcmm-lint --interactive
```Alexis KingAlexis Kinghttps://gitlab.haskell.org/ghc/ghc/-/issues/23051Panic with representation polymorphism check2023-06-11T11:58:23ZKrzysztof GogolewskiPanic with representation polymorphism checkSimilar, but not the same as #22743.
This invalid program causes a crash in `typeKind` during representation polymorphism checking in 9.4 and master:
```haskell
{-# LANGUAGE MagicHash #-}
module M where
import GHC.Exts
i :: forall f ...Similar, but not the same as #22743.
This invalid program causes a crash in `typeKind` during representation polymorphism checking in 9.4 and master:
```haskell
{-# LANGUAGE MagicHash #-}
module M where
import GHC.Exts
i :: forall f g (a :: TYPE (f g)). a -> a
i = i
x = i 0#
```
GHC 9.2 gives a correct error
```
M.hs:9:7: error:
• Couldn't match kind ‘'IntRep’ with ‘f g’
When matching types
a :: TYPE (f g)
Int# :: TYPE 'IntRep
• In the first argument of ‘i’, namely ‘0#’
In the expression: i 0#
In an equation for ‘x’: x = i 0#
• Relevant bindings include x :: a (bound at M.hs:9:1)
|
9 | x = i 0#
| ^^
```Simon Peyton JonesSimon Peyton Joneshttps://gitlab.haskell.org/ghc/ghc/-/issues/23020Panic on wrong imports with TypeData2023-02-27T23:54:12ZKrzysztof GogolewskiPanic on wrong imports with TypeDataGiven
```haskell
{-# LANGUAGE TypeData #-}
module TD where
type data A = X | Y | Z
```
This is accepted:
```haskell
module TD2 where
import TD (Y(X))
```
It shouldn't be: `X` is not a constructor of `Y`. Adding one more
```haskell...Given
```haskell
{-# LANGUAGE TypeData #-}
module TD where
type data A = X | Y | Z
```
This is accepted:
```haskell
module TD2 where
import TD (Y(X))
```
It shouldn't be: `X` is not a constructor of `Y`. Adding one more
```haskell
module TD2 where
import TD (Y(X), Z(X))
```
causes a panic:
```
<no location info>: error:
panic! (the 'impossible' happened)
GHC version 9.7.20230218:
hasParent
parent:Y parent:Z
```Aaron AllenAaron Allenhttps://gitlab.haskell.org/ghc/ghc/-/issues/22775JS: add warning for unsupported JS files on the command-line?2024-01-02T07:05:41ZSylvain HenryJS: add warning for unsupported JS files on the command-line?GHC built with the JS backend supports `.js` files passed on the command-line. However any other GHC fails with something like:
```
❯ ghc-master jsbits/lib.js
/usr/bin/ld.gold: error: jsbits/lib.o:2:1: syntax error, unexpected STRING
/u...GHC built with the JS backend supports `.js` files passed on the command-line. However any other GHC fails with something like:
```
❯ ghc-master jsbits/lib.js
/usr/bin/ld.gold: error: jsbits/lib.o:2:1: syntax error, unexpected STRING
/usr/bin/ld.gold: error: jsbits/lib.o: not an object or archive
/tmp/ghc177084_0/ghc_2.o:ghc_1.c:function main: error: undefined reference to 'ZCMain_main_closure'
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
```
It would be nice to warn the user about unsupported JS files when the target isn't JS and to fail nicely instead.9.10.1Sylvain Henrydoyougnujmy6342@gmail.comSylvain Henryhttps://gitlab.haskell.org/ghc/ghc/-/issues/22655TH + out-of-scope variable panic2023-01-17T14:53:42ZKrzysztof GogolewskiTH + out-of-scope variable panicThis silly program, which splices an out-of-scope variable, causes a panic:
```haskell
{-# OPTIONS_GHC -fdefer-out-of-scope-variables #-}
{-# LANGUAGE TemplateHaskell #-}
module X where
import Language.Haskell.TH
a :: Code Q Int
a = [...This silly program, which splices an out-of-scope variable, causes a panic:
```haskell
{-# OPTIONS_GHC -fdefer-out-of-scope-variables #-}
{-# LANGUAGE TemplateHaskell #-}
module X where
import Language.Haskell.TH
a :: Code Q Int
a = [|| outOfScope ||]
```
```haskell
{-# LANGUAGE TemplateHaskell #-}
module Y where
import X
b = $$(a)
```
```
<no location info>: error:
panic! (the 'impossible' happened)
GHC version 9.5.20221216:
unfilled unbound-variable evidence
a241
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Panic.hs:189:37 in ghc:GHC.Utils.Panic
pprPanic, called at compiler/GHC/Tc/Utils/TcMType.hs:307:27 in ghc:GHC.Tc.Utils.TcMType
CallStack (from HasCallStack):
panic, called at compiler/GHC/Utils/Error.hs:454:29 in ghc:GHC.Utils.Error
```https://gitlab.haskell.org/ghc/ghc/-/issues/22535Regression: infinite loop on quantified constraints2022-12-13T00:10:12ZThomas WinantRegression: infinite loop on quantified constraints```haskell
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE QuantifiedConstraints #-}
module Test where
class Eq r => Op op r
class (forall r. Eq r => Op op r) => HasResult op
foo :: HasResult op => op -> Bool
foo _ = True == False
...```haskell
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE QuantifiedConstraints #-}
module Test where
class Eq r => Op op r
class (forall r. Eq r => Op op r) => HasResult op
foo :: HasResult op => op -> Bool
foo _ = True == False
```
GHC 8.10.7 accepts the above program, but GHC 9.0.2, 9.2.5, 9.4.3, and a [recent git release](https://gitlab.haskell.org/ghc/ghc/-/commit/11627c422cfba5e1d84afb08f427007dbc801f10/) all reject it with:
```
Test.hs:9:14: error:
• Reduction stack overflow; size = 201
When simplifying the following type: Eq Bool
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
• In the expression: True == False
In an equation for ‘foo’: foo _ = True == False
```
Raising the bound or disabling the check doesn't help.
Removing the `HasResult op` constraint from `foo` makes the program compile again.
It seems that GHC, when it tries to solve the `Eq Bool` constraint, is not using the top-level instance, but looping via the quantified constraint of the local `HasResult` constraint.https://gitlab.haskell.org/ghc/ghc/-/issues/22002GHC 9.0.2 panics when building Adga 2.6.2.2 on i386 and mipsel2023-08-01T17:27:01ZScott TalbertGHC 9.0.2 panics when building Adga 2.6.2.2 on i386 and mipsel## Summary
GHC 9.0.2 panics when building Adga 2.6.2.2 on i386 and mipsel architectures (both 32-bit)
```
[345 of 401] Compiling Agda.TypeChecking.Rules.Term ( src/full/Agda/TypeChecking/Rules/Term.hs, dist-ghc/build/Agda/TypeChecking/...## Summary
GHC 9.0.2 panics when building Adga 2.6.2.2 on i386 and mipsel architectures (both 32-bit)
```
[345 of 401] Compiling Agda.TypeChecking.Rules.Term ( src/full/Agda/TypeChecking/Rules/Term.hs, dist-ghc/build/Agda/TypeChecking/Rules/Term.o, dist-ghc/build/Agda/TypeChecking/Rules/Term.dyn_o )
ghc: panic! (the 'impossible' happened)
(GHC version 9.0.2:
applyTypeToArgs
Expression: lambdaAnnotationCheck13
ds18_s6rOs checkTacticAttribute_s ds20_s6rOu
Type: Addr#
Args: [ds18_s6rOs, checkTacticAttribute_s, ds20_s6rOu]
Args': [ds18_s6rOs, checkTacticAttribute_s, ds20_s6rOu]
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Outputable.hs:1230:37 in ghc:GHC.Utils.Outputable
pprPanic, called at compiler/GHC/Core/Utils.hs:276:17 in ghc:GHC.Core.Utils
```
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
The full logs are available here:
https://buildd.debian.org/status/fetch.php?pkg=agda&arch=i386&ver=2.6.2.2-1&stamp=1659812412&raw=0
https://buildd.debian.org/status/fetch.php?pkg=agda&arch=mipsel&ver=2.6.2.2-1&stamp=1659816519&raw=0
## Steps to reproduce
Try to build Agda 2.6.2.2 with GHC 9.0.2.
## Expected behavior
Build completes successfully.
## Environment
* GHC version used: 9.0.2
Optional:
* Operating System: Debian Unstable
* System Architecture: i386, mipsel9.10.1https://gitlab.haskell.org/ghc/ghc/-/issues/21607Panic on bad newtype unpacking2022-05-24T17:05:10ZKrzysztof GogolewskiPanic on bad newtype unpackingThis silly declaration causes a panic in `isUnliftedType`:
```haskell
{-# LANGUAGE UnliftedNewtypes #-}
import GHC.Exts
newtype T (a :: TYPE r) = MkT {-# UNPACK #-} a
```This silly declaration causes a panic in `isUnliftedType`:
```haskell
{-# LANGUAGE UnliftedNewtypes #-}
import GHC.Exts
newtype T (a :: TYPE r) = MkT {-# UNPACK #-} a
```Krzysztof GogolewskiKrzysztof Gogolewskihttps://gitlab.haskell.org/ghc/ghc/-/issues/21561GHC does not terminate2022-05-17T14:35:25ZMarcin SzamotulskiGHC does not terminate## Summary
### Non termination bug
When compiling `typed-protocols` package in the following branch [coot/typed-protocols-rewrite-pointed-queue](https://github.com/input-output-hk/ouroboros-network/tree/coot/typed-protocols-rewrite-poin...## Summary
### Non termination bug
When compiling `typed-protocols` package in the following branch [coot/typed-protocols-rewrite-pointed-queue](https://github.com/input-output-hk/ouroboros-network/tree/coot/typed-protocols-rewrite-pointed-queue), `GHC` does not terminate to compile the [Data.Type.Queue](https://github.com/input-output-hk/ouroboros-network/blob/coot/typed-protocols-rewrite-pointed-queue/typed-protocols/src/Data/Type/Queue.hs) module if compiling with `optimisation: 1`;
GHC is stuck while doing simplification:
```
unflattenGivens []
Result size of Desugar (before optimization)
= {terms: 1,349, types: 3,919, coercions: 210, joins: 0/84}
Result size of Desugar (after optimization)
= {terms: 1,151, types: 3,226, coercions: 201, joins: 1/7}
!!! Desugar [Data.Type.Queue]: finished in 50.30 milliseconds, allocated 12.117 megabytes
*** Simplifier [Data.Type.Queue]:
Result size of Simplifier iteration=1
= {terms: 1,491, types: 3,243, coercions: 391, joins: 1/31}
Result size of Simplifier iteration=2
= {terms: 1,421, types: 3,030, coercions: 355, joins: 1/7}
```
### Typechecker bug
When compiling with `optimisation: 0`, the `Data.Type.Queue` module compiles, but chaning a type signature in [`Network.TypedProtocol.Peer`](https://github.com/input-output-hk/ouroboros-network/blob/coot/typed-protocols-rewrite-pointed-queue/typed-protocols/src/Network/TypedProtocol/Peer.hs#L177-L193=) module (see the link), I can trigger the following error:
```
<no location info>: error:
ghc: panic! (the 'impossible' happened)
(GHC version 8.10.7:
metaTyVarRef
st_a1Rj[sk:1]
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/utils/Outputable.hs:1179:37 in ghc:Outputable
pprPanic, called at compiler/typecheck/TcType.hs:1032:14 in ghc:TcType
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
```
The bogus type signature:
```
YieldPipelined
:: forall ps pr (st :: ps) (st' :: ps) q st'' m stm a.
( SingI st
, SingI st'
, ActiveState st
)
=> (ReflRelativeAgency (StateAgency st)
WeHaveAgency
(Relative pr (StateAgency st)))
-- ^ agency singleton
-> Message ps st st'
-- ^ protocol message
-> Peer ps st'' pr 'Pipelined (q |> Tr st' st'') m stm a
-- ^ continuation
-> Peer ps st pr 'Pipelined q m stm a
```
The right one is the following (adding kind annotation for `q` is not needed to fix this error, but it's easier to understand the example, the important part is swapping the order of `q` and `st''` in the `forall` which binds them):
```
YieldPipelined
:: forall ps pr (st :: ps) (st' :: ps) (st'' :: ps) (q :: Queue ps st) m stm a.
( SingI st
, SingI st'
, ActiveState st
)
=> (ReflRelativeAgency (StateAgency st)
WeHaveAgency
(Relative pr (StateAgency st)))
-- ^ agency singleton
-> Message ps st st'
-- ^ protocol message
-> Peer ps st'' pr 'Pipelined (q |> Tr st' st'') m stm a
-- ^ continuation
-> Peer ps st pr 'Pipelined q m stm a
```
## Steps to reproduce
run `cabal build -O1 typed-protocols`; you can also copy the module and compile it with `ghc` directly, as it has no internal dependencies, it only depends on `base`.
## Expected behavior
### Non termination bug
I'd expect compilation to terminate.
### Typechecker bug
I'd expect to report that `st''` is not in scope, as when trying to compile something like this:
```
{-# LANGUAGE ScopedTypeVariables #-}
foo :: forall (x :: y). ... -- here GHC will complain about `y` not being in scope
```
## Environment
* GHC version used: ghc-8.10.7
Optional:
* Operating System: linux, Fedora, ghc installed with `ghcup`
* System Architecture: amd648.10.8https://gitlab.haskell.org/ghc/ghc/-/issues/21348GHC 9.0.2 panics with: coVarKindsTypesRole, non coercion variable2023-10-05T09:38:20ZHanStolpoGHC 9.0.2 panics with: coVarKindsTypesRole, non coercion variable## Summary
Compiling the supplied example with optimisations enabled with GHC version 9.0.2 results in a GHC panic `coVarKindsTypesRole, non coercion variable`. It seems related to deriving a `FromJSON` instance using generics for a rec...## Summary
Compiling the supplied example with optimisations enabled with GHC version 9.0.2 results in a GHC panic `coVarKindsTypesRole, non coercion variable`. It seems related to deriving a `FromJSON` instance using generics for a record when it contains Vinyl record. The issue does not appear to be present when using GHC version 9.2.2.
## Steps to reproduce
Given this minimal sample [GhcBug.hs](/uploads/16c1a071b4dfd1c536e2cb4880f83a13/GhcBug.hs) (There is also this cabal project with the required dependencies [ghc-bug-0.0.0.0.tar.gz](/uploads/5328ca6b2befb1abbfb590a4b8cb9e7e/ghc-bug-0.0.0.0.tar.gz) ).
```haskell
{-# language DataKinds #-}
{-# language DeriveAnyClass #-}
{-# language DeriveGeneric #-}
{-# language TypeOperators #-}
{-# options_ghc -O2 #-}
module GhcBug
( ParseIpc2581(..)
) where
-- aeson 2.0.2.0
import Data.Aeson ( FromJSON )
-- base 4.15.1.0
import GHC.Generics ( Generic(..) )
-- docrecords 0.1.0.0 patched to work with aeson-2
-- source-repository-package
-- type: git
-- location: https://github.com/circuithub/porcupine
-- tag: 0f7dd7067d1176aab76e131fe4a7c4eaba5a590f
-- subdir: docrecords
import Data.DocRecord
-- vinyl 0.14.3
import Data.Vinyl.Functor
type Options =
Rec (Compose WithDoc PossiblyEmptyField)
'[ '["optimize"] ':|: Bool
, '["mask-type"] ':|: Bool
, '["resolution"] ':|: Bool
, '["timeout-seconds"] ':|: Bool
, '["size-ratio"] ':|: Bool
, '["min-svg-size"] ':|: Bool
]
data ParseIpc2581 = ParseIpc2581
{ ipc2581File :: FilePath
, ucamcoJobPrefix :: String
, svgOptions :: Options
} deriving (Generic, FromJSON)
```
Compile with optimizations on with the environment supplied by cabal
```
cabal exec ghc -- -O2 -fforce-recomp GhcBug.hs -v
```
## Expected behavior
When compiling the file GHC panics with `coVarKindsTypesRole, non coercion variable` and the following output is displayed.
```
Loaded package environment from /home/handre/dev/ghc-bug/dist-newstyle/tmp/environment.-415846/.ghc.environment.x86_64-linux-9.0.2
Glasgow Haskell Compiler, Version 9.0.2, stage 2 booted by GHC version 8.10.7
*** initializing unit database:
Using binary package database: /nix/store/2zfhlbjpxwzarkxfbddj52ksbzkavblv-ghc-9.0.2/lib/ghc-9.0.2/package.conf.d/package.cache
Using binary package database: /home/handre/.cabal/store/ghc-9.0.2/package.db/package.cache
Using binary package database: /home/handre/dev/ghc-bug/dist-newstyle/packagedb/ghc-9.0.2/package.cache
package flags [-package-id aeson-2.0.3.0-ea0fc8184998f1ceda6814ec5dc2b1b4cc039c93dcfba7b6e86d60166689abfe{unit aeson-2.0.3.0-ea0fc8184998f1ceda6814ec5dc2b1b4cc039c93dcfba7b6e86d60166689abfe True ([])},
-package-id OneTuple-0.3.1-9ea6356f1cee3873c92dc51ef92036e8ca62171d9a0bdb34d30dd58bf0ef0885{unit OneTuple-0.3.1-9ea6356f1cee3873c92dc51ef92036e8ca62171d9a0bdb34d30dd58bf0ef0885 True ([])},
-package-id base-4.15.1.0{unit base-4.15.1.0 True ([])},
-package-id ghc-bignum-1.1{unit ghc-bignum-1.1 True ([])},
-package-id ghc-prim-0.7.0{unit ghc-prim-0.7.0 True ([])},
-package-id rts{unit rts True ([])},
-package-id base-orphans-0.8.6-6928e2cbc0865b26493d937a1da219d844cc78c58d3a8879b19e0c09f607cc85{unit base-orphans-0.8.6-6928e2cbc0865b26493d937a1da219d844cc78c58d3a8879b19e0c09f607cc85 True ([])},
-package-id template-haskell-2.17.0.0{unit template-haskell-2.17.0.0 True ([])},
-package-id ghc-boot-th-9.0.2{unit ghc-boot-th-9.0.2 True ([])},
-package-id pretty-1.1.3.6{unit pretty-1.1.3.6 True ([])},
-package-id deepseq-1.4.5.0{unit deepseq-1.4.5.0 True ([])},
-package-id array-0.5.4.0{unit array-0.5.4.0 True ([])},
-package-id QuickCheck-2.14.2-0c7f5115b9190e0c296f816bfcd00c19cd356a8b5211cf667467a3d51faa6351{unit QuickCheck-2.14.2-0c7f5115b9190e0c296f816bfcd00c19cd356a8b5211cf667467a3d51faa6351 True ([])},
-package-id containers-0.6.4.1{unit containers-0.6.4.1 True ([])},
-package-id random-1.2.1-d27ababe61b59e43bce417c7ca9e4ccdeb091336ddc42085ceef219350a8bfe4{unit random-1.2.1-d27ababe61b59e43bce417c7ca9e4ccdeb091336ddc42085ceef219350a8bfe4 True ([])},
-package-id bytestring-0.10.12.1{unit bytestring-0.10.12.1 True ([])},
-package-id mtl-2.2.2{unit mtl-2.2.2 True ([])},
-package-id transformers-0.5.6.2{unit transformers-0.5.6.2 True ([])},
-package-id splitmix-0.1.0.4-6525e81601e0d606db968cc7160e17855e9a3689f7d115d7c7cdee8c25faf71a{unit splitmix-0.1.0.4-6525e81601e0d606db968cc7160e17855e9a3689f7d115d7c7cdee8c25faf71a True ([])},
-package-id attoparsec-0.14.4-89b6e09c0be192391a5f92d46beb081475472983a77c3a90352f7cec349c70aa{unit attoparsec-0.14.4-89b6e09c0be192391a5f92d46beb081475472983a77c3a90352f7cec349c70aa True ([])},
-package-id attoparsec-0.14.4-l-attoparsec-internal-1c84e1b8d306a0bc15d57271cf3b505ff3b7b23cdc550eef674cc593ba7435c4{unit attoparsec-0.14.4-l-attoparsec-internal-1c84e1b8d306a0bc15d57271cf3b505ff3b7b23cdc550eef674cc593ba7435c4 True ([])},
-package-id text-1.2.5.0{unit text-1.2.5.0 True ([])},
-package-id binary-0.8.8.0{unit binary-0.8.8.0 True ([])},
-package-id scientific-0.3.7.0-eca7b6d4f4bc59c50ffba19420ec5cca68c6f9877a70afa702dbd8f7539c4e8a{unit scientific-0.3.7.0-eca7b6d4f4bc59c50ffba19420ec5cca68c6f9877a70afa702dbd8f7539c4e8a True ([])},
-package-id hashable-1.4.0.2-59e00660091e43ec8761dfc344b6277d0d08a691d5fab8910b4b823eb7d0c114{unit hashable-1.4.0.2-59e00660091e43ec8761dfc344b6277d0d08a691d5fab8910b4b823eb7d0c114 True ([])},
-package-id integer-logarithms-1.0.3.1-a991bf57ec32c5a8c3c17c7abc1529e576b79f7cfa320aa4b2f5c3fa24b86acf{unit integer-logarithms-1.0.3.1-a991bf57ec32c5a8c3c17c7abc1529e576b79f7cfa320aa4b2f5c3fa24b86acf True ([])},
-package-id primitive-0.7.3.0-3c5fbf69f38da257385c73a8d05d0f992ae3e633b8624c52bf91afdaa10bae06{unit primitive-0.7.3.0-3c5fbf69f38da257385c73a8d05d0f992ae3e633b8624c52bf91afdaa10bae06 True ([])},
-package-id base-compat-batteries-0.12.1-eb513bc701cc9e20ff0a4b962fb150d1ccb5cf9dccca63ad10c9e6ce3894466a{unit base-compat-batteries-0.12.1-eb513bc701cc9e20ff0a4b962fb150d1ccb5cf9dccca63ad10c9e6ce3894466a True ([])},
-package-id base-compat-0.12.1-277f1271cdde81a9712609f89d9ca45c50bf1d48490dd150fff5e32081ea7d7e{unit base-compat-0.12.1-277f1271cdde81a9712609f89d9ca45c50bf1d48490dd150fff5e32081ea7d7e True ([])},
-package-id unix-2.7.2.2{unit unix-2.7.2.2 True ([])},
-package-id time-1.9.3{unit time-1.9.3 True ([])},
-package-id data-fix-0.3.2-7d33d13794cc90daa7bea4df089b0e285952d04545d68bbe69a3468b260d3d82{unit data-fix-0.3.2-7d33d13794cc90daa7bea4df089b0e285952d04545d68bbe69a3468b260d3d82 True ([])},
-package-id dlist-1.0-a6b06eb06860bcfd368ae60dccd8a740a5f75e2bfc6e421541982ee3ba8284dc{unit dlist-1.0-a6b06eb06860bcfd368ae60dccd8a740a5f75e2bfc6e421541982ee3ba8284dc True ([])},
-package-id indexed-traversable-0.1.2-7540b83fa13d56f250568b03724c44a8160b94df4fc0d32f71c13a26d0cb78ba{unit indexed-traversable-0.1.2-7540b83fa13d56f250568b03724c44a8160b94df4fc0d32f71c13a26d0cb78ba True ([])},
-package-id semialign-1.2.0.1-79c45c757993da39600f2031c5c34a85d8b6da855ba89277c9d44280b47174da{unit semialign-1.2.0.1-79c45c757993da39600f2031c5c34a85d8b6da855ba89277c9d44280b47174da True ([])},
-package-id indexed-traversable-instances-0.1.1-bc105dceb9fbb4615864574e62ded0d7f2c969539a0bc95b3ba0f9a0c3d04708{unit indexed-traversable-instances-0.1.1-bc105dceb9fbb4615864574e62ded0d7f2c969539a0bc95b3ba0f9a0c3d04708 True ([])},
-package-id tagged-0.8.6.1-2b7056bde22b3a072311638463eb135e658b801ca4b55eeab0bd771490757081{unit tagged-0.8.6.1-2b7056bde22b3a072311638463eb135e658b801ca4b55eeab0bd771490757081 True ([])},
-package-id unordered-containers-0.2.17.0-059392114c64a2037cb1c4231fe3c1bac48814b15b70e5f5c69d755db5768fa4{unit unordered-containers-0.2.17.0-059392114c64a2037cb1c4231fe3c1bac48814b15b70e5f5c69d755db5768fa4 True ([])},
-package-id vector-0.12.3.1-b8db386be78bb04a1843716f4c33bb196177279f2f8b3c60cbb45b6530094059{unit vector-0.12.3.1-b8db386be78bb04a1843716f4c33bb196177279f2f8b3c60cbb45b6530094059 True ([])},
-package-id semigroupoids-5.3.7-d5d410802678d629bfb3e465f3d3dff6ae740952a57fcf5f76ac923c09328ffb{unit semigroupoids-5.3.7-d5d410802678d629bfb3e465f3d3dff6ae740952a57fcf5f76ac923c09328ffb True ([])},
-package-id bifunctors-5.5.11-90123566f33d2ef78606a848bb0e29aeaa8978ae0ca16439cad8da7264020a65{unit bifunctors-5.5.11-90123566f33d2ef78606a848bb0e29aeaa8978ae0ca16439cad8da7264020a65 True ([])},
-package-id comonad-5.0.8-2ecfce1261dcc6623e9ecbefc8e8b7e66b40802e921fb33ab02eb10c52962242{unit comonad-5.0.8-2ecfce1261dcc6623e9ecbefc8e8b7e66b40802e921fb33ab02eb10c52962242 True ([])},
-package-id distributive-0.6.2.1-2338d95554d0967192dff33a0aa1755cc4c4f34eb60dc03c3799e49d24ea2241{unit distributive-0.6.2.1-2338d95554d0967192dff33a0aa1755cc4c4f34eb60dc03c3799e49d24ea2241 True ([])},
-package-id transformers-compat-0.7.1-efa9673ee15391bfa78329252ae671105e6372233b948f41508f6ddf52348402{unit transformers-compat-0.7.1-efa9673ee15391bfa78329252ae671105e6372233b948f41508f6ddf52348402 True ([])},
-package-id th-abstraction-0.4.3.0-1c68597309713ea27c0e4b7dc4348c0c27b03a644dc5aa0e20c5e6793371347e{unit th-abstraction-0.4.3.0-1c68597309713ea27c0e4b7dc4348c0c27b03a644dc5aa0e20c5e6793371347e True ([])},
-package-id contravariant-1.5.5-0e143b53f97486008838c513fae5eda5aee3a8d6a3e22dee220bb157340abad0{unit contravariant-1.5.5-0e143b53f97486008838c513fae5eda5aee3a8d6a3e22dee220bb157340abad0 True ([])},
-package-id StateVar-1.2.2-5418cd17e7bc5d255ecbac856de427c7f041d9658febb445a6133a010cd0151c{unit StateVar-1.2.2-5418cd17e7bc5d255ecbac856de427c7f041d9658febb445a6133a010cd0151c True ([])},
-package-id stm-2.5.0.0{unit stm-2.5.0.0 True ([])},
-package-id these-1.1.1.1-45dc2bde8e2e848d54399ffb0700de5c76920e0d149097d757ab7e753ec97ca3{unit these-1.1.1.1-45dc2bde8e2e848d54399ffb0700de5c76920e0d149097d757ab7e753ec97ca3 True ([])},
-package-id assoc-1.0.2-f4da7afebb3a60570dbecfddb732191766a1f33a0589df8a9d2ecd87773a156a{unit assoc-1.0.2-f4da7afebb3a60570dbecfddb732191766a1f33a0589df8a9d2ecd87773a156a True ([])},
-package-id strict-0.4.0.1-9414977f4420198d83f51adc44bcfc219570eb2fc965b8e7c97aae6993899a38{unit strict-0.4.0.1-9414977f4420198d83f51adc44bcfc219570eb2fc965b8e7c97aae6993899a38 True ([])},
-package-id text-short-0.1.5-b7726591a043031bea5cde17754691c6babc9bc4e03b962deec1b2d097a47fda{unit text-short-0.1.5-b7726591a043031bea5cde17754691c6babc9bc4e03b962deec1b2d097a47fda True ([])},
-package-id time-compat-1.9.6.1-acabd5d39bff1f3438c7aecc9fb660bf562fbf794372eda625de8913d984083b{unit time-compat-1.9.6.1-acabd5d39bff1f3438c7aecc9fb660bf562fbf794372eda625de8913d984083b True ([])},
-package-id uuid-types-1.0.5-be53558f99995ff9bf9f974f97676f2bd7bfb8241d687749056f75a02d814a79{unit uuid-types-1.0.5-be53558f99995ff9bf9f974f97676f2bd7bfb8241d687749056f75a02d814a79 True ([])},
-package-id witherable-0.4.2-3b2824f722c423350fbd15f489161ef77ae778c9e3349cdeed0db131082901b6{unit witherable-0.4.2-3b2824f722c423350fbd15f489161ef77ae778c9e3349cdeed0db131082901b6 True ([])},
-package-id docrecords-0.1.0.0-ccd6f2cac33bba9614f0aa132c2c3fa6306767f172fc616f1ab26bab60a58cdc{unit docrecords-0.1.0.0-ccd6f2cac33bba9614f0aa132c2c3fa6306767f172fc616f1ab26bab60a58cdc True ([])},
-package-id data-default-0.7.1.1-edbddbdf428e98abbe91d850ed95c9d4b561b65b91a24856877a3c74ff714baa{unit data-default-0.7.1.1-edbddbdf428e98abbe91d850ed95c9d4b561b65b91a24856877a3c74ff714baa True ([])},
-package-id data-default-class-0.1.2.0-9e2eb1584d665564d36abb6dcf2f09b00aed09635653c2064b56d7634c114edc{unit data-default-class-0.1.2.0-9e2eb1584d665564d36abb6dcf2f09b00aed09635653c2064b56d7634c114edc True ([])},
-package-id data-default-instances-containers-0.0.1-97d0ae45e77faeb1e3bcafdb3ce1874a1ec3d843ae0373d5023b74c817494377{unit data-default-instances-containers-0.0.1-97d0ae45e77faeb1e3bcafdb3ce1874a1ec3d843ae0373d5023b74c817494377 True ([])},
-package-id data-default-instances-dlist-0.0.1-594beec10b7a55237f55c07c52f18ee5e37da59c4c283b781717d1601274666f{unit data-default-instances-dlist-0.0.1-594beec10b7a55237f55c07c52f18ee5e37da59c4c283b781717d1601274666f True ([])},
-package-id data-default-instances-old-locale-0.0.1-093df202b5283890a569a485db0ab222881582d3f544008741d53bc5a937040c{unit data-default-instances-old-locale-0.0.1-093df202b5283890a569a485db0ab222881582d3f544008741d53bc5a937040c True ([])},
-package-id old-locale-1.0.0.7-c7240c6ee240c35a32fc541ce6be5f20483700af69ba458b9ef76e34b7763daf{unit old-locale-1.0.0.7-c7240c6ee240c35a32fc541ce6be5f20483700af69ba458b9ef76e34b7763daf True ([])},
-package-id lens-5.1-dc63915c35a27f2da318ebfd71ec174baf6ed3690a4cb23fa127e1f2611b860c{unit lens-5.1-dc63915c35a27f2da318ebfd71ec174baf6ed3690a4cb23fa127e1f2611b860c True ([])},
-package-id call-stack-0.4.0-b481db444ea8eacdb3130fdc7aca3504b848cb40ad6d6b820fd1b80005559002{unit call-stack-0.4.0-b481db444ea8eacdb3130fdc7aca3504b848cb40ad6d6b820fd1b80005559002 True ([])},
-package-id exceptions-0.10.4{unit exceptions-0.10.4 True ([])},
-package-id filepath-1.4.2.1{unit filepath-1.4.2.1 True ([])},
-package-id free-5.1.7-98795be83296b43dab13169d8d43e1f32d03fa7e16fdfa3faeace5c47772db93{unit free-5.1.7-98795be83296b43dab13169d8d43e1f32d03fa7e16fdfa3faeace5c47772db93 True ([])},
-package-id profunctors-5.6.2-e691776d5aaed54c238b96f1e9518c19c0cdcee1f8a4c987b92eb9f6147c9dc3{unit profunctors-5.6.2-e691776d5aaed54c238b96f1e9518c19c0cdcee1f8a4c987b92eb9f6147c9dc3 True ([])},
-package-id transformers-base-0.4.6-81b67caea172b592fc6aac8a4b0d9ad7635f08ec90032abe84b4c4eb1ef43051{unit transformers-base-0.4.6-81b67caea172b592fc6aac8a4b0d9ad7635f08ec90032abe84b4c4eb1ef43051 True ([])},
-package-id kan-extensions-5.2.3-77afa7f4ff059be26d8c0bf853b300e2438e46777156531894f62ccd1e4b1faf{unit kan-extensions-5.2.3-77afa7f4ff059be26d8c0bf853b300e2438e46777156531894f62ccd1e4b1faf True ([])},
-package-id adjunctions-4.4-0e5dd3628df2433ca25dcfb5368a8b1e326f3c48fa8ac3f0313e0ab2884c7a0c{unit adjunctions-4.4-0e5dd3628df2433ca25dcfb5368a8b1e326f3c48fa8ac3f0313e0ab2884c7a0c True ([])},
-package-id semigroups-0.20-62ac53465b171233a70d2fb244ee57f3fd1f17aa87cd229e7147244b331bcb14{unit semigroups-0.20-62ac53465b171233a70d2fb244ee57f3fd1f17aa87cd229e7147244b331bcb14 True ([])},
-package-id void-0.7.3-c86d27aab6814888e289a33d79f76ea2155e1ca64ada66f5c91f2adbc566e33e{unit void-0.7.3-c86d27aab6814888e289a33d79f76ea2155e1ca64ada66f5c91f2adbc566e33e True ([])},
-package-id invariant-0.5.5-4c917523014fd11e502d0367f2347579c68b67572d03fa08a2b79c4a08765d37{unit invariant-0.5.5-4c917523014fd11e502d0367f2347579c68b67572d03fa08a2b79c4a08765d37 True ([])},
-package-id parallel-3.2.2.0-44e63dc5ba1c23036038987f4863753d152bbb648e54ce571ab676587af80127{unit parallel-3.2.2.0-44e63dc5ba1c23036038987f4863753d152bbb648e54ce571ab676587af80127 True ([])},
-package-id reflection-2.1.6-32a8432768ee66bbe6a826e8a37f00fc02ae26fd9f3ed88706c6c671a4f79c74{unit reflection-2.1.6-32a8432768ee66bbe6a826e8a37f00fc02ae26fd9f3ed88706c6c671a4f79c74 True ([])},
-package-id optparse-applicative-0.17.0.0-a749cbc14649995a8bd2feb82309bc1b4aa58e730529f58a804f260b88f1ad39{unit optparse-applicative-0.17.0.0-a749cbc14649995a8bd2feb82309bc1b4aa58e730529f58a804f260b88f1ad39 True ([])},
-package-id ansi-wl-pprint-0.6.9-8b5653a3d72c86af882fdd7a2b7a710afd63b29088717c61605dec6888fe80b5{unit ansi-wl-pprint-0.6.9-8b5653a3d72c86af882fdd7a2b7a710afd63b29088717c61605dec6888fe80b5 True ([])},
-package-id ansi-terminal-0.11.1-aaf10c0bf0f737f582e231b1af837015927170506e30b4b56bc33d2cba98c9a0{unit ansi-terminal-0.11.1-aaf10c0bf0f737f582e231b1af837015927170506e30b4b56bc33d2cba98c9a0 True ([])},
-package-id colour-2.3.6-ced58e1bf89dd1fffa1395e39bb14739c27fd99d926b9ddf5ffb1399c667d478{unit colour-2.3.6-ced58e1bf89dd1fffa1395e39bb14739c27fd99d926b9ddf5ffb1399c667d478 True ([])},
-package-id process-1.6.13.2{unit process-1.6.13.2 True ([])},
-package-id directory-1.3.6.2{unit directory-1.3.6.2 True ([])},
-package-id vinyl-0.14.3-ba7243652a15598e7ade0f6b90c853472ca5479e04284bc514fb845e18730c16{unit vinyl-0.14.3-ba7243652a15598e7ade0f6b90c853472ca5479e04284bc514fb845e18730c16 True ([])},
-package-id yaml-0.11.8.0-8df21d54e535d74b6f69e4f2fd51930d9f1b3a9781d9bc82f193eac1bfaa5580{unit yaml-0.11.8.0-8df21d54e535d74b6f69e4f2fd51930d9f1b3a9781d9bc82f193eac1bfaa5580 True ([])},
-package-id conduit-1.3.4.2-5fdf24e3dadc7f556675c8b660e44c29a73562999adafc8aefd41a5634f79e12{unit conduit-1.3.4.2-5fdf24e3dadc7f556675c8b660e44c29a73562999adafc8aefd41a5634f79e12 True ([])},
-package-id mono-traversable-1.0.15.3-19489ba6b3b81199e648ea529e38e70cc3f5ed3154fbdc03673c646149e91d5f{unit mono-traversable-1.0.15.3-19489ba6b3b81199e648ea529e38e70cc3f5ed3154fbdc03673c646149e91d5f True ([])},
-package-id split-0.2.3.4-2d0d2721866bca1e9750f78806805739dcf553a77e66e7ec4e409d1108eb04c3{unit split-0.2.3.4-2d0d2721866bca1e9750f78806805739dcf553a77e66e7ec4e409d1108eb04c3 True ([])},
-package-id vector-algorithms-0.8.0.4-5a3fd60b670fcaed432a16bd301e0365faa89cb6b3baa6c88e9c914baaadbdf9{unit vector-algorithms-0.8.0.4-5a3fd60b670fcaed432a16bd301e0365faa89cb6b3baa6c88e9c914baaadbdf9 True ([])},
-package-id resourcet-1.2.4.3-f226ad291b08f5c709bfdcd20af082628ac59129f4734908de9119f035a8e2a5{unit resourcet-1.2.4.3-f226ad291b08f5c709bfdcd20af082628ac59129f4734908de9119f035a8e2a5 True ([])},
-package-id unliftio-core-0.2.0.1-b582fd61d58aa1790c92e0238423ceddfc0e12aaf5a295938cf9139169924268{unit unliftio-core-0.2.0.1-b582fd61d58aa1790c92e0238423ceddfc0e12aaf5a295938cf9139169924268 True ([])},
-package-id libyaml-0.1.2-3cc3e8aba6a0db2d8ee7d01d4bbbfd5be6fd293713fa0e1a473846c21c8d0aed{unit libyaml-0.1.2-3cc3e8aba6a0db2d8ee7d01d4bbbfd5be6fd293713fa0e1a473846c21c8d0aed True ([])}]
loading package database /nix/store/2zfhlbjpxwzarkxfbddj52ksbzkavblv-ghc-9.0.2/lib/ghc-9.0.2/package.conf.d
loading package database /home/handre/.cabal/store/ghc-9.0.2/package.db
loading package database /home/handre/dev/ghc-bug/dist-newstyle/packagedb/ghc-9.0.2
package extra-1.7.10-dccae3f49d77e0656ba01511df76cb47629b1d83d1bf0a21dc508fcac2d7d823 is unusable due to missing dependencies:
clock-0.8.3-GzO0xcEybVZ5lfbzIigoQK
package tasty-discover-4.2.2-57394358df3d33f7f97cdef17888e28666e600c0096db2d41e12a90e9eb3a5d6 is unusable due to missing dependencies:
Glob-0.10.2-HUa9O4Yd74OL4Gzl5xi9wv
wired-in package ghc-prim mapped to ghc-prim-0.7.0
wired-in package ghc-bignum mapped to ghc-bignum-1.1
wired-in package base mapped to base-4.15.1.0
wired-in package rts mapped to rts
wired-in package template-haskell mapped to template-haskell-2.17.0.0
wired-in package ghc mapped to ghc-9.0.2
!!! initializing unit database: finished in 56.46 milliseconds, allocated 29.073 megabytes
*** initializing unit database:
package flags [-package-id aeson-2.0.3.0-ea0fc8184998f1ceda6814ec5dc2b1b4cc039c93dcfba7b6e86d60166689abfe{unit aeson-2.0.3.0 True ([])},
-package-id OneTuple-0.3.1-9ea6356f1cee3873c92dc51ef92036e8ca62171d9a0bdb34d30dd58bf0ef0885{unit OneTuple-0.3.1 True ([])},
-package-id base-4.15.1.0{unit base-4.15.1.0 True ([])},
-package-id ghc-bignum-1.1{unit ghc-bignum-1.1 True ([])},
-package-id ghc-prim-0.7.0{unit ghc-prim-0.7.0 True ([])},
-package-id rts{unit rts-1.0.2 True ([])},
-package-id base-orphans-0.8.6-6928e2cbc0865b26493d937a1da219d844cc78c58d3a8879b19e0c09f607cc85{unit base-orphans-0.8.6 True ([])},
-package-id template-haskell-2.17.0.0{unit template-haskell-2.17.0.0 True ([])},
-package-id ghc-boot-th-9.0.2{unit ghc-boot-th-9.0.2 True ([])},
-package-id pretty-1.1.3.6{unit pretty-1.1.3.6 True ([])},
-package-id deepseq-1.4.5.0{unit deepseq-1.4.5.0 True ([])},
-package-id array-0.5.4.0{unit array-0.5.4.0 True ([])},
-package-id QuickCheck-2.14.2-0c7f5115b9190e0c296f816bfcd00c19cd356a8b5211cf667467a3d51faa6351{unit QuickCheck-2.14.2 True ([])},
-package-id containers-0.6.4.1{unit containers-0.6.4.1 True ([])},
-package-id random-1.2.1-d27ababe61b59e43bce417c7ca9e4ccdeb091336ddc42085ceef219350a8bfe4{unit random-1.2.1 True ([])},
-package-id bytestring-0.10.12.1{unit bytestring-0.10.12.1 True ([])},
-package-id mtl-2.2.2{unit mtl-2.2.2 True ([])},
-package-id transformers-0.5.6.2{unit transformers-0.5.6.2 True ([])},
-package-id splitmix-0.1.0.4-6525e81601e0d606db968cc7160e17855e9a3689f7d115d7c7cdee8c25faf71a{unit splitmix-0.1.0.4 True ([])},
-package-id attoparsec-0.14.4-89b6e09c0be192391a5f92d46beb081475472983a77c3a90352f7cec349c70aa{unit attoparsec-0.14.4 True ([])},
-package-id attoparsec-0.14.4-l-attoparsec-internal-1c84e1b8d306a0bc15d57271cf3b505ff3b7b23cdc550eef674cc593ba7435c4{unit attoparsec-0.14.4 True ([])},
-package-id text-1.2.5.0{unit text-1.2.5.0 True ([])},
-package-id binary-0.8.8.0{unit binary-0.8.8.0 True ([])},
-package-id scientific-0.3.7.0-eca7b6d4f4bc59c50ffba19420ec5cca68c6f9877a70afa702dbd8f7539c4e8a{unit scientific-0.3.7.0 True ([])},
-package-id hashable-1.4.0.2-59e00660091e43ec8761dfc344b6277d0d08a691d5fab8910b4b823eb7d0c114{unit hashable-1.4.0.2 True ([])},
-package-id integer-logarithms-1.0.3.1-a991bf57ec32c5a8c3c17c7abc1529e576b79f7cfa320aa4b2f5c3fa24b86acf{unit integer-logarithms-1.0.3.1 True ([])},
-package-id primitive-0.7.3.0-3c5fbf69f38da257385c73a8d05d0f992ae3e633b8624c52bf91afdaa10bae06{unit primitive-0.7.3.0 True ([])},
-package-id base-compat-batteries-0.12.1-eb513bc701cc9e20ff0a4b962fb150d1ccb5cf9dccca63ad10c9e6ce3894466a{unit base-compat-batteries-0.12.1 True ([])},
-package-id base-compat-0.12.1-277f1271cdde81a9712609f89d9ca45c50bf1d48490dd150fff5e32081ea7d7e{unit base-compat-0.12.1 True ([])},
-package-id unix-2.7.2.2{unit unix-2.7.2.2 True ([])},
-package-id time-1.9.3{unit time-1.9.3 True ([])},
-package-id data-fix-0.3.2-7d33d13794cc90daa7bea4df089b0e285952d04545d68bbe69a3468b260d3d82{unit data-fix-0.3.2 True ([])},
-package-id dlist-1.0-a6b06eb06860bcfd368ae60dccd8a740a5f75e2bfc6e421541982ee3ba8284dc{unit dlist-1.0 True ([])},
-package-id indexed-traversable-0.1.2-7540b83fa13d56f250568b03724c44a8160b94df4fc0d32f71c13a26d0cb78ba{unit indexed-traversable-0.1.2 True ([])},
-package-id semialign-1.2.0.1-79c45c757993da39600f2031c5c34a85d8b6da855ba89277c9d44280b47174da{unit semialign-1.2.0.1 True ([])},
-package-id indexed-traversable-instances-0.1.1-bc105dceb9fbb4615864574e62ded0d7f2c969539a0bc95b3ba0f9a0c3d04708{unit indexed-traversable-instances-0.1.1 True ([])},
-package-id tagged-0.8.6.1-2b7056bde22b3a072311638463eb135e658b801ca4b55eeab0bd771490757081{unit tagged-0.8.6.1 True ([])},
-package-id unordered-containers-0.2.17.0-059392114c64a2037cb1c4231fe3c1bac48814b15b70e5f5c69d755db5768fa4{unit unordered-containers-0.2.17.0 True ([])},
-package-id vector-0.12.3.1-b8db386be78bb04a1843716f4c33bb196177279f2f8b3c60cbb45b6530094059{unit vector-0.12.3.1 True ([])},
-package-id semigroupoids-5.3.7-d5d410802678d629bfb3e465f3d3dff6ae740952a57fcf5f76ac923c09328ffb{unit semigroupoids-5.3.7 True ([])},
-package-id bifunctors-5.5.11-90123566f33d2ef78606a848bb0e29aeaa8978ae0ca16439cad8da7264020a65{unit bifunctors-5.5.11 True ([])},
-package-id comonad-5.0.8-2ecfce1261dcc6623e9ecbefc8e8b7e66b40802e921fb33ab02eb10c52962242{unit comonad-5.0.8 True ([])},
-package-id distributive-0.6.2.1-2338d95554d0967192dff33a0aa1755cc4c4f34eb60dc03c3799e49d24ea2241{unit distributive-0.6.2.1 True ([])},
-package-id transformers-compat-0.7.1-efa9673ee15391bfa78329252ae671105e6372233b948f41508f6ddf52348402{unit transformers-compat-0.7.1 True ([])},
-package-id th-abstraction-0.4.3.0-1c68597309713ea27c0e4b7dc4348c0c27b03a644dc5aa0e20c5e6793371347e{unit th-abstraction-0.4.3.0 True ([])},
-package-id contravariant-1.5.5-0e143b53f97486008838c513fae5eda5aee3a8d6a3e22dee220bb157340abad0{unit contravariant-1.5.5 True ([])},
-package-id StateVar-1.2.2-5418cd17e7bc5d255ecbac856de427c7f041d9658febb445a6133a010cd0151c{unit StateVar-1.2.2 True ([])},
-package-id stm-2.5.0.0{unit stm-2.5.0.0 True ([])},
-package-id these-1.1.1.1-45dc2bde8e2e848d54399ffb0700de5c76920e0d149097d757ab7e753ec97ca3{unit these-1.1.1.1 True ([])},
-package-id assoc-1.0.2-f4da7afebb3a60570dbecfddb732191766a1f33a0589df8a9d2ecd87773a156a{unit assoc-1.0.2 True ([])},
-package-id strict-0.4.0.1-9414977f4420198d83f51adc44bcfc219570eb2fc965b8e7c97aae6993899a38{unit strict-0.4.0.1 True ([])},
-package-id text-short-0.1.5-b7726591a043031bea5cde17754691c6babc9bc4e03b962deec1b2d097a47fda{unit text-short-0.1.5 True ([])},
-package-id time-compat-1.9.6.1-acabd5d39bff1f3438c7aecc9fb660bf562fbf794372eda625de8913d984083b{unit time-compat-1.9.6.1 True ([])},
-package-id uuid-types-1.0.5-be53558f99995ff9bf9f974f97676f2bd7bfb8241d687749056f75a02d814a79{unit uuid-types-1.0.5 True ([])},
-package-id witherable-0.4.2-3b2824f722c423350fbd15f489161ef77ae778c9e3349cdeed0db131082901b6{unit witherable-0.4.2 True ([])},
-package-id docrecords-0.1.0.0-ccd6f2cac33bba9614f0aa132c2c3fa6306767f172fc616f1ab26bab60a58cdc{unit docrecords-0.1.0.0 True ([])},
-package-id data-default-0.7.1.1-edbddbdf428e98abbe91d850ed95c9d4b561b65b91a24856877a3c74ff714baa{unit data-default-0.7.1.1 True ([])},
-package-id data-default-class-0.1.2.0-9e2eb1584d665564d36abb6dcf2f09b00aed09635653c2064b56d7634c114edc{unit data-default-class-0.1.2.0 True ([])},
-package-id data-default-instances-containers-0.0.1-97d0ae45e77faeb1e3bcafdb3ce1874a1ec3d843ae0373d5023b74c817494377{unit data-default-instances-containers-0.0.1 True ([])},
-package-id data-default-instances-dlist-0.0.1-594beec10b7a55237f55c07c52f18ee5e37da59c4c283b781717d1601274666f{unit data-default-instances-dlist-0.0.1 True ([])},
-package-id data-default-instances-old-locale-0.0.1-093df202b5283890a569a485db0ab222881582d3f544008741d53bc5a937040c{unit data-default-instances-old-locale-0.0.1 True ([])},
-package-id old-locale-1.0.0.7-c7240c6ee240c35a32fc541ce6be5f20483700af69ba458b9ef76e34b7763daf{unit old-locale-1.0.0.7 True ([])},
-package-id lens-5.1-dc63915c35a27f2da318ebfd71ec174baf6ed3690a4cb23fa127e1f2611b860c{unit lens-5.1 True ([])},
-package-id call-stack-0.4.0-b481db444ea8eacdb3130fdc7aca3504b848cb40ad6d6b820fd1b80005559002{unit call-stack-0.4.0 True ([])},
-package-id exceptions-0.10.4{unit exceptions-0.10.4 True ([])},
-package-id filepath-1.4.2.1{unit filepath-1.4.2.1 True ([])},
-package-id free-5.1.7-98795be83296b43dab13169d8d43e1f32d03fa7e16fdfa3faeace5c47772db93{unit free-5.1.7 True ([])},
-package-id profunctors-5.6.2-e691776d5aaed54c238b96f1e9518c19c0cdcee1f8a4c987b92eb9f6147c9dc3{unit profunctors-5.6.2 True ([])},
-package-id transformers-base-0.4.6-81b67caea172b592fc6aac8a4b0d9ad7635f08ec90032abe84b4c4eb1ef43051{unit transformers-base-0.4.6 True ([])},
-package-id kan-extensions-5.2.3-77afa7f4ff059be26d8c0bf853b300e2438e46777156531894f62ccd1e4b1faf{unit kan-extensions-5.2.3 True ([])},
-package-id adjunctions-4.4-0e5dd3628df2433ca25dcfb5368a8b1e326f3c48fa8ac3f0313e0ab2884c7a0c{unit adjunctions-4.4 True ([])},
-package-id semigroups-0.20-62ac53465b171233a70d2fb244ee57f3fd1f17aa87cd229e7147244b331bcb14{unit semigroups-0.20 True ([])},
-package-id void-0.7.3-c86d27aab6814888e289a33d79f76ea2155e1ca64ada66f5c91f2adbc566e33e{unit void-0.7.3 True ([])},
-package-id invariant-0.5.5-4c917523014fd11e502d0367f2347579c68b67572d03fa08a2b79c4a08765d37{unit invariant-0.5.5 True ([])},
-package-id parallel-3.2.2.0-44e63dc5ba1c23036038987f4863753d152bbb648e54ce571ab676587af80127{unit parallel-3.2.2.0 True ([])},
-package-id reflection-2.1.6-32a8432768ee66bbe6a826e8a37f00fc02ae26fd9f3ed88706c6c671a4f79c74{unit reflection-2.1.6 True ([])},
-package-id optparse-applicative-0.17.0.0-a749cbc14649995a8bd2feb82309bc1b4aa58e730529f58a804f260b88f1ad39{unit optparse-applicative-0.17.0.0 True ([])},
-package-id ansi-wl-pprint-0.6.9-8b5653a3d72c86af882fdd7a2b7a710afd63b29088717c61605dec6888fe80b5{unit ansi-wl-pprint-0.6.9 True ([])},
-package-id ansi-terminal-0.11.1-aaf10c0bf0f737f582e231b1af837015927170506e30b4b56bc33d2cba98c9a0{unit ansi-terminal-0.11.1 True ([])},
-package-id colour-2.3.6-ced58e1bf89dd1fffa1395e39bb14739c27fd99d926b9ddf5ffb1399c667d478{unit colour-2.3.6 True ([])},
-package-id process-1.6.13.2{unit process-1.6.13.2 True ([])},
-package-id directory-1.3.6.2{unit directory-1.3.6.2 True ([])},
-package-id vinyl-0.14.3-ba7243652a15598e7ade0f6b90c853472ca5479e04284bc514fb845e18730c16{unit vinyl-0.14.3 True ([])},
-package-id yaml-0.11.8.0-8df21d54e535d74b6f69e4f2fd51930d9f1b3a9781d9bc82f193eac1bfaa5580{unit yaml-0.11.8.0 True ([])},
-package-id conduit-1.3.4.2-5fdf24e3dadc7f556675c8b660e44c29a73562999adafc8aefd41a5634f79e12{unit conduit-1.3.4.2 True ([])},
-package-id mono-traversable-1.0.15.3-19489ba6b3b81199e648ea529e38e70cc3f5ed3154fbdc03673c646149e91d5f{unit mono-traversable-1.0.15.3 True ([])},
-package-id split-0.2.3.4-2d0d2721866bca1e9750f78806805739dcf553a77e66e7ec4e409d1108eb04c3{unit split-0.2.3.4 True ([])},
-package-id vector-algorithms-0.8.0.4-5a3fd60b670fcaed432a16bd301e0365faa89cb6b3baa6c88e9c914baaadbdf9{unit vector-algorithms-0.8.0.4 True ([])},
-package-id resourcet-1.2.4.3-f226ad291b08f5c709bfdcd20af082628ac59129f4734908de9119f035a8e2a5{unit resourcet-1.2.4.3 True ([])},
-package-id unliftio-core-0.2.0.1-b582fd61d58aa1790c92e0238423ceddfc0e12aaf5a295938cf9139169924268{unit unliftio-core-0.2.0.1 True ([])},
-package-id libyaml-0.1.2-3cc3e8aba6a0db2d8ee7d01d4bbbfd5be6fd293713fa0e1a473846c21c8d0aed{unit libyaml-0.1.2 True ([])}]
loading package database /nix/store/2zfhlbjpxwzarkxfbddj52ksbzkavblv-ghc-9.0.2/lib/ghc-9.0.2/package.conf.d
loading package database /home/handre/.cabal/store/ghc-9.0.2/package.db
loading package database /home/handre/dev/ghc-bug/dist-newstyle/packagedb/ghc-9.0.2
package extra-1.7.10-dccae3f49d77e0656ba01511df76cb47629b1d83d1bf0a21dc508fcac2d7d823 is unusable due to missing dependencies:
clock-0.8.3-GzO0xcEybVZ5lfbzIigoQK
package tasty-discover-4.2.2-57394358df3d33f7f97cdef17888e28666e600c0096db2d41e12a90e9eb3a5d6 is unusable due to missing dependencies:
Glob-0.10.2-HUa9O4Yd74OL4Gzl5xi9wv
wired-in package ghc-prim mapped to ghc-prim-0.7.0
wired-in package ghc-bignum mapped to ghc-bignum-1.1
wired-in package base mapped to base-4.15.1.0
wired-in package rts mapped to rts-1.0.2
wired-in package template-haskell mapped to template-haskell-2.17.0.0
wired-in package ghc mapped to ghc-9.0.2
!!! initializing unit database: finished in 9.64 milliseconds, allocated 7.864 megabytes
*** Chasing dependencies:
Chasing modules from: *GhcBug.hs
!!! Chasing dependencies: finished in 2.30 milliseconds, allocated 1.835 megabytes
Stable obj: {}
Stable BCO: {}
Ready for upsweep
[NONREC
ModSummary {
ms_hs_date = 2022-04-05 17:25:03.832506401 UTC
ms_mod = GhcBug,
ms_textual_imps = [(Nothing, Prelude),
(Nothing, Data.Vinyl.Functor), (Nothing, Data.DocRecord),
(Nothing, GHC.Generics), (Nothing, Data.Aeson)]
ms_srcimps = []
}]
*** Deleting temp files:
Deleting:
compile: input file GhcBug.hs
*** Checking old interface for GhcBug (use -ddump-hi-diffs for more details):
[1 of 1] Compiling GhcBug ( GhcBug.hs, GhcBug.o )
*** Parser [GhcBug]:
!!! Parser [GhcBug]: finished in 1.72 milliseconds, allocated 1.141 megabytes
*** Renamer/typechecker [GhcBug]:
!!! Renamer/typechecker [GhcBug]: finished in 470.77 milliseconds, allocated 227.540 megabytes
*** Desugar [GhcBug]:
Result size of Desugar (before optimization)
= {terms: 826, types: 5,410, coercions: 261, joins: 0/104}
Result size of Desugar (after optimization)
= {terms: 677, types: 4,742, coercions: 464, joins: 0/71}
!!! Desugar [GhcBug]: finished in 13.48 milliseconds, allocated 20.538 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier iteration=1
= {terms: 1,531, types: 10,229, coercions: 6,326, joins: 0/32}
Result size of Simplifier iteration=2
= {terms: 1,102, types: 3,805, coercions: 3,128, joins: 0/18}
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
ghc: panic! (the 'impossible' happened)
(GHC version 9.0.2:
coVarKindsTypesRole, non coercion variable
x1_XU
PossiblyEmptyField r_XR
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Outputable.hs:1230:37 in ghc:GHC.Utils.Outputable
pprPanic, called at compiler/GHC/Core/Coercion.hs:508:4 in ghc:GHC.Core.Coercion
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
```
## Notes
If one reduces the number of fields of the Vinyl record or the number of fields in the regular record then the panic does not occur.
The panic is related to the `svgOptions` field of the `ParseIpc2581` record.
When compiling with optimisations off then the panic does not occur.
## Environment
* GHC version used: The Glorious Glasgow Haskell Compilation System, version 9.0.2
* Operating System: NIXOS 21.11.20220403.0aac710 (Porcupine) GNU/Linux
* System Architecture: x86_64
## Not present in GHC version 9.2.2
When compiling the same file with GHC 9.2.2 then the panic does not occur.
This is the output one gets with 9.2.2
```
Loaded package environment from /home/handre/dev/ghc-bug/dist-newstyle/tmp/environment.-416347/.ghc.environment.x86_64-linux-9.2.2
Glasgow Haskell Compiler, Version 9.2.2, stage 2 booted by GHC version 8.10.7
*** initializing unit database:
Using binary package database: /nix/store/xkc8rdh3j806w22gvxwiig08z8pcwxkr-ghc-9.2.2/lib/ghc-9.2.2/package.conf.d/package.cache
Using binary package database: /home/handre/.cabal/store/ghc-9.2.2/package.db/package.cache
Using binary package database: /home/handre/dev/ghc-bug/dist-newstyle/packagedb/ghc-9.2.2/package.cache
package flags [-package-id aeson-2.0.3.0-8e47ffe1e5614819d0e2f449d4b10cdd29530f8907ed39942bc1514ac431fd44{unit aeson-2.0.3.0-8e47ffe1e5614819d0e2f449d4b10cdd29530f8907ed39942bc1514ac431fd44 True ([])},
-package-id OneTuple-0.3.1-0650c06aa2ae4343159faaeb24b7cd65718b0885b8c79bca04562075c84ee19f{unit OneTuple-0.3.1-0650c06aa2ae4343159faaeb24b7cd65718b0885b8c79bca04562075c84ee19f True ([])},
-package-id base-4.16.1.0{unit base-4.16.1.0 True ([])},
-package-id ghc-bignum-1.2{unit ghc-bignum-1.2 True ([])},
-package-id ghc-prim-0.8.0{unit ghc-prim-0.8.0 True ([])},
-package-id rts{unit rts True ([])},
-package-id template-haskell-2.18.0.0{unit template-haskell-2.18.0.0 True ([])},
-package-id ghc-boot-th-9.2.2{unit ghc-boot-th-9.2.2 True ([])},
-package-id pretty-1.1.3.6{unit pretty-1.1.3.6 True ([])},
-package-id deepseq-1.4.6.1{unit deepseq-1.4.6.1 True ([])},
-package-id array-0.5.4.0{unit array-0.5.4.0 True ([])},
-package-id QuickCheck-2.14.2-51a0334112365ba49c1a749741e318fa50a93b846d7e1f3f2e0a5685dd878c45{unit QuickCheck-2.14.2-51a0334112365ba49c1a749741e318fa50a93b846d7e1f3f2e0a5685dd878c45 True ([])},
-package-id containers-0.6.5.1{unit containers-0.6.5.1 True ([])},
-package-id random-1.2.1-137c4de6ed6d11b5d51cf64300cfb82f6ef440c33bf36e0cd4fcadc9a66d0e3b{unit random-1.2.1-137c4de6ed6d11b5d51cf64300cfb82f6ef440c33bf36e0cd4fcadc9a66d0e3b True ([])},
-package-id bytestring-0.11.3.0{unit bytestring-0.11.3.0 True ([])},
-package-id mtl-2.2.2{unit mtl-2.2.2 True ([])},
-package-id transformers-0.5.6.2{unit transformers-0.5.6.2 True ([])},
-package-id splitmix-0.1.0.4-201c59ac932f856499a47c73ffe84a6be5b6dfd5db9ec6182775fe6b945f369c{unit splitmix-0.1.0.4-201c59ac932f856499a47c73ffe84a6be5b6dfd5db9ec6182775fe6b945f369c True ([])},
-package-id attoparsec-0.14.4-7fb7609471e0632ee24c02a1f8de8d4fb2368f35fc7500cb46c263d34160c606{unit attoparsec-0.14.4-7fb7609471e0632ee24c02a1f8de8d4fb2368f35fc7500cb46c263d34160c606 True ([])},
-package-id attoparsec-0.14.4-l-attoparsec-internal-c07115e85bc083afb7b44c43537a32fe9f86e4693df082f40beeeb9e9d27723a{unit attoparsec-0.14.4-l-attoparsec-internal-c07115e85bc083afb7b44c43537a32fe9f86e4693df082f40beeeb9e9d27723a True ([])},
-package-id text-1.2.5.0{unit text-1.2.5.0 True ([])},
-package-id binary-0.8.9.0{unit binary-0.8.9.0 True ([])},
-package-id scientific-0.3.7.0-7c547eb27bfc5bda5e990a780d96d3e80e6a5fd8ef5af0a4370126352f343041{unit scientific-0.3.7.0-7c547eb27bfc5bda5e990a780d96d3e80e6a5fd8ef5af0a4370126352f343041 True ([])},
-package-id hashable-1.4.0.2-9d820d0e4027f6b5a75d4a326b094d64acb9fdc112ac666639db27a1e0052434{unit hashable-1.4.0.2-9d820d0e4027f6b5a75d4a326b094d64acb9fdc112ac666639db27a1e0052434 True ([])},
-package-id integer-logarithms-1.0.3.1-6bd72f01a4e907d823dccf7b2335f7b5a5617fc4ec18169da1f969e6ee22deee{unit integer-logarithms-1.0.3.1-6bd72f01a4e907d823dccf7b2335f7b5a5617fc4ec18169da1f969e6ee22deee True ([])},
-package-id primitive-0.7.3.0-73d27fd03cfd0341161559dbb2c7d4309e96cbecc35dbd40a824ecbeff4205c7{unit primitive-0.7.3.0-73d27fd03cfd0341161559dbb2c7d4309e96cbecc35dbd40a824ecbeff4205c7 True ([])},
-package-id base-compat-batteries-0.12.1-288fcfe606c2a37dd7e4cc7c72f2eed6634a9773d4678a2b70210d1d89ebf3c0{unit base-compat-batteries-0.12.1-288fcfe606c2a37dd7e4cc7c72f2eed6634a9773d4678a2b70210d1d89ebf3c0 True ([])},
-package-id base-compat-0.12.1-7e7d080a91c323788743f466f5a9e5acec6d214995b9717e12b9092fa2857a37{unit base-compat-0.12.1-7e7d080a91c323788743f466f5a9e5acec6d214995b9717e12b9092fa2857a37 True ([])},
-package-id unix-2.7.2.2{unit unix-2.7.2.2 True ([])},
-package-id time-1.11.1.1{unit time-1.11.1.1 True ([])},
-package-id data-fix-0.3.2-834ef81fbae2911c018f0cc23bc26f4945c8356618ee3978a05d1322a1bcf651{unit data-fix-0.3.2-834ef81fbae2911c018f0cc23bc26f4945c8356618ee3978a05d1322a1bcf651 True ([])},
-package-id dlist-1.0-19687f0ade75103dc89b150b26f2eacac7d2e499c5dab218742afb132fe2db57{unit dlist-1.0-19687f0ade75103dc89b150b26f2eacac7d2e499c5dab218742afb132fe2db57 True ([])},
-package-id indexed-traversable-0.1.2-df9293b0d5ce5c4803bfe17edde56acc532e95b5fd8038733aba2e9bc477e965{unit indexed-traversable-0.1.2-df9293b0d5ce5c4803bfe17edde56acc532e95b5fd8038733aba2e9bc477e965 True ([])},
-package-id semialign-1.2.0.1-f19c6d0036a3c81d87e20befbe75968537942b46e382239692585afdd4127b63{unit semialign-1.2.0.1-f19c6d0036a3c81d87e20befbe75968537942b46e382239692585afdd4127b63 True ([])},
-package-id indexed-traversable-instances-0.1.1-ad103758f9d39c6ae65093c9a071abf50e797c5e4709da8a21ff73ae93db9f43{unit indexed-traversable-instances-0.1.1-ad103758f9d39c6ae65093c9a071abf50e797c5e4709da8a21ff73ae93db9f43 True ([])},
-package-id tagged-0.8.6.1-7797cc11fb3ab0c92ba8b0177b537364ce65464499f9afc8ad7c6603298a4d73{unit tagged-0.8.6.1-7797cc11fb3ab0c92ba8b0177b537364ce65464499f9afc8ad7c6603298a4d73 True ([])},
-package-id unordered-containers-0.2.17.0-4cb0c3ac89fde4de22fba9b758a0aa87fbedda12d2f9f411f7e6f675af39ef9e{unit unordered-containers-0.2.17.0-4cb0c3ac89fde4de22fba9b758a0aa87fbedda12d2f9f411f7e6f675af39ef9e True ([])},
-package-id vector-0.12.3.1-6eff6b3b465471fd174e3c555da94cb72fd1c15d109a406f4ccbf601271931af{unit vector-0.12.3.1-6eff6b3b465471fd174e3c555da94cb72fd1c15d109a406f4ccbf601271931af True ([])},
-package-id semigroupoids-5.3.7-46c68ca7e995d70dcc19a73fc9886f046e97c2e1adc0c0418e51e05f6372d3f8{unit semigroupoids-5.3.7-46c68ca7e995d70dcc19a73fc9886f046e97c2e1adc0c0418e51e05f6372d3f8 True ([])},
-package-id base-orphans-0.8.6-cdba6cfb682737aa1bbf21b8f9aab1cddb1aa8cb46787a5f9092849b584ca7c7{unit base-orphans-0.8.6-cdba6cfb682737aa1bbf21b8f9aab1cddb1aa8cb46787a5f9092849b584ca7c7 True ([])},
-package-id bifunctors-5.5.11-0e909d78caa7dd0612ad2343a666abe596a3248a6c4cafd8a120360f89de2558{unit bifunctors-5.5.11-0e909d78caa7dd0612ad2343a666abe596a3248a6c4cafd8a120360f89de2558 True ([])},
-package-id comonad-5.0.8-d0717465a4c9eadc098fe9de2eb63af1264fedea47916fbdb0c171654b7b1bb7{unit comonad-5.0.8-d0717465a4c9eadc098fe9de2eb63af1264fedea47916fbdb0c171654b7b1bb7 True ([])},
-package-id distributive-0.6.2.1-f9b7ee0f7ec6eb99b968ed21a02eea292c7e55ba92e989a8101f8291f8a1ef86{unit distributive-0.6.2.1-f9b7ee0f7ec6eb99b968ed21a02eea292c7e55ba92e989a8101f8291f8a1ef86 True ([])},
-package-id transformers-compat-0.7.1-76eb4375d735c185535c918c6f547f50ecc63d5b818633619a5ac3581e72f609{unit transformers-compat-0.7.1-76eb4375d735c185535c918c6f547f50ecc63d5b818633619a5ac3581e72f609 True ([])},
-package-id th-abstraction-0.4.3.0-20f4688d4b353cb3b8278d42b5c36707be77040e16311ec543053b113a946b9a{unit th-abstraction-0.4.3.0-20f4688d4b353cb3b8278d42b5c36707be77040e16311ec543053b113a946b9a True ([])},
-package-id contravariant-1.5.5-4e638cffddc5f174a58b29c6fccc6e4c9722d9c6297a945ffd007ad671ef658b{unit contravariant-1.5.5-4e638cffddc5f174a58b29c6fccc6e4c9722d9c6297a945ffd007ad671ef658b True ([])},
-package-id StateVar-1.2.2-c50564515be7b34a409ee5f1db15f6280652981b298e4359dd24a694eb788d02{unit StateVar-1.2.2-c50564515be7b34a409ee5f1db15f6280652981b298e4359dd24a694eb788d02 True ([])},
-package-id stm-2.5.0.2{unit stm-2.5.0.2 True ([])},
-package-id these-1.1.1.1-b07826791f012253ad69cd6c888d9a30c5e7ca8a1a1e81580d3d353fbdcfaf21{unit these-1.1.1.1-b07826791f012253ad69cd6c888d9a30c5e7ca8a1a1e81580d3d353fbdcfaf21 True ([])},
-package-id assoc-1.0.2-6aa444fe6a3bcd20ebb6adf9e7ff9e0bdc912d290749f8cbae76308cfa522f07{unit assoc-1.0.2-6aa444fe6a3bcd20ebb6adf9e7ff9e0bdc912d290749f8cbae76308cfa522f07 True ([])},
-package-id strict-0.4.0.1-0dc7b81297d8ea0baa5bd902b5c3c3f9bbb9b4cec0d6acc24f29607641d4048f{unit strict-0.4.0.1-0dc7b81297d8ea0baa5bd902b5c3c3f9bbb9b4cec0d6acc24f29607641d4048f True ([])},
-package-id text-short-0.1.5-a79b6594ec04715a4c91ca290566f500c5006049f300d20d51e2bd8f1f0b6335{unit text-short-0.1.5-a79b6594ec04715a4c91ca290566f500c5006049f300d20d51e2bd8f1f0b6335 True ([])},
-package-id time-compat-1.9.6.1-53da59e18b62fdd90854108d4724daf16f9940e4137b72bfc23178688d7ce7f9{unit time-compat-1.9.6.1-53da59e18b62fdd90854108d4724daf16f9940e4137b72bfc23178688d7ce7f9 True ([])},
-package-id uuid-types-1.0.5-99434237e725b613712f7bd8930efdea677c28c6866926a17f9890ab0957a269{unit uuid-types-1.0.5-99434237e725b613712f7bd8930efdea677c28c6866926a17f9890ab0957a269 True ([])},
-package-id witherable-0.4.2-3ac2086b9c57a42eab2f96854c5df6b444e30431bbbfa6357e6c3981e9cf0c46{unit witherable-0.4.2-3ac2086b9c57a42eab2f96854c5df6b444e30431bbbfa6357e6c3981e9cf0c46 True ([])},
-package-id docrecords-0.1.0.0-34a1d287393b5e66cb0ebbf86ab7d690668df68eac9ebebd604b08ea310360d6{unit docrecords-0.1.0.0-34a1d287393b5e66cb0ebbf86ab7d690668df68eac9ebebd604b08ea310360d6 True ([])},
-package-id data-default-0.7.1.1-adc57b61f9d5efc5600515a8bca6817c4af72c397641e03c733383a8465a01ea{unit data-default-0.7.1.1-adc57b61f9d5efc5600515a8bca6817c4af72c397641e03c733383a8465a01ea True ([])},
-package-id data-default-class-0.1.2.0-007419f89da81ade69b7dee6dbb59b1fb59ef9cdd6f8e7b3c27ccf7eb9b383b0{unit data-default-class-0.1.2.0-007419f89da81ade69b7dee6dbb59b1fb59ef9cdd6f8e7b3c27ccf7eb9b383b0 True ([])},
-package-id data-default-instances-containers-0.0.1-e24cc4e8c1fd52711343454cbecc8f592cde8c746ffa4a7a3f2d48838081fdae{unit data-default-instances-containers-0.0.1-e24cc4e8c1fd52711343454cbecc8f592cde8c746ffa4a7a3f2d48838081fdae True ([])},
-package-id data-default-instances-dlist-0.0.1-5e39080d8cb9be0a6bfade268c08f9ed8d29484483831173b37679fa6ef7843b{unit data-default-instances-dlist-0.0.1-5e39080d8cb9be0a6bfade268c08f9ed8d29484483831173b37679fa6ef7843b True ([])},
-package-id data-default-instances-old-locale-0.0.1-9614f5850bce4aa47091c959328ee42181a92e23f085e98a6e0f252e5c077e29{unit data-default-instances-old-locale-0.0.1-9614f5850bce4aa47091c959328ee42181a92e23f085e98a6e0f252e5c077e29 True ([])},
-package-id old-locale-1.0.0.7-5b1f34f823411ccf4de85fac587ddccd3df843bd407c5c4db18438a2e03154ac{unit old-locale-1.0.0.7-5b1f34f823411ccf4de85fac587ddccd3df843bd407c5c4db18438a2e03154ac True ([])},
-package-id lens-5.1-7480dd758ffd66a86b04e43762e87bb5bfceb2a4292fc5dff9d0f78a6d54649f{unit lens-5.1-7480dd758ffd66a86b04e43762e87bb5bfceb2a4292fc5dff9d0f78a6d54649f True ([])},
-package-id call-stack-0.4.0-c4b0175f7be8127f0d9fa61a2c9f9f359dcbb7e4271546d0c49bcb19a9efa578{unit call-stack-0.4.0-c4b0175f7be8127f0d9fa61a2c9f9f359dcbb7e4271546d0c49bcb19a9efa578 True ([])},
-package-id exceptions-0.10.4{unit exceptions-0.10.4 True ([])},
-package-id filepath-1.4.2.2{unit filepath-1.4.2.2 True ([])},
-package-id free-5.1.7-6cdf421d1b5c132a3f179d9cf78eb85360420bd05385904f7ddd3086053cc409{unit free-5.1.7-6cdf421d1b5c132a3f179d9cf78eb85360420bd05385904f7ddd3086053cc409 True ([])},
-package-id profunctors-5.6.2-bb5457c91acb9022681095c3417f994f5b6b28b2796598806d0e9b23d4cb2a41{unit profunctors-5.6.2-bb5457c91acb9022681095c3417f994f5b6b28b2796598806d0e9b23d4cb2a41 True ([])},
-package-id transformers-base-0.4.6-5cf3183d87af3c1e79087bbe40b10123e595b12cccfd23bbf8b9965243084763{unit transformers-base-0.4.6-5cf3183d87af3c1e79087bbe40b10123e595b12cccfd23bbf8b9965243084763 True ([])},
-package-id kan-extensions-5.2.3-f53ae8ae6c8a593354c31b2ba233f42d8e4f17e7c270e50751ad607622c3327f{unit kan-extensions-5.2.3-f53ae8ae6c8a593354c31b2ba233f42d8e4f17e7c270e50751ad607622c3327f True ([])},
-package-id adjunctions-4.4-20ed29d7ee421743171477cdfa321c69d2189380b66b2d76eb872d1bb2008b6f{unit adjunctions-4.4-20ed29d7ee421743171477cdfa321c69d2189380b66b2d76eb872d1bb2008b6f True ([])},
-package-id semigroups-0.20-acf666abd8373f01a15bdb7d7f71d506210031d8380298ea3cd2ea5de07d70f7{unit semigroups-0.20-acf666abd8373f01a15bdb7d7f71d506210031d8380298ea3cd2ea5de07d70f7 True ([])},
-package-id void-0.7.3-93d667e668e2557dd82501a6e48c6151aeabae38190eabff56cd088259052a5f{unit void-0.7.3-93d667e668e2557dd82501a6e48c6151aeabae38190eabff56cd088259052a5f True ([])},
-package-id invariant-0.5.5-2d99b0ee9aaef6b69889cb8fa8d98931efd9218a57f93f0297a9686a78546bc1{unit invariant-0.5.5-2d99b0ee9aaef6b69889cb8fa8d98931efd9218a57f93f0297a9686a78546bc1 True ([])},
-package-id parallel-3.2.2.0-d97a8816cd742a6b7bce9575014e3d7121707962247cbb8d8cb80b1b05f05b84{unit parallel-3.2.2.0-d97a8816cd742a6b7bce9575014e3d7121707962247cbb8d8cb80b1b05f05b84 True ([])},
-package-id reflection-2.1.6-5ae879b437dd412cfe3bc03168ffaadc255c792a2a36a45d9dd0e2d943ba7c8c{unit reflection-2.1.6-5ae879b437dd412cfe3bc03168ffaadc255c792a2a36a45d9dd0e2d943ba7c8c True ([])},
-package-id optparse-applicative-0.17.0.0-e4b51be746aa2aaad093a03a63ca69b7350c55b616e3989d7eab9d88d79f8b2c{unit optparse-applicative-0.17.0.0-e4b51be746aa2aaad093a03a63ca69b7350c55b616e3989d7eab9d88d79f8b2c True ([])},
-package-id ansi-wl-pprint-0.6.9-0d9bbe71666eb3860e35f02ba8b2042b9d880b290157fda2535054305cd02ad7{unit ansi-wl-pprint-0.6.9-0d9bbe71666eb3860e35f02ba8b2042b9d880b290157fda2535054305cd02ad7 True ([])},
-package-id ansi-terminal-0.11.1-31d4647aedb92d0cb9b7c12abff8d994a8026bd7e6d7ee066286d699b5e803c5{unit ansi-terminal-0.11.1-31d4647aedb92d0cb9b7c12abff8d994a8026bd7e6d7ee066286d699b5e803c5 True ([])},
-package-id colour-2.3.6-41ac50f158169c899cc2c9c30635e06046c918b16a03cfe2bfb29f23cee300fc{unit colour-2.3.6-41ac50f158169c899cc2c9c30635e06046c918b16a03cfe2bfb29f23cee300fc True ([])},
-package-id process-1.6.13.2{unit process-1.6.13.2 True ([])},
-package-id directory-1.3.6.2{unit directory-1.3.6.2 True ([])},
-package-id vinyl-0.14.3-513cf7e00d8998b8af0c8d7993a08d31e0e8b1910a7e8c41e14522107526d0ea{unit vinyl-0.14.3-513cf7e00d8998b8af0c8d7993a08d31e0e8b1910a7e8c41e14522107526d0ea True ([])},
-package-id yaml-0.11.8.0-d2d9c12ff4dd686540c1a7634a5ef531c7f5589ee428f9f0a0b42b6fc4f4c2cd{unit yaml-0.11.8.0-d2d9c12ff4dd686540c1a7634a5ef531c7f5589ee428f9f0a0b42b6fc4f4c2cd True ([])},
-package-id conduit-1.3.4.2-e75e0ec7e0990614830474e6f08816eb1e7db393e9d25e7c28f5f7958ddbe4f1{unit conduit-1.3.4.2-e75e0ec7e0990614830474e6f08816eb1e7db393e9d25e7c28f5f7958ddbe4f1 True ([])},
-package-id mono-traversable-1.0.15.3-677b699356b69cfd3f84de981842b6a3d6affa4dc21484e2dd1d95d5100cc75e{unit mono-traversable-1.0.15.3-677b699356b69cfd3f84de981842b6a3d6affa4dc21484e2dd1d95d5100cc75e True ([])},
-package-id split-0.2.3.4-9cf82c98ea1b1fbde792db11ca85250e42c52d486d746851fa1a5fb64a6d5e8e{unit split-0.2.3.4-9cf82c98ea1b1fbde792db11ca85250e42c52d486d746851fa1a5fb64a6d5e8e True ([])},
-package-id vector-algorithms-0.8.0.4-f91a0f87b72cb03bf02a2985e003168744f8105cf7012961443efdfc4e50a123{unit vector-algorithms-0.8.0.4-f91a0f87b72cb03bf02a2985e003168744f8105cf7012961443efdfc4e50a123 True ([])},
-package-id resourcet-1.2.4.3-ec420a26eb0d5a634917aedbd4de178ee9ab4cde2de1fa30cfbe034760cb3037{unit resourcet-1.2.4.3-ec420a26eb0d5a634917aedbd4de178ee9ab4cde2de1fa30cfbe034760cb3037 True ([])},
-package-id unliftio-core-0.2.0.1-948112ba20fd103bb08b7962e85ff948befa5352b4e9119295c4132fd056271a{unit unliftio-core-0.2.0.1-948112ba20fd103bb08b7962e85ff948befa5352b4e9119295c4132fd056271a True ([])},
-package-id libyaml-0.1.2-97f0311d5a8dc9d176923097228db9a6e62c6c755c9e27dd509926d2eee732f1{unit libyaml-0.1.2-97f0311d5a8dc9d176923097228db9a6e62c6c755c9e27dd509926d2eee732f1 True ([])}]
loading package database /nix/store/xkc8rdh3j806w22gvxwiig08z8pcwxkr-ghc-9.2.2/lib/ghc-9.2.2/package.conf.d
loading package database /home/handre/.cabal/store/ghc-9.2.2/package.db
loading package database /home/handre/dev/ghc-bug/dist-newstyle/packagedb/ghc-9.2.2
wired-in package ghc-prim mapped to ghc-prim-0.8.0
wired-in package ghc-bignum mapped to ghc-bignum-1.2
wired-in package base mapped to base-4.16.1.0
wired-in package rts mapped to rts
wired-in package template-haskell mapped to template-haskell-2.18.0.0
wired-in package ghc mapped to ghc-9.2.2
!!! initializing unit database: finished in 32.61 milliseconds, allocated 14.476 megabytes
*** initializing unit database:
package flags [-package-id aeson-2.0.3.0-8e47ffe1e5614819d0e2f449d4b10cdd29530f8907ed39942bc1514ac431fd44{unit aeson-2.0.3.0-8e47ffe1e5614819d0e2f449d4b10cdd29530f8907ed39942bc1514ac431fd44 True ([])},
-package-id OneTuple-0.3.1-0650c06aa2ae4343159faaeb24b7cd65718b0885b8c79bca04562075c84ee19f{unit OneTuple-0.3.1-0650c06aa2ae4343159faaeb24b7cd65718b0885b8c79bca04562075c84ee19f True ([])},
-package-id base-4.16.1.0{unit base-4.16.1.0 True ([])},
-package-id ghc-bignum-1.2{unit ghc-bignum-1.2 True ([])},
-package-id ghc-prim-0.8.0{unit ghc-prim-0.8.0 True ([])},
-package-id rts{unit rts True ([])},
-package-id template-haskell-2.18.0.0{unit template-haskell-2.18.0.0 True ([])},
-package-id ghc-boot-th-9.2.2{unit ghc-boot-th-9.2.2 True ([])},
-package-id pretty-1.1.3.6{unit pretty-1.1.3.6 True ([])},
-package-id deepseq-1.4.6.1{unit deepseq-1.4.6.1 True ([])},
-package-id array-0.5.4.0{unit array-0.5.4.0 True ([])},
-package-id QuickCheck-2.14.2-51a0334112365ba49c1a749741e318fa50a93b846d7e1f3f2e0a5685dd878c45{unit QuickCheck-2.14.2-51a0334112365ba49c1a749741e318fa50a93b846d7e1f3f2e0a5685dd878c45 True ([])},
-package-id containers-0.6.5.1{unit containers-0.6.5.1 True ([])},
-package-id random-1.2.1-137c4de6ed6d11b5d51cf64300cfb82f6ef440c33bf36e0cd4fcadc9a66d0e3b{unit random-1.2.1-137c4de6ed6d11b5d51cf64300cfb82f6ef440c33bf36e0cd4fcadc9a66d0e3b True ([])},
-package-id bytestring-0.11.3.0{unit bytestring-0.11.3.0 True ([])},
-package-id mtl-2.2.2{unit mtl-2.2.2 True ([])},
-package-id transformers-0.5.6.2{unit transformers-0.5.6.2 True ([])},
-package-id splitmix-0.1.0.4-201c59ac932f856499a47c73ffe84a6be5b6dfd5db9ec6182775fe6b945f369c{unit splitmix-0.1.0.4-201c59ac932f856499a47c73ffe84a6be5b6dfd5db9ec6182775fe6b945f369c True ([])},
-package-id attoparsec-0.14.4-7fb7609471e0632ee24c02a1f8de8d4fb2368f35fc7500cb46c263d34160c606{unit attoparsec-0.14.4-7fb7609471e0632ee24c02a1f8de8d4fb2368f35fc7500cb46c263d34160c606 True ([])},
-package-id attoparsec-0.14.4-l-attoparsec-internal-c07115e85bc083afb7b44c43537a32fe9f86e4693df082f40beeeb9e9d27723a{unit attoparsec-0.14.4-l-attoparsec-internal-c07115e85bc083afb7b44c43537a32fe9f86e4693df082f40beeeb9e9d27723a True ([])},
-package-id text-1.2.5.0{unit text-1.2.5.0 True ([])},
-package-id binary-0.8.9.0{unit binary-0.8.9.0 True ([])},
-package-id scientific-0.3.7.0-7c547eb27bfc5bda5e990a780d96d3e80e6a5fd8ef5af0a4370126352f343041{unit scientific-0.3.7.0-7c547eb27bfc5bda5e990a780d96d3e80e6a5fd8ef5af0a4370126352f343041 True ([])},
-package-id hashable-1.4.0.2-9d820d0e4027f6b5a75d4a326b094d64acb9fdc112ac666639db27a1e0052434{unit hashable-1.4.0.2-9d820d0e4027f6b5a75d4a326b094d64acb9fdc112ac666639db27a1e0052434 True ([])},
-package-id integer-logarithms-1.0.3.1-6bd72f01a4e907d823dccf7b2335f7b5a5617fc4ec18169da1f969e6ee22deee{unit integer-logarithms-1.0.3.1-6bd72f01a4e907d823dccf7b2335f7b5a5617fc4ec18169da1f969e6ee22deee True ([])},
-package-id primitive-0.7.3.0-73d27fd03cfd0341161559dbb2c7d4309e96cbecc35dbd40a824ecbeff4205c7{unit primitive-0.7.3.0-73d27fd03cfd0341161559dbb2c7d4309e96cbecc35dbd40a824ecbeff4205c7 True ([])},
-package-id base-compat-batteries-0.12.1-288fcfe606c2a37dd7e4cc7c72f2eed6634a9773d4678a2b70210d1d89ebf3c0{unit base-compat-batteries-0.12.1-288fcfe606c2a37dd7e4cc7c72f2eed6634a9773d4678a2b70210d1d89ebf3c0 True ([])},
-package-id base-compat-0.12.1-7e7d080a91c323788743f466f5a9e5acec6d214995b9717e12b9092fa2857a37{unit base-compat-0.12.1-7e7d080a91c323788743f466f5a9e5acec6d214995b9717e12b9092fa2857a37 True ([])},
-package-id unix-2.7.2.2{unit unix-2.7.2.2 True ([])},
-package-id time-1.11.1.1{unit time-1.11.1.1 True ([])},
-package-id data-fix-0.3.2-834ef81fbae2911c018f0cc23bc26f4945c8356618ee3978a05d1322a1bcf651{unit data-fix-0.3.2-834ef81fbae2911c018f0cc23bc26f4945c8356618ee3978a05d1322a1bcf651 True ([])},
-package-id dlist-1.0-19687f0ade75103dc89b150b26f2eacac7d2e499c5dab218742afb132fe2db57{unit dlist-1.0-19687f0ade75103dc89b150b26f2eacac7d2e499c5dab218742afb132fe2db57 True ([])},
-package-id indexed-traversable-0.1.2-df9293b0d5ce5c4803bfe17edde56acc532e95b5fd8038733aba2e9bc477e965{unit indexed-traversable-0.1.2-df9293b0d5ce5c4803bfe17edde56acc532e95b5fd8038733aba2e9bc477e965 True ([])},
-package-id semialign-1.2.0.1-f19c6d0036a3c81d87e20befbe75968537942b46e382239692585afdd4127b63{unit semialign-1.2.0.1-f19c6d0036a3c81d87e20befbe75968537942b46e382239692585afdd4127b63 True ([])},
-package-id indexed-traversable-instances-0.1.1-ad103758f9d39c6ae65093c9a071abf50e797c5e4709da8a21ff73ae93db9f43{unit indexed-traversable-instances-0.1.1-ad103758f9d39c6ae65093c9a071abf50e797c5e4709da8a21ff73ae93db9f43 True ([])},
-package-id tagged-0.8.6.1-7797cc11fb3ab0c92ba8b0177b537364ce65464499f9afc8ad7c6603298a4d73{unit tagged-0.8.6.1-7797cc11fb3ab0c92ba8b0177b537364ce65464499f9afc8ad7c6603298a4d73 True ([])},
-package-id unordered-containers-0.2.17.0-4cb0c3ac89fde4de22fba9b758a0aa87fbedda12d2f9f411f7e6f675af39ef9e{unit unordered-containers-0.2.17.0-4cb0c3ac89fde4de22fba9b758a0aa87fbedda12d2f9f411f7e6f675af39ef9e True ([])},
-package-id vector-0.12.3.1-6eff6b3b465471fd174e3c555da94cb72fd1c15d109a406f4ccbf601271931af{unit vector-0.12.3.1-6eff6b3b465471fd174e3c555da94cb72fd1c15d109a406f4ccbf601271931af True ([])},
-package-id semigroupoids-5.3.7-46c68ca7e995d70dcc19a73fc9886f046e97c2e1adc0c0418e51e05f6372d3f8{unit semigroupoids-5.3.7-46c68ca7e995d70dcc19a73fc9886f046e97c2e1adc0c0418e51e05f6372d3f8 True ([])},
-package-id base-orphans-0.8.6-cdba6cfb682737aa1bbf21b8f9aab1cddb1aa8cb46787a5f9092849b584ca7c7{unit base-orphans-0.8.6-cdba6cfb682737aa1bbf21b8f9aab1cddb1aa8cb46787a5f9092849b584ca7c7 True ([])},
-package-id bifunctors-5.5.11-0e909d78caa7dd0612ad2343a666abe596a3248a6c4cafd8a120360f89de2558{unit bifunctors-5.5.11-0e909d78caa7dd0612ad2343a666abe596a3248a6c4cafd8a120360f89de2558 True ([])},
-package-id comonad-5.0.8-d0717465a4c9eadc098fe9de2eb63af1264fedea47916fbdb0c171654b7b1bb7{unit comonad-5.0.8-d0717465a4c9eadc098fe9de2eb63af1264fedea47916fbdb0c171654b7b1bb7 True ([])},
-package-id distributive-0.6.2.1-f9b7ee0f7ec6eb99b968ed21a02eea292c7e55ba92e989a8101f8291f8a1ef86{unit distributive-0.6.2.1-f9b7ee0f7ec6eb99b968ed21a02eea292c7e55ba92e989a8101f8291f8a1ef86 True ([])},
-package-id transformers-compat-0.7.1-76eb4375d735c185535c918c6f547f50ecc63d5b818633619a5ac3581e72f609{unit transformers-compat-0.7.1-76eb4375d735c185535c918c6f547f50ecc63d5b818633619a5ac3581e72f609 True ([])},
-package-id th-abstraction-0.4.3.0-20f4688d4b353cb3b8278d42b5c36707be77040e16311ec543053b113a946b9a{unit th-abstraction-0.4.3.0-20f4688d4b353cb3b8278d42b5c36707be77040e16311ec543053b113a946b9a True ([])},
-package-id contravariant-1.5.5-4e638cffddc5f174a58b29c6fccc6e4c9722d9c6297a945ffd007ad671ef658b{unit contravariant-1.5.5-4e638cffddc5f174a58b29c6fccc6e4c9722d9c6297a945ffd007ad671ef658b True ([])},
-package-id StateVar-1.2.2-c50564515be7b34a409ee5f1db15f6280652981b298e4359dd24a694eb788d02{unit StateVar-1.2.2-c50564515be7b34a409ee5f1db15f6280652981b298e4359dd24a694eb788d02 True ([])},
-package-id stm-2.5.0.2{unit stm-2.5.0.2 True ([])},
-package-id these-1.1.1.1-b07826791f012253ad69cd6c888d9a30c5e7ca8a1a1e81580d3d353fbdcfaf21{unit these-1.1.1.1-b07826791f012253ad69cd6c888d9a30c5e7ca8a1a1e81580d3d353fbdcfaf21 True ([])},
-package-id assoc-1.0.2-6aa444fe6a3bcd20ebb6adf9e7ff9e0bdc912d290749f8cbae76308cfa522f07{unit assoc-1.0.2-6aa444fe6a3bcd20ebb6adf9e7ff9e0bdc912d290749f8cbae76308cfa522f07 True ([])},
-package-id strict-0.4.0.1-0dc7b81297d8ea0baa5bd902b5c3c3f9bbb9b4cec0d6acc24f29607641d4048f{unit strict-0.4.0.1-0dc7b81297d8ea0baa5bd902b5c3c3f9bbb9b4cec0d6acc24f29607641d4048f True ([])},
-package-id text-short-0.1.5-a79b6594ec04715a4c91ca290566f500c5006049f300d20d51e2bd8f1f0b6335{unit text-short-0.1.5-a79b6594ec04715a4c91ca290566f500c5006049f300d20d51e2bd8f1f0b6335 True ([])},
-package-id time-compat-1.9.6.1-53da59e18b62fdd90854108d4724daf16f9940e4137b72bfc23178688d7ce7f9{unit time-compat-1.9.6.1-53da59e18b62fdd90854108d4724daf16f9940e4137b72bfc23178688d7ce7f9 True ([])},
-package-id uuid-types-1.0.5-99434237e725b613712f7bd8930efdea677c28c6866926a17f9890ab0957a269{unit uuid-types-1.0.5-99434237e725b613712f7bd8930efdea677c28c6866926a17f9890ab0957a269 True ([])},
-package-id witherable-0.4.2-3ac2086b9c57a42eab2f96854c5df6b444e30431bbbfa6357e6c3981e9cf0c46{unit witherable-0.4.2-3ac2086b9c57a42eab2f96854c5df6b444e30431bbbfa6357e6c3981e9cf0c46 True ([])},
-package-id docrecords-0.1.0.0-34a1d287393b5e66cb0ebbf86ab7d690668df68eac9ebebd604b08ea310360d6{unit docrecords-0.1.0.0-34a1d287393b5e66cb0ebbf86ab7d690668df68eac9ebebd604b08ea310360d6 True ([])},
-package-id data-default-0.7.1.1-adc57b61f9d5efc5600515a8bca6817c4af72c397641e03c733383a8465a01ea{unit data-default-0.7.1.1-adc57b61f9d5efc5600515a8bca6817c4af72c397641e03c733383a8465a01ea True ([])},
-package-id data-default-class-0.1.2.0-007419f89da81ade69b7dee6dbb59b1fb59ef9cdd6f8e7b3c27ccf7eb9b383b0{unit data-default-class-0.1.2.0-007419f89da81ade69b7dee6dbb59b1fb59ef9cdd6f8e7b3c27ccf7eb9b383b0 True ([])},
-package-id data-default-instances-containers-0.0.1-e24cc4e8c1fd52711343454cbecc8f592cde8c746ffa4a7a3f2d48838081fdae{unit data-default-instances-containers-0.0.1-e24cc4e8c1fd52711343454cbecc8f592cde8c746ffa4a7a3f2d48838081fdae True ([])},
-package-id data-default-instances-dlist-0.0.1-5e39080d8cb9be0a6bfade268c08f9ed8d29484483831173b37679fa6ef7843b{unit data-default-instances-dlist-0.0.1-5e39080d8cb9be0a6bfade268c08f9ed8d29484483831173b37679fa6ef7843b True ([])},
-package-id data-default-instances-old-locale-0.0.1-9614f5850bce4aa47091c959328ee42181a92e23f085e98a6e0f252e5c077e29{unit data-default-instances-old-locale-0.0.1-9614f5850bce4aa47091c959328ee42181a92e23f085e98a6e0f252e5c077e29 True ([])},
-package-id old-locale-1.0.0.7-5b1f34f823411ccf4de85fac587ddccd3df843bd407c5c4db18438a2e03154ac{unit old-locale-1.0.0.7-5b1f34f823411ccf4de85fac587ddccd3df843bd407c5c4db18438a2e03154ac True ([])},
-package-id lens-5.1-7480dd758ffd66a86b04e43762e87bb5bfceb2a4292fc5dff9d0f78a6d54649f{unit lens-5.1-7480dd758ffd66a86b04e43762e87bb5bfceb2a4292fc5dff9d0f78a6d54649f True ([])},
-package-id call-stack-0.4.0-c4b0175f7be8127f0d9fa61a2c9f9f359dcbb7e4271546d0c49bcb19a9efa578{unit call-stack-0.4.0-c4b0175f7be8127f0d9fa61a2c9f9f359dcbb7e4271546d0c49bcb19a9efa578 True ([])},
-package-id exceptions-0.10.4{unit exceptions-0.10.4 True ([])},
-package-id filepath-1.4.2.2{unit filepath-1.4.2.2 True ([])},
-package-id free-5.1.7-6cdf421d1b5c132a3f179d9cf78eb85360420bd05385904f7ddd3086053cc409{unit free-5.1.7-6cdf421d1b5c132a3f179d9cf78eb85360420bd05385904f7ddd3086053cc409 True ([])},
-package-id profunctors-5.6.2-bb5457c91acb9022681095c3417f994f5b6b28b2796598806d0e9b23d4cb2a41{unit profunctors-5.6.2-bb5457c91acb9022681095c3417f994f5b6b28b2796598806d0e9b23d4cb2a41 True ([])},
-package-id transformers-base-0.4.6-5cf3183d87af3c1e79087bbe40b10123e595b12cccfd23bbf8b9965243084763{unit transformers-base-0.4.6-5cf3183d87af3c1e79087bbe40b10123e595b12cccfd23bbf8b9965243084763 True ([])},
-package-id kan-extensions-5.2.3-f53ae8ae6c8a593354c31b2ba233f42d8e4f17e7c270e50751ad607622c3327f{unit kan-extensions-5.2.3-f53ae8ae6c8a593354c31b2ba233f42d8e4f17e7c270e50751ad607622c3327f True ([])},
-package-id adjunctions-4.4-20ed29d7ee421743171477cdfa321c69d2189380b66b2d76eb872d1bb2008b6f{unit adjunctions-4.4-20ed29d7ee421743171477cdfa321c69d2189380b66b2d76eb872d1bb2008b6f True ([])},
-package-id semigroups-0.20-acf666abd8373f01a15bdb7d7f71d506210031d8380298ea3cd2ea5de07d70f7{unit semigroups-0.20-acf666abd8373f01a15bdb7d7f71d506210031d8380298ea3cd2ea5de07d70f7 True ([])},
-package-id void-0.7.3-93d667e668e2557dd82501a6e48c6151aeabae38190eabff56cd088259052a5f{unit void-0.7.3-93d667e668e2557dd82501a6e48c6151aeabae38190eabff56cd088259052a5f True ([])},
-package-id invariant-0.5.5-2d99b0ee9aaef6b69889cb8fa8d98931efd9218a57f93f0297a9686a78546bc1{unit invariant-0.5.5-2d99b0ee9aaef6b69889cb8fa8d98931efd9218a57f93f0297a9686a78546bc1 True ([])},
-package-id parallel-3.2.2.0-d97a8816cd742a6b7bce9575014e3d7121707962247cbb8d8cb80b1b05f05b84{unit parallel-3.2.2.0-d97a8816cd742a6b7bce9575014e3d7121707962247cbb8d8cb80b1b05f05b84 True ([])},
-package-id reflection-2.1.6-5ae879b437dd412cfe3bc03168ffaadc255c792a2a36a45d9dd0e2d943ba7c8c{unit reflection-2.1.6-5ae879b437dd412cfe3bc03168ffaadc255c792a2a36a45d9dd0e2d943ba7c8c True ([])},
-package-id optparse-applicative-0.17.0.0-e4b51be746aa2aaad093a03a63ca69b7350c55b616e3989d7eab9d88d79f8b2c{unit optparse-applicative-0.17.0.0-e4b51be746aa2aaad093a03a63ca69b7350c55b616e3989d7eab9d88d79f8b2c True ([])},
-package-id ansi-wl-pprint-0.6.9-0d9bbe71666eb3860e35f02ba8b2042b9d880b290157fda2535054305cd02ad7{unit ansi-wl-pprint-0.6.9-0d9bbe71666eb3860e35f02ba8b2042b9d880b290157fda2535054305cd02ad7 True ([])},
-package-id ansi-terminal-0.11.1-31d4647aedb92d0cb9b7c12abff8d994a8026bd7e6d7ee066286d699b5e803c5{unit ansi-terminal-0.11.1-31d4647aedb92d0cb9b7c12abff8d994a8026bd7e6d7ee066286d699b5e803c5 True ([])},
-package-id colour-2.3.6-41ac50f158169c899cc2c9c30635e06046c918b16a03cfe2bfb29f23cee300fc{unit colour-2.3.6-41ac50f158169c899cc2c9c30635e06046c918b16a03cfe2bfb29f23cee300fc True ([])},
-package-id process-1.6.13.2{unit process-1.6.13.2 True ([])},
-package-id directory-1.3.6.2{unit directory-1.3.6.2 True ([])},
-package-id vinyl-0.14.3-513cf7e00d8998b8af0c8d7993a08d31e0e8b1910a7e8c41e14522107526d0ea{unit vinyl-0.14.3-513cf7e00d8998b8af0c8d7993a08d31e0e8b1910a7e8c41e14522107526d0ea True ([])},
-package-id yaml-0.11.8.0-d2d9c12ff4dd686540c1a7634a5ef531c7f5589ee428f9f0a0b42b6fc4f4c2cd{unit yaml-0.11.8.0-d2d9c12ff4dd686540c1a7634a5ef531c7f5589ee428f9f0a0b42b6fc4f4c2cd True ([])},
-package-id conduit-1.3.4.2-e75e0ec7e0990614830474e6f08816eb1e7db393e9d25e7c28f5f7958ddbe4f1{unit conduit-1.3.4.2-e75e0ec7e0990614830474e6f08816eb1e7db393e9d25e7c28f5f7958ddbe4f1 True ([])},
-package-id mono-traversable-1.0.15.3-677b699356b69cfd3f84de981842b6a3d6affa4dc21484e2dd1d95d5100cc75e{unit mono-traversable-1.0.15.3-677b699356b69cfd3f84de981842b6a3d6affa4dc21484e2dd1d95d5100cc75e True ([])},
-package-id split-0.2.3.4-9cf82c98ea1b1fbde792db11ca85250e42c52d486d746851fa1a5fb64a6d5e8e{unit split-0.2.3.4-9cf82c98ea1b1fbde792db11ca85250e42c52d486d746851fa1a5fb64a6d5e8e True ([])},
-package-id vector-algorithms-0.8.0.4-f91a0f87b72cb03bf02a2985e003168744f8105cf7012961443efdfc4e50a123{unit vector-algorithms-0.8.0.4-f91a0f87b72cb03bf02a2985e003168744f8105cf7012961443efdfc4e50a123 True ([])},
-package-id resourcet-1.2.4.3-ec420a26eb0d5a634917aedbd4de178ee9ab4cde2de1fa30cfbe034760cb3037{unit resourcet-1.2.4.3-ec420a26eb0d5a634917aedbd4de178ee9ab4cde2de1fa30cfbe034760cb3037 True ([])},
-package-id unliftio-core-0.2.0.1-948112ba20fd103bb08b7962e85ff948befa5352b4e9119295c4132fd056271a{unit unliftio-core-0.2.0.1-948112ba20fd103bb08b7962e85ff948befa5352b4e9119295c4132fd056271a True ([])},
-package-id libyaml-0.1.2-97f0311d5a8dc9d176923097228db9a6e62c6c755c9e27dd509926d2eee732f1{unit libyaml-0.1.2-97f0311d5a8dc9d176923097228db9a6e62c6c755c9e27dd509926d2eee732f1 True ([])}]
loading package database /nix/store/xkc8rdh3j806w22gvxwiig08z8pcwxkr-ghc-9.2.2/lib/ghc-9.2.2/package.conf.d
loading package database /home/handre/.cabal/store/ghc-9.2.2/package.db
loading package database /home/handre/dev/ghc-bug/dist-newstyle/packagedb/ghc-9.2.2
wired-in package ghc-prim mapped to ghc-prim-0.8.0
wired-in package ghc-bignum mapped to ghc-bignum-1.2
wired-in package base mapped to base-4.16.1.0
wired-in package rts mapped to rts
wired-in package template-haskell mapped to template-haskell-2.18.0.0
wired-in package ghc mapped to ghc-9.2.2
!!! initializing unit database: finished in 25.16 milliseconds, allocated 8.284 megabytes
*** Chasing dependencies:
Chasing modules from: GhcBug.hs
!!! Chasing dependencies: finished in 1.61 milliseconds, allocated 1.794 megabytes
Stable obj: {}
Stable BCO: {}
Ready for upsweep
[NONREC
ModSummary {
ms_hs_date = 2022-04-05 17:25:03.832506401 UTC
ms_mod = GhcBug,
ms_textual_imps = [(Nothing, Prelude),
(Nothing, Data.Vinyl.Functor), (Nothing, Data.DocRecord),
(Nothing, GHC.Generics), (Nothing, Data.Aeson)]
ms_srcimps = []
} []]
*** Deleting temp files:
Deleting:
compile: input file GhcBug.hs
*** Checking old interface for GhcBug (use -ddump-hi-diffs for more details):
[1 of 1] Compiling GhcBug ( GhcBug.hs, GhcBug.o )
*** Parser [GhcBug]:
!!! Parser [GhcBug]: finished in 0.49 milliseconds, allocated 1.050 megabytes
*** Renamer/typechecker [GhcBug]:
!!! Renamer/typechecker [GhcBug]: finished in 374.45 milliseconds, allocated 207.317 megabytes
*** Desugar [GhcBug]:
Result size of Desugar (before optimization)
= {terms: 826, types: 4,827, coercions: 261, joins: 0/104}
Result size of Desugar (after optimization)
= {terms: 755, types: 4,320, coercions: 498, joins: 0/75}
!!! Desugar [GhcBug]: finished in 34.69 milliseconds, allocated 29.639 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier iteration=1
= {terms: 1,549, types: 9,262, coercions: 3,291, joins: 0/34}
Result size of Simplifier iteration=2
= {terms: 1,102, types: 3,718, coercions: 1,353, joins: 0/18}
Result size of Simplifier iteration=3
= {terms: 1,086, types: 3,448, coercions: 1,255, joins: 0/15}
Result size of Simplifier
= {terms: 1,086, types: 3,448, coercions: 1,255, joins: 0/15}
!!! Simplifier [GhcBug]: finished in 164.48 milliseconds, allocated 78.131 megabytes
*** Specialise [GhcBug]:
Result size of Specialise
= {terms: 1,086, types: 3,448, coercions: 1,255, joins: 0/15}
!!! Specialise [GhcBug]: finished in 1.84 milliseconds, allocated 1.760 megabytes
*** Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = False}) [GhcBug]:
Result size of Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = False})
= {terms: 1,202, types: 3,763, coercions: 1,255, joins: 0/12}
!!! Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = False}) [GhcBug]: finished in 3.11 milliseconds, allocated 3.521 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier iteration=1
= {terms: 1,127, types: 3,611, coercions: 1,258, joins: 0/12}
Result size of Simplifier
= {terms: 1,127, types: 3,611, coercions: 1,258, joins: 0/12}
!!! Simplifier [GhcBug]: finished in 23.49 milliseconds, allocated 10.988 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier iteration=1
= {terms: 1,150, types: 3,632, coercions: 1,287, joins: 0/15}
Result size of Simplifier
= {terms: 1,150, types: 3,632, coercions: 1,287, joins: 0/15}
!!! Simplifier [GhcBug]: finished in 12.76 milliseconds, allocated 12.759 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier iteration=1
= {terms: 1,224, types: 3,692, coercions: 1,285, joins: 3/26}
Result size of Simplifier iteration=2
= {terms: 1,073, types: 3,468, coercions: 1,240, joins: 0/15}
Result size of Simplifier
= {terms: 1,064, types: 3,437, coercions: 1,240, joins: 0/15}
!!! Simplifier [GhcBug]: finished in 14.36 milliseconds, allocated 14.470 megabytes
*** Float inwards [GhcBug]:
Result size of Float inwards
= {terms: 1,064, types: 3,437, coercions: 1,240, joins: 0/15}
!!! Float inwards [GhcBug]: finished in 0.69 milliseconds, allocated 0.989 megabytes
*** Called arity analysis [GhcBug]:
Result size of Called arity analysis
= {terms: 1,064, types: 3,437, coercions: 1,240, joins: 0/15}
!!! Called arity analysis [GhcBug]: finished in 0.70 milliseconds, allocated 0.952 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier iteration=1
= {terms: 1,086, types: 4,070, coercions: 1,590, joins: 0/26}
Result size of Simplifier iteration=2
= {terms: 1,064, types: 3,787, coercions: 1,590, joins: 0/15}
Result size of Simplifier
= {terms: 1,064, types: 3,787, coercions: 1,590, joins: 0/15}
!!! Simplifier [GhcBug]: finished in 13.47 milliseconds, allocated 13.787 megabytes
*** Demand analysis [GhcBug]:
Result size of Demand analysis
= {terms: 1,064, types: 3,787, coercions: 1,590, joins: 0/15}
!!! Demand analysis [GhcBug]: finished in 1.19 milliseconds, allocated 1.108 megabytes
*** Constructed Product Result analysis [GhcBug]:
Result size of Constructed Product Result analysis
= {terms: 1,064, types: 3,787, coercions: 1,590, joins: 0/15}
!!! Constructed Product Result analysis [GhcBug]: finished in 0.51 milliseconds, allocated 0.390 megabytes
*** Worker Wrapper binds [GhcBug]:
Result size of Worker Wrapper binds
= {terms: 1,076, types: 3,795, coercions: 1,590, joins: 0/18}
!!! Worker Wrapper binds [GhcBug]: finished in 0.41 milliseconds, allocated 0.314 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier iteration=1
= {terms: 1,066, types: 3,791, coercions: 1,590, joins: 0/16}
Result size of Simplifier
= {terms: 1,059, types: 3,785, coercions: 1,590, joins: 0/15}
!!! Simplifier [GhcBug]: finished in 7.31 milliseconds, allocated 9.213 megabytes
*** Exitification transformation [GhcBug]:
Result size of Exitification transformation
= {terms: 1,059, types: 3,785, coercions: 1,590, joins: 0/15}
!!! Exitification transformation [GhcBug]: finished in 0.25 milliseconds, allocated 0.195 megabytes
*** Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = True}) [GhcBug]:
Result size of Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = True})
= {terms: 1,093, types: 3,838, coercions: 1,590, joins: 0/14}
!!! Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = True}) [GhcBug]: finished in 4.09 milliseconds, allocated 3.198 megabytes
*** Common sub-expression [GhcBug]:
Result size of Common sub-expression
= {terms: 1,044, types: 3,797, coercions: 1,590, joins: 0/14}
!!! Common sub-expression [GhcBug]: finished in 1.23 milliseconds, allocated 1.454 megabytes
*** Float inwards [GhcBug]:
Result size of Float inwards
= {terms: 1,044, types: 3,797, coercions: 1,590, joins: 0/14}
!!! Float inwards [GhcBug]: finished in 0.83 milliseconds, allocated 0.954 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! Simplifier [GhcBug]: finished in 7.78 milliseconds, allocated 4.380 megabytes
*** Liberate case [GhcBug]:
Result size of Liberate case
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! Liberate case [GhcBug]: finished in 0.37 milliseconds, allocated 0.448 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! Simplifier [GhcBug]: finished in 4.80 milliseconds, allocated 4.359 megabytes
*** SpecConstr [GhcBug]:
Result size of SpecConstr
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! SpecConstr [GhcBug]: finished in 1.03 milliseconds, allocated 1.226 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! Simplifier [GhcBug]: finished in 3.84 milliseconds, allocated 4.395 megabytes
*** Common sub-expression [GhcBug]:
Result size of Common sub-expression
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! Common sub-expression [GhcBug]: finished in 0.84 milliseconds, allocated 1.318 megabytes
*** Simplifier [GhcBug]:
Result size of Simplifier
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! Simplifier [GhcBug]: finished in 4.35 milliseconds, allocated 4.422 megabytes
*** Demand analysis [GhcBug]:
Result size of Demand analysis
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! Demand analysis [GhcBug]: finished in 1.17 milliseconds, allocated 1.078 megabytes
*** CoreTidy [GhcBug]:
Result size of Tidy Core
= {terms: 992, types: 3,738, coercions: 1,590, joins: 0/14}
!!! CoreTidy [GhcBug]: finished in 1.89 milliseconds, allocated 2.071 megabytes
Created temporary directory: /run/user/1000/ghc416352_0
*** CorePrep [GhcBug]:
Result size of CorePrep
= {terms: 1,078, types: 4,461, coercions: 1,590, joins: 0/44}
!!! CorePrep [GhcBug]: finished in 3.02 milliseconds, allocated 2.459 megabytes
*** CoreToStg [GhcBug]:
*** Stg2Stg:
!!! CoreToStg [GhcBug]: finished in 1.49 milliseconds, allocated 2.540 megabytes
*** CodeGen [GhcBug]:
!!! CodeGen [GhcBug]: finished in 43.99 milliseconds, allocated 48.633 megabytes
*** WriteIface [GhcBug.hi]:
writeBinIface: 55 Names
writeBinIface: 279 dict entries
!!! WriteIface [GhcBug.hi]: finished in 0.62 milliseconds, allocated 1.289 megabytes
*** systool:as:
*** Assembler:
/nix/store/jz10kjr0lnhynwxnrzv4kcwbjs5s0ri8-gcc-wrapper-10.3.0/bin/cc -iquote. -no-pie -fno-PIC -x assembler -c /run/user/1000/ghc416352_0/ghc_2.s -o GhcBug.o.tmp
!!! systool:as: finished in 0.99 milliseconds, allocated 0.123 megabytes
Upsweep completely successful.
*** Deleting temp files:
Deleting: /run/user/1000/ghc416352_0/ghc_1.s /run/user/1000/ghc416352_0/ghc_2.s /run/user/1000/ghc416352_0/ghc_3.c
Warning: deleting non-existent /run/user/1000/ghc416352_0/ghc_1.s
Warning: deleting non-existent /run/user/1000/ghc416352_0/ghc_3.c
link(batch): upsweep (partially) failed OR
Main.main not exported; not linking.
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting: /run/user/1000/ghc416352_0
```https://gitlab.haskell.org/ghc/ghc/-/issues/21118InScope ASSERT failure with break0062022-02-23T14:10:21ZMatthew PickeringInScope ASSERT failure with break006```
+panic! (the 'impossible' happened)
+ GHC version 9.3.20220221:
+ ASSERT failed!
+ in_scope InScope {wild_00}
+ tenv [ams :-> LiftedRep, amt :-> LiftedRep, amu :-> a_I16g[rt],
+ amv :-> ()]
+ tenvFVs {a_I16g[rt]}
+ cenv [...```
+panic! (the 'impossible' happened)
+ GHC version 9.3.20220221:
+ ASSERT failed!
+ in_scope InScope {wild_00}
+ tenv [ams :-> LiftedRep, amt :-> LiftedRep, amu :-> a_I16g[rt],
+ amv :-> ()]
+ tenvFVs {a_I16g[rt]}
+ cenv []
+ cenvFVs {}
+ tys [q_ams]
+ cos []
+ Call stack:
+ CallStack (from HasCallStack):
+ assertPpr, called at compiler/GHC/Core/TyCo/Subst.hs:<line>:<column> in <package-id>:GHC.Core.TyCo.Subst
+ checkValidSubst, called at compiler/GHC/Core/TyCo/Subst.hs:<line>:<column> in <package-id>:GHC.Core.TyCo.Subst
+ substTy, called at compiler/GHC/Core/Opt/Simplify/Env.hs:<line>:<column> in <package-id>:GHC.Core.Opt.Simplify.Env
```
Related to #21113https://gitlab.haskell.org/ghc/ghc/-/issues/20747thread blocked indefinitely in an MVar operation2022-02-17T05:24:39ZJohan Josefssonthread blocked indefinitely in an MVar operation## Summary
Write a brief description of the issue.
I got this message:
*Main>
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.3 for x86_64-unknown-linux):
thread blocked indefinitely in an MVar operation
Please re...## Summary
Write a brief description of the issue.
I got this message:
*Main>
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.3 for x86_64-unknown-linux):
thread blocked indefinitely in an MVar operation
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
## Steps to reproduce
Please provide a set of concrete steps to reproduce the issue.
I had been fiddling around for a while. The only code loaded was:
-----------
```hs
factors n = [x | x <- [1..n], mod n x == 0]
isPrime n = (length (factors n)) == 2
primeFactors n = filter isPrime (factors n)
primeFactorized :: Integral a => a -> [a]
primeFactorized n
| n == 1 = []
| otherwise = x:primeFactorized (div n x) where x = (last (primeFactors n))
```
-------------
This is what I issued and what I got:
```
*Main>
*Main>
*Main> primeFactorized (3*3*3*31*37*37*83)
[83,37,37,31,3,3,3]
*Main>
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.3 for x86_64-unknown-linux):
thread blocked indefinitely in an MVar operation
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
```
## Expected behavior
What do you expect the reproducer described above to do?
## Environment
* GHC version used:
Optional:
* Operating System:
* System Architecture:https://gitlab.haskell.org/ghc/ghc/-/issues/20689Linker error when using ghci (packman) - requires dynamic R_X86_64_PC32 reloc...2021-12-28T09:48:09ZMatthew PickeringLinker error when using ghci (packman) - requires dynamic R_X86_64_PC32 reloc against 'g0' which may overflow at runtimeRepro: git@github.com:mpickering/packman.git
```
cabal repl
cabal repl
```
```
[nix-shell:~/packman]$ cabal repl
Resolving dependencies...
Build profile: -w ghc-8.10.2 -O1
In order, the following will be built (use -v for more details)...Repro: git@github.com:mpickering/packman.git
```
cabal repl
cabal repl
```
```
[nix-shell:~/packman]$ cabal repl
Resolving dependencies...
Build profile: -w ghc-8.10.2 -O1
In order, the following will be built (use -v for more details):
- packman-0.5.0 (lib) (first run)
Configuring library for packman-0.5.0..
Preprocessing library for packman-0.5.0..
GHCi, version 8.10.2: https://www.haskell.org/ghc/ :? for help
[1 of 4] Compiling GHC.Packing.PackException ( /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-8.10.2/packman-0.5.0/build/GHC/Packing/PackException.hs, /run/user/1000/ghc1380672_0/ghc_8.o )
[2 of 4] Compiling GHC.Packing.Type ( GHC/Packing/Type.hs, /run/user/1000/ghc1380672_0/ghc_10.o )
[3 of 4] Compiling GHC.Packing.Core ( GHC/Packing/Core.hs, /run/user/1000/ghc1380672_0/ghc_6.o )
[4 of 4] Compiling GHC.Packing ( GHC/Packing.hs, interpreted )
Ok, four modules loaded.
*GHC.Packing> :q
Leaving GHCi.
^[[A
[nix-shell:~/packman]$ cabal repl
Build profile: -w ghc-8.10.2 -O1
In order, the following will be built (use -v for more details):
- packman-0.5.0 (lib) (first run)
Preprocessing library for packman-0.5.0..
GHCi, version 8.10.2: https://www.haskell.org/ghc/ :? for help
/nix/store/p792j5f44l3f0xi7ai5jllwnxqwnka88-binutils-2.31.1/bin/ld.gold: error: /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-8.10.2/packman-0.5.0/build/cbits/Wrapper.o: requires dynamic R_X86_64_PC32 reloc against 'g0' which may overflow at runtime; recompile with -fPIC
collect2: error: ld returned 1 exit status
`cc' failed in phase `Linker'. (Exit code: 1)
cabal: repl failed for packman-0.5.0.
```
You need to `cabal build` then `cabal repl` for this to fail on HEAD.
```
[nix-shell:~/packman]$ cabal build -w ~/ghc-multi-hmi/_build/stage1/bin/ghc
Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.2.0.0 supports
'ghc' version < 8.12): /home/matt/ghc-multi-hmi/_build/stage1/bin/ghc is
version 9.3.20211107
Resolving dependencies...
Build profile: -w ghc-9.3.20211107 -O1
In order, the following will be built (use -v for more details):
- packman-0.5.0 (lib) (first run)
Configuring library for packman-0.5.0..
Preprocessing library for packman-0.5.0..
Building library for packman-0.5.0..
[1 of 4] Compiling GHC.Packing.PackException ( /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing/PackException.hs, /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing/PackException.o, /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing/PackException.dyn_o )
[2 of 4] Compiling GHC.Packing.Type ( GHC/Packing/Type.hs, /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing/Type.o, /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing/Type.dyn_o )
[3 of 4] Compiling GHC.Packing.Core ( GHC/Packing/Core.hs, /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing/Core.o, /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing/Core.dyn_o )
[4 of 4] Compiling GHC.Packing ( GHC/Packing.hs, /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing.o, /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/GHC/Packing.dyn_o )
[nix-shell:~/packman]$ cabal repl -w ~/ghc-multi-hmi/_build/stage1/bin/ghc
Build profile: -w ghc-9.3.20211107 -O1
In order, the following will be built (use -v for more details):
- packman-0.5.0 (lib) (ephemeral targets)
Preprocessing library for packman-0.5.0..
GHCi, version 9.3.20211107: https://www.haskell.org/ghc/ :? for help
/nix/store/p792j5f44l3f0xi7ai5jllwnxqwnka88-binutils-2.31.1/bin/ld.gold: error: /home/matt/packman/dist-newstyle/build/x86_64-linux/ghc-9.3.20211107/packman-0.5.0/build/cbits/Wrapper.o: requires dynamic R_X86_64_PC32 reloc against 'g0' which may overflow at runtime; recompile with -fPIC
collect2: error: ld returned 1 exit status
`cc' failed in phase `Linker'. (Exit code: 1)
cabal: repl failed for packman-0.5.0.
```
It's strange that you need to run `cabal repl` twice in order to see the issue. I can see this with 8.10.2 and also HEAD.Ben GamariBen Gamarihttps://gitlab.haskell.org/ghc/ghc/-/issues/20519Cross-compiled riscv64 binary fails to execute under qemu-user-riscv642021-11-04T08:13:46ZhexchainCross-compiled riscv64 binary fails to execute under qemu-user-riscv64## Summary
Bootstrapping a riscv64 toolchain on x64 results in some unusable stage2 binaries.
## Steps to reproduce
0. Create a working directory (e.g. `~/build`) and clone the ghc repository into it.
1. Prepare a Debian sid x64 chroo...## Summary
Bootstrapping a riscv64 toolchain on x64 results in some unusable stage2 binaries.
## Steps to reproduce
0. Create a working directory (e.g. `~/build`) and clone the ghc repository into it.
1. Prepare a Debian sid x64 chroot (I am using `debian-sid-tar` from https://hub.nspawn.org/images/).
2. Mount the directory inside the chroot and start it. Personally I found it very simple with systemd-nspawn:
```
systemd-nspawn -D /path/to/debian/x64 --bind=~/build:/build
```
3. Install required tools in the chroot (git, build-essential, gcc-12, autoconf, python3, riscv64-linux-gnu-gcc, llvm-12, ghc 8.10.6 from experimental, happy, alex).
4. Build the `ghc-9.2` branch with !6765 because rv64 gcc requires explicitly linking to libatomic for sub-word atomic operations.
```
(debian-sid-x64-chroot) $ ./boot
(debian-sid-x64-chroot) $ ./configure --target=riscv64-linux-gnu
(debian-sid-x64-chroot) $ make
```
build.mk:
```
...
BuildFlavour = quick
...
WITH_TERMINFO = NO
BUILD_EXTRA_PKGS = NO
HADDOCK_DOCS = NO
BUILD_MAN = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
GhcRtsCcOpts += -fkeep-inline-functions
DYNAMIC_GHC_PROGRAMS = NO
GhcLibWays = v
GhcRTSWays = debug
GhcThreaded = NO
GhcDebugged = YES
```
5. Setup `qemu-user-static` and binfmt-misc, and prepare a riscv64 chroot (may refer to [this Debian wiki article](https://wiki.debian.org/RISC-V#Qemu), starting from the "Qemu" section).
6. Mount the working directory into the chroot and start it:
```
systemd-nspawn -D /path/to/debian/rv64 --bind=~/build:/build
```
7. Try to execute the stage2 binary:
```
(debian-rv64-chroot) $ inplace/bin/ghc-stage2
ghc-stage2: internal error: ASSERTION FAILED: file rts/dist/build/AutoApply.cmm, line 2317
(GHC version 9.2.0.20211020 for riscv64_unknown_linux)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Aborted (core dumped)
```
A more detailed log, with `+RTS -Di -Da -Ds -DS`, can be found at https://ix.io/3CkH.
I've also tried to pull in 8b5e5b0524f614679a20ffaebab731c54dc6dee9 and cb862ecfc3d9d421ff64af35c0d87f6d6f835fa0 (the branch is at https://gitlab.haskell.org/hexchain/ghc/-/tree/ghc-9.2-rv64-bootstrap). The compiler still crashes, but only with a "Segmentation fault". With `+RTS -Di -Da -Ds -DS` there is not much difference.
## Expected behavior
The stage2 binary should work without any problem.
## Environment
* GHC version used: 8.10.6 (from debian experimental)
* LLVM: 12.0
* GCC: riscv64-linux-gnu-gcc 11.2.0
Optional:
* Operating System: Arch Linux
* System Architecture: x64https://gitlab.haskell.org/ghc/ghc/-/issues/20515Inconsistent constructor name causes a panic in signature files2021-10-15T10:12:17Zsheafsam.derbyshire@gmail.comInconsistent constructor name causes a panic in signature filesIf I declare a data constructor, and export it from a signature with a different name, I get a panic, as in the following `.bkp` file:
```haskell
unit p where
signature H(S(MkS)) where
data S = NotMkS
```
```
ghc: panic! (the 'im...If I declare a data constructor, and export it from a signature with a different name, I get a panic, as in the following `.bkp` file:
```haskell
unit p where
signature H(S(MkS)) where
data S = NotMkS
```
```
ghc: panic! (the 'impossible' happened)
(GHC version 9.0.1:
nameModule
internal MkS_02y
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler\GHC\Utils\Outputable.hs:1230:37 in ghc:GHC.Utils.Outputable
pprPanic, called at compiler\GHC\Types\Name.hs:282:3 in ghc:GHC.Types.Name
```
This happens in general Backpack usage (i.e. isn't limited to `.bkp` files).