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 Stryng, reference master (8601b5), with Swift 6.0 for Linux on 30 Oct 2024 20:25:59 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/BalestraPatrick/Stryng.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/BalestraPatrick/Stryng
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8601b55 Fix missing quotes in pod instructions
Cloned https://github.com/BalestraPatrick/Stryng.git
Revision (git rev-parse @):
8601b55251de6ba525c2c475391d993c8054abac
SUCCESS checkout https://github.com/BalestraPatrick/Stryng.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/BalestraPatrick/Stryng.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling Stryng Stryng.swift
/host/spi-builder-workspace/Sources/Stryng.swift:14:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 12 |
 13 |     // String[1]
 14 |     public subscript(index: Int) -> Character? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 15 |         guard !self.isEmpty, let stringIndex = self.index(startIndex, offsetBy: index, limitedBy: self.index(before: endIndex)) else { return nil }
 16 |         return self[stringIndex]
/host/spi-builder-workspace/Sources/Stryng.swift:20:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 18 |
 19 |     // String[0..<1]
 20 |     public subscript(range: Range<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 21 |         guard let left = indexOffset(by: range.lowerBound) else { return nil }
 22 |         guard let right = index(left, offsetBy: range.upperBound - range.lowerBound,
/host/spi-builder-workspace/Sources/Stryng.swift:28:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 26 |
 27 |     // String[0...1]
 28 |     public subscript(range: ClosedRange<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 29 |         if range.upperBound < 0 {
 30 |             guard abs(range.lowerBound) <= count else { return nil }
/host/spi-builder-workspace/Sources/Stryng.swift:39:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 37 |
 38 |     // String[..<1]
 39 |     public subscript(value: PartialRangeUpTo<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 40 |         if value.upperBound < 0 {
 41 |             guard abs(value.upperBound) <= count else { return nil }
/host/spi-builder-workspace/Sources/Stryng.swift:49:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 47 |
 48 |     // String[...1]
 49 |     public subscript(value: PartialRangeThrough<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 50 |         guard let right = self.indexOffset(by: value.upperBound) else { return nil }
 51 |         return self[...right]
/host/spi-builder-workspace/Sources/Stryng.swift:55:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 53 |
 54 |     // String[1...]
 55 |     public subscript(value: PartialRangeFrom<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 56 |         guard let left = self.indexOffset(by: value.lowerBound) else { return nil }
 57 |         return self[left...]
/host/spi-builder-workspace/Sources/Stryng.swift:61:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 59 |
 60 |     // String["substring"]
 61 |     public subscript(string: String) -> [Range<String.Index>] {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 62 |         var occurences = [Range<String.Index>]()
 63 |         var initialLeftBound = startIndex
/host/spi-builder-workspace/Sources/Stryng.swift:73:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 71 |
 72 |     // String["begin"..."end"]
 73 |     public subscript(range: ClosedRange<String>) -> [ClosedRange<String.Index>] {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 74 |         var occurences = [ClosedRange<String.Index>]()
 75 |         var initialLeftBound = startIndex
/host/spi-builder-workspace/Sources/Stryng.swift:86:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 84 |
 85 |     // String["begin"..<"end"]
 86 |     public subscript(range: Range<String>) -> [Range<String.Index>] {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 87 |         var occurences = [Range<String.Index>]()
 88 |         var initialLeftBound = startIndex
/host/spi-builder-workspace/Sources/Stryng.swift:99:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 97 |
 98 |     // String[Character("a")]
 99 |     public subscript(character: Character) -> [String.Index] {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
100 |         var occurences = [String.Index]()
101 |         var initialLeftBound = startIndex
/host/spi-builder-workspace/Sources/Stryng.swift:111:5: warning: 'public' modifier is redundant for subscript declared in a public extension
109 |
110 |     // String["begin"...]
111 |     public subscript(range: PartialRangeFrom<String>) -> PartialRangeFrom<String.Index>? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
112 |         guard self.indexOffset(by: range.lowerBound.count) != nil else { return nil }
113 |         guard let beginRange = self.range(of: range.lowerBound, options: [], range: startIndex..<endIndex, locale: nil) else { return nil }
/host/spi-builder-workspace/Sources/Stryng.swift:118:5: warning: 'public' modifier is redundant for subscript declared in a public extension
116 |
117 |     // String[..."end"]
118 |     public subscript(range: PartialRangeThrough<String>) -> PartialRangeThrough<String.Index>? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
119 |         guard self.indexOffset(by: range.upperBound.count) != nil else { return nil }
120 |         guard let endRange = self.range(of: range.upperBound, options: [], range: startIndex..<endIndex, locale: nil) else { return nil }
[4/4] Emitting module Stryng
/host/spi-builder-workspace/Sources/Stryng.swift:14:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 12 |
 13 |     // String[1]
 14 |     public subscript(index: Int) -> Character? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 15 |         guard !self.isEmpty, let stringIndex = self.index(startIndex, offsetBy: index, limitedBy: self.index(before: endIndex)) else { return nil }
 16 |         return self[stringIndex]
/host/spi-builder-workspace/Sources/Stryng.swift:20:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 18 |
 19 |     // String[0..<1]
 20 |     public subscript(range: Range<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 21 |         guard let left = indexOffset(by: range.lowerBound) else { return nil }
 22 |         guard let right = index(left, offsetBy: range.upperBound - range.lowerBound,
/host/spi-builder-workspace/Sources/Stryng.swift:28:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 26 |
 27 |     // String[0...1]
 28 |     public subscript(range: ClosedRange<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 29 |         if range.upperBound < 0 {
 30 |             guard abs(range.lowerBound) <= count else { return nil }
/host/spi-builder-workspace/Sources/Stryng.swift:39:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 37 |
 38 |     // String[..<1]
 39 |     public subscript(value: PartialRangeUpTo<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 40 |         if value.upperBound < 0 {
 41 |             guard abs(value.upperBound) <= count else { return nil }
/host/spi-builder-workspace/Sources/Stryng.swift:49:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 47 |
 48 |     // String[...1]
 49 |     public subscript(value: PartialRangeThrough<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 50 |         guard let right = self.indexOffset(by: value.upperBound) else { return nil }
 51 |         return self[...right]
/host/spi-builder-workspace/Sources/Stryng.swift:55:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 53 |
 54 |     // String[1...]
 55 |     public subscript(value: PartialRangeFrom<Int>) -> Substring? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 56 |         guard let left = self.indexOffset(by: value.lowerBound) else { return nil }
 57 |         return self[left...]
/host/spi-builder-workspace/Sources/Stryng.swift:61:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 59 |
 60 |     // String["substring"]
 61 |     public subscript(string: String) -> [Range<String.Index>] {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 62 |         var occurences = [Range<String.Index>]()
 63 |         var initialLeftBound = startIndex
/host/spi-builder-workspace/Sources/Stryng.swift:73:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 71 |
 72 |     // String["begin"..."end"]
 73 |     public subscript(range: ClosedRange<String>) -> [ClosedRange<String.Index>] {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 74 |         var occurences = [ClosedRange<String.Index>]()
 75 |         var initialLeftBound = startIndex
/host/spi-builder-workspace/Sources/Stryng.swift:86:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 84 |
 85 |     // String["begin"..<"end"]
 86 |     public subscript(range: Range<String>) -> [Range<String.Index>] {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
 87 |         var occurences = [Range<String.Index>]()
 88 |         var initialLeftBound = startIndex
/host/spi-builder-workspace/Sources/Stryng.swift:99:5: warning: 'public' modifier is redundant for subscript declared in a public extension
 97 |
 98 |     // String[Character("a")]
 99 |     public subscript(character: Character) -> [String.Index] {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
100 |         var occurences = [String.Index]()
101 |         var initialLeftBound = startIndex
/host/spi-builder-workspace/Sources/Stryng.swift:111:5: warning: 'public' modifier is redundant for subscript declared in a public extension
109 |
110 |     // String["begin"...]
111 |     public subscript(range: PartialRangeFrom<String>) -> PartialRangeFrom<String.Index>? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
112 |         guard self.indexOffset(by: range.lowerBound.count) != nil else { return nil }
113 |         guard let beginRange = self.range(of: range.lowerBound, options: [], range: startIndex..<endIndex, locale: nil) else { return nil }
/host/spi-builder-workspace/Sources/Stryng.swift:118:5: warning: 'public' modifier is redundant for subscript declared in a public extension
116 |
117 |     // String[..."end"]
118 |     public subscript(range: PartialRangeThrough<String>) -> PartialRangeThrough<String.Index>? {
    |     `- warning: 'public' modifier is redundant for subscript declared in a public extension
119 |         guard self.indexOffset(by: range.upperBound.count) != nil else { return nil }
120 |         guard let endRange = self.range(of: range.upperBound, options: [], range: startIndex..<endIndex, locale: nil) else { return nil }
Build complete! (8.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Stryng",
  "name" : "Stryng",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Stryng",
      "targets" : [
        "Stryng"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StryngTests",
      "module_type" : "SwiftTarget",
      "name" : "StryngTests",
      "path" : "Tests",
      "sources" : [
        "LinuxMain.swift",
        "StryngTests/StryngTests.swift"
      ],
      "target_dependencies" : [
        "Stryng"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Stryng",
      "module_type" : "SwiftTarget",
      "name" : "Stryng",
      "path" : "Sources",
      "product_memberships" : [
        "Stryng"
      ],
      "sources" : [
        "Stryng.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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.