Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'], chrootPath='/var/lib/mock/f40-build-776438-128831/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/ghc-haskell-src-exts-1.23.1-17.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'], chrootPath='/var/lib/mock/f40-build-776438-128831/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.irAJhl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf haskell-src-exts-1.23.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/haskell-src-exts-1.23.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd haskell-src-exts-1.23.1 + rm -rf /builddir/build/BUILD/haskell-src-exts-1.23.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/haskell-src-exts-1.23.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9LCmtr + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd haskell-src-exts-1.23.1 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f CHANGELOG -a -x CHANGELOG ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-haskell-src-exts '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/haskell-src-exts-1.23.1 --global Configuring haskell-src-exts-1.23.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for haskell-src-exts-1.23.1.. unused rules: 3 Building library for haskell-src-exts-1.23.1.. [ 1 of 18] Compiling Language.Haskell.Exts.Extension [ 2 of 18] Compiling Language.Haskell.Exts.ExtScheme [ 3 of 18] Compiling Language.Haskell.Exts.SrcLoc [ 4 of 18] Compiling Language.Haskell.Exts.Syntax [ 5 of 18] Compiling Language.Haskell.Exts.ParseSyntax [ 6 of 18] Compiling Language.Haskell.Exts.Pretty src/Language/Haskell/Exts/Pretty.hs:119:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 119 | (>>) = then_DocM | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/Pretty.hs:120:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 120 | return = retDocM | ^^^^^^^^^^^^^^^^ [ 7 of 18] Compiling Language.Haskell.Exts.Fixity [ 8 of 18] Compiling Language.Haskell.Exts.Comments [ 9 of 18] Compiling Language.Haskell.Exts.ParseMonad src/Language/Haskell/Exts/ParseMonad.hs:101:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad ParseResult’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 101 | return = ParseOk | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:245:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative P’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 245 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:249:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad P’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 249 | return a = P $ \_i _x _y _l _ch s _m -> Ok s a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:357:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Lex r)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 357 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:361:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 361 | return a = Lex $ \k -> k a | ^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:363:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 363 | Lex v >> Lex w = Lex $ \k -> v (\_ -> w k) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:380:32: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Char]’ not matched: [] | 380 | -> let (newCh:rest)= if n > 0 then drop (n-1) r else (ch:r) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:401:29: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type[10 of 18] Compiling Language.Haskell.Exts.ParseUtils ‘[Char]’, ‘Int’ not matched: [] _ | 401 | lexTab = Lex $ \cont -> P $ \(_:r) x -> runP (cont ()) r (nextTab x) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:824:43: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Pat L]’ not matched: [] | 824 | else let (a:bs) = ps | ^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:856:44: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] [_] (_:_:_:_) | 856 | let [x,y] = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:906:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 906 | let (b:_) = srcInfoPoints loc in return (name,typ,b) | ^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:1289:17: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘(Int, Either SrcSpan (CName L))’ not matched: (_, (Right _)) | 1289 | (\(n,Left s) -> EWildcard (noInfoSpan s) n) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 18] Compiling Language.Haskell.Exts.InternalLexer [12 of 18] Compiling Language.Haskell.Exts.Lexer [13 of 18] Compiling Language.Haskell.Exts.InternalParser [14 of 18] Compiling Language.Haskell.Exts.Parser [15 of 18] Compiling Language.Haskell.Exts.ExactPrint src/Language/Haskell/Exts/ExactPrint.hs:50:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative EP’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 50 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:54:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad EP’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 54 | return x = EP $ \l cs -> (x, l, cs, id) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:381:18: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 381 | let (x:pts') = pts | ^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:702:21: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 702 | let (p:pts') = pts | ^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:742:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 742 | let (pat:pts) = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1748:13: warning: [-Wincomplete-uni-patterns] [16 of 18] Compiling Language.Haskell.Exts.Build [17 of 18] Compiling Language.Preprocessor.Unlit Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 1748 | let (opt:pts) = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Preprocessor/Unlit.hs:17:25: warning: [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^ src/Language/Preprocessor/Unlit.hs:17:28: warning: [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^^ src/Language/Preprocessor/Unlit.hs:18:19: warning: [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 18 | allProg (x:xs) = Program x:allProg xs | ^ src/Language/Preprocessor/Unlit.hs:18:21: warning: [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 18 | allProg (x:xs) = Program x:allProg xs | ^^ src/Language/Preprocessor/Unlit.hs:27:11: warning: [-Wunused-matches] Defined but not used: ‘x’ | 27 | classify (x:xs) = Comment:classify xs | ^ src/Language/Preprocessor/Unlit.hs:46:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^^ src/Language/Preprocessor/Unlit.hs:47:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:47:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:49:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^^ src/Language/Preprocessor/Unlit.hs:50:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:50:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:52:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:52:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:54:34: warning: [-Wunused-matches] Defined but not used: ‘next’ | 54 | adjacent file n _ (x@next :xs) = x: adjacent file (n+1) x xs | ^^^^ src/Language/Preprocessor/Unlit.hs:55:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 55 | adjacent file n _ [] = [] | ^^^^ src/Language/Preprocessor/Unlit.hs:55:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 55 | adjacent file n _ [] = [] | ^ src/Language/Preprocessor/Unlit.hs:69:22: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 [18 of 18] Compiling Language.Haskell.Exts | 69 | lines' ('\^M':'\n':s) acc = acc [] : lines' s id -- DOS | ^ src/Language/Preprocessor/Unlit.hs:70:17: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 70 | lines' ('\^M':s) acc = acc [] : lines' s id -- MacOS | ^ src/Language/Preprocessor/Unlit.hs:71:16: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 71 | lines' ('\n':s) acc = acc [] : lines' s id -- Unix | ^ src/Language/Preprocessor/Unlit.hs:72:13: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 72 | lines' (c:s) acc = lines' s (acc . (c:)) | ^ [ 1 of 18] Compiling Language.Haskell.Exts.Extension [ 2 of 18] Compiling Language.Haskell.Exts.ExtScheme [ 3 of 18] Compiling Language.Haskell.Exts.SrcLoc [ 4 of 18] Compiling Language.Haskell.Exts.Syntax [ 5 of 18] Compiling Language.Haskell.Exts.ParseSyntax [ 6 of 18] Compiling Language.Haskell.Exts.Pretty src/Language/Haskell/Exts/Pretty.hs:119:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 119 | (>>) = then_DocM | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/Pretty.hs:120:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 120 | return = retDocM | ^^^^^^^^^^^^^^^^ [ 7 of 18] Compiling Language.Haskell.Exts.Fixity [ 8 of 18] Compiling Language.Haskell.Exts.Comments [ 9 of 18] Compiling Language.Haskell.Exts.ParseMonad src/Language/Haskell/Exts/ParseMonad.hs:101:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad ParseResult’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 101 | return = ParseOk | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:245:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative P’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 245 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:249:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad P’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 249 | return a = P $ \_i _x _y _l _ch s _m -> Ok s a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:357:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Lex r)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 357 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:361:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 361 | return a = Lex $ \k -> k a | ^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:363:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 363 | Lex v >> Lex w = Lex $ \k -> v (\_ -> w k) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:380:32: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Char]’ not matched: [] | 380 | -> let (newCh:rest)= if n > 0 then drop (n-1) r else (ch:r) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 18] Compiling Language.Haskell.Exts.ParseUtils src/Language/Haskell/Exts/ParseMonad.hs:401:29: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[Char]’, ‘Int’ not matched: [] _ | 401 | lexTab = Lex $ \cont -> P $ \(_:r) x -> runP (cont ()) r (nextTab x) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:824:43: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Pat L]’ not matched: [] | 824 | else let (a:bs) = ps | ^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:856:44: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] [_] (_:_:_:_) | 856 | let [x,y] = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:906:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 906 | let (b:_) = srcInfoPoints loc in return (name,typ,b) | ^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:1289:17: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘(Int, Either SrcSpan (CName L))’ not matched: (_, (Right _)) | 1289 | (\(n,Left s) -> EWildcard (noInfoSpan s) n) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 18] Compiling Language.Haskell.Exts.InternalLexer [12 of 18] Compiling Language.Haskell.Exts.Lexer [13 of 18] Compiling Language.Haskell.Exts.InternalParser [14 of 18] Compiling Language.Haskell.Exts.Parser [15 of 18] Compiling Language.Haskell.Exts.ExactPrint src/Language/Haskell/Exts/ExactPrint.hs:50:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative EP’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 50 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:54:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad EP’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 54 | return x = EP $ \l cs -> (x, l, cs, id) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:381:18: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 381 | let (x:pts') = pts | ^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:702:21: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 702 | let (p:pts') = pts | ^^^^^^^^^^^^^^ [16 of 18] Compiling Language.Haskell.Exts.Build src/Language/Haskell/Exts/ExactPrint.hs:742:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 742 | let (pat:pts) = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1748:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 1748 | let (opt:pts) = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [17 of 18] Compiling Language.Preprocessor.Unlit src/Language/Preprocessor/Unlit.hs:17:25: warning: [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^ src/Language/Preprocessor/Unlit.hs:17:28: warning: [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^^ src/Language/Preprocessor/Unlit.hs:18:19: warning: [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 18 | allProg (x:xs) = Program x:allProg xs | ^ src/Language/Preprocessor/Unlit.hs:18:21: warning: [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 18 | allProg (x:xs) = Program x:allProg xs | ^^ src/Language/Preprocessor/Unlit.hs:27:11: warning: [-Wunused-matches] Defined but not used: ‘x’ | 27 | classify (x:xs) = Comment:classify xs | ^ src/Language/Preprocessor/Unlit.hs:46:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^^ src/Language/Preprocessor/Unlit.hs:47:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:47:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:49:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^^ src/Language/Preprocessor/Unlit.hs:50:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:50:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:52:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:52:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:54:34: warning: [-Wunused-matches] Defined but not used: ‘next’ | 54 | adjacent file n _ (x@next :xs) = x: adjacent file (n+1) x xs | ^^^^ src/Language/Preprocessor/Unlit.hs:55:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 55 | adjacent file n _ [] = [] | ^^^^ [18 of 18] Compiling Language.Haskell.Exts src/Language/Preprocessor/Unlit.hs:55:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 55 | adjacent file n _ [] = [] | ^ src/Language/Preprocessor/Unlit.hs:69:22: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 69 | lines' ('\^M':'\n':s) acc = acc [] : lines' s id -- DOS | ^ src/Language/Preprocessor/Unlit.hs:70:17: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 70 | lines' ('\^M':s) acc = acc [] : lines' s id -- MacOS | ^ src/Language/Preprocessor/Unlit.hs:71:16: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 71 | lines' ('\n':s) acc = acc [] : lines' s id -- Unix | ^ src/Language/Preprocessor/Unlit.hs:72:13: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 72 | lines' (c:s) acc = lines' s (acc . (c:)) | ^ + '[' -n dist/build/libHShaskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for haskell-src-exts-1.23.1.. Running Haddock on library for haskell-src-exts-1.23.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.17.1.0, deepseq-1.4.8.0, ghc-bignum-1.3, ghc-prim-0.9.0, pretty-1.1.3.6 Warning: --source-* options are ignored when --hyperlinked-source is enabled. src/Language/Haskell/Exts/Pretty.hs:119:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 119 | (>>) = then_DocM | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/Pretty.hs:120:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 120 | return = retDocM | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:101:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad ParseResult’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 101 | return = ParseOk | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:245:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative P’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 245 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:249:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad P’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 249 | return a = P $ \_i _x _y _l _ch s _m -> Ok s a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:357:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Lex r)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 357 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:361:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 361 | return a = Lex $ \k -> k a | ^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:363:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 363 | Lex v >> Lex w = Lex $ \k -> v (\_ -> w k) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:50:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative EP’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 50 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:54:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad EP’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 54 | return x = EP $ \l cs -> (x, l, cs, id) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Preprocessor/Unlit.hs:17:25: warning: [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^ src/Language/Preprocessor/Unlit.hs:17:28: warning: [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^^ src/Language/Preprocessor/Unlit.hs:18:19: warning: [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 18 | allProg (x:xs) = Program x:allProg xs | ^ src/Language/Preprocessor/Unlit.hs:18:21: warning: [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 18 | allProg (x:xs) = Program x:allProg xs | ^^ src/Language/Preprocessor/Unlit.hs:27:11: warning: [-Wunused-matches] Defined but not used: ‘x’ | 27 | classify (x:xs) = Comment:classify xs | ^ src/Language/Preprocessor/Unlit.hs:46:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^^ src/Language/Preprocessor/Unlit.hs:47:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:47:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:49:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^^ src/Language/Preprocessor/Unlit.hs:50:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:50:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:52:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:52:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:54:34: warning: [-Wunused-matches] Defined but not used: ‘next’ | 54 | adjacent file n _ (x@next :xs) = x: adjacent file (n+1) x xs | ^^^^ src/Language/Preprocessor/Unlit.hs:55:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 55 | adjacent file n _ [] = [] | ^^^^ src/Language/Preprocessor/Unlit.hs:55:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 55 | adjacent file n _ [] = [] | ^ src/Language/Preprocessor/Unlit.hs:69:22: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 69 | lines' ('\^M':'\n':s) acc = acc [] : lines' s id -- DOS | ^ src/Language/Preprocessor/Unlit.hs:70:17: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 70 | lines' ('\^M':s) acc = acc [] : lines' s id -- MacOS | ^ src/Language/Preprocessor/Unlit.hs:71:16: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 71 | lines' ('\n':s) acc = acc [] : lines' s id -- Unix | ^ src/Language/Preprocessor/Unlit.hs:72:13: warning: [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 72 | lines' (c:s) acc = lines' s (acc . (c:)) | ^ Warning: 'capi' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 65% ( 13 / 20) in 'Language.Haskell.Exts.Extension' Missing documentation for: Language (src/Language/Haskell/Exts/Extension.hs:86) knownLanguages (src/Language/Haskell/Exts/Extension.hs:105) classifyLanguage (src/Language/Haskell/Exts/Extension.hs:108) prettyLanguage (src/Language/Haskell/Exts/Extension.hs:114) KnownExtension (src/Language/Haskell/Exts/Extension.hs:135) ghcDefault (src/Language/Haskell/Exts/Extension.hs:646) toExtensionList (src/Language/Haskell/Exts/Extension.hs:725) Warning: 'SrcInfoSpan' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 87% ( 21 / 24) in 'Language.Haskell.Exts.SrcLoc' Missing documentation for: showInt (src/Language/Haskell/Exts/SrcLoc.hs:21) noLoc (src/Language/Haskell/Exts/SrcLoc.hs:38) spanSize (src/Language/Haskell/Exts/SrcLoc.hs:86) Warning: 'forall' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 65% ( 99 /152) in 'Language.Haskell.Exts.Syntax' Missing documentation for: PatternSynDirection (src/Language/Haskell/Exts/Syntax.hs:346) ResultSig (src/Language/Haskell/Exts/Syntax.hs:389) Unpackedness (src/Language/Haskell/Exts/Syntax.hs:605) Role (src/Language/Haskell/Exts/Syntax.hs:373) MaybePromotedName (src/Language/Haskell/Exts/Syntax.hs:655) prelude_mod (src/Language/Haskell/Exts/Syntax.hs:1009) main_mod (src/Language/Haskell/Exts/Syntax.hs:1009) main_name (src/Language/Haskell/Exts/Syntax.hs:1013) unit_con_name (src/Language/Haskell/Exts/Syntax.hs:1016) tuple_con_name (src/Language/Haskell/Exts/Syntax.hs:1019) list_con_name (src/Language/Haskell/Exts/Syntax.hs:1022) list_cons_name (src/Language/Haskell/Exts/Syntax.hs:1025) unboxed_singleton_con_name (src/Language/Haskell/Exts/Syntax.hs:1028) unit_con (src/Language/Haskell/Exts/Syntax.hs:1031) tuple_con (src/Language/Haskell/Exts/Syntax.hs:1034) unboxed_singleton_con (src/Language/Haskell/Exts/Syntax.hs:1037) as_name (src/Language/Haskell/Exts/Syntax.hs:1040) qualified_name (src/Language/Haskell/Exts/Syntax.hs:1040) hiding_name (src/Language/Haskell/Exts/Syntax.hs:1040) minus_name (src/Language/Haskell/Exts/Syntax.hs:1040) bang_name (src/Language/Haskell/Exts/Syntax.hs:1040) dot_name (src/Language/Haskell/Exts/Syntax.hs:1040) star_name (src/Language/Haskell/Exts/Syntax.hs:1040) export_name (src/Language/Haskell/Exts/Syntax.hs:1052) safe_name (src/Language/Haskell/Exts/Syntax.hs:1052) unsafe_name (src/Language/Haskell/Exts/Syntax.hs:1052) interruptible_name (src/Language/Haskell/Exts/Syntax.hs:1052) threadsafe_name (src/Language/Haskell/Exts/Syntax.hs:1052) stdcall_name (src/Language/Haskell/Exts/Syntax.hs:1052) ccall_name (src/Language/Haskell/Exts/Syntax.hs:1052) cplusplus_name (src/Language/Haskell/Exts/Syntax.hs:1052) dotnet_name (src/Language/Haskell/Exts/Syntax.hs:1052) jvm_name (src/Language/Haskell/Exts/Syntax.hs:1052) js_name (src/Language/Haskell/Exts/Syntax.hs:1052) javascript_name (src/Language/Haskell/Exts/Syntax.hs:1052) capi_name (src/Language/Haskell/Exts/Syntax.hs:1052) forall_name (src/Language/Haskell/Exts/Syntax.hs:1052) family_name (src/Language/Haskell/Exts/Syntax.hs:1052) role_name (src/Language/Haskell/Exts/Syntax.hs:1052) hole_name (src/Language/Haskell/Exts/Syntax.hs:1049) stock_name (src/Language/Haskell/Exts/Syntax.hs:1052) anyclass_name (src/Language/Haskell/Exts/Syntax.hs:1052) via_name (src/Language/Haskell/Exts/Syntax.hs:1052) unit_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1076) fun_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1076) list_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1076) tuple_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1082) unboxed_singleton_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1076) unit_tycon (src/Language/Haskell/Exts/Syntax.hs:1085) fun_tycon (src/Language/Haskell/Exts/Syntax.hs:1085) list_tycon (src/Language/Haskell/Exts/Syntax.hs:1085) tuple_tycon (src/Language/Haskell/Exts/Syntax.hs:1091) unboxed_singleton_tycon (src/Language/Haskell/Exts/Syntax.hs:1085) Warning: Couldn't find .haddock for export Style Warning: Couldn't find .haddock for export style Warning: Couldn't find .haddock for export Mode 77% ( 14 / 18) in 'Language.Haskell.Exts.Pretty' Missing documentation for: Style style Mode Indent (src/Language/Haskell/Exts/Pretty.hs:58) 75% ( 9 / 12) in 'Language.Haskell.Exts.Fixity' Missing documentation for: infix_ (src/Language/Haskell/Exts/Fixity.hs:185) infixl_ (src/Language/Haskell/Exts/Fixity.hs:185) infixr_ (src/Language/Haskell/Exts/Fixity.hs:185) 100% ( 4 / 4) in 'Language.Haskell.Exts.Comments' Warning: 'Prelude' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 66% ( 4 / 6) in 'Language.Haskell.Exts.Lexer' Missing documentation for: Token (src/Language/Haskell/Exts/InternalLexer.hs:37) showToken (src/Language/Haskell/Exts/InternalLexer.hs:1319) 93% ( 42 / 45) in 'Language.Haskell.Exts.Parser' Missing documentation for: unListOf (src/Language/Haskell/Exts/Parser.hs:249) PragmasAndModuleHead (src/Language/Haskell/Exts/Parser.hs:192) ModuleHeadAndImports (src/Language/Haskell/Exts/Parser.hs:212) 66% ( 2 / 3) in 'Language.Haskell.Exts.ExactPrint' Missing documentation for: ExactP (src/Language/Haskell/Exts/ExactPrint.hs:224) 100% ( 49 / 49) in 'Language.Haskell.Exts.Build' 88% ( 23 / 26) in 'Language.Haskell.Exts' Missing documentation for: Token (src/Language/Haskell/Exts/InternalLexer.hs:37) parseFileWithComments (src/Language/Haskell/Exts.hs:74) parseFileContentsWithComments (src/Language/Haskell/Exts.hs:115) Warning: Language.Haskell.Exts.Extension: could not find link destinations for: - GHC.Base.String - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - GHC.Maybe.Maybe - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - GHC.Types.Int - Data.Data.gmapM - GHC.Base.Monad - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Read.Read - GHC.Read.readsPrec - Text.ParserCombinators.ReadP.ReadS - GHC.Read.readList - GHC.Read.readPrec - Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Read.readListPrec - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.List.zipWith - GHC.Enum.Bounded - GHC.Enum.minBound - GHC.Enum.maxBound - GHC.Enum.Enum - GHC.Enum.succ - GHC.Enum.pred - GHC.Enum.toEnum - GHC.Enum.fromEnum - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo Warning: Language.Haskell.Exts.SrcLoc: could not find link destinations for: - GHC.Types.Int - GHC.Base.String - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - GHC.Maybe.Maybe - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapM - GHC.Base.Monad - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Types.Type - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Language.Haskell.Exts.Pretty.pretty - Language.Haskell.Exts.Pretty.Doc - Language.Haskell.Exts.Pretty.prettyPrec - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.False - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Types.True - GHC.Generics.:*: - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Maybe.Just - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - Language.Haskell.Exts.ParseMonad.parser - Language.Haskell.Exts.ParseMonad.P - GHC.Maybe.Nothing Warning: Language.Haskell.Exts.Syntax: could not find link destinations for: - GHC.Maybe.Maybe - Data.Foldable.Foldable - GHC.Types.Type - Data.Foldable.fold - GHC.Base.Monoid - Data.Foldable.foldMap - Data.Foldable.foldMap' - Data.Foldable.foldr - Data.Foldable.foldr' - Data.Foldable.foldl - Data.Foldable.foldl' - Data.Foldable.foldr1 - Data.Foldable.foldl1 - Data.Foldable.toList - Data.Foldable.null - GHC.Types.Bool - Data.Foldable.length - GHC.Types.Int - Data.Foldable.elem - GHC.Classes.Eq - Data.Foldable.maximum - GHC.Classes.Ord - Data.Foldable.minimum - Data.Foldable.sum - GHC.Num.Num - Data.Foldable.product - Data.Traversable.Traversable - Data.Traversable.traverse - GHC.Base.Applicative - Data.Traversable.sequenceA - Data.Traversable.mapM - GHC.Base.Monad - Data.Traversable.sequence - GHC.Base.Functor - GHC.Base.fmap - GHC.Base.<$ - Language.Haskell.Exts.ExactPrint.exactP - Language.Haskell.Exts.ExactPrint.EP - Control.Monad.Fail.MonadFail - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapM - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.== - GHC.Classes./= - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Language.Haskell.Exts.ParseMonad.parser - Language.Haskell.Exts.ParseMonad.P - Language.Haskell.Exts.Pretty.pretty - Language.Haskell.Exts.Pretty.Doc - Language.Haskell.Exts.Pretty.prettyPrec - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.False - GHC.Generics.:+: - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Generics.:*: - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Maybe.Nothing - GHC.Types.Symbol - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - GHC.Types.True - GHC.Maybe.Just - GHC.Generics.U1 - GHC.Num.Integer.Integer - GHC.Types.Char - GHC.Real.Rational Warning: Language.Haskell.Exts.Pretty: could not find link destinations for: - Language.Haskell.Exts.Pretty.pretty - Language.Haskell.Exts.Pretty.Doc - Language.Haskell.Exts.Pretty.prettyPrec - GHC.Types.Int - GHC.Base.String - GHC.Types.Float - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Types.Type - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.False - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Types.True - GHC.Generics.:*: - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Maybe.Just - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - GHC.Generics.:+: - GHC.Generics.U1 - Text.PrettyPrint.HughesPJ.Doc Warning: Language.Haskell.Exts.Fixity: could not find link destinations for: - GHC.Types.Int - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - GHC.Maybe.Maybe - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapM - GHC.Base.Monad - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Control.Monad.Fail.MonadFail - GHC.Types.Type Warning: Language.Haskell.Exts.Comments: could not find link destinations for: - Data.Traversable.Traversable - GHC.Types.Bool - GHC.Base.String - GHC.Types.True - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - GHC.Maybe.Maybe - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - GHC.Types.Int - Data.Data.gmapM - GHC.Base.Monad - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Classes./= Warning: Language.Haskell.Exts.Lexer: could not find link destinations for: - GHC.Base.String - GHC.Num.Integer.Integer - GHC.Real.Rational - GHC.Types.Char - GHC.Types.Bool - GHC.Maybe.Maybe - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Classes./= - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Types.Type - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.False - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Types.True - GHC.Generics.:*: - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Maybe.Just - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 Warning: Language.Haskell.Exts.Parser: could not find link destinations for: - GHC.Base.String - GHC.Err.undefined - Language.Haskell.Exts.ParseMonad.parser - GHC.Maybe.Maybe - Language.Haskell.Exts.ParseMonad.P - GHC.Types.Bool - GHC.Types.False - GHC.Types.True - Control.Monad.Fail.MonadFail - GHC.Types.Type - Control.Monad.Fail.fail - GHC.Base.Applicative - GHC.Base.pure - GHC.Base.<*> - GHC.Base.liftA2 - GHC.Base.*> - GHC.Base.<* - GHC.Base.Functor - GHC.Base.fmap - GHC.Base.<$ - GHC.Base.Monad - GHC.Base.>>= - GHC.Base.>> - GHC.Base.return - GHC.Base.Monoid - GHC.Base.Semigroup - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.<> - GHC.Base.sconcat - GHC.Base.NonEmpty - GHC.Base.stimes - GHC.Real.Integral - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapM - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Maybe.Nothing Warning: Language.Haskell.Exts.ExactPrint: could not find link destinations for: - GHC.Base.String - GHC.Types.Type - Language.Haskell.Exts.ExactPrint.exactP - Language.Haskell.Exts.ExactPrint.EP Warning: Language.Haskell.Exts.Build: could not find link destinations for: - GHC.Base.String - GHC.Types.Char - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.Int Warning: Language.Haskell.Exts: could not find link destinations for: - GHC.Base.String - GHC.Num.Integer.Integer - GHC.Real.Rational - GHC.Types.Char - GHC.Types.Bool - GHC.Maybe.Maybe - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Classes./= - GHC.IO.FilePath - GHC.Types.IO - GHC.Maybe.Nothing Documentation created: dist/doc/html/haskell-src-exts/index.html, dist/doc/html/haskell-src-exts/haskell-src-exts.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VklqzC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd haskell-src-exts-1.23.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/haskell-src-exts-1.23.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d haskell-src-exts-1.23.1.conf ']' + install -D --mode=0644 haskell-src-exts-1.23.1.conf /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/haskell-src-exts-1.23.1.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/haskell-src-exts-1.23.1.conf ']' + rm -f ghc-haskell-src-exts.files ghc-haskell-src-exts-doc.files + touch ghc-haskell-src-exts.files ghc-haskell-src-exts-doc.files + for i in /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHShaskell-src-exts-1.23.1-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShaskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShaskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/haskell-src-exts-1.23.1 + '[' -d /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/haskell-src-exts-1.23.1 ']' + find /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/haskell-src-exts-1.23.1 -type d -fprintf ghc-haskell-src-exts-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-haskell-src-exts-prof.files -o -fprint ghc-haskell-src-exts-devel.files + ls /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/haskell-src-exts-1.23.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/haskell-src-exts-1.23.1 + '[' -d /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/doc/ghc/html/libraries/haskell-src-exts-1.23.1 ']' + echo /usr/share/doc/ghc/html/libraries/haskell-src-exts-1.23.1 + for i in ghc-haskell-src-exts.files ghc-haskell-src-exts-devel.files ghc-haskell-src-exts-doc.files ghc-haskell-src-exts-prof.files + '[' -f ghc-haskell-src-exts.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64!!g' ghc-haskell-src-exts.files + for i in ghc-haskell-src-exts.files ghc-haskell-src-exts-devel.files ghc-haskell-src-exts-doc.files ghc-haskell-src-exts-prof.files + '[' -f ghc-haskell-src-exts-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64!!g' ghc-haskell-src-exts-devel.files + for i in ghc-haskell-src-exts.files ghc-haskell-src-exts-devel.files ghc-haskell-src-exts-doc.files ghc-haskell-src-exts-prof.files + '[' -f ghc-haskell-src-exts-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64!!g' ghc-haskell-src-exts-doc.files + for i in ghc-haskell-src-exts.files ghc-haskell-src-exts-devel.files ghc-haskell-src-exts-doc.files ghc-haskell-src-exts-prof.files + '[' -f ghc-haskell-src-exts-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64!!g' ghc-haskell-src-exts-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShaskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShaskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShaskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib/riscv64-linux-ghc-9.4.5 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yWyVqJ + umask 022 + cd /builddir/build/BUILD + cd haskell-src-exts-1.23.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/licenses/ghc-haskell-src-exts + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/licenses/ghc-haskell-src-exts + cp -pr /builddir/build/BUILD/haskell-src-exts-1.23.1/LICENSE /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/licenses/ghc-haskell-src-exts + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-haskell-src-exts = 1.23.1-17.fc40 ghc-haskell-src-exts(riscv-64) = 1.23.1-17.fc40 libHShaskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD-ghc9.4.5.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSarray-0.5.4.0-ghc9.4.5.so()(64bit) libHSbase-4.17.1.0-ghc9.4.5.so()(64bit) libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit) libHSghc-bignum-1.3-ghc9.4.5.so()(64bit) libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit) libHSpretty-1.1.3.6-ghc9.4.5.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-haskell-src-exts-devel-1.23.1-17.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0m9gbS + umask 022 + cd /builddir/build/BUILD + cd haskell-src-exts-1.23.1 + DOCDIR=/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/doc/ghc-haskell-src-exts-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/doc/ghc-haskell-src-exts-devel + cp -pr /builddir/build/BUILD/haskell-src-exts-1.23.1/CHANGELOG /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/doc/ghc-haskell-src-exts-devel + cp -pr /builddir/build/BUILD/haskell-src-exts-1.23.1/README.md /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/doc/ghc-haskell-src-exts-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(haskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD) ghc-haskell-src-exts-devel = 1.23.1-17.fc40 ghc-haskell-src-exts-devel(riscv-64) = 1.23.1-17.fc40 ghc-haskell-src-exts-static = 1.23.1-17.fc40 ghc-haskell-src-exts-static(riscv-64) = 1.23.1-17.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(array-0.5.4.0) ghc-devel(base-4.17.1.0) ghc-devel(ghc-prim-0.9.0) ghc-devel(pretty-1.1.3.6) Processing files: ghc-haskell-src-exts-doc-1.23.1-17.fc40.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2saWMr + umask 022 + cd /builddir/build/BUILD + cd haskell-src-exts-1.23.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/licenses/ghc-haskell-src-exts-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/licenses/ghc-haskell-src-exts-doc + cp -pr /builddir/build/BUILD/haskell-src-exts-1.23.1/LICENSE /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64/usr/share/licenses/ghc-haskell-src-exts-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-haskell-src-exts-doc = 1.23.1-17.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-haskell-src-exts-prof-1.23.1-17.fc40.riscv64 Provides: ghc-haskell-src-exts-prof = 1.23.1-17.fc40 ghc-haskell-src-exts-prof(riscv-64) = 1.23.1-17.fc40 ghc-prof(haskell-src-exts-1.23.1-4gi0e8enIduGuQ2gCtz5yD) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(array-0.5.4.0) ghc-prof(base-4.17.1.0) ghc-prof(ghc-prim-0.9.0) ghc-prof(pretty-1.1.3.6) Supplements: (ghc-haskell-src-exts-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64 Wrote: /builddir/build/RPMS/ghc-haskell-src-exts-1.23.1-17.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-haskell-src-exts-doc-1.23.1-17.fc40.noarch.rpm Wrote: /builddir/build/RPMS/ghc-haskell-src-exts-devel-1.23.1-17.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-haskell-src-exts-prof-1.23.1-17.fc40.riscv64.rpm Child return code was: 0