Build Information
Successful build of Stryng, reference 0.4.2 (612ad6
), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 20:39:00 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BalestraPatrick/Stryng.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BalestraPatrick/Stryng
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at 612ad62 Update Package.swift
Cloned https://github.com/BalestraPatrick/Stryng.git
Revision (git rev-parse @):
612ad62350f65504038025ea125624e9f449e6ac
SUCCESS checkout https://github.com/BalestraPatrick/Stryng.git at 0.4.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "stryng",
"name": "Stryng",
"url": "https://github.com/BalestraPatrick/Stryng.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stryng",
"dependencies": [
]
}
]
}
Fetching https://github.com/BalestraPatrick/Stryng.git
[1/193] Fetching stryng
Fetched https://github.com/BalestraPatrick/Stryng.git from cache (0.88s)
Creating working copy for https://github.com/BalestraPatrick/Stryng.git
Working copy of https://github.com/BalestraPatrick/Stryng.git resolved at 0.4.2 (612ad62)
warning: '.resolve-product-dependencies': dependency 'stryng' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/BalestraPatrick/Stryng.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/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 }
[4/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 }
Build complete! (5.68s)
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.