The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build HaskellSwift, reference 1.0.6 (908bff), with Swift 6.2 (beta) for Linux on 19 Jun 2025 09:18:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/webcpu/HaskellSwift.git
Reference: 1.0.6
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/webcpu/HaskellSwift
 * tag               1.0.6      -> FETCH_HEAD
HEAD is now at 908bff3 Fix: compile error
Cloned https://github.com/webcpu/HaskellSwift.git
Revision (git rev-parse @):
908bff3c624af2fe4454daf3811e07df10302ba3
SUCCESS checkout https://github.com/webcpu/HaskellSwift.git at 1.0.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/webcpu/HaskellSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Compiling HaskellSwift Data.Char.swift
/host/spi-builder-workspace/Sources/HaskellSwift/Data/Data.Either.swift:39:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
37 | }
38 |
39 | extension String: Error {}
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
40 |
41 | //MARK: fromLeft :: Either a b -> a
[4/18] Compiling HaskellSwift Data.Either.swift
/host/spi-builder-workspace/Sources/HaskellSwift/Data/Data.Either.swift:39:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
37 | }
38 |
39 | extension String: Error {}
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
40 |
41 | //MARK: fromLeft :: Either a b -> a
[5/18] Compiling HaskellSwift Prelude.swift
/host/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct Response {
12 |     public let data: Data?
13 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let error: NSError?
15 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |     func sync(_ url: URL) -> Response! {
27 |         var result: Response!
/host/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:18:23: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 |
17 | public func simpleHTTP(_ url: URL) -> Response! {
18 |     return URLSession.shared.sync(url)
   |                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | }
20 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[6/18] Compiling HaskellSwift Network.HTTP.swift
/host/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct Response {
12 |     public let data: Data?
13 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let error: NSError?
15 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |     func sync(_ url: URL) -> Response! {
27 |         var result: Response!
/host/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:18:23: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 |
17 | public func simpleHTTP(_ url: URL) -> Response! {
18 |     return URLSession.shared.sync(url)
   |                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | }
20 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/20] Compiling HaskellSwift Control.Applicative.swift
[8/20] Compiling HaskellSwift Control.Monad.swift
[9/20] Compiling HaskellSwift Control.Parallel.Strategies.swift
[10/20] Emitting module HaskellSwift
/host/spi-builder-workspace/Sources/HaskellSwift/Data/Data.Either.swift:39:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
37 | }
38 |
39 | extension String: Error {}
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
40 |
41 | //MARK: fromLeft :: Either a b -> a
/host/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct Response {
12 |     public let data: Data?
13 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let error: NSError?
15 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |     func sync(_ url: URL) -> Response! {
27 |         var result: Response!
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[11/20] Compiling HaskellSwift Data.Tuple.swift
[12/20] Compiling HaskellSwift GHC.Num.swift
[13/20] Compiling HaskellSwift Data.Ord.swift
[14/20] Compiling HaskellSwift Data.Traversable.swift
[15/20] Compiling HaskellSwift Data.Function.swift
[16/20] Compiling HaskellSwift Data.Functor.swift
[17/20] Compiling HaskellSwift Data.List.swift
[18/20] Compiling HaskellSwift Data.Maybe.swift
[19/20] Compiling HaskellSwift System.Directory.swift
[20/20] Compiling HaskellSwift System.FilePath.Posix.swift
BUILD FAILURE 6.2 linux