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 2 Nov 2024 00:17:32 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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 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/kylef/PathKit
Fetching https://github.com/yonaskolb/Codability
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/dduan/TOMLDeserializer
[1/126] Fetching codability
[127/929] Fetching codability, tomldeserializer
[168/6003] Fetching codability, tomldeserializer, swiftcli
[326/7129] Fetching codability, tomldeserializer, swiftcli, rainbow
[2118/8540] Fetching codability, tomldeserializer, swiftcli, rainbow, pathkit
[8541/18442] Fetching codability, tomldeserializer, swiftcli, rainbow, pathkit, yams
Fetched https://github.com/yonaskolb/Codability from cache (1.91s)
Fetched https://github.com/onevcat/Rainbow from cache (2.04s)
Fetched https://github.com/dduan/TOMLDeserializer from cache (2.04s)
Fetched https://github.com/kylef/PathKit from cache (2.04s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (2.05s)
Fetched https://github.com/jpsim/Yams from cache (2.08s)
Computing version for https://github.com/yonaskolb/Codability
Computed https://github.com/yonaskolb/Codability at 0.2.1 (2.23s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.50s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.99s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.21s)
Computing version for https://github.com/dduan/TOMLDeserializer
Computed https://github.com/dduan/TOMLDeserializer at 0.2.5 (0.49s)
Fetching https://github.com/dduan/NetTime
[1/411] Fetching nettime
Fetched https://github.com/dduan/NetTime from cache (0.21s)
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.50s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 1.0.2 (0.50s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.48s)
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
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
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/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
Building for debugging...
[0/29] Write sources
[10/29] Compiling reader.c
[11/29] Compiling writer.c
[12/29] Compiling parser.c
[13/29] Compiling api.c
[14/29] Compiling emitter.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[16/29] Compiling scanner.c
[18/93] Emitting module Rainbow
[19/94] Compiling SwiftCLI CLI.swift
[20/94] Compiling SwiftCLI Command.swift
[21/94] Compiling Rainbow XcodeColorsSupport.swift
[22/94] Compiling Rainbow Style.swift
[23/94] Compiling NetTime constants.swift
[24/94] Compiling Rainbow StringGenerator.swift
[25/94] Compiling SwiftCLI Compatibility.swift
[26/94] Compiling SwiftCLI CompletionGenerator.swift
[27/94] Compiling Rainbow String+Rainbow.swift
[28/96] Compiling SwiftCLI ArgumentList.swift
[29/96] Compiling SwiftCLI ArgumentListManipulator.swift
[30/96] Compiling NetTime DateTimeRepresentable.swift
[31/96] Compiling NetTime LocalDate.swift
[32/96] Compiling NetTime LocalDateTime.swift
[33/96] Compiling NetTime LocalTime.swift
[34/96] Compiling NetTime TimeOffset.swift
[35/96] Compiling Yams YamlError.swift
[36/96] Compiling Yams shim.swift
[37/96] Emitting module NetTime
[38/96] Compiling NetTime DateTime.swift
[39/97] Wrapping AST for NetTime for debugging
[41/104] Compiling TOMLDeserializer Errors.swift
[42/104] Emitting module TOMLDeserializer
[43/104] Compiling TOMLDeserializer TOMLDeserializer.swift
[44/104] Compiling TOMLDeserializer constants.swift
[45/104] Compiling TOMLDeserializer Location.swift
[51/106] Compiling SwiftCLI Term.swift
[52/106] Compiling SwiftCLI Validation.swift
[55/106] Emitting module Yams
[56/106] Compiling SwiftCLI Input.swift
[57/106] Compiling SwiftCLI Option.swift
[58/106] Compiling SwiftCLI OptionGroup.swift
[59/106] Compiling SwiftCLI Error.swift
[60/106] Compiling SwiftCLI OptionRegistry.swift
[61/106] Compiling SwiftCLI Parameter.swift
[62/106] Emitting module SwiftCLI
[66/106] Compiling SwiftCLI HelpCommand.swift
[67/106] Compiling SwiftCLI HelpMessageGenerator.swift
[72/106] Compiling SwiftCLI Stream.swift
[73/106] Compiling SwiftCLI Task.swift
[74/106] Compiling Codability KeyedEncodingContainer+Any.swift
[75/106] Compiling Codability KeyedDecodingContainer+Any.swift
[76/106] Compiling Codability InvalidElementStrategy.swift
[77/106] Compiling Codability RawCodingKey.swift
[78/106] Compiling Codability GenericDecodingContainer.swift
[79/106] Compiling Codability AnyCodable.swift
[80/106] Emitting module Codability
[87/107] Compiling Rainbow Rainbow.swift
[88/108] Emitting module PathKit
[89/108] Compiling PathKit PathKit.swift
[94/110] Compiling SwiftCLI ValueBox.swift
[95/110] Compiling SwiftCLI VersionCommand.swift
[98/111] Wrapping AST for Rainbow for debugging
[99/111] Wrapping AST for Codability for debugging
[100/111] Wrapping AST for PathKit for debugging
[101/111] Wrapping AST for Yams for debugging
[102/118] Wrapping AST for SwiftCLI for debugging
[104/118] Compiling TOMLDeserializer Parser.swift
[105/118] Compiling TOMLDeserializer Scanner.swift
[106/119] Wrapping AST for TOMLDeserializer for debugging
[108/119] Emitting module StringlyKit
[109/119] Compiling StringlyKit Generator.swift
[110/119] Compiling StringlyKit StringsDictGenerator.swift
[111/119] Compiling StringlyKit StringsGenerator.swift
[112/119] Compiling StringlyKit SwiftGenerator.swift
[113/119] Compiling StringlyKit StringGroup.swift
[114/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 |                         }
[115/120] Wrapping AST for StringlyKit for debugging
[117/128] Compiling StringlyCLI Loader.swift
[118/129] Compiling StringlyCLI GenerateError.swift
[119/129] 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/129] Compiling StringlyCLI FileType.swift
[121/129] Compiling StringlyCLI GenerateFileCommand.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] 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)
[124/129] Compiling StringlyCLI GenerateCommand.swift
[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! (35.69s)
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.