The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NodeSwiftLogging, reference 1.0.3 (c05928), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 04:47:56 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stevengharris/NodeSwiftLogging.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stevengharris/NodeSwiftLogging
 * tag               1.0.3      -> FETCH_HEAD
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 1.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/stevengharris/NodeSwiftLogging.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[42 / 75]
[45 / 77] CNodeAPISupport
[51 / 86]
[61 / 114] NodeAPIMacros
[66 / 132] CNodeAPISupport
[71 / 132]
[74 / 132]
[86 / 132] Logging
[87 / 132]
[90 / 132] Logging
[97 / 132]
[99 / 132] Logging
[108 / 132] Logging
[111 / 132] NodeAPIMacros
[113 / 132] NodeAPIMacros
[116 / 133] NodeAPI
[123 / 157]
[126 / 157]
[128 / 157]
[129 / 157]
[140 / 157] NodeAPI
[147 / 158] NodeSwiftLogging
[156 / 200]
[158 / 200]
[160 / 200]
[166 / 200] NodeAPI
[170 / 200]
[174 / 200]
[176 / 200]
[179 / 200]
[182 / 200]
[184 / 200]
[185 / 200]
[191 / 200] NodeSwiftLogging
[200 / 200] NodeSwiftLogging-product
Build complete! (10.33 sec)
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 (1.33s)
Fetched https://github.com/kabiroberai/node-swift.git (1.33s)
Computing version for https://github.com/kabiroberai/node-swift.git
Computed https://github.com/kabiroberai/node-swift.git at 1.5.2 (4.24s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80002] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (7.15s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (9.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.57s)
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
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (0.21s)
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
`- /Users/admin/builder/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`.
/Users/admin/builder/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
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
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
`- /Users/admin/builder/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>
/Users/admin/builder/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
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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
`- /Users/admin/builder/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`.
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
`- /Users/admin/builder/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.
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" : "/Users/admin/builder/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"
}
Done.