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 FLet, reference main (0ca1cd), with Swift 6.0 for Linux on 28 Nov 2024 21:29:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/FLet.git
Reference: main
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/0xOpenBytes/FLet
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0ca1cd5 Update c to 1.0.0
Cloned https://github.com/0xOpenBytes/FLet.git
Revision (git rev-parse @):
0ca1cd5a70e9f790bd3ef6f99c14e721bbce2386
SUCCESS checkout https://github.com/0xOpenBytes/FLet.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xOpenBytes/FLet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/0xOpenBytes/o
Fetching https://github.com/0xOpenBytes/c
Fetching https://github.com/0xOpenBytes/t
[1/237] Fetching c
[238/485] Fetching c, o
[486/853] Fetching c, o, t
Fetched https://github.com/0xOpenBytes/o from cache (0.22s)
Fetched https://github.com/0xOpenBytes/c from cache (0.23s)
Fetched https://github.com/0xOpenBytes/t from cache (0.23s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 0.2.0 (0.42s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 0.3.0 (0.43s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 1.2.0 (0.42s)
Creating working copy for https://github.com/0xOpenBytes/o
Working copy of https://github.com/0xOpenBytes/o resolved at 0.3.0
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 0.2.0
Creating working copy for https://github.com/0xOpenBytes/c
Working copy of https://github.com/0xOpenBytes/c resolved at 1.2.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/22] Compiling o NotificationDelete.swift
[7/22] Compiling o NotificationGet.swift
[8/23] Compiling o o.swift
[9/23] Compiling o NotificationPost.swift
[10/23] Compiling o NotificationUpdate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/23] Emitting module t
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
 1 | import Foundation.FoundationErrors
   |        `- error: no such module 'Foundation.FoundationErrors'
 2 |
 3 | public extension t {
[12/23] Compiling t t+Structure.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
 1 | import Foundation.FoundationErrors
   |        `- error: no such module 'Foundation.FoundationErrors'
 2 |
 3 | public extension t {
[13/23] Compiling t t.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
 1 | import Foundation.FoundationErrors
   |        `- error: no such module 'Foundation.FoundationErrors'
 2 |
 3 | public extension t {
[14/23] Compiling t t+Logging.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
 1 | import Foundation.FoundationErrors
   |        `- error: no such module 'Foundation.FoundationErrors'
 2 |
 3 | public extension t {
[15/23] Compiling t t+Assertion.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
 1 | import Foundation.FoundationErrors
   |        `- error: no such module 'Foundation.FoundationErrors'
 2 |
 3 | public extension t {
[16/23] Compiling t t+Factories.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
 1 | import Foundation.FoundationErrors
   |        `- error: no such module 'Foundation.FoundationErrors'
 2 |
 3 | public extension t {
[17/23] Compiling o NotificationAuthorization.swift
[18/23] Compiling o NotificationDelegate.swift
[19/23] Compiling o o+notification.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:29:14: error: cannot find type 'URLRequest' in scope
 27 |             method : HTTPRequestMethod,
 28 |             headerFields: [String: String]
 29 |         ) -> URLRequest {
    |              `- error: cannot find type 'URLRequest' in scope
 30 |             var request = URLRequest(url: url)
 31 |
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:48:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |             "Content-Type": "application/json; charset=utf-8"
 47 |         ]
 48 |     ) async throws -> (Data?, URLResponse?) {
    |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |         try await URLSession.shared.data(
 50 |             for: request(
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/.build/checkouts/o/Sources/o/URL/o+url.swift:61:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 59 |         url: URL,
 60 |         headerFields: [String: String]
 61 |     ) async throws -> URLResponse? {
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |         try await URLSession.shared.data(
 63 |             for: request(
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/.build/checkouts/o/Sources/o/URL/o+url.swift:74:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         url: URL,
 73 |         headerFields: [String: String]
 74 |     ) async throws -> (Data?, URLResponse?) {
    |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |         try await URLSession.shared.data(
 76 |             for: request(
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/.build/checkouts/o/Sources/o/URL/o+url.swift:87:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |         url: URL,
 86 |         headerFields: [String: String]
 87 |     ) async throws -> (Data?, URLResponse?) {
    |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |         try await URLSession.shared.data(
 89 |             for: request(
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/.build/checkouts/o/Sources/o/URL/o+url.swift:100:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         url: URL,
 99 |         headerFields: [String: String]
100 |     ) async throws -> URLResponse? {
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         try await URLSession.shared.data(
102 |             for: request(
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/.build/checkouts/o/Sources/o/URL/o+url.swift:116:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |             "Content-Type": "application/json; charset=utf-8"
115 |         ]
116 |     ) async throws -> (Data?, URLResponse?) {
    |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 |         var request = request(
118 |             for: url,
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/.build/checkouts/o/Sources/o/URL/o+url.swift:136:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
134 |             "Content-Type": "application/json; charset=utf-8"
135 |         ]
136 |     ) async throws -> URLResponse? {
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
137 |         var request = request(
138 |             for: url,
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/.build/checkouts/o/Sources/o/URL/o+url.swift:156:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
154 |             "Content-Type": "application/json; charset=utf-8"
155 |         ]
156 |     ) async throws -> (Data?, URLResponse?) {
    |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |         var request = request(
158 |             for: url,
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/.build/checkouts/o/Sources/o/URL/o+url.swift:176:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 |             "Content-Type": "application/json; charset=utf-8"
175 |         ]
176 |     ) async throws -> (Data?, URLResponse?) {
    |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 |         var request = request(
178 |             for: url,
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/.build/checkouts/o/Sources/o/URL/o+url.swift:30:27: error: cannot find 'URLRequest' in scope
 28 |             headerFields: [String: String]
 29 |         ) -> URLRequest {
 30 |             var request = URLRequest(url: url)
    |                           `- error: cannot find 'URLRequest' in scope
 31 |
 32 |             request.httpMethod = method.rawValue
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:49:30: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         ]
 48 |     ) async throws -> (Data?, URLResponse?) {
 49 |         try await URLSession.shared.data(
    |                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 50 |             for: request(
 51 |                 for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:52:26: error: cannot infer contextual base in reference to member 'GET'
 50 |             for: request(
 51 |                 for: url,
 52 |                 method: .GET,
    |                          `- error: cannot infer contextual base in reference to member 'GET'
 53 |                 headerFields: headerFields
 54 |             )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:62:30: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 60 |         headerFields: [String: String]
 61 |     ) async throws -> URLResponse? {
 62 |         try await URLSession.shared.data(
    |                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 63 |             for: request(
 64 |                 for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:65:26: error: cannot infer contextual base in reference to member 'HEAD'
 63 |             for: request(
 64 |                 for: url,
 65 |                 method: .HEAD,
    |                          `- error: cannot infer contextual base in reference to member 'HEAD'
 66 |                 headerFields: headerFields
 67 |             )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:75:30: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |         headerFields: [String: String]
 74 |     ) async throws -> (Data?, URLResponse?) {
 75 |         try await URLSession.shared.data(
    |                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |             for: request(
 77 |                 for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:78:26: error: cannot infer contextual base in reference to member 'CONNECT'
 76 |             for: request(
 77 |                 for: url,
 78 |                 method: .CONNECT,
    |                          `- error: cannot infer contextual base in reference to member 'CONNECT'
 79 |                 headerFields: headerFields
 80 |             )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:88:30: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 86 |         headerFields: [String: String]
 87 |     ) async throws -> (Data?, URLResponse?) {
 88 |         try await URLSession.shared.data(
    |                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 89 |             for: request(
 90 |                 for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:91:26: error: cannot infer contextual base in reference to member 'OPTIONS'
 89 |             for: request(
 90 |                 for: url,
 91 |                 method: .OPTIONS,
    |                          `- error: cannot infer contextual base in reference to member 'OPTIONS'
 92 |                 headerFields: headerFields
 93 |             )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:101:30: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 99 |         headerFields: [String: String]
100 |     ) async throws -> URLResponse? {
101 |         try await URLSession.shared.data(
    |                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
102 |             for: request(
103 |                 for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:104:26: error: cannot infer contextual base in reference to member 'TRACE'
102 |             for: request(
103 |                 for: url,
104 |                 method: .TRACE,
    |                          `- error: cannot infer contextual base in reference to member 'TRACE'
105 |                 headerFields: headerFields
106 |             )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:119:22: error: cannot infer contextual base in reference to member 'POST'
117 |         var request = request(
118 |             for: url,
119 |             method: .POST,
    |                      `- error: cannot infer contextual base in reference to member 'POST'
120 |             headerFields: headerFields
121 |         )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:125:37: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 |         request.httpBody = body
124 |
125 |         return try await URLSession.shared.data(
    |                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 |             for: request
127 |         )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:139:22: error: cannot infer contextual base in reference to member 'PUT'
137 |         var request = request(
138 |             for: url,
139 |             method: .PUT,
    |                      `- error: cannot infer contextual base in reference to member 'PUT'
140 |             headerFields: headerFields
141 |         )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:145:37: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |         request.httpBody = body
144 |
145 |         return try await URLSession.shared.data(
    |                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 |             for: request
147 |         ).1
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:159:22: error: cannot infer contextual base in reference to member 'PATCH'
157 |         var request = request(
158 |             for: url,
159 |             method: .PATCH,
    |                      `- error: cannot infer contextual base in reference to member 'PATCH'
160 |             headerFields: headerFields
161 |         )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:165:37: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
163 |         request.httpBody = body
164 |
165 |         return try await URLSession.shared.data(
    |                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
166 |             for: request
167 |         )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:179:22: error: cannot infer contextual base in reference to member 'DELETE'
177 |         var request = request(
178 |             for: url,
179 |             method: .DELETE,
    |                      `- error: cannot infer contextual base in reference to member 'DELETE'
180 |             headerFields: headerFields
181 |         )
BUILD FAILURE 6.0 linux