Build Information
Successful build of JLog with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/jollyjinx/JLog.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[3/11] Write JLogExample-entitlement.plist
[4/11] Write sources
[7/11] Write swift-version-6F35C1178C84523A.txt
[9/18] Emitting module ArgumentParserToolInfo
[10/18] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/53] Compiling Logging LogHandler.swift
[12/53] Compiling Logging Locks.swift
[13/53] Emitting module Logging
[14/53] Compiling Logging Logging.swift
[15/53] Compiling Logging MetadataProvider.swift
[16/59] Compiling LoggingFormatAndPipe LoggerTextOutputStreamPipe.swift
[17/59] Compiling LoggingFormatAndPipe Handler.swift
[18/59] Compiling ArgumentParser CommandConfiguration.swift
[19/59] Compiling ArgumentParser EnumerableFlag.swift
[20/59] Compiling ArgumentParser ExpressibleByArgument.swift
[21/59] Compiling ArgumentParser ParsableArguments.swift
[22/62] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/62] Compiling ArgumentParser CompletionsGenerator.swift
[24/62] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/62] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/62] Compiling ArgumentParser SequenceExtensions.swift
[27/62] Compiling ArgumentParser StringExtensions.swift
[28/62] Compiling ArgumentParser Tree.swift
[29/62] Compiling ArgumentParser Argument.swift
[30/62] Compiling ArgumentParser ArgumentHelp.swift
[31/62] Compiling ArgumentParser CompletionKind.swift
[32/62] Compiling ArgumentParser Errors.swift
[33/62] Emitting module ArgumentParser
[34/62] Compiling ArgumentParser Flag.swift
[35/62] Compiling ArgumentParser NameSpecification.swift
[36/62] Compiling ArgumentParser Option.swift
[37/62] Compiling ArgumentParser OptionGroup.swift
[38/62] Compiling ArgumentParser ParsableArgumentsValidation.swift
[39/62] Compiling ArgumentParser ParsableCommand.swift
[40/62] Compiling ArgumentParser ArgumentDecoder.swift
[41/62] Compiling ArgumentParser ArgumentDefinition.swift
[42/62] Compiling ArgumentParser ArgumentSet.swift
[43/62] Compiling ArgumentParser CommandParser.swift
[44/62] Compiling ArgumentParser InputOrigin.swift
[45/62] Compiling ArgumentParser Name.swift
[46/62] Compiling ArgumentParser MessageInfo.swift
[47/62] Compiling ArgumentParser UsageGenerator.swift
[48/62] Compiling ArgumentParser CollectionExtensions.swift
[49/62] Compiling ArgumentParser Parsed.swift
[50/62] Compiling ArgumentParser ParsedValues.swift
[51/62] Compiling ArgumentParser ParserError.swift
[52/62] Compiling ArgumentParser SplitArguments.swift
[53/62] Compiling ArgumentParser DumpHelpGenerator.swift
[54/62] Compiling ArgumentParser HelpCommand.swift
[55/62] Compiling ArgumentParser HelpGenerator.swift
[56/62] Compiling LoggingFormatAndPipe Formatter.swift
[57/62] Emitting module LoggingFormatAndPipe
[58/62] Compiling LoggingFormatAndPipe BasicFormatter.swift
[59/62] Compiling LoggingFormatAndPipe Pipe.swift
[60/64] Emitting module JLog
/Users/admin/builder/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() }
[61/64] Compiling JLog JLog.swift
/Users/admin/builder/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() }
/Users/admin/builder/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,
[62/66] Compiling JLogExample main.swift
[63/66] Emitting module JLogExample
[63/66] Write Objects.LinkFileList
[64/66] Linking JLogExample
[65/66] Applying JLogExample
Build complete! (30.05s)
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
[91/3526] Fetching swift-log-format-and-pipe, swift-log
[1141/15205] Fetching swift-log-format-and-pipe, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.65s)
Fetched https://github.com/apple/swift-log.git from cache (1.65s)
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (1.65s)
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.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.64s)
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
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" : "/Users/admin/builder/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.