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

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/onevcat/fengniao.git
Reference: master
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/onevcat/fengniao
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 147289a Bump app version
Cloned https://github.com/onevcat/fengniao.git
Revision (git rev-parse @):
147289affddbdedb01fc220e723b01d9b78d0655
SUCCESS checkout https://github.com/onevcat/fengniao.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/onevcat/fengniao.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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/kylef/Spectre.git
Fetching https://github.com/benoit-pereira-da-silva/CommandLine.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/onevcat/Rainbow.git
[1/1021] Fetching spectre
[1022/2139] Fetching spectre, rainbow
[1157/2822] Fetching spectre, rainbow, commandline
[2307/4233] Fetching spectre, rainbow, commandline, pathkit
Fetched https://github.com/benoit-pereira-da-silva/CommandLine.git from cache (0.25s)
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Fetched https://github.com/kylef/PathKit.git from cache (0.25s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.25s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.50s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.74s)
Computing version for https://github.com/benoit-pereira-da-silva/CommandLine.git
Computed https://github.com/benoit-pereira-da-silva/CommandLine.git at 4.0.9 (0.44s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.1.4 (1.35s)
Creating working copy for https://github.com/benoit-pereira-da-silva/CommandLine.git
Working copy of https://github.com/benoit-pereira-da-silva/CommandLine.git resolved at 4.0.9
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.1.4
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/30] Compiling Rainbow Style.swift
[8/31] Compiling Rainbow String+Rainbow.swift
[9/31] Compiling Rainbow StringGenerator.swift
[10/31] Emitting module Rainbow
[11/31] Compiling Rainbow XcodeColorsSupport.swift
[12/31] Compiling CommandLineKit StringExtensions.swift
[13/31] Compiling CommandLineKit Option.swift
[14/31] Compiling Rainbow Color.swift
[15/31] Compiling Rainbow ControlCode.swift
[16/31] Compiling Rainbow BackgroundColor.swift
[17/31] Compiling Rainbow CodesParser.swift
[18/31] Compiling CommandLineKit CommandLine.swift
[19/31] Emitting module CommandLineKit
[21/32] Compiling Rainbow ModesExtractor.swift
[22/32] Compiling Rainbow OutputTarget.swift
[23/32] Compiling Rainbow Rainbow.swift
[24/33] Wrapping AST for CommandLineKit for debugging
[25/33] Wrapping AST for Rainbow for debugging
[27/33] Emitting module PathKit
[28/33] Compiling PathKit PathKit.swift
[29/34] Wrapping AST for PathKit for debugging
[31/39] Emitting module FengNiaoKit
/host/spi-builder-workspace/Sources/FengNiaoKit/FengNiao.swift:265:5: warning: let 'digitalRex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | let digitalRex = try! NSRegularExpression(pattern: "(\\d+)", options: .caseInsensitive)
    |     `- warning: let 'digitalRex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
266 | extension String {
267 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/FengNiaoKit/FengNiao.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | import PathKit
 27 | import Rainbow
    :
263 | }
264 |
265 | let digitalRex = try! NSRegularExpression(pattern: "(\\d+)", options: .caseInsensitive)
    |     |- note: annotate 'digitalRex' 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
266 | extension String {
267 |
[32/39] Compiling FengNiaoKit Extensions.swift
[33/39] Compiling FengNiaoKit ExtensionFindProcess.swift
/host/spi-builder-workspace/Sources/FengNiaoKit/ExtensionFindProcess.swift:34:11: warning: 'launchPath' is deprecated: renamed to 'executableURL'
32 |     init?(path: Path, extensions: [String], excluded: [Path]) {
33 |         p = Process()
34 |         p.launchPath = "/usr/bin/find"
   |           |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |           `- note: use 'executableURL' instead
35 |
36 |         guard !extensions.isEmpty else {
/host/spi-builder-workspace/Sources/FengNiaoKit/ExtensionFindProcess.swift:83:11: warning: 'launch()' is deprecated: renamed to 'run'
81 |
82 |         let fileHandler = pipe.fileHandleForReading
83 |         p.launch()
   |           |- warning: 'launch()' is deprecated: renamed to 'run'
   |           `- note: use 'run' instead
84 |
85 |         let data = fileHandler.readDataToEndOfFile()
[34/39] Compiling FengNiaoKit FengNiao.swift
/host/spi-builder-workspace/Sources/FengNiaoKit/FengNiao.swift:265:5: warning: let 'digitalRex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | let digitalRex = try! NSRegularExpression(pattern: "(\\d+)", options: .caseInsensitive)
    |     `- warning: let 'digitalRex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
266 | extension String {
267 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/FengNiaoKit/FengNiao.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | import PathKit
 27 | import Rainbow
    :
263 | }
264 |
265 | let digitalRex = try! NSRegularExpression(pattern: "(\\d+)", options: .caseInsensitive)
    |     |- note: annotate 'digitalRex' 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
266 | extension String {
267 |
[35/39] Compiling FengNiaoKit FileSearchRule.swift
[36/40] Wrapping AST for FengNiaoKit for debugging
[38/43] Compiling FengNiao main.swift
[39/43] Emitting module FengNiao
[40/43] Compiling FengNiao CommandPrompt.swift
[41/44] Wrapping AST for FengNiao for debugging
[42/44] Write Objects.LinkFileList
[43/44] Linking FengNiao
Build complete! (18.50s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "commandline",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/benoit-pereira-da-silva/CommandLine.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    }
  ],
  "manifest_display_name" : "FengNiao",
  "name" : "FengNiao",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "FengNiao",
      "targets" : [
        "FengNiao"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FengNiaoKit",
      "targets" : [
        "FengNiaoKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FengNiaoKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FengNiaoKitTests",
      "path" : "Tests/FengNiaoKitTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "FengNiaoKitSpec.swift",
        "FengNiaoKitTests.swift"
      ],
      "target_dependencies" : [
        "FengNiaoKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FengNiaoKit",
      "module_type" : "SwiftTarget",
      "name" : "FengNiaoKit",
      "path" : "Sources/FengNiaoKit",
      "product_dependencies" : [
        "Rainbow",
        "PathKit"
      ],
      "product_memberships" : [
        "FengNiao",
        "FengNiaoKit"
      ],
      "sources" : [
        "ExtensionFindProcess.swift",
        "Extensions.swift",
        "FengNiao.swift",
        "FileSearchRule.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FengNiao",
      "module_type" : "SwiftTarget",
      "name" : "FengNiao",
      "path" : "Sources/FengNiao",
      "product_dependencies" : [
        "CommandLineKit"
      ],
      "product_memberships" : [
        "FengNiao"
      ],
      "sources" : [
        "CommandPrompt.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "FengNiaoKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.