Build Information
Failed to build DuckDB, reference main (095e44), with Swift 6.1 for Linux on 1 Oct 2026 10:10:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
| |- note: add '@MainActor' to make static property 'smallint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// Integer type castable to `Int32`
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:60:14: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
58 | static let smallint = DatabaseType(rawValue: DUCKDB_TYPE_SMALLINT.rawValue)
59 | /// Integer type castable to `Int32`
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
| |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'integer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | /// Integer type castable to `Int64`
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:62:14: warning: static property 'bigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
61 | /// Integer type castable to `Int64`
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
| |- warning: static property 'bigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bigint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | /// Integer type castable to `HugeInt`
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:64:14: warning: static property 'hugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
63 | /// Integer type castable to `HugeInt`
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
| |- warning: static property 'hugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hugeint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | /// Integer type castable to `UHugeInt`
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:66:14: warning: static property 'uhugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
65 | /// Integer type castable to `UHugeInt`
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
| |- warning: static property 'uhugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uhugeint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | /// Unsigned integer type castable to `UInt8`
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:68:14: warning: static property 'utinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
67 | /// Unsigned integer type castable to `UInt8`
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
| |- warning: static property 'utinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utinyint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | /// Unsigned integer type castable to `UInt16`
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:70:14: warning: static property 'usmallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
69 | /// Unsigned integer type castable to `UInt16`
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
| |- warning: static property 'usmallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'usmallint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | /// Unsigned integer type castable to `UInt32`
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:72:14: warning: static property 'uinteger' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
71 | /// Unsigned integer type castable to `UInt32`
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
| |- warning: static property 'uinteger' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uinteger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | /// Unsigned integer type castable to `UInt64`
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:74:14: warning: static property 'ubigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
73 | /// Unsigned integer type castable to `UInt64`
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
| |- warning: static property 'ubigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ubigint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | /// Floating point type castable to `Float`
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:76:14: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
75 | /// Floating point type castable to `Float`
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /// Floating point type castable to `Double`
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:78:14: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
77 | /// Floating point type castable to `Double`
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | /// Timestamp type castable to `Timestamp`
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:80:14: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
79 | /// Timestamp type castable to `Timestamp`
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | /// Timestamp(TZ) type castable to `Timestamp`
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:82:14: warning: static property 'timestampTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
81 | /// Timestamp(TZ) type castable to `Timestamp`
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
| |- warning: static property 'timestampTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampTz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | /// Date type castable to `Date`
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:84:14: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
83 | /// Date type castable to `Date`
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// Time type castable to `Time`
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:86:14: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
85 | /// Time type castable to `Time`
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// Time(TZ) type castable to `Time`
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:88:14: warning: static property 'timeTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
87 | /// Time(TZ) type castable to `Time`
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
| |- warning: static property 'timeTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timeTz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// Interval type castable to `Interval`
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:90:14: warning: static property 'interval' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
89 | /// Interval type castable to `Interval`
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
| |- warning: static property 'interval' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// String type castable to `String`
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:92:14: warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
91 | /// String type castable to `String`
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
| |- warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'varchar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | /// Data type castable to `Data`
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:94:14: warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
93 | /// Data type castable to `Data`
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
| |- warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// Decimal type castable to `Decimal`
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:96:14: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
95 | /// Decimal type castable to `Decimal`
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | /// Timestamp type castable to `Timestamp`
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:98:14: warning: static property 'timestampS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
97 | /// Timestamp type castable to `Timestamp`
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
| |- warning: static property 'timestampS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | /// Timestamp type castable to `Timestamp`
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:100:14: warning: static property 'timestampMS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
99 | /// Timestamp type castable to `Timestamp`
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
| |- warning: static property 'timestampMS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampMS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | /// Timestamp type castable to `Timestamp`
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:102:14: warning: static property 'timestampNS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
101 | /// Timestamp type castable to `Timestamp`
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
| |- warning: static property 'timestampNS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | /// Enum type castable to suitable `Decodable` conforming types
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:104:14: warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
103 | /// Enum type castable to suitable `Decodable` conforming types
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
| |- warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enum' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// Array type castable to suitable `Decodable` conforming types
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:106:14: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
105 | /// Array type castable to suitable `Decodable` conforming types
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | /// Struct type castable to suitable `Decodable` conforming types
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:108:14: warning: static property 'struct' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
107 | /// Struct type castable to suitable `Decodable` conforming types
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
| |- warning: static property 'struct' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'struct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | /// Dictionary type castable to suitable `Decodable` conforming types
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:110:14: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
109 | /// Dictionary type castable to suitable `Decodable` conforming types
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | /// Enum type castable to suitable `Decodable` conforming types
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:112:14: warning: static property 'union' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
111 | /// Enum type castable to suitable `Decodable` conforming types
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
| |- warning: static property 'union' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'union' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | /// UUID type castable to `UUID`
114 | static let uuid = DatabaseType(rawValue: DUCKDB_TYPE_UUID.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:114:14: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
113 | /// UUID type castable to `UUID`
114 | static let uuid = DatabaseType(rawValue: DUCKDB_TYPE_UUID.rawValue)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:120:14: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
118 |
119 | extension DatabaseType {
120 | static let invalid = DatabaseType(rawValue: DUCKDB_TYPE_INVALID.rawValue)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | }
122 |
[427/432] Compiling DuckDB DatabaseError.swift
/host/spi-builder-workspace/Sources/DuckDB/Connection.swift:55:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
53 |
54 | private let database: Database
55 | private let ptr = UnsafeMutablePointer<duckdb_connection?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
56 |
57 | /// Creates a new connection
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/Database.swift:70:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
68 | }
69 |
70 | private let ptr = UnsafeMutablePointer<duckdb_database?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
71 |
72 | /// Creates a Duck DB database
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:54:14: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
52 | public extension DatabaseType {
53 | /// Boolean type castable to `Bool`
54 | static let boolean = DatabaseType(rawValue: DUCKDB_TYPE_BOOLEAN.rawValue)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// Integer type castable to `Int8`
56 | static let tinyint = DatabaseType(rawValue: DUCKDB_TYPE_TINYINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:56:14: warning: static property 'tinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
54 | static let boolean = DatabaseType(rawValue: DUCKDB_TYPE_BOOLEAN.rawValue)
55 | /// Integer type castable to `Int8`
56 | static let tinyint = DatabaseType(rawValue: DUCKDB_TYPE_TINYINT.rawValue)
| |- warning: static property 'tinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tinyint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// Integer type castable to `Int16`
58 | static let smallint = DatabaseType(rawValue: DUCKDB_TYPE_SMALLINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:58:14: warning: static property 'smallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
56 | static let tinyint = DatabaseType(rawValue: DUCKDB_TYPE_TINYINT.rawValue)
57 | /// Integer type castable to `Int16`
58 | static let smallint = DatabaseType(rawValue: DUCKDB_TYPE_SMALLINT.rawValue)
| |- warning: static property 'smallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smallint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// Integer type castable to `Int32`
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:60:14: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
58 | static let smallint = DatabaseType(rawValue: DUCKDB_TYPE_SMALLINT.rawValue)
59 | /// Integer type castable to `Int32`
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
| |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'integer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | /// Integer type castable to `Int64`
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:62:14: warning: static property 'bigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
61 | /// Integer type castable to `Int64`
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
| |- warning: static property 'bigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bigint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | /// Integer type castable to `HugeInt`
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:64:14: warning: static property 'hugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
63 | /// Integer type castable to `HugeInt`
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
| |- warning: static property 'hugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hugeint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | /// Integer type castable to `UHugeInt`
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:66:14: warning: static property 'uhugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
65 | /// Integer type castable to `UHugeInt`
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
| |- warning: static property 'uhugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uhugeint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | /// Unsigned integer type castable to `UInt8`
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:68:14: warning: static property 'utinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
67 | /// Unsigned integer type castable to `UInt8`
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
| |- warning: static property 'utinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utinyint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | /// Unsigned integer type castable to `UInt16`
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:70:14: warning: static property 'usmallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
69 | /// Unsigned integer type castable to `UInt16`
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
| |- warning: static property 'usmallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'usmallint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | /// Unsigned integer type castable to `UInt32`
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:72:14: warning: static property 'uinteger' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
71 | /// Unsigned integer type castable to `UInt32`
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
| |- warning: static property 'uinteger' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uinteger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | /// Unsigned integer type castable to `UInt64`
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:74:14: warning: static property 'ubigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
73 | /// Unsigned integer type castable to `UInt64`
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
| |- warning: static property 'ubigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ubigint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | /// Floating point type castable to `Float`
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:76:14: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
75 | /// Floating point type castable to `Float`
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /// Floating point type castable to `Double`
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:78:14: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
77 | /// Floating point type castable to `Double`
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | /// Timestamp type castable to `Timestamp`
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:80:14: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
79 | /// Timestamp type castable to `Timestamp`
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | /// Timestamp(TZ) type castable to `Timestamp`
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:82:14: warning: static property 'timestampTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
81 | /// Timestamp(TZ) type castable to `Timestamp`
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
| |- warning: static property 'timestampTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampTz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | /// Date type castable to `Date`
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:84:14: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
83 | /// Date type castable to `Date`
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// Time type castable to `Time`
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:86:14: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
85 | /// Time type castable to `Time`
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// Time(TZ) type castable to `Time`
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:88:14: warning: static property 'timeTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
87 | /// Time(TZ) type castable to `Time`
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
| |- warning: static property 'timeTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timeTz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// Interval type castable to `Interval`
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:90:14: warning: static property 'interval' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
89 | /// Interval type castable to `Interval`
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
| |- warning: static property 'interval' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// String type castable to `String`
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:92:14: warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
91 | /// String type castable to `String`
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
| |- warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'varchar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | /// Data type castable to `Data`
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:94:14: warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
93 | /// Data type castable to `Data`
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
| |- warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// Decimal type castable to `Decimal`
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:96:14: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
95 | /// Decimal type castable to `Decimal`
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | /// Timestamp type castable to `Timestamp`
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:98:14: warning: static property 'timestampS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
97 | /// Timestamp type castable to `Timestamp`
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
| |- warning: static property 'timestampS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | /// Timestamp type castable to `Timestamp`
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:100:14: warning: static property 'timestampMS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
99 | /// Timestamp type castable to `Timestamp`
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
| |- warning: static property 'timestampMS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampMS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | /// Timestamp type castable to `Timestamp`
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:102:14: warning: static property 'timestampNS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
101 | /// Timestamp type castable to `Timestamp`
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
| |- warning: static property 'timestampNS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | /// Enum type castable to suitable `Decodable` conforming types
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:104:14: warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
103 | /// Enum type castable to suitable `Decodable` conforming types
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
| |- warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enum' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// Array type castable to suitable `Decodable` conforming types
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:106:14: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
105 | /// Array type castable to suitable `Decodable` conforming types
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | /// Struct type castable to suitable `Decodable` conforming types
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:108:14: warning: static property 'struct' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
107 | /// Struct type castable to suitable `Decodable` conforming types
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
| |- warning: static property 'struct' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'struct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | /// Dictionary type castable to suitable `Decodable` conforming types
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:110:14: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
109 | /// Dictionary type castable to suitable `Decodable` conforming types
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | /// Enum type castable to suitable `Decodable` conforming types
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:112:14: warning: static property 'union' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
111 | /// Enum type castable to suitable `Decodable` conforming types
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
| |- warning: static property 'union' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'union' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | /// UUID type castable to `UUID`
114 | static let uuid = DatabaseType(rawValue: DUCKDB_TYPE_UUID.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:114:14: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
113 | /// UUID type castable to `UUID`
114 | static let uuid = DatabaseType(rawValue: DUCKDB_TYPE_UUID.rawValue)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:120:14: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
118 |
119 | extension DatabaseType {
120 | static let invalid = DatabaseType(rawValue: DUCKDB_TYPE_INVALID.rawValue)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | }
122 |
[428/432] Compiling DuckDB DatabaseType.swift
/host/spi-builder-workspace/Sources/DuckDB/Connection.swift:55:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
53 |
54 | private let database: Database
55 | private let ptr = UnsafeMutablePointer<duckdb_connection?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
56 |
57 | /// Creates a new connection
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/Database.swift:70:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
68 | }
69 |
70 | private let ptr = UnsafeMutablePointer<duckdb_database?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
71 |
72 | /// Creates a Duck DB database
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:54:14: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
52 | public extension DatabaseType {
53 | /// Boolean type castable to `Bool`
54 | static let boolean = DatabaseType(rawValue: DUCKDB_TYPE_BOOLEAN.rawValue)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// Integer type castable to `Int8`
56 | static let tinyint = DatabaseType(rawValue: DUCKDB_TYPE_TINYINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:56:14: warning: static property 'tinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
54 | static let boolean = DatabaseType(rawValue: DUCKDB_TYPE_BOOLEAN.rawValue)
55 | /// Integer type castable to `Int8`
56 | static let tinyint = DatabaseType(rawValue: DUCKDB_TYPE_TINYINT.rawValue)
| |- warning: static property 'tinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tinyint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// Integer type castable to `Int16`
58 | static let smallint = DatabaseType(rawValue: DUCKDB_TYPE_SMALLINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:58:14: warning: static property 'smallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
56 | static let tinyint = DatabaseType(rawValue: DUCKDB_TYPE_TINYINT.rawValue)
57 | /// Integer type castable to `Int16`
58 | static let smallint = DatabaseType(rawValue: DUCKDB_TYPE_SMALLINT.rawValue)
| |- warning: static property 'smallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smallint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// Integer type castable to `Int32`
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:60:14: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
58 | static let smallint = DatabaseType(rawValue: DUCKDB_TYPE_SMALLINT.rawValue)
59 | /// Integer type castable to `Int32`
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
| |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'integer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | /// Integer type castable to `Int64`
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:62:14: warning: static property 'bigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
60 | static let integer = DatabaseType(rawValue: DUCKDB_TYPE_INTEGER.rawValue)
61 | /// Integer type castable to `Int64`
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
| |- warning: static property 'bigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bigint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | /// Integer type castable to `HugeInt`
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:64:14: warning: static property 'hugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
62 | static let bigint = DatabaseType(rawValue: DUCKDB_TYPE_BIGINT.rawValue)
63 | /// Integer type castable to `HugeInt`
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
| |- warning: static property 'hugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hugeint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | /// Integer type castable to `UHugeInt`
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:66:14: warning: static property 'uhugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
64 | static let hugeint = DatabaseType(rawValue: DUCKDB_TYPE_HUGEINT.rawValue)
65 | /// Integer type castable to `UHugeInt`
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
| |- warning: static property 'uhugeint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uhugeint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | /// Unsigned integer type castable to `UInt8`
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:68:14: warning: static property 'utinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
66 | static let uhugeint = DatabaseType(rawValue: DUCKDB_TYPE_UHUGEINT.rawValue)
67 | /// Unsigned integer type castable to `UInt8`
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
| |- warning: static property 'utinyint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utinyint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | /// Unsigned integer type castable to `UInt16`
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:70:14: warning: static property 'usmallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
68 | static let utinyint = DatabaseType(rawValue: DUCKDB_TYPE_UTINYINT.rawValue)
69 | /// Unsigned integer type castable to `UInt16`
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
| |- warning: static property 'usmallint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'usmallint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | /// Unsigned integer type castable to `UInt32`
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:72:14: warning: static property 'uinteger' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
70 | static let usmallint = DatabaseType(rawValue: DUCKDB_TYPE_USMALLINT.rawValue)
71 | /// Unsigned integer type castable to `UInt32`
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
| |- warning: static property 'uinteger' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uinteger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | /// Unsigned integer type castable to `UInt64`
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:74:14: warning: static property 'ubigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
72 | static let uinteger = DatabaseType(rawValue: DUCKDB_TYPE_UINTEGER.rawValue)
73 | /// Unsigned integer type castable to `UInt64`
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
| |- warning: static property 'ubigint' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ubigint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | /// Floating point type castable to `Float`
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:76:14: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
74 | static let ubigint = DatabaseType(rawValue: DUCKDB_TYPE_UBIGINT.rawValue)
75 | /// Floating point type castable to `Float`
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | /// Floating point type castable to `Double`
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:78:14: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
76 | static let float = DatabaseType(rawValue: DUCKDB_TYPE_FLOAT.rawValue)
77 | /// Floating point type castable to `Double`
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | /// Timestamp type castable to `Timestamp`
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:80:14: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
78 | static let double = DatabaseType(rawValue: DUCKDB_TYPE_DOUBLE.rawValue)
79 | /// Timestamp type castable to `Timestamp`
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | /// Timestamp(TZ) type castable to `Timestamp`
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:82:14: warning: static property 'timestampTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
80 | static let timestamp = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP.rawValue)
81 | /// Timestamp(TZ) type castable to `Timestamp`
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
| |- warning: static property 'timestampTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampTz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | /// Date type castable to `Date`
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:84:14: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
82 | static let timestampTz = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_TZ.rawValue)
83 | /// Date type castable to `Date`
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// Time type castable to `Time`
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:86:14: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
84 | static let date = DatabaseType(rawValue: DUCKDB_TYPE_DATE.rawValue)
85 | /// Time type castable to `Time`
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// Time(TZ) type castable to `Time`
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:88:14: warning: static property 'timeTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
86 | static let time = DatabaseType(rawValue: DUCKDB_TYPE_TIME.rawValue)
87 | /// Time(TZ) type castable to `Time`
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
| |- warning: static property 'timeTz' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timeTz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// Interval type castable to `Interval`
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:90:14: warning: static property 'interval' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
88 | static let timeTz = DatabaseType(rawValue: DUCKDB_TYPE_TIME_TZ.rawValue)
89 | /// Interval type castable to `Interval`
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
| |- warning: static property 'interval' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// String type castable to `String`
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:92:14: warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
90 | static let interval = DatabaseType(rawValue: DUCKDB_TYPE_INTERVAL.rawValue)
91 | /// String type castable to `String`
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
| |- warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'varchar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | /// Data type castable to `Data`
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:94:14: warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
92 | static let varchar = DatabaseType(rawValue: DUCKDB_TYPE_VARCHAR.rawValue)
93 | /// Data type castable to `Data`
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
| |- warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// Decimal type castable to `Decimal`
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:96:14: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
94 | static let blob = DatabaseType(rawValue: DUCKDB_TYPE_BLOB.rawValue)
95 | /// Decimal type castable to `Decimal`
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | /// Timestamp type castable to `Timestamp`
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:98:14: warning: static property 'timestampS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
96 | static let decimal = DatabaseType(rawValue: DUCKDB_TYPE_DECIMAL.rawValue)
97 | /// Timestamp type castable to `Timestamp`
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
| |- warning: static property 'timestampS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | /// Timestamp type castable to `Timestamp`
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:100:14: warning: static property 'timestampMS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
98 | static let timestampS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_S.rawValue)
99 | /// Timestamp type castable to `Timestamp`
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
| |- warning: static property 'timestampMS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampMS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | /// Timestamp type castable to `Timestamp`
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:102:14: warning: static property 'timestampNS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
100 | static let timestampMS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_MS.rawValue)
101 | /// Timestamp type castable to `Timestamp`
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
| |- warning: static property 'timestampNS' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | /// Enum type castable to suitable `Decodable` conforming types
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:104:14: warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
102 | static let timestampNS = DatabaseType(rawValue: DUCKDB_TYPE_TIMESTAMP_NS.rawValue)
103 | /// Enum type castable to suitable `Decodable` conforming types
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
| |- warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enum' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// Array type castable to suitable `Decodable` conforming types
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:106:14: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
104 | static let `enum` = DatabaseType(rawValue: DUCKDB_TYPE_ENUM.rawValue)
105 | /// Array type castable to suitable `Decodable` conforming types
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | /// Struct type castable to suitable `Decodable` conforming types
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:108:14: warning: static property 'struct' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
106 | static let list = DatabaseType(rawValue: DUCKDB_TYPE_LIST.rawValue)
107 | /// Struct type castable to suitable `Decodable` conforming types
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
| |- warning: static property 'struct' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'struct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | /// Dictionary type castable to suitable `Decodable` conforming types
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:110:14: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
108 | static let `struct` = DatabaseType(rawValue: DUCKDB_TYPE_STRUCT.rawValue)
109 | /// Dictionary type castable to suitable `Decodable` conforming types
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | /// Enum type castable to suitable `Decodable` conforming types
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:112:14: warning: static property 'union' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
110 | static let map = DatabaseType(rawValue: DUCKDB_TYPE_MAP.rawValue)
111 | /// Enum type castable to suitable `Decodable` conforming types
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
| |- warning: static property 'union' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'union' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | /// UUID type castable to `UUID`
114 | static let uuid = DatabaseType(rawValue: DUCKDB_TYPE_UUID.rawValue)
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:114:14: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
112 | static let union = DatabaseType(rawValue: DUCKDB_TYPE_UNION.rawValue)
113 | /// UUID type castable to `UUID`
114 | static let uuid = DatabaseType(rawValue: DUCKDB_TYPE_UUID.rawValue)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/host/spi-builder-workspace/Sources/DuckDB/DatabaseType.swift:120:14: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// define database types as arbitrary structs (`ROW(i INTEGER, j VARCHAR)`),
42 | /// which can be cast to their `Decodable` matching Swift type in the same way.
43 | public struct DatabaseType: RawRepresentable, Hashable, Equatable {
| `- note: consider making struct 'DatabaseType' conform to the 'Sendable' protocol
44 | public let rawValue: UInt32
45 | public init(rawValue: UInt32) {
:
118 |
119 | extension DatabaseType {
120 | static let invalid = DatabaseType(rawValue: DUCKDB_TYPE_INVALID.rawValue)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'DatabaseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | }
122 |
[429/432] Compiling DuckDB Column+TabularData.swift
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:42:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
40 | mantissa.6 = UInt16(truncatingIfNeeded: magnitude >> (6 * 16))
41 | mantissa.7 = UInt16(truncatingIfNeeded: magnitude >> (7 * 16))
42 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
43 | _exponent: 0,
44 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:64:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
62 | mantissa.6 = UInt16(truncatingIfNeeded: source >> (6 * 16))
63 | mantissa.7 = UInt16(truncatingIfNeeded: source >> (7 * 16))
64 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
65 | _exponent: 0,
66 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
[430/432] Compiling DuckDB Date+Foundation.swift
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:42:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
40 | mantissa.6 = UInt16(truncatingIfNeeded: magnitude >> (6 * 16))
41 | mantissa.7 = UInt16(truncatingIfNeeded: magnitude >> (7 * 16))
42 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
43 | _exponent: 0,
44 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:64:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
62 | mantissa.6 = UInt16(truncatingIfNeeded: source >> (6 * 16))
63 | mantissa.7 = UInt16(truncatingIfNeeded: source >> (7 * 16))
64 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
65 | _exponent: 0,
66 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
[431/432] Compiling DuckDB Decimal+IntHuge.swift
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:42:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
40 | mantissa.6 = UInt16(truncatingIfNeeded: magnitude >> (6 * 16))
41 | mantissa.7 = UInt16(truncatingIfNeeded: magnitude >> (7 * 16))
42 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
43 | _exponent: 0,
44 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:64:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
62 | mantissa.6 = UInt16(truncatingIfNeeded: source >> (6 * 16))
63 | mantissa.7 = UInt16(truncatingIfNeeded: source >> (7 * 16))
64 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
65 | _exponent: 0,
66 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
[432/432] Compiling DuckDB Time+Foundation.swift
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:42:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
40 | mantissa.6 = UInt16(truncatingIfNeeded: magnitude >> (6 * 16))
41 | mantissa.7 = UInt16(truncatingIfNeeded: magnitude >> (7 * 16))
42 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
43 | _exponent: 0,
44 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:64:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
62 | mantissa.6 = UInt16(truncatingIfNeeded: source >> (6 * 16))
63 | mantissa.7 = UInt16(truncatingIfNeeded: source >> (7 * 16))
64 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
65 | _exponent: 0,
66 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/27] Compiling DuckDB Timestamp+Foundation.swift
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:7: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:20: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:33: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:46: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:7: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:20: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:33: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:46: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:287:22: error: '_length' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
287 | for i in 0..<Int(_length) {
| `- error: '_length' is inaccessible due to 'internal' protection level
288 | mantissa += UIntHuge(components[i]) << (i * 16)
289 | }
FoundationEssentials.Decimal._length:2:14: note: '_length' declared here
1 | struct Decimal {
2 | internal var _length: UInt32 { get set }}
| `- note: '_length' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/DataChunk.swift:37:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
35 | var columnCount: DBInt { duckdb_data_chunk_get_column_count(ptr.pointee) }
36 |
37 | private let ptr = UnsafeMutablePointer<duckdb_data_chunk?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
38 |
39 | init(cresult: duckdb_result, index: DBInt) {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[3/27] Compiling DuckDB CTypeUtilities.swift
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:7: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:20: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:33: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:46: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:7: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:20: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:33: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:46: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:287:22: error: '_length' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
287 | for i in 0..<Int(_length) {
| `- error: '_length' is inaccessible due to 'internal' protection level
288 | mantissa += UIntHuge(components[i]) << (i * 16)
289 | }
FoundationEssentials.Decimal._length:2:14: note: '_length' declared here
1 | struct Decimal {
2 | internal var _length: UInt32 { get set }}
| `- note: '_length' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/DataChunk.swift:37:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
35 | var columnCount: DBInt { duckdb_data_chunk_get_column_count(ptr.pointee) }
36 |
37 | private let ptr = UnsafeMutablePointer<duckdb_data_chunk?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
38 |
39 | init(cresult: duckdb_result, index: DBInt) {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[4/27] Compiling DuckDB DataChunk.swift
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:7: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:20: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:33: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:46: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:7: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:20: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:33: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:46: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:287:22: error: '_length' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
287 | for i in 0..<Int(_length) {
| `- error: '_length' is inaccessible due to 'internal' protection level
288 | mantissa += UIntHuge(components[i]) << (i * 16)
289 | }
FoundationEssentials.Decimal._length:2:14: note: '_length' declared here
1 | struct Decimal {
2 | internal var _length: UInt32 { get set }}
| `- note: '_length' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/DataChunk.swift:37:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
35 | var columnCount: DBInt { duckdb_data_chunk_get_column_count(ptr.pointee) }
36 |
37 | private let ptr = UnsafeMutablePointer<duckdb_data_chunk?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
38 |
39 | init(cresult: duckdb_result, index: DBInt) {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[5/27] Compiling DuckDB DecimalStorageType.swift
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:7: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:20: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:33: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:283:46: error: '_mantissa' is inaccessible due to 'internal' protection level
281 | var hugeMantissa: UIntHuge {
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
285 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:7: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:20: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:33: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:284:46: error: '_mantissa' is inaccessible due to 'internal' protection level
282 | let components = [
283 | _mantissa.0, _mantissa.1, _mantissa.2, _mantissa.3,
284 | _mantissa.4, _mantissa.5, _mantissa.6, _mantissa.7
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/CTypeUtilities.swift:287:22: error: '_length' is inaccessible due to 'internal' protection level
285 | ]
286 | var mantissa = UIntHuge(0)
287 | for i in 0..<Int(_length) {
| `- error: '_length' is inaccessible due to 'internal' protection level
288 | mantissa += UIntHuge(components[i]) << (i * 16)
289 | }
FoundationEssentials.Decimal._length:2:14: note: '_length' declared here
1 | struct Decimal {
2 | internal var _length: UInt32 { get set }}
| `- note: '_length' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Internal/DataChunk.swift:37:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
35 | var columnCount: DBInt { duckdb_data_chunk_get_column_count(ptr.pointee) }
36 |
37 | private let ptr = UnsafeMutablePointer<duckdb_data_chunk?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
38 |
39 | init(cresult: duckdb_result, index: DBInt) {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[6/30] Compiling DuckDB Column+TabularData.swift
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:42:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
40 | mantissa.6 = UInt16(truncatingIfNeeded: magnitude >> (6 * 16))
41 | mantissa.7 = UInt16(truncatingIfNeeded: magnitude >> (7 * 16))
42 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
43 | _exponent: 0,
44 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:64:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
62 | mantissa.6 = UInt16(truncatingIfNeeded: source >> (6 * 16))
63 | mantissa.7 = UInt16(truncatingIfNeeded: source >> (7 * 16))
64 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
65 | _exponent: 0,
66 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
[7/30] Compiling DuckDB Date+Foundation.swift
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:42:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
40 | mantissa.6 = UInt16(truncatingIfNeeded: magnitude >> (6 * 16))
41 | mantissa.7 = UInt16(truncatingIfNeeded: magnitude >> (7 * 16))
42 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
43 | _exponent: 0,
44 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:64:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
62 | mantissa.6 = UInt16(truncatingIfNeeded: source >> (6 * 16))
63 | mantissa.7 = UInt16(truncatingIfNeeded: source >> (7 * 16))
64 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
65 | _exponent: 0,
66 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
[8/30] Compiling DuckDB Decimal+IntHuge.swift
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:42:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
40 | mantissa.6 = UInt16(truncatingIfNeeded: magnitude >> (6 * 16))
41 | mantissa.7 = UInt16(truncatingIfNeeded: magnitude >> (7 * 16))
42 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
43 | _exponent: 0,
44 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:64:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
62 | mantissa.6 = UInt16(truncatingIfNeeded: source >> (6 * 16))
63 | mantissa.7 = UInt16(truncatingIfNeeded: source >> (7 * 16))
64 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
65 | _exponent: 0,
66 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
[9/30] Compiling DuckDB Time+Foundation.swift
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:42:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
40 | mantissa.6 = UInt16(truncatingIfNeeded: magnitude >> (6 * 16))
41 | mantissa.7 = UInt16(truncatingIfNeeded: magnitude >> (7 * 16))
42 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
43 | _exponent: 0,
44 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
/host/spi-builder-workspace/Sources/DuckDB/Extensions/Decimal+IntHuge.swift:64:17: error: extra arguments at positions #2, #3, #4, #5, #6 in call
62 | mantissa.6 = UInt16(truncatingIfNeeded: source >> (6 * 16))
63 | mantissa.7 = UInt16(truncatingIfNeeded: source >> (7 * 16))
64 | self = .init(
| `- error: extra arguments at positions #2, #3, #4, #5, #6 in call
65 | _exponent: 0,
66 | _length: UInt32(length),
FoundationEssentials.Decimal.init:2:8: note: 'init(_:)' declared here
1 | struct Decimal {
2 | public init(_ value: Int)}
| `- note: 'init(_:)' declared here
3 |
[10/30] Compiling DuckDB Optional+CString.swift
[11/30] Compiling DuckDB PrimitiveDatabaseValue.swift
[12/30] Compiling DuckDB Vector.swift
[13/30] Compiling DuckDB Appender.swift
[14/30] Compiling DuckDB CodingUserInfoKeys.swift
[15/30] Compiling DuckDB Column.swift
[16/30] Compiling DuckDB Configuration.swift
[17/30] Compiling DuckDB VectorElementDecoder.swift
[18/30] Compiling DuckDB LogicalType.swift
[19/30] Compiling DuckDB PreparedStatement.swift
[20/30] Emitting module DuckDB
/host/spi-builder-workspace/Sources/DuckDB/Connection.swift:55:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
53 |
54 | private let database: Database
55 | private let ptr = UnsafeMutablePointer<duckdb_connection?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
56 |
57 | /// Creates a new connection
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/Database.swift:70:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
68 | }
69 |
70 | private let ptr = UnsafeMutablePointer<duckdb_database?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
71 |
72 | /// Creates a Duck DB database
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/Internal/DataChunk.swift:37:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
35 | var columnCount: DBInt { duckdb_data_chunk_get_column_count(ptr.pointee) }
36 |
37 | private let ptr = UnsafeMutablePointer<duckdb_data_chunk?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'DataChunk' has non-sendable type 'UnsafeMutablePointer<duckdb_data_chunk?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_data_chunk>>>'); this is an error in the Swift 6 language mode
38 |
39 | init(cresult: duckdb_result, index: DBInt) {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/ResultSet.swift:189:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'ResultStorage' has non-sendable type 'UnsafeMutablePointer<duckdb_result>'; this is an error in the Swift 6 language mode
187 | let columnCount: DBInt
188 |
189 | private let ptr = UnsafeMutablePointer<duckdb_result>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'ResultStorage' has non-sendable type 'UnsafeMutablePointer<duckdb_result>'; this is an error in the Swift 6 language mode
190 |
191 | init(connection: Connection, sql: String) throws {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[21/30] Compiling DuckDB Interval.swift
[22/30] Compiling DuckDB Time.swift
[23/30] Compiling DuckDB Timestamp.swift
[24/30] Compiling DuckDB Connection.swift
/host/spi-builder-workspace/Sources/DuckDB/Connection.swift:55:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
53 |
54 | private let database: Database
55 | private let ptr = UnsafeMutablePointer<duckdb_connection?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
56 |
57 | /// Creates a new connection
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/Database.swift:70:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
68 | }
69 |
70 | private let ptr = UnsafeMutablePointer<duckdb_database?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
71 |
72 | /// Creates a Duck DB database
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[25/30] Compiling DuckDB Database.swift
/host/spi-builder-workspace/Sources/DuckDB/Connection.swift:55:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
53 |
54 | private let database: Database
55 | private let ptr = UnsafeMutablePointer<duckdb_connection?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
56 |
57 | /// Creates a new connection
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/Database.swift:70:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
68 | }
69 |
70 | private let ptr = UnsafeMutablePointer<duckdb_database?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
71 |
72 | /// Creates a Duck DB database
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[26/30] Compiling DuckDB DatabaseError.swift
/host/spi-builder-workspace/Sources/DuckDB/Connection.swift:55:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
53 |
54 | private let database: Database
55 | private let ptr = UnsafeMutablePointer<duckdb_connection?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
56 |
57 | /// Creates a new connection
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/Database.swift:70:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
68 | }
69 |
70 | private let ptr = UnsafeMutablePointer<duckdb_database?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
71 |
72 | /// Creates a Duck DB database
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[27/30] Compiling DuckDB DatabaseType.swift
/host/spi-builder-workspace/Sources/DuckDB/Connection.swift:55:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
53 |
54 | private let database: Database
55 | private let ptr = UnsafeMutablePointer<duckdb_connection?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Connection' has non-sendable type 'UnsafeMutablePointer<duckdb_connection?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_connection>>>'); this is an error in the Swift 6 language mode
56 |
57 | /// Creates a new connection
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/DuckDB/Database.swift:70:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
68 | }
69 |
70 | private let ptr = UnsafeMutablePointer<duckdb_database?>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'Database' has non-sendable type 'UnsafeMutablePointer<duckdb_database?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<_duckdb_database>>>'); this is an error in the Swift 6 language mode
71 |
72 | /// Creates a Duck DB database
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[28/30] Compiling DuckDB ResultSet.swift
/host/spi-builder-workspace/Sources/DuckDB/ResultSet.swift:189:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'ResultStorage' has non-sendable type 'UnsafeMutablePointer<duckdb_result>'; this is an error in the Swift 6 language mode
187 | let columnCount: DBInt
188 |
189 | private let ptr = UnsafeMutablePointer<duckdb_result>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'ResultStorage' has non-sendable type 'UnsafeMutablePointer<duckdb_result>'; this is an error in the Swift 6 language mode
190 |
191 | init(connection: Connection, sql: String) throws {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[29/30] Compiling DuckDB Date.swift
/host/spi-builder-workspace/Sources/DuckDB/ResultSet.swift:189:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'ResultStorage' has non-sendable type 'UnsafeMutablePointer<duckdb_result>'; this is an error in the Swift 6 language mode
187 | let columnCount: DBInt
188 |
189 | private let ptr = UnsafeMutablePointer<duckdb_result>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'ResultStorage' has non-sendable type 'UnsafeMutablePointer<duckdb_result>'; this is an error in the Swift 6 language mode
190 |
191 | init(connection: Connection, sql: String) throws {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[30/30] Compiling DuckDB IntHuge.swift
/host/spi-builder-workspace/Sources/DuckDB/ResultSet.swift:189:15: warning: stored property 'ptr' of 'Sendable'-conforming class 'ResultStorage' has non-sendable type 'UnsafeMutablePointer<duckdb_result>'; this is an error in the Swift 6 language mode
187 | let columnCount: DBInt
188 |
189 | private let ptr = UnsafeMutablePointer<duckdb_result>.allocate(capacity: 1)
| `- warning: stored property 'ptr' of 'Sendable'-conforming class 'ResultStorage' has non-sendable type 'UnsafeMutablePointer<duckdb_result>'; this is an error in the Swift 6 language mode
190 |
191 | init(connection: Connection, sql: String) throws {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
BUILD FAILURE 6.1 linux