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

Successful build of NotionSwift, reference 0.9.0 (fdaf1f), with Swift 6.2 (beta) for Linux on 22 Jun 2025 01:22:00 UTC.

Swift 6 data race errors: 0

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/chojnac/NotionSwift.git
Reference: 0.9.0
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/chojnac/NotionSwift
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at fdaf1f4 version 0.9.0
Cloned https://github.com/chojnac/NotionSwift.git
Revision (git rev-parse @):
fdaf1f420df24185c892a6ddac81cea9b9507ed9
SUCCESS checkout https://github.com/chojnac/NotionSwift.git at 0.9.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/chojnac/NotionSwift.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/57] Emitting module NotionSwift
[4/64] Compiling NotionSwift DatabaseQueryParams.swift
[5/64] Compiling NotionSwift DatabaseSort.swift
[6/64] Compiling NotionSwift DatabaseUpdateRequest.swift
[7/64] Compiling NotionSwift CompountFilterType.swift
[8/64] Compiling NotionSwift DatabaseFilter.swift
[9/64] Compiling NotionSwift DatabaseFilterType.swift
[10/64] Compiling NotionSwift DatabasePropertyFilter+Encodable.swift
[11/64] Compiling NotionSwift DatabasePropertyFilter.swift
[12/64] Compiling NotionSwift Mention.swift
[13/64] Compiling NotionSwift NotionLink.swift
[14/64] Compiling NotionSwift Page.swift
[15/64] Compiling NotionSwift PageParentType.swift
[16/64] Compiling NotionSwift PageProperty.swift
[17/64] Compiling NotionSwift PartialUser.swift
[18/64] Compiling NotionSwift BaseQueryParams.swift
[19/64] Compiling NotionSwift DatabaseCreateRequest.swift
[20/64] Compiling NotionSwift NotionClient+Pages.swift
[21/64] Compiling NotionSwift NotionClient+Search.swift
[22/64] Compiling NotionSwift NotionClient+Users.swift
[23/64] Compiling NotionSwift NotionClient.swift
[24/64] Compiling NotionSwift NotionClientError.swift
[25/64] Compiling NotionSwift NotionClientType+Combine.swift
[26/64] Compiling NotionSwift NotionClientType.swift
[27/64] Compiling NotionSwift PageCreateRequest.swift
[28/64] Compiling NotionSwift PageUpdateRequest.swift
[29/64] Compiling NotionSwift SearchRequest.swift
[30/64] Compiling NotionSwift ListResponse.swift
[31/64] Compiling NotionSwift SearchResponse.swift
[32/64] Compiling NotionSwift RichText+extensions.swift
[33/64] Compiling NotionSwift RichText.swift
[34/64] Compiling NotionSwift DatabaseParent.swift
[35/64] Compiling NotionSwift DatabaseProperty.swift
[36/64] Compiling NotionSwift DatabasePropertyType.swift
[37/64] Compiling NotionSwift DateRange.swift
[38/64] Compiling NotionSwift DateValue.swift
[39/64] Compiling NotionSwift ErrorResponse.swift
[40/64] Compiling NotionSwift FileFile.swift
[41/64] Compiling NotionSwift IconFile.swift
[42/64] Compiling NotionSwift User.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:198:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
198 |                 completeResult = .failure(error)
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             } else if let data = data {
200 |                 Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:9: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |     private func executeRequest<T: Decodable>(
190 |         request: URLRequest,
191 |         completed: @escaping (Result<T, NotionClientError>) -> Void
    |         `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |     ) {
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:195:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
194 |         let task = session.dataTask(with: request) { data, response, error in
195 |             var completeResult: Result<T, NotionClientError>?
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[43/64] Compiling NotionSwift DateFormatter+ISO8601Full.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:198:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
198 |                 completeResult = .failure(error)
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             } else if let data = data {
200 |                 Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:9: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |     private func executeRequest<T: Decodable>(
190 |         request: URLRequest,
191 |         completed: @escaping (Result<T, NotionClientError>) -> Void
    |         `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |     ) {
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:195:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
194 |         let task = session.dataTask(with: request) { data, response, error in
195 |             var completeResult: Result<T, NotionClientError>?
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[44/64] Compiling NotionSwift NetworkClient.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:198:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
198 |                 completeResult = .failure(error)
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             } else if let data = data {
200 |                 Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:9: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |     private func executeRequest<T: Decodable>(
190 |         request: URLRequest,
191 |         completed: @escaping (Result<T, NotionClientError>) -> Void
    |         `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |     ) {
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:195:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
194 |         let task = session.dataTask(with: request) { data, response, error in
195 |             var completeResult: Result<T, NotionClientError>?
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[45/64] Compiling NotionSwift NetworkClientHelpers.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:198:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
198 |                 completeResult = .failure(error)
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             } else if let data = data {
200 |                 Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:9: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |     private func executeRequest<T: Decodable>(
190 |         request: URLRequest,
191 |         completed: @escaping (Result<T, NotionClientError>) -> Void
    |         `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |     ) {
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:195:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
194 |         let task = session.dataTask(with: request) { data, response, error in
195 |             var completeResult: Result<T, NotionClientError>?
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[46/64] Compiling NotionSwift URLBuilder.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:198:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
198 |                 completeResult = .failure(error)
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             } else if let data = data {
200 |                 Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:9: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |     private func executeRequest<T: Decodable>(
190 |         request: URLRequest,
191 |         completed: @escaping (Result<T, NotionClientError>) -> Void
    |         `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |     ) {
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:195:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
194 |         let task = session.dataTask(with: request) { data, response, error in
195 |             var completeResult: Result<T, NotionClientError>?
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[47/64] Compiling NotionSwift NotionClient+Blocks.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:198:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
198 |                 completeResult = .failure(error)
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             } else if let data = data {
200 |                 Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:9: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |     private func executeRequest<T: Decodable>(
190 |         request: URLRequest,
191 |         completed: @escaping (Result<T, NotionClientError>) -> Void
    |         `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |     ) {
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:195:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
194 |         let task = session.dataTask(with: request) { data, response, error in
195 |             var completeResult: Result<T, NotionClientError>?
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[48/64] Compiling NotionSwift NotionClient+Database.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:198:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
198 |                 completeResult = .failure(error)
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             } else if let data = data {
200 |                 Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:9: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |     private func executeRequest<T: Decodable>(
190 |         request: URLRequest,
191 |         completed: @escaping (Result<T, NotionClientError>) -> Void
    |         `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |     ) {
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:195:17: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |         Environment.log.debug("Request: \(request.httpMethod ?? "") \(request.url?.absoluteString ?? "")")
194 |         let task = session.dataTask(with: request) { data, response, error in
195 |             var completeResult: Result<T, NotionClientError>?
    |                 `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |
197 |             if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
213 |
214 |             DispatchQueue.main.async {
215 |                 guard let completeResult = completeResult else {
    |                                            `- warning: reference to captured var 'completeResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 |                     fatalError("Something is wrong, no result!")
217 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[49/64] Compiling NotionSwift AccessKeyProvider.swift
[50/64] Compiling NotionSwift EntityIdentifier.swift
[51/64] Compiling NotionSwift Logger.swift
[52/64] Compiling NotionSwift Types.swift
[53/64] Compiling NotionSwift Environment.swift
[54/64] Compiling NotionSwift Block.swift
[55/64] Compiling NotionSwift BlockColor.swift
[56/64] Compiling NotionSwift BlockType+Builders.swift
[57/64] Compiling NotionSwift BlockType+Values.swift
[58/64] Compiling NotionSwift BlockType.swift
[59/64] Compiling NotionSwift ReadBlock.swift
[60/64] Compiling NotionSwift UpdateBlock.swift
[61/64] Compiling NotionSwift WriteBlock+Builders.swift
[62/64] Compiling NotionSwift WriteBlock.swift
[63/64] Compiling NotionSwift CoverFile.swift
[64/64] Compiling NotionSwift Database.swift
Build complete! (17.16s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NotionSwift",
  "name" : "NotionSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "NotionSwift",
      "targets" : [
        "NotionSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NotionSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "NotionSwiftTests",
      "path" : "Tests/NotionSwiftTests",
      "sources" : [
        "Helpers.swift",
        "Models/BlockColorTests.swift",
        "Models/DateValueTests.swift",
        "Models/PageTests.swift",
        "NotionSwiftTests.swift",
        "Request/Filter/FiltersTests.swift",
        "Request/PageCreateRequestTests.swift"
      ],
      "target_dependencies" : [
        "NotionSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NotionSwift",
      "module_type" : "SwiftTarget",
      "name" : "NotionSwift",
      "path" : "Sources/NotionSwift",
      "product_memberships" : [
        "NotionSwift"
      ],
      "sources" : [
        "AccessKeyProvider.swift",
        "Common/EntityIdentifier.swift",
        "Common/Logger.swift",
        "Common/Types.swift",
        "Environment.swift",
        "Models/Blocks/Block.swift",
        "Models/Blocks/BlockColor.swift",
        "Models/Blocks/BlockType+Builders.swift",
        "Models/Blocks/BlockType+Values.swift",
        "Models/Blocks/BlockType.swift",
        "Models/Blocks/ReadBlock.swift",
        "Models/Blocks/UpdateBlock.swift",
        "Models/Blocks/WriteBlock+Builders.swift",
        "Models/Blocks/WriteBlock.swift",
        "Models/CoverFile.swift",
        "Models/Database.swift",
        "Models/DatabaseParent.swift",
        "Models/DatabaseProperty.swift",
        "Models/DatabasePropertyType.swift",
        "Models/DateRange.swift",
        "Models/DateValue.swift",
        "Models/ErrorResponse.swift",
        "Models/FileFile.swift",
        "Models/IconFile.swift",
        "Models/Mention.swift",
        "Models/NotionLink.swift",
        "Models/Page.swift",
        "Models/PageParentType.swift",
        "Models/PageProperty.swift",
        "Models/PartialUser.swift",
        "Models/Request/BaseQueryParams.swift",
        "Models/Request/DatabaseCreateRequest.swift",
        "Models/Request/DatabaseQueryParams.swift",
        "Models/Request/DatabaseSort.swift",
        "Models/Request/DatabaseUpdateRequest.swift",
        "Models/Request/Filter/CompountFilterType.swift",
        "Models/Request/Filter/DatabaseFilter.swift",
        "Models/Request/Filter/DatabaseFilterType.swift",
        "Models/Request/Filter/DatabasePropertyFilter+Encodable.swift",
        "Models/Request/Filter/DatabasePropertyFilter.swift",
        "Models/Request/PageCreateRequest.swift",
        "Models/Request/PageUpdateRequest.swift",
        "Models/Request/SearchRequest.swift",
        "Models/Responses/ListResponse.swift",
        "Models/Responses/SearchResponse.swift",
        "Models/RichText+extensions.swift",
        "Models/RichText.swift",
        "Models/User.swift",
        "Network/DateFormatter+ISO8601Full.swift",
        "Network/NetworkClient.swift",
        "Network/NetworkClientHelpers.swift",
        "Network/URLBuilder.swift",
        "NotionClient+Blocks.swift",
        "NotionClient+Database.swift",
        "NotionClient+Pages.swift",
        "NotionClient+Search.swift",
        "NotionClient+Users.swift",
        "NotionClient.swift",
        "NotionClientError.swift",
        "NotionClientType+Combine.swift",
        "NotionClientType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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
Done.