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.1 for Android on 28 May 2025 05:05:42 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] 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 | }
[4/18] 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 | }
[5/18] 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 | }
[6/20] Compiling HaskellSwift Data.Tuple.swift
[7/20] Compiling HaskellSwift GHC.Num.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/20] Compiling HaskellSwift Data.Function.swift
[9/20] Compiling HaskellSwift Data.Functor.swift
[10/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
[11/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
[12/20] Compiling HaskellSwift Data.List.swift
[13/20] Compiling HaskellSwift Data.Maybe.swift
[14/20] Compiling HaskellSwift Data.Ord.swift
[15/20] Compiling HaskellSwift Data.Traversable.swift
[16/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
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!
[17/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 |
[18/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 |
[19/20] Compiling HaskellSwift System.Directory.swift
[20/20] Compiling HaskellSwift System.FilePath.Posix.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/17] 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!
[3/19] Compiling HaskellSwift Control.Applicative.swift
[4/19] Compiling HaskellSwift Control.Monad.swift
[5/19] Compiling HaskellSwift Control.Parallel.Strategies.swift
[6/19] Compiling HaskellSwift System.Directory.swift
[7/19] Compiling HaskellSwift System.FilePath.Posix.swift
[8/19] Compiling HaskellSwift Data.Tuple.swift
[9/19] Compiling HaskellSwift GHC.Num.swift
[10/19] Compiling HaskellSwift Data.Ord.swift
[11/19] Compiling HaskellSwift Data.Traversable.swift
[12/19] Compiling HaskellSwift Data.Function.swift
[13/19] Compiling HaskellSwift Data.Functor.swift
[14/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
[15/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
[16/19] Compiling HaskellSwift Data.List.swift
[17/19] Compiling HaskellSwift Data.Maybe.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 android