This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SBObjectiveCWrapper with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
Reference: master
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/SwiftyBeaver/SBObjectiveCWrapper
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4fcdab9 new 1.5.0 release
Submodule path 'lib/SwiftyBeaver': checked out 'ad66cc41c5d8acbd63d9dcdc9d3609f152e08ed1'
Submodule 'lib/SwiftyBeaver' (https://github.com/SwiftyBeaver/SwiftyBeaver.git) registered for path 'lib/SwiftyBeaver'
Cloning into '/host/spi-builder-workspace/lib/SwiftyBeaver'...
Cloned https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
Revision (git rev-parse @):
4fcdab9198d5ee513b082d59d7b24651b5ae0977
SUCCESS checkout https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
[1/3836] Fetching swiftybeaver
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.43s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (1.38s)
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.6
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Emitting module SwiftyBeaver
[5/15] Compiling SwiftyBeaver BaseDestination.swift
[6/15] Compiling SwiftyBeaver ConsoleDestination.swift
[7/15] Compiling SwiftyBeaver AES256CBC.swift
[8/15] Compiling SwiftyBeaver Base64.swift
[9/15] Compiling SwiftyBeaver Extensions.swift
[10/15] Compiling SwiftyBeaver FileDestination.swift
[11/15] Compiling SwiftyBeaver GoogleCloudDestination.swift
[12/15] Compiling SwiftyBeaver FilterValidator.swift
[13/15] Compiling SwiftyBeaver SBPlatformDestination.swift
[14/15] Compiling SwiftyBeaver Filter.swift
[15/15] Compiling SwiftyBeaver SwiftyBeaver.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/18] Emitting module SBObjectiveCWrapper
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:24:2: error: Objective-C interoperability is disabled
22 | extension SwiftyBeaver: Loggable {}
23 |
24 | @objc open class SBObjectiveCWrapper: NSObject {
   |  `- error: Objective-C interoperability is disabled
25 |
26 |     @objc class func _setLogClassForTesting(_ logClass: AnyObject) {
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:26:6: error: Objective-C interoperability is disabled
24 | @objc open class SBObjectiveCWrapper: NSObject {
25 |
26 |     @objc class func _setLogClassForTesting(_ logClass: AnyObject) {
   |      `- error: Objective-C interoperability is disabled
27 |         self.logClass = logClass as! Loggable.Type
28 |     }
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:30:16: warning: static property 'logClass' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     }
29 |
30 |     static var logClass: Loggable.Type = SwiftyBeaver.self
   |                |- warning: static property 'logClass' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'logClass' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'logClass' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 |     @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:32:6: error: Objective-C interoperability is disabled
30 |     static var logClass: Loggable.Type = SwiftyBeaver.self
31 |
32 |     @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
33 |
34 |         logClass.verbose(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:38:6: error: Objective-C interoperability is disabled
36 |     }
37 |
38 |     @objc open class func logDebug(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
39 |
40 |         logClass.debug(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:44:6: error: Objective-C interoperability is disabled
42 |     }
43 |
44 |     @objc open class func logInfo(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
45 |
46 |         logClass.info(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:50:6: error: Objective-C interoperability is disabled
48 |     }
49 |
50 |     @objc open class func logWarning(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
51 |
52 |         logClass.warning(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:56:6: error: Objective-C interoperability is disabled
54 |     }
55 |
56 |     @objc open class func logError(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
57 |
58 |         logClass.error(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:62:6: error: Objective-C interoperability is disabled
60 |     }
61 |
62 |     @objc open class func convertFunction(_ function: String) -> String {
   |      `- error: Objective-C interoperability is disabled
63 |         var strippedFunction = function
64 |
[18/18] Compiling SBObjectiveCWrapper SBObjectiveCWrapper.swift
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:24:2: error: Objective-C interoperability is disabled
22 | extension SwiftyBeaver: Loggable {}
23 |
24 | @objc open class SBObjectiveCWrapper: NSObject {
   |  `- error: Objective-C interoperability is disabled
25 |
26 |     @objc class func _setLogClassForTesting(_ logClass: AnyObject) {
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:26:6: error: Objective-C interoperability is disabled
24 | @objc open class SBObjectiveCWrapper: NSObject {
25 |
26 |     @objc class func _setLogClassForTesting(_ logClass: AnyObject) {
   |      `- error: Objective-C interoperability is disabled
27 |         self.logClass = logClass as! Loggable.Type
28 |     }
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:30:16: warning: static property 'logClass' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     }
29 |
30 |     static var logClass: Loggable.Type = SwiftyBeaver.self
   |                |- warning: static property 'logClass' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'logClass' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'logClass' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 |     @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:32:6: error: Objective-C interoperability is disabled
30 |     static var logClass: Loggable.Type = SwiftyBeaver.self
31 |
32 |     @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
33 |
34 |         logClass.verbose(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:38:6: error: Objective-C interoperability is disabled
36 |     }
37 |
38 |     @objc open class func logDebug(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
39 |
40 |         logClass.debug(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:44:6: error: Objective-C interoperability is disabled
42 |     }
43 |
44 |     @objc open class func logInfo(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
45 |
46 |         logClass.info(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:50:6: error: Objective-C interoperability is disabled
48 |     }
49 |
50 |     @objc open class func logWarning(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
51 |
52 |         logClass.warning(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:56:6: error: Objective-C interoperability is disabled
54 |     }
55 |
56 |     @objc open class func logError(_ message: String, filePath: String, function: String, line: Int) {
   |      `- error: Objective-C interoperability is disabled
57 |
58 |         logClass.error(message, filePath, self.convertFunction(function), line: line, context: nil)
/host/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:62:6: error: Objective-C interoperability is disabled
60 |     }
61 |
62 |     @objc open class func convertFunction(_ function: String) -> String {
   |      `- error: Objective-C interoperability is disabled
63 |         var strippedFunction = function
64 |
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.