Build Information
Successful build of NotionSwift, reference 0.9.0 (fdaf1f
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 23:38:26 UTC.
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chojnac/NotionSwift.git
Reference: 0.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "notionswift",
"name": "NotionSwift",
"url": "https://github.com/chojnac/NotionSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NotionSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/chojnac/NotionSwift.git
[1/1074] Fetching notionswift
Fetched https://github.com/chojnac/NotionSwift.git from cache (1.04s)
Creating working copy for https://github.com/chojnac/NotionSwift.git
Working copy of https://github.com/chojnac/NotionSwift.git resolved at 0.9.0 (fdaf1f4)
warning: '.resolve-product-dependencies': dependency 'notionswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/chojnac/NotionSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/58] Emitting module NotionSwift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Blocks/BlockType+Values.swift:17:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public extension BlockType {
8 |
9 | struct ChildrenBlockValue {
| `- note: consider making struct 'ChildrenBlockValue' conform to the 'Sendable' protocol
10 | /// field used only for encoding for adding/appending new blocks
11 | public let children: [BlockType]?
:
15 | }
16 |
17 | public static let none = ChildrenBlockValue(children: nil)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:33:27: warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
| |- warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'page' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let database = Filter(value: "database", property: "object")
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:34:27: warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
34 | public static let database = Filter(value: "database", property: "object")
| |- warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:32:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
30 | }
31 |
32 | public static let `default` = Annotations()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:33:27: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
31 |
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:34:27: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:35:27: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:36:27: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let code = Annotations(code: true)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:37:27: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[4/64] Compiling NotionSwift DatabaseCreateRequest.swift
[5/64] Compiling NotionSwift DatabaseQueryParams.swift
[6/64] Compiling NotionSwift DatabaseSort.swift
[7/64] Compiling NotionSwift DatabaseUpdateRequest.swift
[8/64] Compiling NotionSwift CompountFilterType.swift
[9/64] Compiling NotionSwift DatabaseFilter.swift
[10/64] Compiling NotionSwift DatabaseFilterType.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:33:27: warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
| |- warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'page' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let database = Filter(value: "database", property: "object")
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:34:27: warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
34 | public static let database = Filter(value: "database", property: "object")
| |- warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[11/64] Compiling NotionSwift DatabasePropertyFilter+Encodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:33:27: warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
| |- warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'page' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let database = Filter(value: "database", property: "object")
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:34:27: warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
34 | public static let database = Filter(value: "database", property: "object")
| |- warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[12/64] Compiling NotionSwift DatabasePropertyFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:33:27: warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
| |- warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'page' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let database = Filter(value: "database", property: "object")
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:34:27: warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
34 | public static let database = Filter(value: "database", property: "object")
| |- warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[13/64] Compiling NotionSwift PageCreateRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:33:27: warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
| |- warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'page' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let database = Filter(value: "database", property: "object")
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:34:27: warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
34 | public static let database = Filter(value: "database", property: "object")
| |- warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[14/64] Compiling NotionSwift PageUpdateRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:33:27: warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
| |- warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'page' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let database = Filter(value: "database", property: "object")
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:34:27: warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
34 | public static let database = Filter(value: "database", property: "object")
| |- warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[15/64] Compiling NotionSwift SearchRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:33:27: warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
| |- warning: static property 'page' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'page' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let database = Filter(value: "database", property: "object")
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Request/SearchRequest.swift:34:27: warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Filter {
| `- note: consider making struct 'Filter' conform to the 'Sendable' protocol
31 | public let value: String
32 | public let property: String
33 | public static let page = Filter(value: "page", property: "object")
34 | public static let database = Filter(value: "database", property: "object")
| |- warning: static property 'database' is not concurrency-safe because non-'Sendable' type 'SearchRequest.Filter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[16/64] Compiling NotionSwift NetworkClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:203:38: warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public class DefaultNetworkClient: NetworkClient {
| `- note: class 'DefaultNetworkClient' does not conform to the 'Sendable' protocol
61 | private let encoder: JSONEncoder
62 | private let decoder: JSONDecoder
:
201 | do {
202 | Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
203 | let result = try self.decoder.decode(T.self, from: data)
| `- warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | completeResult = .success(result)
205 | } catch let decodingError as Swift.DecodingError {
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | }
188 |
189 | private func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | request: URLRequest,
191 | completed: @escaping (Result<T, NotionClientError>) -> Void
:
213 |
214 | DispatchQueue.main.async {
215 | guard let completeResult = completeResult else {
| `- warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/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
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
216 | fatalError("Something is wrong, no result!")
217 | }
[17/64] Compiling NotionSwift NetworkClientHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:203:38: warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public class DefaultNetworkClient: NetworkClient {
| `- note: class 'DefaultNetworkClient' does not conform to the 'Sendable' protocol
61 | private let encoder: JSONEncoder
62 | private let decoder: JSONDecoder
:
201 | do {
202 | Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
203 | let result = try self.decoder.decode(T.self, from: data)
| `- warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | completeResult = .success(result)
205 | } catch let decodingError as Swift.DecodingError {
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | }
188 |
189 | private func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | request: URLRequest,
191 | completed: @escaping (Result<T, NotionClientError>) -> Void
:
213 |
214 | DispatchQueue.main.async {
215 | guard let completeResult = completeResult else {
| `- warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/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
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
216 | fatalError("Something is wrong, no result!")
217 | }
[18/64] Compiling NotionSwift URLBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:203:38: warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public class DefaultNetworkClient: NetworkClient {
| `- note: class 'DefaultNetworkClient' does not conform to the 'Sendable' protocol
61 | private let encoder: JSONEncoder
62 | private let decoder: JSONDecoder
:
201 | do {
202 | Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
203 | let result = try self.decoder.decode(T.self, from: data)
| `- warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | completeResult = .success(result)
205 | } catch let decodingError as Swift.DecodingError {
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | }
188 |
189 | private func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | request: URLRequest,
191 | completed: @escaping (Result<T, NotionClientError>) -> Void
:
213 |
214 | DispatchQueue.main.async {
215 | guard let completeResult = completeResult else {
| `- warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/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
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
216 | fatalError("Something is wrong, no result!")
217 | }
[19/64] Compiling NotionSwift NotionClient+Blocks.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:203:38: warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public class DefaultNetworkClient: NetworkClient {
| `- note: class 'DefaultNetworkClient' does not conform to the 'Sendable' protocol
61 | private let encoder: JSONEncoder
62 | private let decoder: JSONDecoder
:
201 | do {
202 | Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
203 | let result = try self.decoder.decode(T.self, from: data)
| `- warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | completeResult = .success(result)
205 | } catch let decodingError as Swift.DecodingError {
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | }
188 |
189 | private func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | request: URLRequest,
191 | completed: @escaping (Result<T, NotionClientError>) -> Void
:
213 |
214 | DispatchQueue.main.async {
215 | guard let completeResult = completeResult else {
| `- warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/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
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
216 | fatalError("Something is wrong, no result!")
217 | }
[20/64] Compiling NotionSwift NotionClient+Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:203:38: warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public class DefaultNetworkClient: NetworkClient {
| `- note: class 'DefaultNetworkClient' does not conform to the 'Sendable' protocol
61 | private let encoder: JSONEncoder
62 | private let decoder: JSONDecoder
:
201 | do {
202 | Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
203 | let result = try self.decoder.decode(T.self, from: data)
| `- warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | completeResult = .success(result)
205 | } catch let decodingError as Swift.DecodingError {
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | }
188 |
189 | private func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | request: URLRequest,
191 | completed: @escaping (Result<T, NotionClientError>) -> Void
:
213 |
214 | DispatchQueue.main.async {
215 | guard let completeResult = completeResult else {
| `- warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/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
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
216 | fatalError("Something is wrong, no result!")
217 | }
[21/64] Compiling NotionSwift NotionClient+Pages.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:203:38: warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public class DefaultNetworkClient: NetworkClient {
| `- note: class 'DefaultNetworkClient' does not conform to the 'Sendable' protocol
61 | private let encoder: JSONEncoder
62 | private let decoder: JSONDecoder
:
201 | do {
202 | Environment.log.trace(String(data: data, encoding: .utf8) ?? "")
203 | let result = try self.decoder.decode(T.self, from: data)
| `- warning: capture of 'self' with non-sendable type 'DefaultNetworkClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | completeResult = .success(result)
205 | } catch let decodingError as Swift.DecodingError {
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:215:44: warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | }
188 |
189 | private func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | request: URLRequest,
191 | completed: @escaping (Result<T, NotionClientError>) -> Void
:
213 |
214 | DispatchQueue.main.async {
215 | guard let completeResult = completeResult else {
| `- warning: capture of 'completeResult' with non-sendable type 'Result<T, NotionClientError>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:218:17: warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | fatalError("Something is wrong, no result!")
217 | }
218 | completed(completeResult)
| |- warning: capture of 'completed' with non-sendable type '(Result<T, NotionClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
219 | }
220 | }
/Users/admin/builder/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
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
216 | fatalError("Something is wrong, no result!")
217 | }
[22/64] Compiling NotionSwift WriteBlock.swift
[23/64] Compiling NotionSwift CoverFile.swift
[24/64] Compiling NotionSwift Database.swift
[25/64] Compiling NotionSwift DatabaseParent.swift
[26/64] Compiling NotionSwift DatabaseProperty.swift
[27/64] Compiling NotionSwift DatabasePropertyType.swift
[28/64] Compiling NotionSwift ListResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:32:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
30 | }
31 |
32 | public static let `default` = Annotations()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:33:27: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
31 |
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:34:27: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:35:27: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:36:27: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let code = Annotations(code: true)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:37:27: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[29/64] Compiling NotionSwift SearchResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:32:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
30 | }
31 |
32 | public static let `default` = Annotations()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:33:27: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
31 |
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:34:27: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:35:27: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:36:27: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let code = Annotations(code: true)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:37:27: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[30/64] Compiling NotionSwift RichText+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:32:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
30 | }
31 |
32 | public static let `default` = Annotations()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:33:27: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
31 |
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:34:27: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:35:27: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:36:27: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let code = Annotations(code: true)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:37:27: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[31/64] Compiling NotionSwift RichText.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:32:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
30 | }
31 |
32 | public static let `default` = Annotations()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:33:27: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
31 |
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:34:27: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:35:27: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:36:27: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let code = Annotations(code: true)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:37:27: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[32/64] Compiling NotionSwift User.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:32:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
30 | }
31 |
32 | public static let `default` = Annotations()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:33:27: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
31 |
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:34:27: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:35:27: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:36:27: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let code = Annotations(code: true)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:37:27: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[33/64] Compiling NotionSwift DateFormatter+ISO8601Full.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:32:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
30 | }
31 |
32 | public static let `default` = Annotations()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:33:27: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
31 |
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:34:27: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
32 | public static let `default` = Annotations()
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:35:27: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
33 | public static let bold = Annotations(bold: true)
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:36:27: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
34 | public static let italic = Annotations(italic: true)
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let code = Annotations(code: true)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/RichText.swift:37:27: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public struct RichText {
8 | public struct Annotations: Equatable {
| `- note: consider making struct 'Annotations' conform to the 'Sendable' protocol
9 | public let bold: Bool
10 | public let italic: Bool
:
35 | public static let strikethrough = Annotations(strikethrough: true)
36 | public static let underline = Annotations(underline: true)
37 | public static let code = Annotations(code: true)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'RichText.Annotations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[34/64] Compiling NotionSwift DateRange.swift
[35/64] Compiling NotionSwift DateValue.swift
[36/64] Compiling NotionSwift ErrorResponse.swift
[37/64] Compiling NotionSwift FileFile.swift
[38/64] Compiling NotionSwift IconFile.swift
[39/64] Compiling NotionSwift Mention.swift
[40/64] Compiling NotionSwift AccessKeyProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
[41/64] Compiling NotionSwift EntityIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
[42/64] Compiling NotionSwift Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
[43/64] Compiling NotionSwift Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
[44/64] Compiling NotionSwift Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
[45/64] Compiling NotionSwift Block.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
[46/64] Compiling NotionSwift BlockColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Environment.swift:10:16: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct NotionSwiftEnvironment {
10 | static var log = Logger(handler: EmptyLogHandler(), level: .info)
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var logHandler: LoggerHandler {
12 | get { log.handler }
[47/64] Compiling NotionSwift NotionLink.swift
[48/64] Compiling NotionSwift Page.swift
[49/64] Compiling NotionSwift PageParentType.swift
[50/64] Compiling NotionSwift PageProperty.swift
[51/64] Compiling NotionSwift PartialUser.swift
[52/64] Compiling NotionSwift BaseQueryParams.swift
[53/64] Compiling NotionSwift BlockType+Builders.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Blocks/BlockType+Values.swift:17:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public extension BlockType {
8 |
9 | struct ChildrenBlockValue {
| `- note: consider making struct 'ChildrenBlockValue' conform to the 'Sendable' protocol
10 | /// field used only for encoding for adding/appending new blocks
11 | public let children: [BlockType]?
:
15 | }
16 |
17 | public static let none = ChildrenBlockValue(children: nil)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[54/64] Compiling NotionSwift BlockType+Values.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Blocks/BlockType+Values.swift:17:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public extension BlockType {
8 |
9 | struct ChildrenBlockValue {
| `- note: consider making struct 'ChildrenBlockValue' conform to the 'Sendable' protocol
10 | /// field used only for encoding for adding/appending new blocks
11 | public let children: [BlockType]?
:
15 | }
16 |
17 | public static let none = ChildrenBlockValue(children: nil)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[55/64] Compiling NotionSwift BlockType.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Blocks/BlockType+Values.swift:17:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public extension BlockType {
8 |
9 | struct ChildrenBlockValue {
| `- note: consider making struct 'ChildrenBlockValue' conform to the 'Sendable' protocol
10 | /// field used only for encoding for adding/appending new blocks
11 | public let children: [BlockType]?
:
15 | }
16 |
17 | public static let none = ChildrenBlockValue(children: nil)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[56/64] Compiling NotionSwift ReadBlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Blocks/BlockType+Values.swift:17:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public extension BlockType {
8 |
9 | struct ChildrenBlockValue {
| `- note: consider making struct 'ChildrenBlockValue' conform to the 'Sendable' protocol
10 | /// field used only for encoding for adding/appending new blocks
11 | public let children: [BlockType]?
:
15 | }
16 |
17 | public static let none = ChildrenBlockValue(children: nil)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[57/64] Compiling NotionSwift UpdateBlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Blocks/BlockType+Values.swift:17:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public extension BlockType {
8 |
9 | struct ChildrenBlockValue {
| `- note: consider making struct 'ChildrenBlockValue' conform to the 'Sendable' protocol
10 | /// field used only for encoding for adding/appending new blocks
11 | public let children: [BlockType]?
:
15 | }
16 |
17 | public static let none = ChildrenBlockValue(children: nil)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[58/64] Compiling NotionSwift WriteBlock+Builders.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotionSwift/Models/Blocks/BlockType+Values.swift:17:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public extension BlockType {
8 |
9 | struct ChildrenBlockValue {
| `- note: consider making struct 'ChildrenBlockValue' conform to the 'Sendable' protocol
10 | /// field used only for encoding for adding/appending new blocks
11 | public let children: [BlockType]?
:
15 | }
16 |
17 | public static let none = ChildrenBlockValue(children: nil)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockType.ChildrenBlockValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[59/64] Compiling NotionSwift NotionClient+Search.swift
[60/64] Compiling NotionSwift NotionClient+Users.swift
[61/64] Compiling NotionSwift NotionClient.swift
[62/64] Compiling NotionSwift NotionClientError.swift
[63/64] Compiling NotionSwift NotionClientType+Combine.swift
[64/64] Compiling NotionSwift NotionClientType.swift
Build complete! (19.82s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NotionSwift",
"name" : "NotionSwift",
"path" : "/Users/admin/builder/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"
}
Done.