The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NodeSwiftLogging, reference main (c05928), with Swift 6.4 for Linux on 22 Sep 2026 04:27:55 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stevengharris/NodeSwiftLogging.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/stevengharris/NodeSwiftLogging
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c05928d Fix typo in README
Cloned https://github.com/stevengharris/NodeSwiftLogging.git
Revision (git rev-parse @):
c05928d8bd767d48adcef1bdb353f015e44f3773
SUCCESS checkout https://github.com/stevengharris/NodeSwiftLogging.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/stevengharris/NodeSwiftLogging.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/kabiroberai/node-swift.git
[1/2405] Fetching node-swift
[2/10537] Fetching node-swift, swift-log
Fetched https://github.com/apple/swift-log.git (0.56s)
Fetched https://github.com/kabiroberai/node-swift.git (0.56s)
Computing version for https://github.com/kabiroberai/node-swift.git
Computed https://github.com/kabiroberai/node-swift.git at 1.5.2 (1.66s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80002] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/kabiroberai/node-swift.git
Working copy of https://github.com/kabiroberai/node-swift.git resolved at 1.5.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 740]
[Planning deferred tasks]
[144 / 304]
[162 / 332] SwiftSyntax510
[186 / 332] SwiftSyntax600
[200 / 332] Logging
[201 / 332] Logging
[211 / 335] SwiftSyntax602
[215 / 336] Logging-product
[220 / 337] SwiftSyntax510
[225 / 338] SwiftSyntax603
[230 / 339] SwiftSyntax
[235 / 348] SwiftSyntax
[236 / 348] SwiftSyntax
[238 / 348] SwiftSyntax
[239 / 349] SwiftSyntax
[240 / 349] Logging
[242 / 349] Logging
[242 / 349] SwiftSyntax
[253 / 360] SwiftDiagnostics
[255 / 377] SwiftParser
[255 / 377] SwiftBasicFormat
[258 / 377] SwiftDiagnostics
[264 / 377] SwiftBasicFormat
[269 / 377] SwiftParser
[270 / 377] SwiftParser
[271 / 377] SwiftParser
[273 / 377] SwiftParser
[278 / 377] SwiftParser
[280 / 377] SwiftDiagnostics
[281 / 377] SwiftDiagnostics
[282 / 377] SwiftDiagnostics
[283 / 377] SwiftOperators
[284 / 377] SwiftOperators
[286 / 377] SwiftDiagnostics
[287 / 377] SwiftBasicFormat
[289 / 378] SwiftParserDiagnostics
[293 / 380] SwiftOperators
[296 / 398] SwiftOperators
[297 / 398] SwiftParserDiagnostics
[298 / 399] SwiftParserDiagnostics
[299 / 400] SwiftParserDiagnostics
[300 / 400] SwiftOperators
[301 / 400] SwiftParserDiagnostics
[308 / 400] SwiftParserDiagnostics
[311 / 400] SwiftParserDiagnostics
[316 / 400] SwiftSyntaxBuilder
[320 / 400] SwiftOperators
[321 / 400] SwiftOperators
[323 / 400] SwiftOperators
[325 / 400] SwiftBasicFormat
[330 / 410] SwiftSyntaxBuilder
[331 / 410] SwiftSyntaxBuilder
[333 / 411] SwiftSyntaxBuilder
[334 / 412] SwiftSyntaxBuilder
[335 / 412] SwiftSyntaxBuilder
[336 / 412] SwiftSyntaxBuilder
[337 / 412] SwiftParserDiagnostics
[351 / 422] SwiftIfConfig
[352 / 422] SwiftIfConfig
[353 / 422] SwiftIfConfig
[354 / 422] SwiftIfConfig
[355 / 422] SwiftIfConfig
[356 / 422] SwiftIfConfig
[363 / 432] SwiftSyntaxMacros
[365 / 433] SwiftSyntaxMacros
[367 / 433] SwiftSyntaxMacros
[370 / 433] SwiftSyntaxMacros
[376 / 433] SwiftSyntaxMacros-product
[384 / 444] SwiftSyntaxMacroExpansion
[386 / 444] SwiftSyntaxMacros
[387 / 445] SwiftSyntaxMacros
[389 / 445] SwiftSyntaxMacros
[390 / 445] SwiftSyntaxMacroExpansion
[397 / 446] SwiftCompilerPluginMessageHandling
[401 / 455] SwiftCompilerPluginMessageHandling
[402 / 455] SwiftCompilerPluginMessageHandling
[403 / 455] SwiftCompilerPluginMessageHandling
[404 / 455] SwiftCompilerPluginMessageHandling
[405 / 455] SwiftCompilerPluginMessageHandling
[408 / 455] SwiftCompilerPluginMessageHandling
[414 / 458] SwiftCompilerPlugin
[420 / 459] SwiftSyntaxMacroExpansion
[421 / 459] SwiftCompilerPlugin
[422 / 460] SwiftCompilerPlugin
[423 / 460] SwiftCompilerPluginMessageHandling
[425 / 461] SwiftSyntax
[428 / 462] SwiftSyntax
[434 / 462] SwiftSyntaxBuilder
[444 / 463] NodeAPIMacros
[453 / 472] NodeAPIMacros
[454 / 472] NodeAPIMacros
[458 / 473] NodeAPIMacros
[459 / 474] NodeAPI
[468 / 483] NodeAPI
[469 / 483] NodeAPI
[477 / 490] NodeSwiftLogging
[480 / 490] NodeAPI
[483 / 491] NodeSwiftLogging
macro expansion @NodeConstructor:2:49: warning: converting non-Sendable function value to '@NodeActor @Sendable (NodeFunction) throws -> NodeConsole._NodeSelf' (aka '@NodeActor @Sendable (NodeFunction) throws -> NodeConsole') may introduce data races
`- /host/spi-builder-workspace/Sources/NodeConsole.swift:52:6: note: expanded code originates here
45 |     ///     });
46 |     @NodeActor
47 |     @NodeConstructor
   |     `- note: in expansion of macro 'NodeConstructor' on initializer 'init(callback:)' here
48 |     public init(callback: NodeFunction) throws {
49 |         nodeQueue = try NodeAsyncQueue(label: "nodeConsoleQueue")
50 |         self.callback = callback
51 |         Self.console = self
52 |     }
   +--- macro expansion @NodeConstructor -------------------------------
   |1 | @NodeActor public static let construct
   |2 |     = NodeConstructor(_NodeSelf.init(callback:) as @NodeActor (NodeFunction) throws -> _NodeSelf)
   |  |                                                 `- warning: converting non-Sendable function value to '@NodeActor @Sendable (NodeFunction) throws -> NodeConsole._NodeSelf' (aka '@NodeActor @Sendable (NodeFunction) throws -> NodeConsole') may introduce data races
   +--------------------------------------------------------------------
53 |
54 |     /// Run the `callback` on the `nodeQueue`, passing the `message`.
/host/spi-builder-workspace/Sources/NodeLogHandler.swift:11:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 9 |
10 | /// A SwiftLog backend that logs to node.js
11 | public struct NodeLogHandler: LogHandler, Sendable {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
12 |
13 |     public var logLevel: Logging.Logger.Level
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
macro expansion @NodeConstructor:2:60: warning: converting non-Sendable function value to '@NodeActor @Sendable (NodeFunction, String?) throws -> NodeLogger._NodeSelf' (aka '@NodeActor @Sendable (NodeFunction, Optional<String>) throws -> NodeLogger') may introduce data races
`- /host/spi-builder-workspace/Sources/NodeLogger.swift:67:6: note: expanded code originates here
51 |     ///  - jsonConfig: The JSON stringified NodeLoggerConfig from node.js if needed.
52 |     @NodeActor
53 |     @NodeConstructor
   |     `- note: in expansion of macro 'NodeConstructor' on initializer 'init(callback:jsonConfig:)' here
54 |     init(callback: NodeFunction, jsonConfig: String? = nil) throws {
55 |         nodeQueue = try NodeAsyncQueue(label: "nodeLoggerQueue")
   :
65 |         self.logger = logger
66 |         Self.nodeLogger = self
67 |     }
   +--- macro expansion @NodeConstructor -------------------------------
   |1 | @NodeActor public static let construct
   |2 |     = NodeConstructor(_NodeSelf.init(callback:jsonConfig:) as @NodeActor (NodeFunction, String? ) throws -> _NodeSelf)
   |  |                                                            `- warning: converting non-Sendable function value to '@NodeActor @Sendable (NodeFunction, String?) throws -> NodeLogger._NodeSelf' (aka '@NodeActor @Sendable (NodeFunction, Optional<String>) throws -> NodeLogger') may introduce data races
   +--------------------------------------------------------------------
68 |
69 |     /// Pass the log data from provided by the Logger to node.js.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[488 / 491] NodeSwiftLogging
/host/spi-builder-workspace/Sources/NodeLogHandler.swift:11:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 9 |
10 | /// A SwiftLog backend that logs to node.js
11 | public struct NodeLogHandler: LogHandler, Sendable {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
12 |
13 |     public var logLevel: Logging.Logger.Level
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
macro expansion @NodeConstructor:2:60: warning: converting non-Sendable function value to '@NodeActor @Sendable (NodeFunction, String?) throws -> NodeLogger._NodeSelf' (aka '@NodeActor @Sendable (NodeFunction, Optional<String>) throws -> NodeLogger') may introduce data races
`- /host/spi-builder-workspace/Sources/NodeLogger.swift:67:6: note: expanded code originates here
51 |     ///  - jsonConfig: The JSON stringified NodeLoggerConfig from node.js if needed.
52 |     @NodeActor
53 |     @NodeConstructor
   |     `- note: in expansion of macro 'NodeConstructor' on initializer 'init(callback:jsonConfig:)' here
54 |     init(callback: NodeFunction, jsonConfig: String? = nil) throws {
55 |         nodeQueue = try NodeAsyncQueue(label: "nodeLoggerQueue")
   :
65 |         self.logger = logger
66 |         Self.nodeLogger = self
67 |     }
   +--- macro expansion @NodeConstructor -------------------------------
   |1 | @NodeActor public static let construct
   |2 |     = NodeConstructor(_NodeSelf.init(callback:jsonConfig:) as @NodeActor (NodeFunction, String? ) throws -> _NodeSelf)
   |  |                                                            `- warning: converting non-Sendable function value to '@NodeActor @Sendable (NodeFunction, String?) throws -> NodeLogger._NodeSelf' (aka '@NodeActor @Sendable (NodeFunction, Optional<String>) throws -> NodeLogger') may introduce data races
   +--------------------------------------------------------------------
68 |
69 |     /// Pass the log data from provided by the Logger to node.js.
macro expansion @NodeConstructor:2:49: warning: converting non-Sendable function value to '@NodeActor @Sendable (NodeFunction) throws -> NodeConsole._NodeSelf' (aka '@NodeActor @Sendable (NodeFunction) throws -> NodeConsole') may introduce data races
`- /host/spi-builder-workspace/Sources/NodeConsole.swift:52:6: note: expanded code originates here
45 |     ///     });
46 |     @NodeActor
47 |     @NodeConstructor
   |     `- note: in expansion of macro 'NodeConstructor' on initializer 'init(callback:)' here
48 |     public init(callback: NodeFunction) throws {
49 |         nodeQueue = try NodeAsyncQueue(label: "nodeConsoleQueue")
50 |         self.callback = callback
51 |         Self.console = self
52 |     }
   +--- macro expansion @NodeConstructor -------------------------------
   |1 | @NodeActor public static let construct
   |2 |     = NodeConstructor(_NodeSelf.init(callback:) as @NodeActor (NodeFunction) throws -> _NodeSelf)
   |  |                                                 `- warning: converting non-Sendable function value to '@NodeActor @Sendable (NodeFunction) throws -> NodeConsole._NodeSelf' (aka '@NodeActor @Sendable (NodeFunction) throws -> NodeConsole') may introduce data races
   +--------------------------------------------------------------------
53 |
54 |     /// Run the `callback` on the `nodeQueue`, passing the `message`.
Build complete! (66.61 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "node-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kabiroberai/node-swift.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "NodeSwiftLogging",
  "name" : "NodeSwiftLogging",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "NodeSwiftLogging",
      "targets" : [
        "NodeSwiftLogging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NodeSwiftLogging",
      "module_type" : "SwiftTarget",
      "name" : "NodeSwiftLogging",
      "path" : "Sources",
      "product_dependencies" : [
        "NodeAPI",
        "Logging"
      ],
      "product_memberships" : [
        "NodeSwiftLogging"
      ],
      "sources" : [
        "NodeConsole.swift",
        "NodeLogHandler.swift",
        "NodeLogger.swift",
        "NodeLoggerConfig.swift",
        "NodeLoggerData.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.