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

Successful build of InjectableLoggers with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/CuratoOpenSource/InjectableLoggers.git
Reference: develop
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/CuratoOpenSource/InjectableLoggers
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at e50f0b0 Merge remote-tracking branch 'refs/remotes/origin/develop'
Cloned https://github.com/CuratoOpenSource/InjectableLoggers.git
Revision (git rev-parse @):
e50f0b0ad4c5602bd634dd256bb1e2864f9d9b8a
SUCCESS checkout https://github.com/CuratoOpenSource/InjectableLoggers.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/CuratoOpenSource/InjectableLoggers.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Emitting module InjectableLoggers
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 | extension Logger: CanLogMessageAtLevelInFileInFunctionAtLine {
20 |
21 |     open func log(_ message: Any = "", atLevel level: Loglevel, inFile file: String? = #file, inFunction function: String? = #function, atLine line: Int? = #line) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |         relay?.log(message, atLevel: level, inFile: file, inFunction: function, atLine: line)
23 |         breakWhenBreakPointIsAvailable(for: level)
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:37:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | extension Logger: CanLogMessageInFileInFunctionAtLine {
36 |
37 |     open func log(_ message: Any = "", inFile file: String? = #file, inFunction function: String? = #function, atLine line: Int? = #line) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 |         log(message, atLevel: defaultLogLevel, inFile: file, inFunction: function, atLine: line)
39 |     }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:45:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
43 | extension Logger: HasDefaultLoglevel {
44 |
45 |     open var defaultLogLevel: Loglevel {
   |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
46 |         return settings.defaultLogLevel
47 |     }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:52:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
50 | extension Logger {
51 |
52 |     open func shouldLog(at level: Loglevel) -> Bool {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
53 |         guard level != .inactive else { return false }
54 |         return level.rawValue >= settings.activeLogLevel.rawValue
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 | extension SimpleLogger {
20 |
21 |     open func format(_ message: Any, with logLevelString: String) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |
23 |         var formattedMessage = logLevelString
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:36:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
34 |     }
35 |
36 |     open func shouldLog(at level: Loglevel) -> Bool {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
37 |         guard level != .inactive else { return false }
38 |         return level.rawValue >= settings.activeLogLevel.rawValue
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:45:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
43 | extension SimpleLogger: CanLogMessageAtLevel {
44 |
45 |     open func log(_ message: Any, atLevel level: Loglevel) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
46 |         relay?.log(message, atLevel: level)
47 |         guard shouldLog(at: level) else { return }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:55:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
53 | extension SimpleLogger: HasDefaultLoglevel {
54 |
55 |     open var defaultLogLevel: Loglevel {
   |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
56 |         return settings.defaultLogLevel
57 |     }
[4/20] Compiling InjectableLoggers Logger.Settings.swift
[5/20] Compiling InjectableLoggers SimpleLogger.Settings.swift
[6/20] Compiling InjectableLoggers CanLogMessageAtLevel.swift
[7/20] Compiling InjectableLoggers CanFormatMessageInFileInFunctionAtLineWithSettings.swift
[8/20] Compiling InjectableLoggers HasDefaultLoglevel.swift
[9/20] Compiling InjectableLoggers ConsoleLogger.swift
[10/20] Compiling InjectableLoggers Logger.FormatSettings.swift
[11/20] Compiling InjectableLoggers Logger.Formatter.swift
[12/20] Compiling InjectableLoggers LogLevel.swift
[13/20] Compiling InjectableLoggers CanLog.swift
[14/20] Compiling InjectableLoggers CanLogAtLevel.swift
[15/20] Compiling InjectableLoggers CanLogMessage.swift
[16/20] Compiling InjectableLoggers CanLogMessageAtLevelInFileInFunctionAtLine.swift
[17/20] Compiling InjectableLoggers CanLogMessageInFileInFunctionAtLine.swift
[18/20] Compiling InjectableLoggers Logger.swift
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 | extension Logger: CanLogMessageAtLevelInFileInFunctionAtLine {
20 |
21 |     open func log(_ message: Any = "", atLevel level: Loglevel, inFile file: String? = #file, inFunction function: String? = #function, atLine line: Int? = #line) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |         relay?.log(message, atLevel: level, inFile: file, inFunction: function, atLine: line)
23 |         breakWhenBreakPointIsAvailable(for: level)
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:37:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | extension Logger: CanLogMessageInFileInFunctionAtLine {
36 |
37 |     open func log(_ message: Any = "", inFile file: String? = #file, inFunction function: String? = #function, atLine line: Int? = #line) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 |         log(message, atLevel: defaultLogLevel, inFile: file, inFunction: function, atLine: line)
39 |     }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:45:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
43 | extension Logger: HasDefaultLoglevel {
44 |
45 |     open var defaultLogLevel: Loglevel {
   |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
46 |         return settings.defaultLogLevel
47 |     }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:52:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
50 | extension Logger {
51 |
52 |     open func shouldLog(at level: Loglevel) -> Bool {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
53 |         guard level != .inactive else { return false }
54 |         return level.rawValue >= settings.activeLogLevel.rawValue
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 | extension SimpleLogger {
20 |
21 |     open func format(_ message: Any, with logLevelString: String) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |
23 |         var formattedMessage = logLevelString
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:36:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
34 |     }
35 |
36 |     open func shouldLog(at level: Loglevel) -> Bool {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
37 |         guard level != .inactive else { return false }
38 |         return level.rawValue >= settings.activeLogLevel.rawValue
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:45:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
43 | extension SimpleLogger: CanLogMessageAtLevel {
44 |
45 |     open func log(_ message: Any, atLevel level: Loglevel) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
46 |         relay?.log(message, atLevel: level)
47 |         guard shouldLog(at: level) else { return }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:55:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
53 | extension SimpleLogger: HasDefaultLoglevel {
54 |
55 |     open var defaultLogLevel: Loglevel {
   |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
56 |         return settings.defaultLogLevel
57 |     }
[19/20] Compiling InjectableLoggers MockLogger.swift
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 | extension Logger: CanLogMessageAtLevelInFileInFunctionAtLine {
20 |
21 |     open func log(_ message: Any = "", atLevel level: Loglevel, inFile file: String? = #file, inFunction function: String? = #function, atLine line: Int? = #line) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |         relay?.log(message, atLevel: level, inFile: file, inFunction: function, atLine: line)
23 |         breakWhenBreakPointIsAvailable(for: level)
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:37:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | extension Logger: CanLogMessageInFileInFunctionAtLine {
36 |
37 |     open func log(_ message: Any = "", inFile file: String? = #file, inFunction function: String? = #function, atLine line: Int? = #line) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 |         log(message, atLevel: defaultLogLevel, inFile: file, inFunction: function, atLine: line)
39 |     }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:45:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
43 | extension Logger: HasDefaultLoglevel {
44 |
45 |     open var defaultLogLevel: Loglevel {
   |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
46 |         return settings.defaultLogLevel
47 |     }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:52:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
50 | extension Logger {
51 |
52 |     open func shouldLog(at level: Loglevel) -> Bool {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
53 |         guard level != .inactive else { return false }
54 |         return level.rawValue >= settings.activeLogLevel.rawValue
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 | extension SimpleLogger {
20 |
21 |     open func format(_ message: Any, with logLevelString: String) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |
23 |         var formattedMessage = logLevelString
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:36:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
34 |     }
35 |
36 |     open func shouldLog(at level: Loglevel) -> Bool {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
37 |         guard level != .inactive else { return false }
38 |         return level.rawValue >= settings.activeLogLevel.rawValue
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:45:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
43 | extension SimpleLogger: CanLogMessageAtLevel {
44 |
45 |     open func log(_ message: Any, atLevel level: Loglevel) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
46 |         relay?.log(message, atLevel: level)
47 |         guard shouldLog(at: level) else { return }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:55:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
53 | extension SimpleLogger: HasDefaultLoglevel {
54 |
55 |     open var defaultLogLevel: Loglevel {
   |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
56 |         return settings.defaultLogLevel
57 |     }
[20/20] Compiling InjectableLoggers SimpleLogger.swift
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 | extension Logger: CanLogMessageAtLevelInFileInFunctionAtLine {
20 |
21 |     open func log(_ message: Any = "", atLevel level: Loglevel, inFile file: String? = #file, inFunction function: String? = #function, atLine line: Int? = #line) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |         relay?.log(message, atLevel: level, inFile: file, inFunction: function, atLine: line)
23 |         breakWhenBreakPointIsAvailable(for: level)
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:37:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | extension Logger: CanLogMessageInFileInFunctionAtLine {
36 |
37 |     open func log(_ message: Any = "", inFile file: String? = #file, inFunction function: String? = #function, atLine line: Int? = #line) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 |         log(message, atLevel: defaultLogLevel, inFile: file, inFunction: function, atLine: line)
39 |     }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:45:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
43 | extension Logger: HasDefaultLoglevel {
44 |
45 |     open var defaultLogLevel: Loglevel {
   |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
46 |         return settings.defaultLogLevel
47 |     }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/Logger.swift:52:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
50 | extension Logger {
51 |
52 |     open func shouldLog(at level: Loglevel) -> Bool {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
53 |         guard level != .inactive else { return false }
54 |         return level.rawValue >= settings.activeLogLevel.rawValue
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 | extension SimpleLogger {
20 |
21 |     open func format(_ message: Any, with logLevelString: String) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |
23 |         var formattedMessage = logLevelString
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:36:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
34 |     }
35 |
36 |     open func shouldLog(at level: Loglevel) -> Bool {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
37 |         guard level != .inactive else { return false }
38 |         return level.rawValue >= settings.activeLogLevel.rawValue
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:45:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
43 | extension SimpleLogger: CanLogMessageAtLevel {
44 |
45 |     open func log(_ message: Any, atLevel level: Loglevel) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
46 |         relay?.log(message, atLevel: level)
47 |         guard shouldLog(at: level) else { return }
/host/spi-builder-workspace/InjectableLoggers/Classes/Classes/SimpleLogger.swift:55:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
53 | extension SimpleLogger: HasDefaultLoglevel {
54 |
55 |     open var defaultLogLevel: Loglevel {
   |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
56 |         return settings.defaultLogLevel
57 |     }
Build complete! (12.11s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "InjectableLoggers",
  "name" : "InjectableLoggers",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "InjectableLoggers",
      "targets" : [
        "InjectableLoggers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "InjectableLoggers",
      "module_type" : "SwiftTarget",
      "name" : "InjectableLoggers",
      "path" : "InjectableLoggers",
      "product_memberships" : [
        "InjectableLoggers"
      ],
      "sources" : [
        "Classes/Classes/Logger.swift",
        "Classes/Classes/MockLogger.swift",
        "Classes/Classes/SimpleLogger.swift",
        "Classes/Enums/LogLevel.swift",
        "Classes/ExtendedProtocols/CanLog.swift",
        "Classes/ExtendedProtocols/CanLogAtLevel.swift",
        "Classes/ExtendedProtocols/CanLogMessage.swift",
        "Classes/ExtendedProtocols/CanLogMessageAtLevel.swift",
        "Classes/Protocols/CanFormatMessageInFileInFunctionAtLineWithSettings.swift",
        "Classes/Protocols/CanLogMessageAtLevelInFileInFunctionAtLine.swift",
        "Classes/Protocols/CanLogMessageInFileInFunctionAtLine.swift",
        "Classes/Protocols/HasDefaultLoglevel.swift",
        "Classes/Structs/ConsoleLogger.swift",
        "Classes/Structs/Logger.FormatSettings.swift",
        "Classes/Structs/Logger.Formatter.swift",
        "Classes/Structs/Logger.Settings.swift",
        "Classes/Structs/SimpleLogger.Settings.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.