Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate public initializers for Swift #92

Merged
merged 4 commits into from
Nov 21, 2024

Default nil for optionals

c2e7a2f
Select commit
Loading
Failed to load commit list.
Merged

Generate public initializers for Swift #92

Default nil for optionals
c2e7a2f
Select commit
Loading
Failed to load commit list.
Garnix CI / devShell ghc94 [x86_64-linux] failed Nov 21, 2024 in 52s

Run results

Build failed

Details

Last 100 lines of logs:

HTTP-4000.4.1>     defaultGETRequest (Network/HTTP/Base.hs:387)
HTTP-4000.4.1>     defaultGETRequest_ (Network/HTTP/Base.hs:390)
HTTP-4000.4.1>     setRequestBody (Network/HTTP/Base.hs:413)
HTTP-4000.4.1>     catchIO_ (Network/HTTP/Base.hs:998)
HTTP-4000.4.1>     responseParseError (Network/HTTP/Base.hs:1001)
HTTP-4000.4.1>     failHTTPS (Network/HTTP/Base.hs:213)
HTTP-4000.4.1> Warning: 'Request' is out of scope.
HTTP-4000.4.1>     If you qualify the identifier, haddock can try to link it anyway.
HTTP-4000.4.1> Warning: 'Response' is out of scope.
HTTP-4000.4.1>     If you qualify the identifier, haddock can try to link it anyway.
HTTP-4000.4.1> Warning: 'getHostByName' is out of scope.
HTTP-4000.4.1>     If you qualify the identifier, haddock can try to link it anyway.
HTTP-4000.4.1>   40% (  6 / 15) in 'Network.TCP'
HTTP-4000.4.1>   Missing documentation for:
HTTP-4000.4.1>     EndPoint (Network/TCP.hs:86)
HTTP-4000.4.1>     openTCPConnection (Network/TCP.hs:216)
HTTP-4000.4.1>     isTCPConnectedTo (Network/TCP.hs:336)
HTTP-4000.4.1>     HandleStream (Network/TCP.hs:84)
HTTP-4000.4.1>     StreamHooks (Network/TCP.hs:112)
HTTP-4000.4.1>     nullHooks (Network/TCP.hs:124)
HTTP-4000.4.1>     setStreamHooks (Network/TCP.hs:133)
HTTP-4000.4.1>     getStreamHooks (Network/TCP.hs:136)
HTTP-4000.4.1>     hstreamToConnection (Network/TCP.hs:104)
HTTP-4000.4.1>   75% (  3 /  4) in 'Network.StreamDebugger'
HTTP-4000.4.1>   Missing documentation for:
HTTP-4000.4.1>     debugByteStream (Network/StreamDebugger.hs:71)
HTTP-4000.4.1>   66% (  2 /  3) in 'Network.StreamSocket'
HTTP-4000.4.1>   Missing documentation for:
HTTP-4000.4.1>     myrecv (Network/StreamSocket.hs:54)
HTTP-4000.4.1>   75% (  6 /  8) in 'Network.HTTP.Stream'
HTTP-4000.4.1>   Missing documentation for:
HTTP-4000.4.1>     sendHTTP (Network/HTTP/Stream.hs:84)
HTTP-4000.4.1>     sendHTTP_notify (Network/HTTP/Stream.hs:87)
Cabal-syntax-3.12.1.0> [ 35 of 137] Compiling Distribution.Parsec ( src/Distribution/Parsec.hs, dist/build/Distribution/Parsec.o, dist/build/Distribution/Parsec.dyn_o )
HTTP-4000.4.1>  100% (  8 /  8) in 'Network.HTTP.HandleStream'
HTTP-4000.4.1>   85% (  6 /  7) in 'Network.HTTP.Auth'
HTTP-4000.4.1>   Missing documentation for:
HTTP-4000.4.1>     Challenge (Network/HTTP/Auth.hs:58)
Cabal-syntax-3.12.1.0> [ 36 of 137] Compiling Distribution.Utils.Path ( src/Distribution/Utils/Path.hs, dist/build/Distribution/Utils/Path.o, dist/build/Distribution/Utils/Path.dyn_o )
HTTP-4000.4.1>   80% (  4 /  5) in 'Network.HTTP.Proxy'
HTTP-4000.4.1>   Missing documentation for:
HTTP-4000.4.1>     noProxy (Network/HTTP/Proxy.hs:71)
HTTP-4000.4.1>  100% ( 16 / 16) in 'Network.HTTP'
HTTP-4000.4.1> Warning: 'setAutoProxyDetect' is out of scope.
HTTP-4000.4.1>     If you qualify the identifier, haddock can try to link it anyway.
HTTP-4000.4.1>   79% ( 47 / 59) in 'Network.Browser'
HTTP-4000.4.1>   Missing documentation for:
HTTP-4000.4.1>     setAuthorities (Network/Browser.hs:286)
HTTP-4000.4.1>     addAuthority (Network/Browser.hs:291)
HTTP-4000.4.1>     Challenge (Network/HTTP/Auth.hs:58)
HTTP-4000.4.1>     getAllowBasicAuth (Network/Browser.hs:306)
HTTP-4000.4.1>     RequestID (Network/Browser.hs:626)
HTTP-4000.4.1>     out (Network/Browser.hs:505)
HTTP-4000.4.1>     err (Network/Browser.hs:505)
HTTP-4000.4.1>     defaultGETRequest (Network/HTTP/Base.hs:387)
HTTP-4000.4.1>     defaultGETRequest_ (Network/HTTP/Base.hs:390)
HTTP-4000.4.1>     formToRequest (Network/Browser.hs:1075)
HTTP-4000.4.1>     Form (Network/Browser.hs:1073)
HTTP-4000.4.1>     FormVar (Network/Browser.hs:1071)
Cabal-syntax-3.12.1.0> [ 37 of 137] Compiling Distribution.Types.Version ( src/Distribution/Types/Version.hs, dist/build/Distribution/Types/Version.o, dist/build/Distribution/Types/Version.dyn_o )
Cabal-syntax-3.12.1.0> [ 38 of 137] Compiling Distribution.Types.VersionRange.Internal ( src/Distribution/Types/VersionRange/Internal.hs, dist/build/Distribution/Types/VersionRange/Internal.o, dist/build/Distribution/Types/VersionRange/Internal.dyn_o )
semaphore-compat-1.0.0> Running phase: setupCompilerEnvironmentPhase
semaphore-compat-1.0.0> Build with /nix/store/840cj8bf01gqkbh6gxrawada0nyla7q3-ghc-9.4.8.
semaphore-compat-1.0.0> Running phase: unpackPhase
semaphore-compat-1.0.0> unpacking source archive /nix/store/g6blf2n2mba51r1blcr1ncnznv5bm7y5-semaphore-compat-1.0.0.tar.gz
semaphore-compat-1.0.0> source root is semaphore-compat-1.0.0
semaphore-compat-1.0.0> setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file semaphore-compat-1.0.0/src/System/Semaphore.hs
semaphore-compat-1.0.0> Running phase: patchPhase
semaphore-compat-1.0.0> Replace Cabal file with edited version from mirror://hackage/semaphore-compat-1.0.0/revision/3.cabal.
semaphore-compat-1.0.0> Running phase: compileBuildDriverPhase
semaphore-compat-1.0.0> setupCompileFlags: -package-db=/build/tmp.pLZirffFLV/setup-package.conf.d -threaded
semaphore-compat-1.0.0> [1 of 2] Compiling Main             ( Setup.hs, /build/tmp.pLZirffFLV/Main.o )
semaphore-compat-1.0.0> [2 of 2] Linking Setup
semaphore-compat-1.0.0> Running phase: updateAutotoolsGnuConfigScriptsPhase
semaphore-compat-1.0.0> Running phase: configurePhase
semaphore-compat-1.0.0> configureFlags: --verbose --prefix=/nix/store/miz3nzkdwc3hgxc9w3sar3hc03fwkv2p-semaphore-compat-1.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/ik950ihrrf5iqddwlmdgphkdpdhl1agr-semaphore-compat-1.0.0-doc/share/doc/semaphore-compat-1.0.0 --with-gcc=gcc --package-db=/build/tmp.pLZirffFLV/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-libra…
Cabal-syntax-3.12.1.0> [ 39 of 137] Compiling Distribution.Types.VersionInterval.Legacy ( src/Distribution/Types/VersionInterval/Legacy.hs, dist/build/Distribution/Types/VersionInterval/Legacy.o, dist/build/Distribution/Types/VersionInterval/Legacy.dyn_o )
semaphore-compat-1.0.0> Using Parsec parser
semaphore-compat-1.0.0> Configuring semaphore-compat-1.0.0...
semaphore-compat-1.0.0> CallStack (from HasCallStack):
semaphore-compat-1.0.0>   withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils
semaphore-compat-1.0.0> Error: Setup: Encountered missing or private dependencies:
semaphore-compat-1.0.0> unix >=2.8.1.0 && <2.9
semaphore-compat-1.0.0> 
error: build of '/nix/store/dimdq2ri84ydahzrfdjishrnp7ha6qz5-semaphore-compat-1.0.0.drv' on 'ssh-ng://nix-ssh@garnix7' failed: builder for '/nix/store/dimdq2ri84ydahzrfdjishrnp7ha6qz5-semaphore-compat-1.0.0.drv' failed with exit code 1;
       last 10 log lines:
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > configureFlags: --verbose --prefix=/nix/store/miz3nzkdwc3hgxc9w3sar3hc03fwkv2p-semaphore-compat-1.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/ik950ihrrf5iqddwlmdgphkdpdhl1agr-semaphore-compat-1.0.0-doc/share/doc/semaphore-compat-1.0.0 --with-gcc=gcc --package-db=/build/tmp.pLZirffFLV/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --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 --di…
       > Using Parsec parser
       > Configuring semaphore-compat-1.0.0...
       > CallStack (from HasCallStack):
       >   withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils
       > Error: Setup: Encountered missing or private dependencies:
       > unix >=2.8.1.0 && <2.9
       >
       For full logs, run 'nix log /nix/store/dimdq2ri84ydahzrfdjishrnp7ha6qz5-semaphore-compat-1.0.0.drv'.
error: builder for '/nix/store/dimdq2ri84ydahzrfdjishrnp7ha6qz5-semaphore-compat-1.0.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/y3hcq7qgys1j4d22dzrcr0nkw18liyn5-cabal-install-3.12.1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7mjaxd63gxdysjrv46gxsf06xqlj78sj-moat-ghc94-shell.drv' failed to build