Skip to content

Add a comment

7ae0cd7
Select commit
Loading
Failed to load commit list.
Closed

Disable ghc docs by default #2319

Add a comment
7ae0cd7
Select commit
Loading
Failed to load commit list.
zw3rk Hydra / x86_64-darwin.unstable.ghc966.native.tests.th-dlls.build cancelled Feb 16, 2025 in 37s

Build aborted

6 failed steps

Details

Failed Steps

Step 10

Derivation

/nix/store/28zbvybhpsrywha8mgwr7swkal98vawy-th-dlls-lib-th-dlls-0.1.0.0.drv

Log

warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 265 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 518 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 1044 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 2185 ms

Step 9

Derivation

/nix/store/28zbvybhpsrywha8mgwr7swkal98vawy-th-dlls-lib-th-dlls-0.1.0.0.drv

Log

warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 265 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 518 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 1044 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 2185 ms

Step 8

Derivation

/nix/store/28zbvybhpsrywha8mgwr7swkal98vawy-th-dlls-lib-th-dlls-0.1.0.0.drv

Log

warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 265 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 518 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 1044 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 2185 ms

Step 7

Derivation

/nix/store/28zbvybhpsrywha8mgwr7swkal98vawy-th-dlls-lib-th-dlls-0.1.0.0.drv

Log

warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 265 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 518 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 1044 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 2185 ms

Step 6

Derivation

/nix/store/28zbvybhpsrywha8mgwr7swkal98vawy-th-dlls-lib-th-dlls-0.1.0.0.drv

Log

warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 265 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 518 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 1044 ms
warning: error: unable to download 'http://storage.local/office/a0s8sj0gvsxlxd75g5lk8hy1q7plpdsf.narinfo': Could not resolve hostname (6); retrying in 2185 ms

Step 1

Derivation

/nix/store/7g1p5805i1j395skp0ygsnkadj7f6127-c2hs-exe-c2hs-0.28.8.drv

Log

Running phase: unpackPhase
unpacking source archive /nix/store/3d5b6gkvybq70bhh799v45sfpgdxvhlb-c2hs-0.28.8.tar.gz
source root is c2hs-0.28.8
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file c2hs-0.28.8/tests/test-system.hs
Running phase: patchPhase
'/private/tmp/nix-build-c2hs-exe-c2hs-0.28.8.drv-0/.attr-0h9ydb7s8pfhl5kfs3rmmwnmpi49yyiw7jgr5dpw9rmvv8sy0f2b' -> 'c2hs.cabal'
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/hr76s85rhswn4rpjzrf0il13g3yshnsl-c2hs-exe-c2hs-0.28.8 exe:c2hs --package-db=clear --package-db=/private/tmp/nix-build-c2hs-exe-c2hs-0.28.8.drv-0/tmp.ifTEHHARmu/lib/ghc-9.6.6/lib/package.conf.d --flags=base3 --flags=-regression --exact-configuration --dependency=dlist=dlist-1.0-4gU1uwZtlC12QPDWmtCZHA --dependency=language-c=language-c-0.10.0-7wi563mXFmY5lVzNsQobq7 --dependency=array=array-0.5.6.0 --dependency=base=base-4.18.2.1 --dependency=bytestring=bytestring-0.11.5.3 --dependency=containers=containers-0.6.7 --dependency=deepseq=deepseq-1.4.8.1 --dependency=directory=directory-1.3.8.5 --dependency=exceptions=exceptions-0.10.7 --dependency=filepath=filepath-1.4.300.1 --dependency=ghc-bignum=ghc-bignum-1.3 --dependency=ghc-boot-th=ghc-boot-th-9.6.6 --dependency=ghc-prim=ghc-prim-0.10.0 --dependency=integer-gmp=integer-gmp-1.1 --dependency=mtl=mtl-2.3.1 --dependency=pretty=pretty-1.1.3.6 --dependency=process=process-1.6.19.0 --dependency=rts=rts-1.0.2 --dependency=stm=stm-2.5.1.0 --dependency=template-haskell=template-haskell-2.20.0.0 --dependency=time=time-1.12.2 --dependency=transformers=transformers-0.6.1.0 --dependency=unix=unix-2.8.4.0 --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-executable-dynamic --disable-coverage --enable-library-for-ghci --datadir=/nix/store/8lsbbzwzbcknw284619vm35jfw4z4khq-c2hs-exe-c2hs-0.28.8-data/share/ghc-9.6.6 
Configuring executable 'c2hs' for c2hs-0.28.8..
configurePhase completed in 1 minutes 4 seconds
Running phase: buildPhase
Preprocessing executable 'c2hs' for c2hs-0.28.8..
Building executable 'c2hs' for c2hs-0.28.8..
[ 1 of 26] Compiling C2HS.C.Info      ( src/C2HS/C/Info.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Info.o )
[ 2 of 26] Compiling C2HS.Config      ( src/C2HS/Config.hs, dist/build/c2hs/c2hs-tmp/C2HS/Config.o )
[ 3 of 26] Compiling C2HS.Switches    ( src/C2HS/Switches.hs, dist/build/c2hs/c2hs-tmp/C2HS/Switches.o )
[ 4 of 26] Compiling Control.StateTrans ( src/Control/StateTrans.hs, dist/build/c2hs/c2hs-tmp/Control/StateTrans.o )

src/Control/StateTrans.hs:77:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
77 | import Control.Applicative (Applicative(..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Control/StateTrans.hs:80:1: warning: [-Wdodgy-imports]
    Module ‘Prelude’ does not export ‘catch’
   |
80 | import Prelude hiding (catch)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Control/StateTrans.hs:109:3: warning: [-Wnoncanonical-monad-instances]
    Noncanonical ‘pure = return’ definition detected
    in the instance declaration for ‘Applicative (STB bs gs)’.
    Move definition from ‘return’ to ‘pure’
    See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
    |
109 |   pure  = return
    |   ^^^^^^^^^^^^^^

src/Control/StateTrans.hs:113:3: warning: [-Wnoncanonical-monad-instances]
    Noncanonical ‘return’ definition detected
    in the instance declaration for ‘Monad (STB bs gs)’.
    ‘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
    |
113 |   return = yield
    |   ^^^^^^^^^^^^^^
[ 5 of 26] Compiling Data.Errors      ( src/Data/Errors.hs, dist/build/c2hs/c2hs-tmp/Data/Errors.o )
[ 6 of 26] Compiling Data.Attributes  ( src/Data/Attributes.hs, dist/build/c2hs/c2hs-tmp/Data/Attributes.o )
[ 7 of 26] Compiling Control.StateBase ( src/Control/StateBase.hs, dist/build/c2hs/c2hs-tmp/Control/StateBase.o )

src/Control/StateBase.hs:59:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
59 | import Control.Applicative (Applicative(..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Control/StateBase.hs:61:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad.Fail’ is redundant
      except perhaps to import instances from ‘Control.Monad.Fail’
    To import instances alone, use: import Control.Monad.Fail()
   |
61 | import Control.Monad.Fail (MonadFail (..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Control/StateBase.hs:94:3: warning: [-Wnoncanonical-monad-instances]
    Noncanonical ‘pure = return’ definition detected
    in the instance declaration for ‘Applicative (PreCST e s)’.
    Move definition from ‘return’ to ‘pure’
    See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
   |
94 |   pure  = return
   |   ^^^^^^^^^^^^^^

src/Control/StateBase.hs:98:3: warning: [-Wnoncanonical-monad-instances]
    Noncanonical ‘return’ definition detected
    in the instance declaration for ‘Monad (PreCST e 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
   |
98 |   return = yield
   |   ^^^^^^^^^^^^^^
[ 8 of 26] Compiling Data.NameSpaces  ( src/Data/NameSpaces.hs, dist/build/c2hs/c2hs-tmp/Data/NameSpaces.o )
[ 9 of 26] Compiling C2HS.C.Attrs     ( src/C2HS/C/Attrs.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Attrs.o )
[10 of 26] Compiling C2HS.C.Builtin   ( src/C2HS/C/Builtin.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Builtin.o )
[11 of 26] Compiling Paths_c2hs       ( dist/build/c2hs/autogen/Paths_c2hs.hs, dist/build/c2hs/c2hs-tmp/Paths_c2hs.o )
[12 of 26] Compiling C2HS.Version     ( src/C2HS/Version.hs, dist/build/c2hs/c2hs-tmp/C2HS/Version.o )
[13 of 26] Compiling System.CIO       ( src/System/CIO.hs, dist/build/c2hs/c2hs-tmp/System/CIO.o )
[14 of 26] Compiling Control.State    ( src/Control/State.hs, dist/build/c2hs/c2hs-tmp/Control/State.o )
[15 of 26] Compiling C2HS.State       ( src/C2HS/State.hs, dist/build/c2hs/c2hs-tmp/C2HS/State.o )
[16 of 26] Compiling C2HS.C.Trav      ( src/C2HS/C/Trav.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Trav.o )

src/C2HS/C/Trav.hs:471:7: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘CDeclaration NodeInfo’ not matched:
            CStaticAssert _ _ _
            CDecl _ [] _
            CDecl _ ((Nothing, _, _):_) _
            CDecl _ (((Just _), _, _):_:_) _
    |
471 |   let CDecl _ [(Just declr, _, _)] _ = ide `simplifyDecl` decl
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[17 of 26] Compiling C2HS.C.Names     ( src/C2HS/C/Names.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Names.o )
[18 of 26] Compiling C2HS.C           ( src/C2HS/C.hs, dist/build/c2hs/c2hs-tmp/C2HS/C.o )
[19 of 26] Compiling Text.Lexers      ( src/Text/Lexers.hs, dist/build/c2hs/c2hs-tmp/Text/Lexers.o )
[20 of 26] Compiling C2HS.CHS.Lexer   ( src/C2HS/CHS/Lexer.hs, dist/build/c2hs/c2hs-tmp/C2HS/CHS/Lexer.o )

src/C2HS/CHS/Lexer.hs:534:33: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type ‘[Name]’ not matched: []
    |
534 |     action' str pos state = let name:ns = namesup state
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^

src/C2HS/CHS/Lexer.hs:700:14: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type ‘String’, ‘Position’, ‘CHSLexerState’ not matched:
            [] _ _
    |
700 |              \t@(ld:spdir) pos s ->      -- strip off the "\n" or "\0"
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/C2HS/CHS/Lexer.hs:927:27: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type ‘[Char]’, ‘Position’ not matched: [] _
    |
927 |               `lexaction` \(_:ds) pos -> Just (con pos (read ds))
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[21 of 26] Compiling C2HS.CHS         ( src/C2HS/CHS.hs, dist/build/c2hs/c2hs-tmp/C2HS/CHS.o )

src/C2HS/CHS.hs:841:24: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type ‘[String]’ not matched: []
    |
841 |                    let versline:chi = ls
    |                        ^^^^^^^^^^^^^^^^^

src/C2HS/CHS.hs:851:24: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘Maybe (String, String)’ not matched: Nothing
    |
851 |                    let Just (myMajor, myMinor) = majorMinor version
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[22 of 26] Compiling C2HS.Gen.Monad   ( src/C2HS/Gen/Monad.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Monad.o )
[23 of 26] Compiling C2HS.Gen.Wrapper ( src/C2HS/Gen/Wrapper.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Wrapper.o )

src/C2HS/Gen/Wrapper.hs:117:7: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘CDeclaration
                            Language.C.Data.Node.NodeInfo’ not matched:
            CStaticAssert _ _ _
            CDecl _ [] _
            CDecl _ ((Nothing, _, _):_) _
            CDecl _ (((Just _), (Just _), _):_) _
            ...
    |
117 |   let (CDecl specs [(Just decl, Nothing, Nothing)] n) = fixEmpty din idx
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[24 of 26] Compiling C2HS.Gen.Header  ( src/C2HS/Gen/Header.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Header.o )
[25 of 26] Compiling C2HS.Gen.Bind    ( src/C2HS/Gen/Bind.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Bind.o )

src/C2HS/Gen/Bind.hs:146:1: warning: [-Wunused-imports]
    The import of ‘C2HS.Switches’ is redundant
      except perhaps to import instances from ‘C2HS.Switches’
    To import instances alone, use: import C2HS.Switches()
    |
146 | import C2HS.Switches   (platformSB)
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/C2HS/Gen/Bind.hs:939:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘Maybe (CInitializer NodeInfo)’ not matched:
            Nothing
    |
939 |     let (Just ini) = initDeclr cdecl
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/C2HS/Gen/Bind.hs:998:25: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type ‘(Maybe String, Integer)’ not matched:
            (Nothing, _)
    |
998 |     let enumVals = map (\(Just i, e) -> (i, e)) $ filter (isJust . fst) $
    |                         ^^^^^^^^^^^^^^^^^^^^^^

src/C2HS/Gen/Bind.hs:1295:22: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type ‘[String]’ not matched: []
     |
1295 |                      (l:ls) = lines code
     |                      ^^^^^^^^^^^^^^^^^^^

src/C2HS/Gen/Bind.hs:2183:29: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘CDeclaration NodeInfo’ not matched:
            CStaticAssert _ _ _
            CStaticAssert _ _ _
            CDecl _ [] _
            CDecl _ [] _
            ...
     |
2183 |                         let CDecl specs [(declr, init', _)] at =
     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/C2HS/Gen/Bind.hs:2516:11: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘CDeclaration NodeInfo’ not matched:
            CStaticAssert _ _ _
            CStaticAssert _ _ _
            CStaticAssert _ _ _
            CStaticAssert _ _ _
            ...
     |
2516 |       let CDecl specs [(declr, init', _)] at = ide `simplifyDecl` cdecl'
     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[26 of 26] Compiling Main             ( src/Main.hs, dist/build/c2hs/c2hs-tmp/Main.o )

src/Main.hs:576:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘[String]’ not matched:
            []
            [_]
            [_, _]
            (_:_:_:_:_)
    |
576 |         [versMajor, versMinor, versRev] = map show $ DV.versionBranch versnum
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[27 of 27] Linking dist/build/c2hs/c2hs
buildPhase completed in 1 minutes 35 seconds
Running phase: installPhase
Installing executable c2hs in /nix/store/hr76s85rhswn4rpjzrf0il13g3yshnsl-c2hs-exe-c2hs-0.28.8/bin
Warning: The directory
/nix/store/hr76s85rhswn4rpjzrf0il13g3yshnsl-c2hs-exe-c2hs-0.28.8/bin is not in
the system search path.
Running phase: fixupPhase
checking for references to /private/tmp/nix-build-c2hs-exe-c2hs-0.28.8.drv-0/ in /nix/store/hr76s85rhswn4rpjzrf0il13g3yshnsl-c2hs-exe-c2hs-0.28.8...
patching script interpreter paths in /nix/store/hr76s85rhswn4rpjzrf0il13g3yshnsl-c2hs-exe-c2hs-0.28.8
checking for references to /private/tmp/nix-build-c2hs-exe-c2hs-0.28.8.drv-0/ in /nix/store/8lsbbzwzbcknw284619vm35jfw4z4khq-c2hs-exe-c2hs-0.28.8-data...
patching script interpreter paths in /nix/store/8lsbbzwzbcknw284619vm35jfw4z4khq-c2hs-exe-c2hs-0.28.8-data
Running phase: installCheckPhase
no Makefile or custom installCheckPhase, doing nothing