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 JLog with Swift 6.0 for Linux.

Swift 6 data race errors: 1

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/jollyjinx/JLog.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/jollyjinx/JLog
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6109a98 Not calling logger when above log level for speedup.
Cloned https://github.com/jollyjinx/JLog.git
Revision (git rev-parse @):
6109a9864d4196a8d21383b24fbceb374d1fc581
SUCCESS checkout https://github.com/jollyjinx/JLog.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/jollyjinx/JLog.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/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
[1/165] Fetching swift-log-format-and-pipe
[166/3526] Fetching swift-log-format-and-pipe, swift-log
[3527/15205] Fetching swift-log-format-and-pipe, swift-log, swift-argument-parser
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (0.66s)
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
Computing version for https://github.com/Adorkable/swift-log-format-and-pipe
Computed https://github.com/Adorkable/swift-log-format-and-pipe at 0.1.1 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.52s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/Adorkable/swift-log-format-and-pipe
Working copy of https://github.com/Adorkable/swift-log-format-and-pipe resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/22] Emitting module ArgumentParserToolInfo
[9/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/23] Wrapping AST for ArgumentParserToolInfo for debugging
[12/57] Compiling Logging MetadataProvider.swift
[13/57] Compiling Logging Logging.swift
[14/57] Compiling Logging Locks.swift
[15/57] Compiling Logging LogHandler.swift
[16/57] Emitting module Logging
[17/64] Wrapping AST for Logging for debugging
[19/64] Compiling LoggingFormatAndPipe Handler.swift
[20/64] Compiling ArgumentParser ArgumentHelp.swift
[21/64] Compiling ArgumentParser CompletionKind.swift
[22/64] Compiling ArgumentParser Errors.swift
[23/64] Compiling ArgumentParser Flag.swift
[24/64] Compiling ArgumentParser NameSpecification.swift
[25/68] Emitting module ArgumentParser
[26/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/68] Compiling ArgumentParser CompletionsGenerator.swift
[28/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/68] Compiling ArgumentParser Argument.swift
[31/68] Compiling ArgumentParser CollectionExtensions.swift
[32/68] Compiling ArgumentParser SequenceExtensions.swift
[33/68] Compiling ArgumentParser StringExtensions.swift
[34/68] Compiling ArgumentParser Tree.swift
[35/68] Compiling LoggingFormatAndPipe LoggerTextOutputStreamPipe.swift
[36/68] Compiling LoggingFormatAndPipe Pipe.swift
[37/68] Compiling LoggingFormatAndPipe Formatter.swift
[38/68] Compiling LoggingFormatAndPipe BasicFormatter.swift
[39/68] Emitting module LoggingFormatAndPipe
[41/69] Compiling ArgumentParser ArgumentSet.swift
[42/69] Compiling ArgumentParser CommandParser.swift
[43/69] Compiling ArgumentParser InputOrigin.swift
[44/69] Compiling ArgumentParser Name.swift
[45/69] Compiling ArgumentParser Parsed.swift
[46/69] Compiling ArgumentParser HelpCommand.swift
[47/69] Compiling ArgumentParser HelpGenerator.swift
[48/69] Compiling ArgumentParser MessageInfo.swift
[49/69] Compiling ArgumentParser UsageGenerator.swift
[49/69] Wrapping AST for LoggingFormatAndPipe for debugging
[51/71] Compiling ArgumentParser ParsableArguments.swift
[52/71] Compiling ArgumentParser ParsableArgumentsValidation.swift
[53/71] Compiling ArgumentParser ParsableCommand.swift
[54/71] Compiling ArgumentParser ArgumentDecoder.swift
[55/71] Compiling ArgumentParser ArgumentDefinition.swift
[56/71] Compiling ArgumentParser Option.swift
[57/71] Compiling ArgumentParser OptionGroup.swift
[58/71] Compiling ArgumentParser CommandConfiguration.swift
[59/71] Compiling ArgumentParser EnumerableFlag.swift
[60/71] Compiling ArgumentParser ExpressibleByArgument.swift
[61/71] Compiling ArgumentParser ParsedValues.swift
[62/71] Compiling ArgumentParser ParserError.swift
[63/71] Compiling ArgumentParser SplitArguments.swift
[64/71] Compiling ArgumentParser DumpHelpGenerator.swift
[65/72] Emitting module JLog
/host/spi-builder-workspace/Sources/JLog/JLog.swift:99:16: warning: static property '_logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 97 |     public typealias Level = Logger.Level
 98 |
 99 |     static var _logger:LogHandler?
    |                |- warning: static property '_logger' 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 '_logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate '_logger' 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
100 |
101 |     public static var logger:LogHandler     {   get { return _logger ?? createLogger() }
[66/72] Compiling JLog JLog.swift
/host/spi-builder-workspace/Sources/JLog/JLog.swift:99:16: warning: static property '_logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 97 |     public typealias Level = Logger.Level
 98 |
 99 |     static var _logger:LogHandler?
    |                |- warning: static property '_logger' 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 '_logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate '_logger' 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
100 |
101 |     public static var logger:LogHandler     {   get { return _logger ?? createLogger() }
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/BasicFormatter.swift:75:23: warning: static property 'adorkable' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// `BasicFormatter` does not need any setup and will automatically include all log components
13 | /// It can also be given a linear sequence of log components and it will build formatted logs in that order
14 | public struct BasicFormatter: Formatter {
   |               `- note: consider making struct 'BasicFormatter' conform to the 'Sendable' protocol
15 |     /// Log format sequential specification
16 |     public let format: [LogComponent]
   :
73 |
74 |     /// Adorkable's go-to log format 😘
75 |     public static let adorkable = BasicFormatter(
   |                       |- warning: static property 'adorkable' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'adorkable' 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
76 |         [
77 |             .timestamp,
[68/73] Wrapping AST for ArgumentParser for debugging
[69/73] Wrapping AST for JLog for debugging
[71/75] Compiling JLogExample main.swift
[72/75] Emitting module JLogExample
[73/76] Wrapping AST for JLogExample for debugging
[74/76] Write Objects.LinkFileList
[75/76] Linking JLogExample
Build complete! (19.66s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log-format-and-pipe",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Adorkable/swift-log-format-and-pipe"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "JLog",
  "name" : "JLog",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "JLog",
      "targets" : [
        "JLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "JLogExample",
      "targets" : [
        "JLogExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JLogTests",
      "module_type" : "SwiftTarget",
      "name" : "JLogTests",
      "path" : "Tests/JLogTests",
      "sources" : [
        "JLogTests.swift"
      ],
      "target_dependencies" : [
        "JLog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JLogExample",
      "module_type" : "SwiftTarget",
      "name" : "JLogExample",
      "path" : "Sources/JLogExample",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "JLogExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "JLog"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "JLog",
      "module_type" : "SwiftTarget",
      "name" : "JLog",
      "path" : "Sources/JLog",
      "product_dependencies" : [
        "Logging",
        "LoggingFormatAndPipe"
      ],
      "product_memberships" : [
        "JLog",
        "JLogExample"
      ],
      "sources" : [
        "JLog.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.