Build Information
Failed to build Cosmic, reference 7.3.1 (0c836f), with Swift 6.3 for Linux on 13 Apr 2026 22:33:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jnewc/Cosmic.git
Reference: 7.3.1
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/jnewc/Cosmic
* tag 7.3.1 -> FETCH_HEAD
HEAD is now at 0c836f1 Fix double formatting with composite logger
Cloned https://github.com/jnewc/Cosmic.git
Revision (git rev-parse @):
0c836f1c9935418c613c3f9913e32412ded5c782
SUCCESS checkout https://github.com/jnewc/Cosmic.git at 7.3.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/jnewc/Cosmic.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/Kitura/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket from cache (0.38s)
Computing version for https://github.com/Kitura/BlueSocket
Computed https://github.com/Kitura/BlueSocket at 2.0.4 (0.90s)
Creating working copy for https://github.com/Kitura/BlueSocket
Working copy of https://github.com/Kitura/BlueSocket resolved at 2.0.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Socket SocketProtocols.swift
[5/9] Compiling Socket SocketUtils.swift
[6/9] Compiling Socket Socket+Hashable.swift
[7/9] Compiling Socket Socket.swift
[8/9] Compiling Socket Socket+Equatable.swift
[9/9] Emitting module Socket
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/34] Emitting module Cosmic
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
41 | /// and reporting services.
42 | ///
43 | public protocol Logger: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
44 |
45 | init()
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | internal var sessionConfiguration = URLSessionConfiguration.default
58 |
59 | internal var session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |
61 | internal var underlyingQueue: DispatchQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 | /// - Returns: A JSON string, or nil if the object can not be converted to JSON
20 | /// - Throws: A JSON serialization error
21 | open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
| `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 | if let data = try? self.data(withJSONObject: obj, options: opt) {
23 | return String(data: data, encoding: .utf8)
[12/34] Compiling Cosmic Commons.swift
[13/34] Compiling Cosmic DataUtility.swift
[14/34] Compiling Cosmic Debug.swift
[15/37] Compiling Cosmic HTTPLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | internal var sessionConfiguration = URLSessionConfiguration.default
58 |
59 | internal var session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |
61 | internal var underlyingQueue: DispatchQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
69 | underlyingQueue = DispatchQueue(label: "com.cosmic.httplogger-\(UUID().uuidString)")
70 | queue.underlyingQueue = underlyingQueue
71 | session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
72 | }
73 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:77: error: 'nil' requires a contextual type
69 | underlyingQueue = DispatchQueue(label: "com.cosmic.httplogger-\(UUID().uuidString)")
70 | queue.underlyingQueue = underlyingQueue
71 | session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
| `- error: 'nil' requires a contextual type
72 | }
73 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:90:23: error: cannot find 'URLRequest' in scope
88 | guard let url = config?.urlWithQuery else { return }
89 |
90 | var request = URLRequest(url: URL(string: url)!)
| `- error: cannot find 'URLRequest' in scope
91 | request.httpMethod = config?.method
92 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
102 | request.httpBody = body.data(using: .utf8)
103 |
104 | let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
102 | request.httpBody = body.data(using: .utf8)
103 |
104 | let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:107:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
107 | Debug.logger.info("Status code: \(response.statusCode)")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 | }
109 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:112:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
110 | }
111 |
112 | task.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
113 | }
114 |
[16/37] Compiling Cosmic LambdaLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | internal var sessionConfiguration = URLSessionConfiguration.default
58 |
59 | internal var session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |
61 | internal var underlyingQueue: DispatchQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
69 | underlyingQueue = DispatchQueue(label: "com.cosmic.httplogger-\(UUID().uuidString)")
70 | queue.underlyingQueue = underlyingQueue
71 | session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
72 | }
73 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:77: error: 'nil' requires a contextual type
69 | underlyingQueue = DispatchQueue(label: "com.cosmic.httplogger-\(UUID().uuidString)")
70 | queue.underlyingQueue = underlyingQueue
71 | session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
| `- error: 'nil' requires a contextual type
72 | }
73 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:90:23: error: cannot find 'URLRequest' in scope
88 | guard let url = config?.urlWithQuery else { return }
89 |
90 | var request = URLRequest(url: URL(string: url)!)
| `- error: cannot find 'URLRequest' in scope
91 | request.httpMethod = config?.method
92 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
102 | request.httpBody = body.data(using: .utf8)
103 |
104 | let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
102 | request.httpBody = body.data(using: .utf8)
103 |
104 | let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:107:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
107 | Debug.logger.info("Status code: \(response.statusCode)")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 | }
109 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:112:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
110 | }
111 |
112 | task.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
113 | }
114 |
[17/37] Compiling Cosmic MemoryLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | internal var sessionConfiguration = URLSessionConfiguration.default
58 |
59 | internal var session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |
61 | internal var underlyingQueue: DispatchQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
69 | underlyingQueue = DispatchQueue(label: "com.cosmic.httplogger-\(UUID().uuidString)")
70 | queue.underlyingQueue = underlyingQueue
71 | session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
72 | }
73 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:77: error: 'nil' requires a contextual type
69 | underlyingQueue = DispatchQueue(label: "com.cosmic.httplogger-\(UUID().uuidString)")
70 | queue.underlyingQueue = underlyingQueue
71 | session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
| `- error: 'nil' requires a contextual type
72 | }
73 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:90:23: error: cannot find 'URLRequest' in scope
88 | guard let url = config?.urlWithQuery else { return }
89 |
90 | var request = URLRequest(url: URL(string: url)!)
| `- error: cannot find 'URLRequest' in scope
91 | request.httpMethod = config?.method
92 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
102 | request.httpBody = body.data(using: .utf8)
103 |
104 | let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
102 | request.httpBody = body.data(using: .utf8)
103 |
104 | let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:107:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
105 | error => Debug.logger.error(error!.localizedDescription)
106 | if let response = (response as? HTTPURLResponse) {
107 | Debug.logger.info("Status code: \(response.statusCode)")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 | }
109 |
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:112:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
110 | }
111 |
112 | task.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
113 | }
114 |
[18/37] Compiling Cosmic LogzLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
[19/37] Compiling Cosmic PapertrailLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
[20/37] Compiling Cosmic SocketLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
[21/37] Compiling Cosmic LogOutputStream.swift
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
41 | /// and reporting services.
42 | ///
43 | public protocol Logger: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
44 |
45 | init()
[22/37] Compiling Cosmic LogReporter.swift
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
41 | /// and reporting services.
42 | ///
43 | public protocol Logger: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
44 |
45 | init()
[23/37] Compiling Cosmic Logger.swift
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
41 | /// and reporting services.
42 | ///
43 | public protocol Logger: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
44 |
45 | init()
[24/37] Compiling Cosmic CompletionFormatter.swift
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
41 | /// and reporting services.
42 | ///
43 | public protocol Logger: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
44 |
45 | init()
[25/37] Compiling Cosmic JSONFormatter.swift
[26/37] Compiling Cosmic SyslogFormatter.swift
[27/37] Compiling Cosmic CompositeLogger.swift
[28/37] Compiling Cosmic PrintLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
[29/37] Compiling Cosmic LogItLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
[30/37] Compiling Cosmic LogglyLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | internal var batchFormatter: BatchFormatter = NewLineBatchFormatter()
56 |
57 | internal var sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 |
59 | internal var session: URLSession
[31/37] Compiling Cosmic LogCache.swift
[32/37] Compiling Cosmic LogFilter.swift
[33/37] Compiling Cosmic LogFormatter.swift
[34/37] Compiling Cosmic LogLevel.swift
[35/37] Compiling Cosmic Extensions.swift
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 | /// - Returns: A JSON string, or nil if the object can not be converted to JSON
20 | /// - Throws: A JSON serialization error
21 | open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
| `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 | if let data = try? self.data(withJSONObject: obj, options: opt) {
23 | return String(data: data, encoding: .utf8)
[36/37] Compiling Cosmic Operators.swift
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 | /// - Returns: A JSON string, or nil if the object can not be converted to JSON
20 | /// - Throws: A JSON serialization error
21 | open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
| `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 | if let data = try? self.data(withJSONObject: obj, options: opt) {
23 | return String(data: data, encoding: .utf8)
[37/37] Compiling Cosmic UniversalSocket.swift
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 | /// - Returns: A JSON string, or nil if the object can not be converted to JSON
20 | /// - Throws: A JSON serialization error
21 | open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
| `- warning: non-'@objc' class method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 | if let data = try? self.data(withJSONObject: obj, options: opt) {
23 | return String(data: data, encoding: .utf8)
BUILD FAILURE 6.3 linux