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 master (fc029f), with Swift 6.0 for Linux on 28 Nov 2024 07:25:36 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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/yonaskolb/Stringly
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fc029f5 remove git files
Cloned https://github.com/yonaskolb/Stringly.git
Revision (git rev-parse @):
fc029f5358cbbbc4fbf20c006ca5ce30cb9021c9
SUCCESS checkout https://github.com/yonaskolb/Stringly.git at master
========================================
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-4609320-0":/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/dduan/TOMLDeserializer
Fetching https://github.com/yonaskolb/Codability
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/jpsim/Yams
[1/126] Fetching codability
[127/929] Fetching codability, tomldeserializer
[906/6003] Fetching codability, tomldeserializer, swiftcli
[1895/7414] Fetching codability, tomldeserializer, swiftcli, pathkit
[3418/8540] Fetching codability, tomldeserializer, swiftcli, pathkit, rainbow
Fetched https://github.com/dduan/TOMLDeserializer from cache (0.25s)
[6317/7737] Fetching codability, swiftcli, pathkit, rainbow
Fetched https://github.com/kylef/PathKit from cache (0.27s)
Fetched https://github.com/onevcat/Rainbow from cache (0.27s)
[1/9936] Fetching yams
Fetched https://github.com/yonaskolb/Codability from cache (0.97s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.97s)
Fetched https://github.com/jpsim/Yams from cache (1.01s)
Computing version for https://github.com/yonaskolb/Codability
Computed https://github.com/yonaskolb/Codability at 0.2.1 (1.81s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.44s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.53s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.18s)
Computing version for https://github.com/dduan/TOMLDeserializer
Computed https://github.com/dduan/TOMLDeserializer at 0.2.5 (0.43s)
Fetching https://github.com/dduan/NetTime
[1/411] Fetching nettime
Fetched https://github.com/dduan/NetTime from cache (0.20s)
Computing version for https://github.com/dduan/NetTime
Computed https://github.com/dduan/NetTime at 0.2.3 (0.43s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.43s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 1.0.2 (0.43s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.42s)
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/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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 1.0.2
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/dduan/NetTime
Working copy of https://github.com/dduan/NetTime resolved at 0.2.3
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] Compiling Rainbow String+Rainbow.swift
[19/94] Compiling NetTime LocalDateTime.swift
[20/94] Compiling NetTime LocalTime.swift
[21/94] Compiling Yams Constructor.swift
[22/94] Compiling Yams Decoder.swift
[23/94] Compiling Yams Emitter.swift
[24/94] Compiling Yams Encoder.swift
[25/94] Emitting module Rainbow
[26/94] Compiling Yams Representer.swift
[27/94] Compiling Yams Resolver.swift
[28/94] Compiling SwiftCLI Parser.swift
[29/96] Compiling Rainbow StringGenerator.swift
[30/96] Compiling Rainbow Style.swift
[31/96] Compiling NetTime TimeOffset.swift
[32/96] Compiling NetTime constants.swift
[33/96] Compiling Yams Mark.swift
[34/96] Compiling Yams Node.Mapping.swift
[35/96] Compiling Yams Node.Scalar.swift
[36/96] Compiling Yams Node.Sequence.swift
[37/98] Compiling Rainbow XcodeColorsSupport.swift
[38/98] Compiling NetTime DateTimeRepresentable.swift
[39/98] Compiling NetTime LocalDate.swift
[40/98] Compiling SwiftCLI ValueBox.swift
[41/98] Compiling SwiftCLI VersionCommand.swift
[42/98] Compiling Yams YamlError.swift
[43/98] Compiling Yams shim.swift
[44/98] Compiling NetTime DateTime.swift
[45/98] Emitting module NetTime
[46/99] Wrapping AST for NetTime for debugging
[48/106] Compiling Rainbow Rainbow.swift
[49/106] Compiling TOMLDeserializer constants.swift
[50/106] Compiling TOMLDeserializer Errors.swift
[51/106] Compiling TOMLDeserializer TOMLDeserializer.swift
[52/106] Compiling Codability KeyedDecodingContainer+Any.swift
[53/106] Compiling Codability KeyedEncodingContainer+Any.swift
[56/106] Compiling Yams String+Yams.swift
[57/106] Compiling Yams Tag.swift
[58/106] Compiling Yams Node.swift
[59/106] Compiling Yams Parser.swift
[62/106] Emitting module TOMLDeserializer
[73/107] Emitting module SwiftCLI
[78/107] Compiling SwiftCLI Stream.swift
[79/107] Compiling SwiftCLI Task.swift
[80/107] Compiling SwiftCLI Term.swift
[81/107] Compiling SwiftCLI Validation.swift
[82/107] Emitting module Yams
[85/108] Compiling Codability GenericDecodingContainer.swift
[86/108] Emitting module Codability
[87/108] Compiling Codability InvalidElementStrategy.swift
[88/108] Compiling Codability AnyCodable.swift
[88/108] Wrapping AST for Rainbow for debugging
[93/109] Wrapping AST for SwiftCLI for debugging
[94/109] Wrapping AST for Yams for debugging
[96/109] Compiling Codability RawCodingKey.swift
[97/110] Emitting module PathKit
[98/110] Compiling PathKit PathKit.swift
[100/111] Wrapping AST for PathKit for debugging
[101/111] Wrapping AST for Codability for debugging
[103/118] Compiling StringlyKit StringsGenerator.swift
[104/118] Compiling TOMLDeserializer Location.swift
[105/118] Compiling TOMLDeserializer Parser.swift
[106/118] Compiling TOMLDeserializer Scanner.swift
[108/119] Compiling StringlyKit Generator.swift
[109/119] Emitting module StringlyKit
[110/119] Compiling StringlyKit StringsDictGenerator.swift
[110/119] Wrapping AST for TOMLDeserializer for debugging
[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 GenerateFileCommand.swift
[118/129] Compiling StringlyCLI Loader.swift
[119/129] Compiling StringlyCLI GenerateError.swift
[120/129] Compiling StringlyCLI FileType.swift
[121/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
[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] Emitting module Stringly
[129/132] Compiling Stringly main.swift
[130/133] Wrapping AST for Stringly for debugging
[131/133] Write Objects.LinkFileList
[132/133] Linking stringly
Build complete! (34.82s)
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.