Build Information
Failed to build IzziSession, reference main (f9225a
), with Swift 6.1 for Linux on 27 Apr 2025 16:22:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Desp0o/IzziSession.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Desp0o/IzziSession
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f9225a4 Add files via upload
Cloned https://github.com/Desp0o/IzziSession.git
Revision (git rev-parse @):
f9225a41c5aafda87d4cb0e898796f9722f78ab4
SUCCESS checkout https://github.com/Desp0o/IzziSession.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Desp0o/IzziSession.git
https://github.com/Desp0o/IzziSession.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "IzziSession",
"name" : "IzziSession",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "IzziSession",
"targets" : [
"IzziSession"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IzziSession",
"module_type" : "SwiftTarget",
"name" : "IzziSession",
"path" : "Sources",
"product_memberships" : [
"IzziSession"
],
"sources" : [
"IzziAuth/Enums/KeychainError.swift",
"IzziAuth/Enums/NetworkError.swift",
"IzziAuth/IzziSessionManager.swift",
"IzziAuth/KeychainManager.swift",
"IzziAuth/Models/DefaultModels.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling IzziSession DefaultModels.swift
[4/8] Compiling IzziSession KeychainManager.swift
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:38:7: error: cannot find 'kSecClass' in scope
36 |
37 | let query: [String: Any] = [
38 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClass' in scope
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:38:28: error: cannot find 'kSecClassGenericPassword' in scope
36 |
37 | let query: [String: Any] = [
38 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClassGenericPassword' in scope
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:39:7: error: cannot find 'kSecAttrAccount' in scope
37 | let query: [String: Any] = [
38 | kSecClass as String: kSecClassGenericPassword,
39 | kSecAttrAccount as String: key,
| `- error: cannot find 'kSecAttrAccount' in scope
40 | kSecValueData as String: valueData,
41 | kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:40:7: error: cannot find 'kSecValueData' in scope
38 | kSecClass as String: kSecClassGenericPassword,
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
| `- error: cannot find 'kSecValueData' in scope
41 | kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock
42 | ]
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:41:7: error: cannot find 'kSecAttrAccessible' in scope
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
41 | kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock
| `- error: cannot find 'kSecAttrAccessible' in scope
42 | ]
43 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:41:37: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
41 | kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock
| `- error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
42 | ]
43 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:44:18: error: cannot find 'SecItemAdd' in scope
42 | ]
43 |
44 | let status = SecItemAdd(query as CFDictionary, nil)
| `- error: cannot find 'SecItemAdd' in scope
45 |
46 | if status != errSecSuccess {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:44:38: error: cannot find type 'CFDictionary' in scope
42 | ]
43 |
44 | let status = SecItemAdd(query as CFDictionary, nil)
| `- error: cannot find type 'CFDictionary' in scope
45 |
46 | if status != errSecSuccess {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:44:52: error: 'nil' requires a contextual type
42 | ]
43 |
44 | let status = SecItemAdd(query as CFDictionary, nil)
| `- error: 'nil' requires a contextual type
45 |
46 | if status != errSecSuccess {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:46:18: error: cannot find 'errSecSuccess' in scope
44 | let status = SecItemAdd(query as CFDictionary, nil)
45 |
46 | if status != errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
47 | throw KeychainError.saveError(status)
48 | }
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:11:18: error: cannot find type 'OSStatus' in scope
9 |
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:60:7: error: cannot find 'kSecClass' in scope
58 | private static func getItemFromKeychain(key: String) throws -> String {
59 | let query: [String: Any] = [
60 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClass' in scope
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:60:28: error: cannot find 'kSecClassGenericPassword' in scope
58 | private static func getItemFromKeychain(key: String) throws -> String {
59 | let query: [String: Any] = [
60 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClassGenericPassword' in scope
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:61:7: error: cannot find 'kSecAttrAccount' in scope
59 | let query: [String: Any] = [
60 | kSecClass as String: kSecClassGenericPassword,
61 | kSecAttrAccount as String: key,
| `- error: cannot find 'kSecAttrAccount' in scope
62 | kSecReturnData as String: true,
63 | kSecMatchLimit as String: kSecMatchLimitOne
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:62:7: error: cannot find 'kSecReturnData' in scope
60 | kSecClass as String: kSecClassGenericPassword,
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
| `- error: cannot find 'kSecReturnData' in scope
63 | kSecMatchLimit as String: kSecMatchLimitOne
64 | ]
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:63:7: error: cannot find 'kSecMatchLimit' in scope
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
63 | kSecMatchLimit as String: kSecMatchLimitOne
| `- error: cannot find 'kSecMatchLimit' in scope
64 | ]
65 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:63:33: error: cannot find 'kSecMatchLimitOne' in scope
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
63 | kSecMatchLimit as String: kSecMatchLimitOne
| `- error: cannot find 'kSecMatchLimitOne' in scope
64 | ]
65 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:66:15: error: cannot find type 'CFTypeRef' in scope
64 | ]
65 |
66 | var item: CFTypeRef?
| `- error: cannot find type 'CFTypeRef' in scope
67 | let status = SecItemCopyMatching(query as CFDictionary, &item)
68 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:67:18: error: cannot find 'SecItemCopyMatching' in scope
65 |
66 | var item: CFTypeRef?
67 | let status = SecItemCopyMatching(query as CFDictionary, &item)
| `- error: cannot find 'SecItemCopyMatching' in scope
68 |
69 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:67:47: error: cannot find type 'CFDictionary' in scope
65 |
66 | var item: CFTypeRef?
67 | let status = SecItemCopyMatching(query as CFDictionary, &item)
| `- error: cannot find type 'CFDictionary' in scope
68 |
69 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:69:21: error: cannot find 'errSecSuccess' in scope
67 | let status = SecItemCopyMatching(query as CFDictionary, &item)
68 |
69 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
70 | throw KeychainError.readError(status)
71 | }
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:12:18: error: cannot find type 'OSStatus' in scope
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
13 | case deleteError(OSStatus)
14 | case itemNotFound
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:88:7: error: cannot find 'kSecClass' in scope
86 | private static func deleteItemFromKeychain(key: String) throws {
87 | let query: [String: Any] = [
88 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClass' in scope
89 | kSecAttrAccount as String: key
90 | ]
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:88:28: error: cannot find 'kSecClassGenericPassword' in scope
86 | private static func deleteItemFromKeychain(key: String) throws {
87 | let query: [String: Any] = [
88 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClassGenericPassword' in scope
89 | kSecAttrAccount as String: key
90 | ]
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:89:7: error: cannot find 'kSecAttrAccount' in scope
87 | let query: [String: Any] = [
88 | kSecClass as String: kSecClassGenericPassword,
89 | kSecAttrAccount as String: key
| `- error: cannot find 'kSecAttrAccount' in scope
90 | ]
91 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:92:18: error: cannot find 'SecItemDelete' in scope
90 | ]
91 |
92 | let status = SecItemDelete(query as CFDictionary)
| `- error: cannot find 'SecItemDelete' in scope
93 |
94 | if status != errSecSuccess && status != errSecItemNotFound {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:92:41: error: cannot find type 'CFDictionary' in scope
90 | ]
91 |
92 | let status = SecItemDelete(query as CFDictionary)
| `- error: cannot find type 'CFDictionary' in scope
93 |
94 | if status != errSecSuccess && status != errSecItemNotFound {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:94:18: error: cannot find 'errSecSuccess' in scope
92 | let status = SecItemDelete(query as CFDictionary)
93 |
94 | if status != errSecSuccess && status != errSecItemNotFound {
| `- error: cannot find 'errSecSuccess' in scope
95 | throw KeychainError.deleteError(status)
96 | }
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:94:45: error: cannot find 'errSecItemNotFound' in scope
92 | let status = SecItemDelete(query as CFDictionary)
93 |
94 | if status != errSecSuccess && status != errSecItemNotFound {
| `- error: cannot find 'errSecItemNotFound' in scope
95 | throw KeychainError.deleteError(status)
96 | }
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:13:20: error: cannot find type 'OSStatus' in scope
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
14 | case itemNotFound
15 | case unexpectedData
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Compiling IzziSession NetworkError.swift
[6/8] Emitting module IzziSession
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:11:18: error: cannot find type 'OSStatus' in scope
9 |
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:12:18: error: cannot find type 'OSStatus' in scope
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
13 | case deleteError(OSStatus)
14 | case itemNotFound
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:13:20: error: cannot find type 'OSStatus' in scope
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
14 | case itemNotFound
15 | case unexpectedData
[7/8] Compiling IzziSession KeychainError.swift
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:11:18: error: cannot find type 'OSStatus' in scope
9 |
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:12:18: error: cannot find type 'OSStatus' in scope
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
13 | case deleteError(OSStatus)
14 | case itemNotFound
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:13:20: error: cannot find type 'OSStatus' in scope
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
14 | case itemNotFound
15 | case unexpectedData
[8/8] Compiling IzziSession IzziSessionManager.swift
/host/spi-builder-workspace/Sources/IzziAuth/IzziSessionManager.swift:93:22: error: cannot find 'URLRequest' in scope
91 | }
92 |
93 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
94 | urlRequest.httpMethod = "POST"
95 |
/host/spi-builder-workspace/Sources/IzziAuth/IzziSessionManager.swift:115:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
113 | }
114 |
115 | let (data, response) = try await URLSession.shared.data(for: urlRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
116 |
117 | guard let httpResponse = response as? HTTPURLResponse else {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling IzziSession KeychainManager.swift
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:38:7: error: cannot find 'kSecClass' in scope
36 |
37 | let query: [String: Any] = [
38 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClass' in scope
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:38:28: error: cannot find 'kSecClassGenericPassword' in scope
36 |
37 | let query: [String: Any] = [
38 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClassGenericPassword' in scope
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:39:7: error: cannot find 'kSecAttrAccount' in scope
37 | let query: [String: Any] = [
38 | kSecClass as String: kSecClassGenericPassword,
39 | kSecAttrAccount as String: key,
| `- error: cannot find 'kSecAttrAccount' in scope
40 | kSecValueData as String: valueData,
41 | kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:40:7: error: cannot find 'kSecValueData' in scope
38 | kSecClass as String: kSecClassGenericPassword,
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
| `- error: cannot find 'kSecValueData' in scope
41 | kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock
42 | ]
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:41:7: error: cannot find 'kSecAttrAccessible' in scope
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
41 | kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock
| `- error: cannot find 'kSecAttrAccessible' in scope
42 | ]
43 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:41:37: error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
39 | kSecAttrAccount as String: key,
40 | kSecValueData as String: valueData,
41 | kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock
| `- error: cannot find 'kSecAttrAccessibleAfterFirstUnlock' in scope
42 | ]
43 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:44:18: error: cannot find 'SecItemAdd' in scope
42 | ]
43 |
44 | let status = SecItemAdd(query as CFDictionary, nil)
| `- error: cannot find 'SecItemAdd' in scope
45 |
46 | if status != errSecSuccess {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:44:38: error: cannot find type 'CFDictionary' in scope
42 | ]
43 |
44 | let status = SecItemAdd(query as CFDictionary, nil)
| `- error: cannot find type 'CFDictionary' in scope
45 |
46 | if status != errSecSuccess {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:44:52: error: 'nil' requires a contextual type
42 | ]
43 |
44 | let status = SecItemAdd(query as CFDictionary, nil)
| `- error: 'nil' requires a contextual type
45 |
46 | if status != errSecSuccess {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:46:18: error: cannot find 'errSecSuccess' in scope
44 | let status = SecItemAdd(query as CFDictionary, nil)
45 |
46 | if status != errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
47 | throw KeychainError.saveError(status)
48 | }
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:11:18: error: cannot find type 'OSStatus' in scope
9 |
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:60:7: error: cannot find 'kSecClass' in scope
58 | private static func getItemFromKeychain(key: String) throws -> String {
59 | let query: [String: Any] = [
60 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClass' in scope
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:60:28: error: cannot find 'kSecClassGenericPassword' in scope
58 | private static func getItemFromKeychain(key: String) throws -> String {
59 | let query: [String: Any] = [
60 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClassGenericPassword' in scope
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:61:7: error: cannot find 'kSecAttrAccount' in scope
59 | let query: [String: Any] = [
60 | kSecClass as String: kSecClassGenericPassword,
61 | kSecAttrAccount as String: key,
| `- error: cannot find 'kSecAttrAccount' in scope
62 | kSecReturnData as String: true,
63 | kSecMatchLimit as String: kSecMatchLimitOne
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:62:7: error: cannot find 'kSecReturnData' in scope
60 | kSecClass as String: kSecClassGenericPassword,
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
| `- error: cannot find 'kSecReturnData' in scope
63 | kSecMatchLimit as String: kSecMatchLimitOne
64 | ]
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:63:7: error: cannot find 'kSecMatchLimit' in scope
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
63 | kSecMatchLimit as String: kSecMatchLimitOne
| `- error: cannot find 'kSecMatchLimit' in scope
64 | ]
65 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:63:33: error: cannot find 'kSecMatchLimitOne' in scope
61 | kSecAttrAccount as String: key,
62 | kSecReturnData as String: true,
63 | kSecMatchLimit as String: kSecMatchLimitOne
| `- error: cannot find 'kSecMatchLimitOne' in scope
64 | ]
65 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:66:15: error: cannot find type 'CFTypeRef' in scope
64 | ]
65 |
66 | var item: CFTypeRef?
| `- error: cannot find type 'CFTypeRef' in scope
67 | let status = SecItemCopyMatching(query as CFDictionary, &item)
68 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:67:18: error: cannot find 'SecItemCopyMatching' in scope
65 |
66 | var item: CFTypeRef?
67 | let status = SecItemCopyMatching(query as CFDictionary, &item)
| `- error: cannot find 'SecItemCopyMatching' in scope
68 |
69 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:67:47: error: cannot find type 'CFDictionary' in scope
65 |
66 | var item: CFTypeRef?
67 | let status = SecItemCopyMatching(query as CFDictionary, &item)
| `- error: cannot find type 'CFDictionary' in scope
68 |
69 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:69:21: error: cannot find 'errSecSuccess' in scope
67 | let status = SecItemCopyMatching(query as CFDictionary, &item)
68 |
69 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
70 | throw KeychainError.readError(status)
71 | }
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:12:18: error: cannot find type 'OSStatus' in scope
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
13 | case deleteError(OSStatus)
14 | case itemNotFound
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:88:7: error: cannot find 'kSecClass' in scope
86 | private static func deleteItemFromKeychain(key: String) throws {
87 | let query: [String: Any] = [
88 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClass' in scope
89 | kSecAttrAccount as String: key
90 | ]
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:88:28: error: cannot find 'kSecClassGenericPassword' in scope
86 | private static func deleteItemFromKeychain(key: String) throws {
87 | let query: [String: Any] = [
88 | kSecClass as String: kSecClassGenericPassword,
| `- error: cannot find 'kSecClassGenericPassword' in scope
89 | kSecAttrAccount as String: key
90 | ]
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:89:7: error: cannot find 'kSecAttrAccount' in scope
87 | let query: [String: Any] = [
88 | kSecClass as String: kSecClassGenericPassword,
89 | kSecAttrAccount as String: key
| `- error: cannot find 'kSecAttrAccount' in scope
90 | ]
91 |
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:92:18: error: cannot find 'SecItemDelete' in scope
90 | ]
91 |
92 | let status = SecItemDelete(query as CFDictionary)
| `- error: cannot find 'SecItemDelete' in scope
93 |
94 | if status != errSecSuccess && status != errSecItemNotFound {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:92:41: error: cannot find type 'CFDictionary' in scope
90 | ]
91 |
92 | let status = SecItemDelete(query as CFDictionary)
| `- error: cannot find type 'CFDictionary' in scope
93 |
94 | if status != errSecSuccess && status != errSecItemNotFound {
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:94:18: error: cannot find 'errSecSuccess' in scope
92 | let status = SecItemDelete(query as CFDictionary)
93 |
94 | if status != errSecSuccess && status != errSecItemNotFound {
| `- error: cannot find 'errSecSuccess' in scope
95 | throw KeychainError.deleteError(status)
96 | }
/host/spi-builder-workspace/Sources/IzziAuth/KeychainManager.swift:94:45: error: cannot find 'errSecItemNotFound' in scope
92 | let status = SecItemDelete(query as CFDictionary)
93 |
94 | if status != errSecSuccess && status != errSecItemNotFound {
| `- error: cannot find 'errSecItemNotFound' in scope
95 | throw KeychainError.deleteError(status)
96 | }
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:13:20: error: cannot find type 'OSStatus' in scope
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
14 | case itemNotFound
15 | case unexpectedData
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Compiling IzziSession NetworkError.swift
[4/7] Emitting module IzziSession
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:11:18: error: cannot find type 'OSStatus' in scope
9 |
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:12:18: error: cannot find type 'OSStatus' in scope
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
13 | case deleteError(OSStatus)
14 | case itemNotFound
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:13:20: error: cannot find type 'OSStatus' in scope
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
14 | case itemNotFound
15 | case unexpectedData
[5/7] Compiling IzziSession KeychainError.swift
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:11:18: error: cannot find type 'OSStatus' in scope
9 |
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:12:18: error: cannot find type 'OSStatus' in scope
10 | enum KeychainError: Error {
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
13 | case deleteError(OSStatus)
14 | case itemNotFound
/host/spi-builder-workspace/Sources/IzziAuth/Enums/KeychainError.swift:13:20: error: cannot find type 'OSStatus' in scope
11 | case saveError(OSStatus)
12 | case readError(OSStatus)
13 | case deleteError(OSStatus)
| `- error: cannot find type 'OSStatus' in scope
14 | case itemNotFound
15 | case unexpectedData
[6/7] Compiling IzziSession IzziSessionManager.swift
/host/spi-builder-workspace/Sources/IzziAuth/IzziSessionManager.swift:93:22: error: cannot find 'URLRequest' in scope
91 | }
92 |
93 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
94 | urlRequest.httpMethod = "POST"
95 |
/host/spi-builder-workspace/Sources/IzziAuth/IzziSessionManager.swift:115:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
113 | }
114 |
115 | let (data, response) = try await URLSession.shared.data(for: urlRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
116 |
117 | guard let httpResponse = response as? HTTPURLResponse else {
[7/7] Compiling IzziSession DefaultModels.swift
BUILD FAILURE 6.1 linux