You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going to put this log here. I'm not sure if "free" is actually at fault or maybe GHC or even LLVM but something wrong is going on. This only happens on iOS currently & may be due to a misconfigured compiler.
setupCompilerEnvironmentPhase
Build with /nix/store/l1s9rvy5s79js0rmkfq5j6hswp69cj12-aarch64-apple-ios-ghc-8.4.2.
unpacking sources
unpacking source archive /nix/store/nb78jvawyd45sd3i3hg4zwq5qz0zzngx-free-5.0.2.tar.gz
source root is free-5.0.2
setting SOURCE_DATE_EPOCH to timestamp 1524692704 of file free-5.0.2/src/Data/Functor/Classes/Compat.hs
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/tmp/nix-build-free-5.0.2-aarch64-apple-ios.drv-0/setup-package.conf.d -j8 -threaded
[1 of 1] Compiling Main ( Setup.lhs, /private/tmp/nix-build-free-5.0.2-aarch64-apple-ios.drv-0/Main.o )
Linking Setup ...
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
updateAutotoolsGnuConfigScriptsPhase
configuring
configureFlags: --verbose --prefix=/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=clang --package-db=/private/tmp/nix-build-free-5.0.2-aarch64-apple-ios.drv-0/package.conf.d --ghc-option=-j8 --disable-split-objs --enable-library-profiling --profiling-detail=all-functions --disable-profiling --disable-shared --disable-coverage --disable-executable-dynamic --disable-tests --enable-library-vanilla --enable-library-for-ghci --configure-option=--host=aarch64-apple-ios --with-ghc=aarch64-apple-ios-ghc --with-ghc-pkg=aarch64-apple-ios-ghc-pkg --with-gcc=aarch64-apple-ios-cc --with-ld=aarch64-apple-ios-ld --with-hsc2hs=aarch64-apple-ios-hsc2hs --with-strip=aarch64-apple-ios-strip --hsc2hs-option=--cross-compile --ghc-options=-fexpose-all-unfoldings --extra-lib-dirs=/nix/store/l1s9rvy5s79js0rmkfq5j6hswp69cj12-aarch64-apple-ios-ghc-8.4.2/lib --extra-include-dirs=/nix/store/7sw7x8pxa9mgww1jjxabh04p1gzx1hib-llvm-5.0.2/include --extra-lib-dirs=/nix/store/7sw7x8pxa9mgww1jjxabh04p1gzx1hib-llvm-5.0.2/lib --extra-include-dirs=/nix/store/sk0239sfzfv1xabj94pq0yzwxwqchni8-ncurses-6.1-dev/include --extra-lib-dirs=/nix/store/sk0239sfzfv1xabj94pq0yzwxwqchni8-ncurses-6.1-dev/lib --extra-lib-dirs=/nix/store/x476b2i5p9b287caqh3baiab4xzg0r2c-ncurses-6.1/lib --extra-include-dirs=/nix/store/z0v52b95c59d2jqd2kjamvbfk6xlg1g8-zlib-1.2.11-dev/include --extra-lib-dirs=/nix/store/z0v52b95c59d2jqd2kjamvbfk6xlg1g8-zlib-1.2.11-dev/lib --extra-lib-dirs=/nix/store/0srr1yz38mp6k4bfs1l6ngfa0dh5rlcv-zlib-1.2.11/lib --extra-lib-dirs=/nix/store/7ckbg37k1r409nj9rw30bccdz61l3qib-llvm-5.0.2-lib/lib --extra-lib-dirs=/nix/store/x476b2i5p9b287caqh3baiab4xzg0r2c-ncurses-6.1/lib --extra-include-dirs=/nix/store/lhasgdk09d9arlpv27jwnb80hzlghd6b-libiconv-osx-10.11.6-aarch64-apple-ios/include --extra-lib-dirs=/nix/store/lhasgdk09d9arlpv27jwnb80hzlghd6b-libiconv-osx-10.11.6-aarch64-apple-ios/lib --extra-include-dirs=/nix/store/1pr0300mjmmn75735qzafplp4nbq3fvy-libc++-5.0.2/include --extra-lib-dirs=/nix/store/1pr0300mjmmn75735qzafplp4nbq3fvy-libc++-5.0.2/lib --extra-lib-dirs=/nix/store/x476b2i5p9b287caqh3baiab4xzg0r2c-ncurses-6.1/lib --extra-lib-dirs=/nix/store/lzk2yg0kwni62ibahrnkfqg3pbm6mgy0-gmp-6.1.2/lib --extra-include-dirs=/nix/store/hm9xccld2w2n5bzckfl6fi8h277drs3x-libiconv-osx-10.11.6/include --extra-lib-dirs=/nix/store/hm9xccld2w2n5bzckfl6fi8h277drs3x-libiconv-osx-10.11.6/lib
Using Parsec parser
Configuring free-5.0.2...
Dependency base ==4.*: using base-4.11.1.0
Dependency bifunctors >=4 && <6: using bifunctors-5.5.2
Dependency comonad >=4 && <6: using comonad-5.0.3
Dependency containers <0.6: using containers-0.5.11.0
Dependency distributive >=0.2.1: using distributive-0.5.3
Dependency exceptions >=0.6 && <0.11: using exceptions-0.8.3
Dependency mtl >=2.0.1.0 && <2.3: using mtl-2.2.2
Dependency profunctors >=4 && <6: using profunctors-5.2.2
Dependency semigroupoids >=4 && <6: using semigroupoids-5.2.2
Dependency semigroups >=0.8.3.1 && <1: using semigroups-0.18.4
Dependency template-haskell >=2.7.0.0 && <3: using template-haskell-2.13.0.0
Dependency transformers >=0.2.0 && <0.6: using transformers-0.5.5.0
Dependency transformers-base <0.5: using transformers-base-0.4.4
Dependency transformers-compat >=0.3 && <1: using transformers-compat-0.5.1.4
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
Source component graph: component lib
Configured component graph:
component free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ
include base-4.11.1.0
include bifunctors-5.5.2-ATLqoHe6qHB3QDE9nuCBmi
include comonad-5.0.3-LnpoGOwsMok7PCo9R9aZr1
include distributive-0.5.3-G1cuM5y90Bo2hrTs2E7Zpp
include mtl-2.2.2
include profunctors-5.2.2-HPOFuMS33cJGkucxjN3ONH
include semigroupoids-5.2.2-5OONa6URpjXT8CuBTz7go
include semigroups-0.18.4-8TzSEFpYt1WDcfY361NEhv
include transformers-0.5.5.0
include transformers-base-0.4.4-AXgZeCAXLF5IogrZdgKR3q
include transformers-compat-0.5.1.4-BG7wgRauI8h5onKXiYZE4l
include template-haskell-2.13.0.0
include exceptions-0.8.3-Ii5Q7YFckHgBserQRiDSiR
include containers-0.5.11.0
Linked component graph:
unit free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ
include base-4.11.1.0
include bifunctors-5.5.2-ATLqoHe6qHB3QDE9nuCBmi
include comonad-5.0.3-LnpoGOwsMok7PCo9R9aZr1
include distributive-0.5.3-G1cuM5y90Bo2hrTs2E7Zpp
include mtl-2.2.2
include profunctors-5.2.2-HPOFuMS33cJGkucxjN3ONH
include semigroupoids-5.2.2-5OONa6URpjXT8CuBTz7go
include semigroups-0.18.4-8TzSEFpYt1WDcfY361NEhv
include transformers-0.5.5.0
include transformers-base-0.4.4-AXgZeCAXLF5IogrZdgKR3q
include transformers-compat-0.5.1.4-BG7wgRauI8h5onKXiYZE4l
include template-haskell-2.13.0.0
include exceptions-0.8.3-Ii5Q7YFckHgBserQRiDSiR
include containers-0.5.11.0
Control.Alternative.Free=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Alternative.Free,Control.Alternative.Free.Final=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Alternative.Free.Final,Control.Applicative.Free=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Applicative.Free,Control.Applicative.Free.Fast=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Applicative.Free.Fast,Control.Applicative.Free.Final=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Applicative.Free.Final,Control.Applicative.Trans.Free=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Applicative.Trans.Free,Control.Comonad.Cofree=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Comonad.Cofree,Control.Comonad.Cofree.Class=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Comonad.Cofree.Class,Control.Comonad.Trans.Cofree=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Comonad.Trans.Cofree,Control.Comonad.Trans.Coiter=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Comonad.Trans.Coiter,Control.Monad.Free=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Free,Control.Monad.Free.Ap=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Free.Ap,Control.Monad.Free.Church=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Free.Church,Control.Monad.Free.Class=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Free.Class,Control.Monad.Free.TH=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Free.TH,Control.Monad.Trans.Free=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Trans.Free,Control.Monad.Trans.Free.Ap=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Trans.Free.Ap,Control.Monad.Trans.Free.Church=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Trans.Free.Church,Control.Monad.Trans.Iter=free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ:Control.Monad.Trans.Iter
Ready component graph:
definite free-5.0.2-HHGVK1EApnwDkt8ewmNnbJ
depends base-4.11.1.0
depends bifunctors-5.5.2-ATLqoHe6qHB3QDE9nuCBmi
depends comonad-5.0.3-LnpoGOwsMok7PCo9R9aZr1
depends distributive-0.5.3-G1cuM5y90Bo2hrTs2E7Zpp
depends mtl-2.2.2
depends profunctors-5.2.2-HPOFuMS33cJGkucxjN3ONH
depends semigroupoids-5.2.2-5OONa6URpjXT8CuBTz7go
depends semigroups-0.18.4-8TzSEFpYt1WDcfY361NEhv
depends transformers-0.5.5.0
depends transformers-base-0.4.4-AXgZeCAXLF5IogrZdgKR3q
depends transformers-compat-0.5.1.4-BG7wgRauI8h5onKXiYZE4l
depends template-haskell-2.13.0.0
depends exceptions-0.8.3-Ii5Q7YFckHgBserQRiDSiR
depends containers-0.5.11.0
Using Cabal-2.2.0.1 compiled by ghc-8.4
Using compiler: ghc-8.4.2
Using install prefix:
/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios
Executables installed in:
/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios/bin
Libraries installed in:
/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios/lib/ghc-8.4.2/free-5.0.2
Dynamic Libraries installed in:
/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios/lib/ghc-8.4.2/aarch64-ios-ghc-8.4.2
Private executables installed in:
/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios/libexec/aarch64-ios-ghc-8.4.2/free-5.0.2
Data files installed in:
/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios/share/aarch64-ios-ghc-8.4.2/free-5.0.2
Documentation installed in:
/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios/share/doc/aarch64-ios-ghc-8.4.2/free-5.0.2
Configuration files installed in:
/nix/store/zf5sj5iw97d4z3s9z9vjn1zxjxg4slrj-free-5.0.2-aarch64-apple-ios/etc
No alex found
Using ar found on system at:
/nix/store/a1w8w04kr8b1glznwqyf4najcqz61pqa-aarch64-apple-ios-cctools-binutils-darwin/bin/aarch64-apple-ios-ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 4.2.1 given by user at:
/nix/store/ygmasrxw60z61nlx5dfak99a9z9abdmg-aarch64-apple-ios-clang-wrapper-5.0.2/bin/aarch64-apple-ios-cc
Using ghc version 8.4.2 given by user at:
/nix/store/l1s9rvy5s79js0rmkfq5j6hswp69cj12-aarch64-apple-ios-ghc-8.4.2/bin/aarch64-apple-ios-ghc
Using ghc-pkg version 8.4.2 given by user at:
/nix/store/l1s9rvy5s79js0rmkfq5j6hswp69cj12-aarch64-apple-ios-ghc-8.4.2/bin/aarch64-apple-ios-ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.20.0 found on system at:
/nix/store/1is4npb72pffkxc69z0cxkvah9pzjc4l-ghc-8.4.2/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/1is4npb72pffkxc69z0cxkvah9pzjc4l-ghc-8.4.2/bin/hpc
Using hsc2hs version 0.68.3 given by user at:
/nix/store/l1s9rvy5s79js0rmkfq5j6hswp69cj12-aarch64-apple-ios-ghc-8.4.2/bin/aarch64-apple-ios-hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/9lczgrxscf76lxcqf79scqkgxklmpb7v-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld given by user at:
/nix/store/ygmasrxw60z61nlx5dfak99a9z9abdmg-aarch64-apple-ios-clang-wrapper-5.0.2/bin/aarch64-apple-ios-ld
No lhc found
No lhc-pkg found
No pkg-config found
Using runghc version 8.4.2 found on system at:
/nix/store/1is4npb72pffkxc69z0cxkvah9pzjc4l-ghc-8.4.2/bin/runghc
Using strip given by user at:
/nix/store/a1w8w04kr8b1glznwqyf4najcqz61pqa-aarch64-apple-ios-cctools-binutils-darwin/bin/aarch64-apple-ios-strip
Using tar found on system at:
/nix/store/1a2ram0mgcybnflz7jv4qd0fi7y09bbl-gnutar-1.30/bin/tar
No uhc found
building
Preprocessing library for free-5.0.2..
Building library for free-5.0.2..
[ 1 of 20] Compiling Control.Alternative.Free ( src/Control/Alternative/Free.hs, dist/build/Control/Alternative/Free.o )
[ 2 of 20] Compiling Control.Alternative.Free.Final ( src/Control/Alternative/Free/Final.hs, dist/build/Control/Alternative/Free/Final.o )
[ 3 of 20] Compiling Control.Applicative.Free ( src/Control/Applicative/Free.hs, dist/build/Control/Applicative/Free.o )
[ 4 of 20] Compiling Control.Applicative.Free.Fast ( src/Control/Applicative/Free/Fast.hs, dist/build/Control/Applicative/Free/Fast.o )
[ 5 of 20] Compiling Control.Applicative.Free.Final ( src/Control/Applicative/Free/Final.hs, dist/build/Control/Applicative/Free/Final.o )
[ 6 of 20] Compiling Control.Applicative.Trans.Free ( src/Control/Applicative/Trans/Free.hs, dist/build/Control/Applicative/Trans/Free.o )
[ 7 of 20] Compiling Control.Comonad.Cofree.Class ( src/Control/Comonad/Cofree/Class.hs, dist/build/Control/Comonad/Cofree/Class.o )
[ 8 of 20] Compiling Control.Comonad.Trans.Cofree ( src/Control/Comonad/Trans/Cofree.hs, dist/build/Control/Comonad/Trans/Cofree.o )
[ 9 of 20] Compiling Control.Monad.Free.Class ( src/Control/Monad/Free/Class.hs, dist/build/Control/Monad/Free/Class.o )
[10 of 20] Compiling Control.Monad.Free.TH ( src/Control/Monad/Free/TH.hs, dist/build/Control/Monad/Free/TH.o )
src/Control/Monad/Free/TH.hs:249:7: warning: [-Woverlapping-patterns]
Pattern match is redundant
In a case alternative: _ -> ...
|
249 | _ -> fail $ "Unsupported constructor type: `" ++ pprint con ++ "'"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Control/Monad/Free/TH.hs:278:1: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘constructorNames’: constructorNames con' = ...
|
278 | constructorNames con' = fail $ "Unsupported constructor type: `" ++ pprint con' ++ "'"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[11 of 20] Compiling Data.Functor.Classes.Compat ( src/Data/Functor/Classes/Compat.hs, dist/build/Data/Functor/Classes/Compat.o )
[12 of 20] Compiling Control.Monad.Trans.Iter ( src/Control/Monad/Trans/Iter.hs, dist/build/Control/Monad/Trans/Iter.o )
[13 of 20] Compiling Control.Monad.Trans.Free.Ap ( src/Control/Monad/Trans/Free/Ap.hs, dist/build/Control/Monad/Trans/Free/Ap.o )
[14 of 20] Compiling Control.Monad.Trans.Free ( src/Control/Monad/Trans/Free.hs, dist/build/Control/Monad/Trans/Free.o )
[15 of 20] Compiling Control.Monad.Trans.Free.Church ( src/Control/Monad/Trans/Free/Church.hs, dist/build/Control/Monad/Trans/Free/Church.o )
[16 of 20] Compiling Control.Monad.Free.Ap ( src/Control/Monad/Free/Ap.hs, dist/build/Control/Monad/Free/Ap.o )
[17 of 20] Compiling Control.Monad.Free ( src/Control/Monad/Free.hs, dist/build/Control/Monad/Free.o )
[18 of 20] Compiling Control.Monad.Free.Church ( src/Control/Monad/Free/Church.hs, dist/build/Control/Monad/Free/Church.o )
[19 of 20] Compiling Control.Comonad.Trans.Coiter ( src/Control/Comonad/Trans/Coiter.hs, dist/build/Control/Comonad/Trans/Coiter.o )
[20 of 20] Compiling Control.Comonad.Cofree ( src/Control/Comonad/Cofree.hs, dist/build/Control/Comonad/Cofree.o )
[ 1 of 20] Compiling Control.Alternative.Free ( src/Control/Alternative/Free.hs, dist/build/Control/Alternative/Free.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[ 2 of 20] Compiling Control.Alternative.Free.Final ( src/Control/Alternative/Free/Final.hs, dist/build/Control/Alternative/Free/Final.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[ 3 of 20] Compiling Control.Applicative.Free ( src/Control/Applicative/Free.hs, dist/build/Control/Applicative/Free.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[ 4 of 20] Compiling Control.Applicative.Free.Fast ( src/Control/Applicative/Free/Fast.hs, dist/build/Control/Applicative/Free/Fast.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[ 5 of 20] Compiling Control.Applicative.Free.Final ( src/Control/Applicative/Free/Final.hs, dist/build/Control/Applicative/Free/Final.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[ 6 of 20] Compiling Control.Applicative.Trans.Free ( src/Control/Applicative/Trans/Free.hs, dist/build/Control/Applicative/Trans/Free.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[ 7 of 20] Compiling Control.Comonad.Cofree.Class ( src/Control/Comonad/Cofree/Class.hs, dist/build/Control/Comonad/Cofree/Class.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[ 8 of 20] Compiling Control.Comonad.Trans.Cofree ( src/Control/Comonad/Trans/Cofree.hs, dist/build/Control/Comonad/Trans/Cofree.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[ 9 of 20] Compiling Control.Monad.Free.Class ( src/Control/Monad/Free/Class.hs, dist/build/Control/Monad/Free/Class.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[10 of 20] Compiling Control.Monad.Free.TH ( src/Control/Monad/Free/TH.hs, dist/build/Control/Monad/Free/TH.p_o )
src/Control/Monad/Free/TH.hs:249:7: warning: [-Woverlapping-patterns]
Pattern match is redundant
In a case alternative: _ -> ...
|
249 | _ -> fail $ "Unsupported constructor type: `" ++ pprint con ++ "'"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Control/Monad/Free/TH.hs:278:1: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘constructorNames’: constructorNames con' = ...
|
278 | constructorNames con' = fail $ "Unsupported constructor type: `" ++ pprint con' ++ "'"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[11 of 20] Compiling Data.Functor.Classes.Compat ( src/Data/Functor/Classes/Compat.hs, dist/build/Data/Functor/Classes/Compat.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[12 of 20] Compiling Control.Monad.Trans.Iter ( src/Control/Monad/Trans/Iter.hs, dist/build/Control/Monad/Trans/Iter.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[13 of 20] Compiling Control.Monad.Trans.Free.Ap ( src/Control/Monad/Trans/Free/Ap.hs, dist/build/Control/Monad/Trans/Free/Ap.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[14 of 20] Compiling Control.Monad.Trans.Free ( src/Control/Monad/Trans/Free.hs, dist/build/Control/Monad/Trans/Free.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[15 of 20] Compiling Control.Monad.Trans.Free.Church ( src/Control/Monad/Trans/Free/Church.hs, dist/build/Control/Monad/Trans/Free/Church.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[16 of 20] Compiling Control.Monad.Free.Ap ( src/Control/Monad/Free/Ap.hs, dist/build/Control/Monad/Free/Ap.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[17 of 20] Compiling Control.Monad.Free ( src/Control/Monad/Free.hs, dist/build/Control/Monad/Free.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[18 of 20] Compiling Control.Monad.Free.Church ( src/Control/Monad/Free/Church.hs, dist/build/Control/Monad/Free/Church.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
[19 of 20] Compiling Control.Comonad.Trans.Coiter ( src/Control/Comonad/Trans/Coiter.hs, dist/build/Control/Comonad/Trans/Coiter.p_o )
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
Entry block to function must not have predecessors!
label %c4GoP
Entry block to function must not have predecessors!
label %c4Gpu
opt: /private/tmp/nix-build-free-5.0.2-aarch64-apple-ios.drv-0/ghc91386_0/ghc_258.ll: error: input module is broken!
`opt' failed in phase `LLVM Optimiser'. (Exit code: 1)
builder for '/nix/store/5r9syyf6grd89mhvlxh0309dsc8hqg39-free-5.0.2-aarch64-apple-ios.drv' failed with exit code 1
GHC: 8.4.2
free: 5.0.2
LLVM: 5.0.2
Target: aarch64-apple-ios
I'm going to put this log here. I'm not sure if "free" is actually at fault or maybe GHC or even LLVM but something wrong is going on. This only happens on iOS currently & may be due to a misconfigured compiler.
Looking through the last source (https://github.com/ekmett/free/blob/master/src/Control/Comonad/Trans/Coiter.hs) & nothing weird seems to be going on.
Possibly related: https://ghc.haskell.org/trac/ghc/ticket/11649
/cc @angerman @Ericson2314
The text was updated successfully, but these errors were encountered: