nix: Try to use horizon ghc 9.6 #517
Draft
Garnix CI / package default [x86_64-linux]
failed
Mar 17, 2024 in 1m 21s
Run results
Build failed
Details
Last 100 lines of logs:
xml-conduit> The use of ‘~’ without TypeOperators
xml-conduit> will become an error in a future GHC release.
xml-conduit> Suggested fix: Perhaps you intended to use TypeOperators
xml-conduit> |
xml-conduit> 1122 | instance (a ~ Name) => IsString (NameMatcher a) where
xml-conduit> | ^
copying path '/nix/store/4vvh3sghp5nhjzp7wkfhiismk7ai5sf8-monad-logger-extras-0.1.1.1.tar.gz' from 'https://cache.nixos.org'...
copying 0 paths...
xml-conduit> src/Text/XML/Stream/Parse.hs:1155:5: warning: [-Wnoncanonical-monad-instances]
xml-conduit> Noncanonical ‘return’ definition detected
xml-conduit> in the instance declaration for ‘Monad AttrParser’.
xml-conduit> ‘return’ will eventually be removed in favour of ‘pure’
xml-conduit> Either remove definition for ‘return’ (recommended) or define as ‘return = pure’
xml-conduit> See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
xml-conduit> |
xml-conduit> 1155 | return a = AttrParser $ \as -> Right (as, a)
xml-conduit> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xml-conduit> src/Text/XML/Stream/Parse.hs:1161:5: warning: [-Wnoncanonical-monad-instances]
xml-conduit> Noncanonical ‘pure = return’ definition detected
xml-conduit> in the instance declaration for ‘Applicative AttrParser’.
xml-conduit> Move definition from ‘return’ to ‘pure’
xml-conduit> See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
xml-conduit> |
xml-conduit> 1161 | pure = return
xml-conduit> | ^^^^^^^^^^^^^
building '/nix/store/rmdgrjsly17nlgrrpg05mx6hm5hilwns-monad-logger-extras-0.1.1.1.drv'...
monad-logger-extras> Running phase: setupCompilerEnvironmentPhase
monad-logger-extras> Build with /nix/store/6akklgz42rzkxfkzpyq1phmrklgm0fg3-ghc-9.6.3.
monad-logger-extras> Running phase: unpackPhase
monad-logger-extras> unpacking source archive /nix/store/4vvh3sghp5nhjzp7wkfhiismk7ai5sf8-monad-logger-extras-0.1.1.1.tar.gz
monad-logger-extras> source root is monad-logger-extras-0.1.1.1
monad-logger-extras> setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file monad-logger-extras-0.1.1.1/src/Control/Monad/Logger/Orphans.hs
monad-logger-extras> Running phase: patchPhase
monad-logger-extras> Running phase: compileBuildDriverPhase
monad-logger-extras> setupCompileFlags: -package-db=/build/tmp.WJZfDICG7Q/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts
monad-logger-extras> [1 of 2] Compiling Main ( Setup.hs, /build/tmp.WJZfDICG7Q/Main.o )
monad-logger-extras> [2 of 2] Linking Setup
yaml> [ 2 of 10] Compiling Data.Yaml.Include ( src/Data/Yaml/Include.hs, dist/build/Data/Yaml/Include.p_o )
pandoc-link-context> Documentation created: dist/doc/html/pandoc-link-context/index.html,
pandoc-link-context> dist/doc/html/pandoc-link-context/pandoc-link-context.txt
yaml> [ 3 of 10] Compiling Data.Yaml.Builder ( src/Data/Yaml/Builder.hs, dist/build/Data/Yaml/Builder.p_o )
pandoc-lua-marshal> [25 of 28] Compiling Text.Pandoc.Lua.Marshal.SimpleTable
pandoc-link-context> Running phase: installPhase
pandoc-link-context> Installing library in /nix/store/j9psrsjksylgbkpr8gw8waq89zyjqvhb-pandoc-link-context-1.4.1.0/lib/ghc-9.6.3/lib/x86_64-linux-ghc-9.6.3/pandoc-link-context-1.4.1.0-5JHgj0LmF7zBVcjFBEHy7g
yaml> [ 4 of 10] Compiling Data.Yaml ( src/Data/Yaml.hs, dist/build/Data/Yaml.p_o )
yaml> [ 5 of 10] Compiling Data.Yaml.Config ( src/Data/Yaml/Config.hs, dist/build/Data/Yaml/Config.p_o )
pandoc-link-context> Running phase: fixupPhase
pandoc-link-context> shrinking RPATHs of ELF executables and libraries in /nix/store/j9psrsjksylgbkpr8gw8waq89zyjqvhb-pandoc-link-context-1.4.1.0
pandoc-link-context> shrinking /nix/store/j9psrsjksylgbkpr8gw8waq89zyjqvhb-pandoc-link-context-1.4.1.0/lib/ghc-9.6.3/lib/x86_64-linux-ghc-9.6.3/libHSpandoc-link-context-1.4.1.0-5JHgj0LmF7zBVcjFBEHy7g-ghc9.6.3.so
pandoc-link-context> checking for references to /build/ in /nix/store/j9psrsjksylgbkpr8gw8waq89zyjqvhb-pandoc-link-context-1.4.1.0...
pandoc-link-context> patching script interpreter paths in /nix/store/j9psrsjksylgbkpr8gw8waq89zyjqvhb-pandoc-link-context-1.4.1.0
pandoc-link-context> stripping (with command strip and flags -S -p) in /nix/store/j9psrsjksylgbkpr8gw8waq89zyjqvhb-pandoc-link-context-1.4.1.0/lib
pandoc-link-context> shrinking RPATHs of ELF executables and libraries in /nix/store/rndbzlxkvv7wwq24mfi9f41acwxdcy8z-pandoc-link-context-1.4.1.0-doc
pandoc-link-context> checking for references to /build/ in /nix/store/rndbzlxkvv7wwq24mfi9f41acwxdcy8z-pandoc-link-context-1.4.1.0-doc...
pandoc-link-context> patching script interpreter paths in /nix/store/rndbzlxkvv7wwq24mfi9f41acwxdcy8z-pandoc-link-context-1.4.1.0-doc
pandoc-lua-marshal> [26 of 28] Compiling Text.Pandoc.Lua.Marshal.MetaValue
yaml> [ 6 of 10] Compiling Data.Yaml.Aeson ( src/Data/Yaml/Aeson.hs, dist/build/Data/Yaml/Aeson.p_o )
yaml> [ 7 of 10] Compiling Data.Yaml.Parser ( src/Data/Yaml/Parser.hs, dist/build/Data/Yaml/Parser.p_o )
yaml> [ 8 of 10] Compiling Data.Yaml.Pretty ( src/Data/Yaml/Pretty.hs, dist/build/Data/Yaml/Pretty.p_o )
yaml> [ 9 of 10] Compiling Data.Yaml.TH ( src/Data/Yaml/TH.hs, dist/build/Data/Yaml/TH.p_o )
yaml> [10 of 10] Compiling Paths_yaml ( dist/build/autogen/Paths_yaml.hs, dist/build/Paths_yaml.p_o )
copying 2 paths...
copying path '/nix/store/rndbzlxkvv7wwq24mfi9f41acwxdcy8z-pandoc-link-context-1.4.1.0-doc' from 'ssh-ng://nix-ssh@garnix3'...
copying path '/nix/store/j9psrsjksylgbkpr8gw8waq89zyjqvhb-pandoc-link-context-1.4.1.0' from 'ssh-ng://nix-ssh@garnix3'...
running post-build-hook '/nix/store/khdyvjiwj9qvcaz11hz31h7k6762al0m-enqueue-package/bin/enqueue-package'...
pandoc-lua-marshal> [27 of 28] Compiling Text.Pandoc.Lua.Marshal.Pandoc
monad-logger-extras> Running phase: updateAutotoolsGnuConfigScriptsPhase
monad-logger-extras> Running phase: configurePhase
monad-logger-extras> configureFlags: --verbose --prefix=/nix/store/g2d0j25nw8b39b1j11lfjx7482ldlcn7-monad-logger-extras-0.1.1.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/jgj8h6zlv7lw29mb2823gd3vkvvlrb3v-monad-logger-extras-0.1.1.1-doc/share/doc/monad-logger-extras-0.1.1.1 --with-gcc=gcc --package-db=/build/tmp.WJZfDICG7Q/package.conf.d --ghc-options=-j16 +RTS -A64M -RTS --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-librar…
monad-logger-extras> Using Parsec parser
monad-logger-extras> Configuring monad-logger-extras-0.1.1.1...
commonmark-pandoc> Documentation created: dist/doc/html/commonmark-pandoc/index.html,
commonmark-pandoc> dist/doc/html/commonmark-pandoc/commonmark-pandoc.txt
commonmark-pandoc> Running phase: installPhase
commonmark-pandoc> Installing library in /nix/store/1p6f6066af4h4w9h888fr71kl2z96jgf-commonmark-pandoc-0.2.1.3/lib/ghc-9.6.3/lib/x86_64-linux-ghc-9.6.3/commonmark-pandoc-0.2.1.3-5MGr3lU9453JCc0BDujhlJ
commonmark-pandoc> Running phase: fixupPhase
commonmark-pandoc> shrinking RPATHs of ELF executables and libraries in /nix/store/1p6f6066af4h4w9h888fr71kl2z96jgf-commonmark-pandoc-0.2.1.3
commonmark-pandoc> shrinking /nix/store/1p6f6066af4h4w9h888fr71kl2z96jgf-commonmark-pandoc-0.2.1.3/lib/ghc-9.6.3/lib/x86_64-linux-ghc-9.6.3/libHScommonmark-pandoc-0.2.1.3-5MGr3lU9453JCc0BDujhlJ-ghc9.6.3.so
commonmark-pandoc> checking for references to /build/ in /nix/store/1p6f6066af4h4w9h888fr71kl2z96jgf-commonmark-pandoc-0.2.1.3...
commonmark-pandoc> patching script interpreter paths in /nix/store/1p6f6066af4h4w9h888fr71kl2z96jgf-commonmark-pandoc-0.2.1.3
monad-logger-extras> CallStack (from HasCallStack):
monad-logger-extras> withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:368:14 in Cabal-3.10.1.0:Distribution.Simple.Utils
monad-logger-extras> Error: Setup: Encountered missing or private dependencies:
monad-logger-extras> ansi-terminal >=0.9 && <0.12, mtl >=2.2 && <2.3
commonmark-pandoc> stripping (with command strip and flags -S -p) in /nix/store/1p6f6066af4h4w9h888fr71kl2z96jgf-commonmark-pandoc-0.2.1.3/lib
error: build of '/nix/store/rmdgrjsly17nlgrrpg05mx6hm5hilwns-monad-logger-extras-0.1.1.1.drv' on 'ssh-ng://nix-ssh@garnix3' failed: builder for '/nix/store/rmdgrjsly17nlgrrpg05mx6hm5hilwns-monad-logger-extras-0.1.1.1.drv' failed with exit code 1;
last 10 log lines:
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> configureFlags: --verbose --prefix=/nix/store/g2d0j25nw8b39b1j11lfjx7482ldlcn7-monad-logger-extras-0.1.1.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/jgj8h6zlv7lw29mb2823gd3vkvvlrb3v-monad-logger-extras-0.1.1.1-doc/share/doc/monad-logger-extras-0.1.1.1 --with-gcc=gcc --package-db=/build/tmp.WJZfDICG7Q/package.conf.d --ghc-options=-j16 +RTS -A64M -RTS --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --…
> Using Parsec parser
> Configuring monad-logger-extras-0.1.1.1...
> CallStack (from HasCallStack):
> withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:368:14 in Cabal-3.10.1.0:Distribution.Simple.Utils
> Error: Setup: Encountered missing or private dependencies:
> ansi-terminal >=0.9 && <0.12, mtl >=2.2 && <2.3
>
For full logs, run 'nix log /nix/store/rmdgrjsly17nlgrrpg05mx6hm5hilwns-monad-logger-extras-0.1.1.1.drv'.
error: builder for '/nix/store/rmdgrjsly17nlgrrpg05mx6hm5hilwns-monad-logger-extras-0.1.1.1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/y8v5h9pss4ibfh0ajwn86l6ybdq1h2b3-emanote-1.3.16.0.drv' failed to build
Loading