Build Information
Successful build of Stryng with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BalestraPatrick/Stryng.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/BalestraPatrick/Stryng.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Emitting module Stryng
/Users/admin/builder/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]
/Users/admin/builder/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,
/Users/admin/builder/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 }
/Users/admin/builder/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 }
/Users/admin/builder/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]
/Users/admin/builder/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...]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 }
/Users/admin/builder/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] Compiling Stryng Stryng.swift
/Users/admin/builder/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]
/Users/admin/builder/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,
/Users/admin/builder/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 }
/Users/admin/builder/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 }
/Users/admin/builder/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]
/Users/admin/builder/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...]
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 }
/Users/admin/builder/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! (16.45s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Stryng",
"name" : "Stryng",
"path" : "/Users/admin/builder/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"
}
Done.