The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build HaskellSwift, reference master (908bff), with Swift 6.1 for Linux on 26 Apr 2025 20:43:10 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/webcpu/HaskellSwift.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/webcpu/HaskellSwift.git
https://github.com/webcpu/HaskellSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HaskellSwift",
  "name" : "HaskellSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "HaskellSwift",
      "targets" : [
        "HaskellSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HaskellSwift",
      "module_type" : "SwiftTarget",
      "name" : "HaskellSwift",
      "path" : "Sources/HaskellSwift",
      "product_memberships" : [
        "HaskellSwift"
      ],
      "sources" : [
        "Control/Control.Applicative.swift",
        "Control/Control.Monad.swift",
        "Control/Control.Parallel.Strategies.swift",
        "Data/Data.Char.swift",
        "Data/Data.Either.swift",
        "Data/Data.Function.swift",
        "Data/Data.Functor.swift",
        "Data/Data.List.swift",
        "Data/Data.Maybe.swift",
        "Data/Data.Ord.swift",
        "Data/Data.Traversable.swift",
        "Data/Data.Tuple.swift",
        "GHC/GHC.Num.swift",
        "Language/Prelude.swift",
        "Network/Network.HTTP.swift",
        "System/System.Directory.swift",
        "System/System.FilePath.Posix.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/18] 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
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |     func sync(_ url: URL) -> Response! {
27 |         var result: Response!
[4/20] Compiling HaskellSwift Data.Tuple.swift
[5/20] Compiling HaskellSwift GHC.Num.swift
[6/20] Compiling HaskellSwift Control.Applicative.swift
/host/spi-builder-workspace/Sources/HaskellSwift/Control/Control.Parallel.Strategies.swift:15:63: warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
13 |     var results = [U?](repeating: nil, count: len)
14 |     let process = { (i: Int) -> Void in results[i] = transform(xs[i]) }
15 |     DispatchQueue.concurrentPerform(iterations: len, execute: process)
   |                                                               `- warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
16 |     return map(fromJust, results)
17 | }
[7/20] Compiling HaskellSwift Control.Monad.swift
/host/spi-builder-workspace/Sources/HaskellSwift/Control/Control.Parallel.Strategies.swift:15:63: warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
13 |     var results = [U?](repeating: nil, count: len)
14 |     let process = { (i: Int) -> Void in results[i] = transform(xs[i]) }
15 |     DispatchQueue.concurrentPerform(iterations: len, execute: process)
   |                                                               `- warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
16 |     return map(fromJust, results)
17 | }
[8/20] Compiling HaskellSwift Control.Parallel.Strategies.swift
/host/spi-builder-workspace/Sources/HaskellSwift/Control/Control.Parallel.Strategies.swift:15:63: warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
13 |     var results = [U?](repeating: nil, count: len)
14 |     let process = { (i: Int) -> Void in results[i] = transform(xs[i]) }
15 |     DispatchQueue.concurrentPerform(iterations: len, execute: process)
   |                                                               `- warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
16 |     return map(fromJust, results)
17 | }
[9/20] Compiling HaskellSwift System.Directory.swift
[10/20] Compiling HaskellSwift System.FilePath.Posix.swift
[11/20] Compiling HaskellSwift Data.List.swift
[12/20] Compiling HaskellSwift Data.Maybe.swift
[13/20] Compiling HaskellSwift Data.Function.swift
[14/20] Compiling HaskellSwift Data.Functor.swift
[15/20] Compiling HaskellSwift Data.Ord.swift
[16/20] Compiling HaskellSwift Data.Traversable.swift
[17/20] 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
[18/20] 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
[19/20] 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
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 |
[20/20] 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
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling HaskellSwift Data.Ord.swift
[3/17] Compiling HaskellSwift Data.Traversable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/19] 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
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |     func sync(_ url: URL) -> Response! {
27 |         var result: Response!
[5/19] Compiling HaskellSwift Control.Applicative.swift
[6/19] Compiling HaskellSwift Control.Monad.swift
[7/19] Compiling HaskellSwift Control.Parallel.Strategies.swift
[8/19] Compiling HaskellSwift System.Directory.swift
[9/19] Compiling HaskellSwift System.FilePath.Posix.swift
[10/19] 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
[11/19] 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
[12/19] Compiling HaskellSwift Data.Function.swift
[13/19] Compiling HaskellSwift Data.Functor.swift
[14/19] Compiling HaskellSwift Data.List.swift
[15/19] Compiling HaskellSwift Data.Maybe.swift
[16/19] Compiling HaskellSwift Data.Tuple.swift
[17/19] Compiling HaskellSwift GHC.Num.swift
[18/19] 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
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 |
[19/19] 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
23 | }
24 |
25 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 |
BUILD FAILURE 6.1 linux