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 Stringly, reference 0.9.0 (25e942), with Swift 6.0 for Linux on 28 Nov 2024 07:25:46 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/Stringly.git
Reference: 0.9.0
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/yonaskolb/Stringly
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at 25e9428 update version
Cloned https://github.com/yonaskolb/Stringly.git
Revision (git rev-parse @):
25e94284867ef64639eab73735ecf81bf14e707a
SUCCESS checkout https://github.com/yonaskolb/Stringly.git at 0.9.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yonaskolb/Stringly.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/dduan/TOMLDeserializer
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/yonaskolb/Codability
[1/803] Fetching tomldeserializer
[18/1929] Fetching tomldeserializer, rainbow
[115/7003] Fetching tomldeserializer, rainbow, swiftcli
[2298/7129] Fetching tomldeserializer, rainbow, swiftcli, codability
[4391/8540] Fetching tomldeserializer, rainbow, swiftcli, codability, pathkit
[8541/18476] Fetching tomldeserializer, rainbow, swiftcli, codability, pathkit, yams
Fetched https://github.com/dduan/TOMLDeserializer from cache (0.36s)
Fetched https://github.com/yonaskolb/Codability from cache (0.36s)
Fetched https://github.com/kylef/PathKit from cache (0.36s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.36s)
[1921/11062] Fetching rainbow, yams
Fetched https://github.com/onevcat/Rainbow from cache (1.48s)
Fetched https://github.com/jpsim/Yams from cache (1.51s)
Computing version for https://github.com/yonaskolb/Codability
Computed https://github.com/yonaskolb/Codability at 0.2.1 (3.91s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.52s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.16s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.20s)
Computing version for https://github.com/dduan/TOMLDeserializer
Computed https://github.com/dduan/TOMLDeserializer at 0.2.5 (0.50s)
Fetching https://github.com/dduan/NetTime
[1/411] Fetching nettime
Fetched https://github.com/dduan/NetTime from cache (0.28s)
Computing version for https://github.com/dduan/NetTime
Computed https://github.com/dduan/NetTime at 0.2.3 (0.48s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.63s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 1.0.2 (0.49s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.49s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/dduan/NetTime
Working copy of https://github.com/dduan/NetTime resolved at 0.2.3
Creating working copy for https://github.com/dduan/TOMLDeserializer
Working copy of https://github.com/dduan/TOMLDeserializer resolved at 0.2.5
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 1.0.2
Creating working copy for https://github.com/yonaskolb/Codability
Working copy of https://github.com/yonaskolb/Codability resolved at 0.2.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
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/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Compiling parser.c
[13/29] Compiling api.c
[14/29] Compiling emitter.c
[15/29] Compiling scanner.c
[16/29] Write swift-version-24593BA9C3E375BF.txt
[18/93] Emitting module SwiftCLI
[19/95] Emitting module Yams
[20/97] Emitting module Rainbow
[21/98] Compiling NetTime constants.swift
[22/98] Compiling NetTime TimeOffset.swift
[23/98] Compiling Rainbow StringGenerator.swift
[24/98] Compiling Rainbow Style.swift
[25/98] Compiling SwiftCLI ValueBox.swift
[26/98] Compiling SwiftCLI VersionCommand.swift
[27/98] Compiling Yams YamlError.swift
[28/98] Compiling Yams shim.swift
[29/98] Compiling Rainbow String+Rainbow.swift
[30/98] Compiling NetTime LocalDate.swift
[31/98] Compiling NetTime DateTimeRepresentable.swift
[32/98] Compiling NetTime LocalDateTime.swift
[33/98] Compiling NetTime LocalTime.swift
[34/98] Compiling Rainbow XcodeColorsSupport.swift
[35/98] Emitting module NetTime
[36/98] Compiling NetTime DateTime.swift
[37/99] Wrapping AST for NetTime for debugging
[39/106] Compiling SwiftCLI Command.swift
[40/106] Compiling SwiftCLI Compatibility.swift
[41/106] Compiling SwiftCLI CompletionGenerator.swift
[42/106] Compiling TOMLDeserializer constants.swift
[43/106] Compiling TOMLDeserializer TOMLDeserializer.swift
[44/106] Emitting module TOMLDeserializer
[45/106] Compiling TOMLDeserializer Errors.swift
[46/106] Compiling SwiftCLI ArgumentListManipulator.swift
[47/106] Compiling SwiftCLI CLI.swift
[49/106] Compiling SwiftCLI Validation.swift
[53/106] Compiling SwiftCLI ArgumentList.swift
[54/106] Compiling Rainbow Rainbow.swift
[55/107] Compiling SwiftCLI Input.swift
[56/107] Compiling SwiftCLI Option.swift
[59/107] Compiling Codability RawCodingKey.swift
[65/107] Compiling SwiftCLI OptionRegistry.swift
[66/107] Compiling SwiftCLI Parameter.swift
[67/107] Compiling SwiftCLI Error.swift
[68/107] Compiling SwiftCLI HelpCommand.swift
[69/107] Compiling SwiftCLI HelpMessageGenerator.swift
[72/107] Compiling SwiftCLI OptionGroup.swift
[80/108] Compiling Codability KeyedDecodingContainer+Any.swift
[81/108] Compiling Codability GenericDecodingContainer.swift
[82/108] Compiling Codability KeyedEncodingContainer+Any.swift
[83/108] Compiling Codability AnyCodable.swift
[84/108] Compiling Codability InvalidElementStrategy.swift
[85/108] Emitting module Codability
[86/108] Emitting module PathKit
[87/108] Compiling PathKit PathKit.swift
[88/108] Compiling SwiftCLI Path.swift
[89/108] Compiling SwiftCLI Stream.swift
[90/108] Compiling SwiftCLI Task.swift
[93/109] Wrapping AST for Rainbow for debugging
[98/111] Wrapping AST for Yams for debugging
[99/111] Wrapping AST for Codability for debugging
[100/111] Wrapping AST for PathKit for debugging
[101/111] Wrapping AST for SwiftCLI for debugging
[103/118] Compiling TOMLDeserializer Location.swift
[104/118] Compiling TOMLDeserializer Parser.swift
[105/118] Compiling TOMLDeserializer Scanner.swift
[106/119] Wrapping AST for TOMLDeserializer for debugging
[108/119] Compiling StringlyKit StringsGenerator.swift
[109/119] Compiling StringlyKit StringsDictGenerator.swift
[110/119] Emitting module StringlyKit
[111/119] Compiling StringlyKit Generator.swift
[112/119] Compiling StringlyKit SwiftGenerator.swift
[113/119] Compiling StringlyKit StringLocalization.swift
/host/spi-builder-workspace/Sources/StringlyKit/StringLocalization.swift:168:51: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
166 |                     let stringPlaceholders = Self.parsePlaceholders(string)
167 |                     for placeholder in stringPlaceholders {
168 |                         if !placeholders.contains { $0.name == placeholder.name } {
    |                                                   `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
169 |                             placeholders.append(placeholder)
170 |                         }
[114/119] Compiling StringlyKit StringGroup.swift
[115/120] Wrapping AST for StringlyKit for debugging
[117/128] Compiling StringlyCLI GenerateError.swift
[118/128] Compiling StringlyCLI Loader.swift
[119/128] Compiling StringlyCLI FileWriter.swift
/host/spi-builder-workspace/Sources/StringlyCLI/FileWriter.swift:38:18: warning: reference to static property 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |             }
37 |         } else {
38 |             Term.stdout.print(content)
   |                  `- warning: reference to static property 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 |         }
40 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:14:23: note: static property declared here
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       `- note: static property declared here
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
[120/128] Compiling StringlyCLI GenerateFileCommand.swift
[121/129] Compiling StringlyCLI FileType.swift
[122/129] Compiling StringlyCLI CLI.swift
/host/spi-builder-workspace/Sources/StringlyCLI/CLI.swift:33:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
31 | }
32 |
33 | extension Path: ConvertibleFromString {
   | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
34 |     public init?(input: String) {
35 |         self.init(input)
[123/129] Compiling StringlyCLI GenerateCommand.swift
[124/129] Emitting module StringlyCLI
/host/spi-builder-workspace/Sources/StringlyCLI/CLI.swift:33:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
31 | }
32 |
33 | extension Path: ConvertibleFromString {
   | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
34 |     public init?(input: String) {
35 |         self.init(input)
[125/129] Compiling StringlyCLI PlatformType.swift
[126/130] Wrapping AST for StringlyCLI for debugging
[128/132] Compiling Stringly main.swift
[129/132] Emitting module Stringly
[130/133] Wrapping AST for Stringly for debugging
[131/133] Write Objects.LinkFileList
[132/133] Linking stringly
Build complete! (41.34s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    },
    {
      "identity" : "tomldeserializer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dduan/TOMLDeserializer"
    },
    {
      "identity" : "codability",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/Codability"
    }
  ],
  "manifest_display_name" : "Stringly",
  "name" : "Stringly",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "stringly",
      "targets" : [
        "Stringly"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "StringlyKit",
      "targets" : [
        "StringlyKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StringlyKitTests",
      "module_type" : "SwiftTarget",
      "name" : "StringlyKitTests",
      "path" : "Tests/StringlyKitTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "sources" : [
        "StringlyKitTests.swift"
      ],
      "target_dependencies" : [
        "StringlyKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StringlyKit",
      "module_type" : "SwiftTarget",
      "name" : "StringlyKit",
      "path" : "Sources/StringlyKit",
      "product_dependencies" : [
        "Codability"
      ],
      "product_memberships" : [
        "stringly",
        "StringlyKit"
      ],
      "sources" : [
        "Generator.swift",
        "Generators/StringsDictGenerator.swift",
        "Generators/StringsGenerator.swift",
        "Generators/SwiftGenerator.swift",
        "StringGroup.swift",
        "StringLocalization.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "StringlyCLITests",
      "module_type" : "SwiftTarget",
      "name" : "StringlyCLITests",
      "path" : "Tests/StringlyCLITests",
      "product_dependencies" : [
        "PathKit"
      ],
      "sources" : [
        "StringDiff.swift",
        "StringlyCLITests.swift",
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "StringlyCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StringlyCLI",
      "module_type" : "SwiftTarget",
      "name" : "StringlyCLI",
      "path" : "Sources/StringlyCLI",
      "product_dependencies" : [
        "Yams",
        "Rainbow",
        "SwiftCLI",
        "PathKit",
        "TOMLDeserializer"
      ],
      "product_memberships" : [
        "stringly"
      ],
      "sources" : [
        "CLI.swift",
        "Commands/GenerateCommand.swift",
        "Commands/GenerateFileCommand.swift",
        "FileType.swift",
        "FileWriter.swift",
        "GenerateError.swift",
        "Loader.swift",
        "PlatformType.swift"
      ],
      "target_dependencies" : [
        "StringlyKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Stringly",
      "module_type" : "SwiftTarget",
      "name" : "Stringly",
      "path" : "Sources/Stringly",
      "product_memberships" : [
        "stringly"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "StringlyCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.