The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Compatibility, reference v1.10.18 (8493a6), with Swift 6.2 (beta) for Wasm on 26 Aug 2025 04:55:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kudit/Compatibility.git
Reference: v1.10.18
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/kudit/Compatibility
 * tag               v1.10.18   -> FETCH_HEAD
HEAD is now at 8493a60 v1.10.18
Cloned https://github.com/kudit/Compatibility.git
Revision (git rev-parse @):
8493a60c937e6714b89550f666e1671f7c99b638
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kudit/Compatibility.git at v1.10.18
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kudit/Compatibility.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/44] Compiling Compatibility Threading.swift
/host/spi-builder-workspace/Sources/Foundation/Version.swift:128:34: error: value of type 'String' has no member 'components'
126 |         let cleaned = forcing
127 |         #endif
128 |         let components = cleaned.components(separatedBy: ".")
    |                                  `- error: value of type 'String' has no member 'components'
129 |         let major = Int(components.first ?? "0") ?? 0
130 |         let minor: Int = components.count > 1 ? Int(components[1]) ?? 0 : 0
[4/44] Compiling Compatibility URL.swift
/host/spi-builder-workspace/Sources/Foundation/Version.swift:128:34: error: value of type 'String' has no member 'components'
126 |         let cleaned = forcing
127 |         #endif
128 |         let components = cleaned.components(separatedBy: ".")
    |                                  `- error: value of type 'String' has no member 'components'
129 |         let major = Int(components.first ?? "0") ?? 0
130 |         let minor: Int = components.count > 1 ? Int(components[1]) ?? 0 : 0
[5/44] Compiling Compatibility Version.swift
/host/spi-builder-workspace/Sources/Foundation/Version.swift:128:34: error: value of type 'String' has no member 'components'
126 |         let cleaned = forcing
127 |         #endif
128 |         let components = cleaned.components(separatedBy: ".")
    |                                  `- error: value of type 'String' has no member 'components'
129 |         let major = Int(components.first ?? "0") ?? 0
130 |         let minor: Int = components.count > 1 ? Int(components[1]) ?? 0 : 0
[6/44] Compiling Compatibility AdaptiveLayouts.swift
/host/spi-builder-workspace/Sources/Foundation/Version.swift:128:34: error: value of type 'String' has no member 'components'
126 |         let cleaned = forcing
127 |         #endif
128 |         let components = cleaned.components(separatedBy: ".")
    |                                  `- error: value of type 'String' has no member 'components'
129 |         let major = Int(components.first ?? "0") ?? 0
130 |         let minor: Int = components.count > 1 ? Int(components[1]) ?? 0 : 0
[7/44] Compiling Compatibility Backport.swift
/host/spi-builder-workspace/Sources/Foundation/Version.swift:128:34: error: value of type 'String' has no member 'components'
126 |         let cleaned = forcing
127 |         #endif
128 |         let components = cleaned.components(separatedBy: ".")
    |                                  `- error: value of type 'String' has no member 'components'
129 |         let major = Int(components.first ?? "0") ?? 0
130 |         let minor: Int = components.count > 1 ? Int(components[1]) ?? 0 : 0
[8/44] Compiling Compatibility BytesView.swift
/host/spi-builder-workspace/Sources/Foundation/Version.swift:128:34: error: value of type 'String' has no member 'components'
126 |         let cleaned = forcing
127 |         #endif
128 |         let components = cleaned.components(separatedBy: ".")
    |                                  `- error: value of type 'String' has no member 'components'
129 |         let major = Int(components.first ?? "0") ?? 0
130 |         let minor: Int = components.count > 1 ? Int(components[1]) ?? 0 : 0
[9/49] Compiling Compatibility RadialLayout.swift
[10/49] Compiling Compatibility Placard.swift
[11/49] Compiling Compatibility Triangle.swift
[12/49] Compiling Compatibility SwiftUI.swift
[13/49] Compiling Compatibility TestUI.swift
[14/49] Compiling Compatibility ClearableTextField.swift
[15/49] Compiling Compatibility Embossed.swift
[16/49] Compiling Compatibility Menu.swift
[17/49] Compiling Compatibility OverlappingStack.swift
[18/49] Compiling Compatibility Pasteboard.swift
[19/49] Compiling Compatibility CodingJSON.swift
[20/49] Compiling Compatibility CodingParameters.swift
[21/49] Compiling Compatibility Date.swift
[22/49] Compiling Compatibility DateString.swift
[23/49] Compiling Compatibility Dictionary.swift
[24/49] Compiling Compatibility Double.swift
[25/49] Compiling Compatibility Enum.swift
/host/spi-builder-workspace/Sources/Foundation/String.swift:241:34: error: value of type 'String' has no member 'replacingOccurrences'
 239 |             // accented characters we're going to not replace.
 240 |         ]
 241 |         var encodedString = self.replacingOccurrences(of: "&", with: "&") // ensure & is done first so we don't ever double-encode.
     |                                  `- error: value of type 'String' has no member 'replacingOccurrences'
 242 |         for (symbol, entity) in entities {
 243 |             encodedString = encodedString.replacingOccurrences(of: symbol, with: entity)
/host/spi-builder-workspace/Sources/Foundation/String.swift:390:31: error: value of type 'String' has no member 'components'
 388 |     /// Returns the number of times a string is included in the `String`.  Does not count overlaps.
 389 |     func occurrences(of substring: String) -> Int {
 390 |         let components = self.components(separatedBy: substring)
     |                               `- error: value of type 'String' has no member 'components'
 391 |         return components.count - 1
 392 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:456:26: error: value of type 'String' has no member 'components'
 454 |     /// Get last "path" component of a string (basically everything from the last `/` to the end)
 455 |     var lastPathComponent: String {
 456 |         let parts = self.components(separatedBy: "/")
     |                          `- error: value of type 'String' has no member 'components'
 457 |         let last = parts.last ?? self
 458 |         return last
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:26: error: value of type 'String' has no member 'lengthOfBytes'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                          `- error: value of type 'String' has no member 'lengthOfBytes'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:54: error: type 'String' has no member 'Encoding'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                                                      `- error: type 'String' has no member 'Encoding'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:578:45: error: no exact matches in call to initializer
 576 |         return self.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
 577 |         #else
 578 |         return self.trimmingCharacters(in: .init(charactersIn: " \t\n\r"))
     |                                             `- error: no exact matches in call to initializer
 579 |         #endif
 580 |     }
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ other: S) where S : LosslessStringConvertible, S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ characters: S) where S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:713:41: error: value of type 'String' has no member 'replacingOccurrences'
 711 |         let double = string + string
 712 |         while returnString.contains(double) {
 713 |             returnString = returnString.replacingOccurrences(of: double, with: string)
     |                                         `- error: value of type 'String' has no member 'replacingOccurrences'
 714 |         }
 715 |         return returnString
/host/spi-builder-workspace/Sources/Foundation/String.swift:721:33: error: value of type 'String' has no member 'replacingOccurrences'
 719 |     var whitespaceCollapsed: String {
 720 |         // replace non-breaking space with normal space (seems to not be included in whitespaces)
 721 |         var returnString = self.replacingOccurrences(of: " ", with: " ");
     |                                 `- error: value of type 'String' has no member 'replacingOccurrences'
 722 |         // replace whitespace characters with spaces
 723 |         #if canImport(Foundation)
/host/spi-builder-workspace/Sources/Foundation/String.swift:728:91: error: cannot infer contextual base in reference to member 'regularExpression'
 726 |         returnString = returnString.replacingOccurrences(of: CharacterSet.newlines.characterStrings, with: "\n")
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
     |                                                                                           `- error: cannot infer contextual base in reference to member 'regularExpression'
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
 730 |         #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:729:92: error: cannot infer contextual base in reference to member 'regularExpression'
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
     |                                                                                            `- error: cannot infer contextual base in reference to member 'regularExpression'
 730 |         #endif
 731 |         // collapse runs of spaces
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:14: error: value of type 'String' has no member 'replacingOccurrences'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:71: error: cannot infer contextual base in reference to member 'regularExpression'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |                                                                       `- error: cannot infer contextual base in reference to member 'regularExpression'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:779:21: error: value of type 'String' has no member 'components'
 777 |     /// Return an arry of lines of the string.  If no line breaks, will be an array with the original string as the only entry.
 778 |     var lines: [String] {
 779 |         return self.components(separatedBy: "\n")
     |                     `- error: value of type 'String' has no member 'components'
 780 |     }
 781 |     /// version of string with first letter of each sentence capitalized
/host/spi-builder-workspace/Sources/Foundation/String.swift:783:30: error: value of type 'String' has no member 'components'
 781 |     /// version of string with first letter of each sentence capitalized
 782 |     var sentenceCapitalized: String {
 783 |         let sentences = self.components(separatedBy: ".")
     |                              `- error: value of type 'String' has no member 'components'
 784 |         var fixed = [String]()
 785 |         for sentence in sentences {
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:31: error: value of type 'String' has no member 'data'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                               `- error: value of type 'String' has no member 'data'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:50: error: type 'String' has no member 'Encoding'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                                                  `- error: type 'String' has no member 'Encoding'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:76: error: extra argument 'encoding' in call
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                            `- error: extra argument 'encoding' in call
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:67: error: type 'String' has no member 'Encoding'
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                   `- error: type 'String' has no member 'Encoding'
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:828:96: error: cannot infer contextual base in reference to member 'regularExpression'
 826 |         normalized = normalized.replacingCharacters(in: CharacterSet.alphanumerics.inverted, with: " ")
 827 |         #else
 828 |         normalized = normalized.replacingOccurrences(of: "[^a-zA-Z0-9 ]", with: " ", options: .regularExpression)
     |                                                                                                `- error: cannot infer contextual base in reference to member 'regularExpression'
 829 |         #endif
 830 |         // lowercase string
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:35: error: value of type 'String' has no member 'range'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                   `- error: value of type 'String' has no member 'range'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:66: error: cannot infer contextual base in reference to member 'regularExpression'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                                                  `- error: cannot infer contextual base in reference to member 'regularExpression'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:963:31: error: value of type 'String' has no member 'replacingCharacters'
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
     |                               `- error: value of type 'String' has no member 'replacingCharacters'
 964 |         }
 965 |         return cleaned
/host/spi-builder-workspace/Sources/Foundation/String.swift:996:32: error: value of type 'String' has no member 'components'
 994 |             }
 995 |             // get everything after the start tag
 996 |             var parts = substr.components(separatedBy: start)
     |                                `- error: value of type 'String' has no member 'components'
 997 |             parts.removeFirst()
 998 |             substr = parts.joined(separator: start) // probably only 1 item, but just in case...
/host/spi-builder-workspace/Sources/Foundation/String.swift:1005:32: error: value of type 'String' has no member 'components'
1003 |             }
1004 |             // get everything before the end tag
1005 |             let parts = substr.components(separatedBy: end)
     |                                `- error: value of type 'String' has no member 'components'
1006 |             substr = parts[0]
1007 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:14: error: value of type 'String' has no member 'replacingOccurrences'
1066 |     func addSlashes() -> String {
1067 |         return self
1068 |             .replacingOccurrences(of: "\\", with: "\\\\")
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
1069 |             .replacingOccurrences(of: "\"", with: "\\\"")
1070 |     }
[26/49] Compiling Compatibility Int.swift
/host/spi-builder-workspace/Sources/Foundation/String.swift:241:34: error: value of type 'String' has no member 'replacingOccurrences'
 239 |             // accented characters we're going to not replace.
 240 |         ]
 241 |         var encodedString = self.replacingOccurrences(of: "&", with: "&") // ensure & is done first so we don't ever double-encode.
     |                                  `- error: value of type 'String' has no member 'replacingOccurrences'
 242 |         for (symbol, entity) in entities {
 243 |             encodedString = encodedString.replacingOccurrences(of: symbol, with: entity)
/host/spi-builder-workspace/Sources/Foundation/String.swift:390:31: error: value of type 'String' has no member 'components'
 388 |     /// Returns the number of times a string is included in the `String`.  Does not count overlaps.
 389 |     func occurrences(of substring: String) -> Int {
 390 |         let components = self.components(separatedBy: substring)
     |                               `- error: value of type 'String' has no member 'components'
 391 |         return components.count - 1
 392 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:456:26: error: value of type 'String' has no member 'components'
 454 |     /// Get last "path" component of a string (basically everything from the last `/` to the end)
 455 |     var lastPathComponent: String {
 456 |         let parts = self.components(separatedBy: "/")
     |                          `- error: value of type 'String' has no member 'components'
 457 |         let last = parts.last ?? self
 458 |         return last
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:26: error: value of type 'String' has no member 'lengthOfBytes'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                          `- error: value of type 'String' has no member 'lengthOfBytes'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:54: error: type 'String' has no member 'Encoding'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                                                      `- error: type 'String' has no member 'Encoding'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:578:45: error: no exact matches in call to initializer
 576 |         return self.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
 577 |         #else
 578 |         return self.trimmingCharacters(in: .init(charactersIn: " \t\n\r"))
     |                                             `- error: no exact matches in call to initializer
 579 |         #endif
 580 |     }
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ other: S) where S : LosslessStringConvertible, S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ characters: S) where S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:713:41: error: value of type 'String' has no member 'replacingOccurrences'
 711 |         let double = string + string
 712 |         while returnString.contains(double) {
 713 |             returnString = returnString.replacingOccurrences(of: double, with: string)
     |                                         `- error: value of type 'String' has no member 'replacingOccurrences'
 714 |         }
 715 |         return returnString
/host/spi-builder-workspace/Sources/Foundation/String.swift:721:33: error: value of type 'String' has no member 'replacingOccurrences'
 719 |     var whitespaceCollapsed: String {
 720 |         // replace non-breaking space with normal space (seems to not be included in whitespaces)
 721 |         var returnString = self.replacingOccurrences(of: " ", with: " ");
     |                                 `- error: value of type 'String' has no member 'replacingOccurrences'
 722 |         // replace whitespace characters with spaces
 723 |         #if canImport(Foundation)
/host/spi-builder-workspace/Sources/Foundation/String.swift:728:91: error: cannot infer contextual base in reference to member 'regularExpression'
 726 |         returnString = returnString.replacingOccurrences(of: CharacterSet.newlines.characterStrings, with: "\n")
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
     |                                                                                           `- error: cannot infer contextual base in reference to member 'regularExpression'
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
 730 |         #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:729:92: error: cannot infer contextual base in reference to member 'regularExpression'
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
     |                                                                                            `- error: cannot infer contextual base in reference to member 'regularExpression'
 730 |         #endif
 731 |         // collapse runs of spaces
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:14: error: value of type 'String' has no member 'replacingOccurrences'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:71: error: cannot infer contextual base in reference to member 'regularExpression'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |                                                                       `- error: cannot infer contextual base in reference to member 'regularExpression'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:779:21: error: value of type 'String' has no member 'components'
 777 |     /// Return an arry of lines of the string.  If no line breaks, will be an array with the original string as the only entry.
 778 |     var lines: [String] {
 779 |         return self.components(separatedBy: "\n")
     |                     `- error: value of type 'String' has no member 'components'
 780 |     }
 781 |     /// version of string with first letter of each sentence capitalized
/host/spi-builder-workspace/Sources/Foundation/String.swift:783:30: error: value of type 'String' has no member 'components'
 781 |     /// version of string with first letter of each sentence capitalized
 782 |     var sentenceCapitalized: String {
 783 |         let sentences = self.components(separatedBy: ".")
     |                              `- error: value of type 'String' has no member 'components'
 784 |         var fixed = [String]()
 785 |         for sentence in sentences {
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:31: error: value of type 'String' has no member 'data'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                               `- error: value of type 'String' has no member 'data'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:50: error: type 'String' has no member 'Encoding'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                                                  `- error: type 'String' has no member 'Encoding'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:76: error: extra argument 'encoding' in call
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                            `- error: extra argument 'encoding' in call
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:67: error: type 'String' has no member 'Encoding'
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                   `- error: type 'String' has no member 'Encoding'
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:828:96: error: cannot infer contextual base in reference to member 'regularExpression'
 826 |         normalized = normalized.replacingCharacters(in: CharacterSet.alphanumerics.inverted, with: " ")
 827 |         #else
 828 |         normalized = normalized.replacingOccurrences(of: "[^a-zA-Z0-9 ]", with: " ", options: .regularExpression)
     |                                                                                                `- error: cannot infer contextual base in reference to member 'regularExpression'
 829 |         #endif
 830 |         // lowercase string
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:35: error: value of type 'String' has no member 'range'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                   `- error: value of type 'String' has no member 'range'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:66: error: cannot infer contextual base in reference to member 'regularExpression'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                                                  `- error: cannot infer contextual base in reference to member 'regularExpression'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:963:31: error: value of type 'String' has no member 'replacingCharacters'
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
     |                               `- error: value of type 'String' has no member 'replacingCharacters'
 964 |         }
 965 |         return cleaned
/host/spi-builder-workspace/Sources/Foundation/String.swift:996:32: error: value of type 'String' has no member 'components'
 994 |             }
 995 |             // get everything after the start tag
 996 |             var parts = substr.components(separatedBy: start)
     |                                `- error: value of type 'String' has no member 'components'
 997 |             parts.removeFirst()
 998 |             substr = parts.joined(separator: start) // probably only 1 item, but just in case...
/host/spi-builder-workspace/Sources/Foundation/String.swift:1005:32: error: value of type 'String' has no member 'components'
1003 |             }
1004 |             // get everything before the end tag
1005 |             let parts = substr.components(separatedBy: end)
     |                                `- error: value of type 'String' has no member 'components'
1006 |             substr = parts[0]
1007 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:14: error: value of type 'String' has no member 'replacingOccurrences'
1066 |     func addSlashes() -> String {
1067 |         return self
1068 |             .replacingOccurrences(of: "\\", with: "\\\\")
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
1069 |             .replacingOccurrences(of: "\"", with: "\\\"")
1070 |     }
[27/49] Compiling Compatibility Introspection.swift
/host/spi-builder-workspace/Sources/Foundation/String.swift:241:34: error: value of type 'String' has no member 'replacingOccurrences'
 239 |             // accented characters we're going to not replace.
 240 |         ]
 241 |         var encodedString = self.replacingOccurrences(of: "&", with: "&") // ensure & is done first so we don't ever double-encode.
     |                                  `- error: value of type 'String' has no member 'replacingOccurrences'
 242 |         for (symbol, entity) in entities {
 243 |             encodedString = encodedString.replacingOccurrences(of: symbol, with: entity)
/host/spi-builder-workspace/Sources/Foundation/String.swift:390:31: error: value of type 'String' has no member 'components'
 388 |     /// Returns the number of times a string is included in the `String`.  Does not count overlaps.
 389 |     func occurrences(of substring: String) -> Int {
 390 |         let components = self.components(separatedBy: substring)
     |                               `- error: value of type 'String' has no member 'components'
 391 |         return components.count - 1
 392 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:456:26: error: value of type 'String' has no member 'components'
 454 |     /// Get last "path" component of a string (basically everything from the last `/` to the end)
 455 |     var lastPathComponent: String {
 456 |         let parts = self.components(separatedBy: "/")
     |                          `- error: value of type 'String' has no member 'components'
 457 |         let last = parts.last ?? self
 458 |         return last
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:26: error: value of type 'String' has no member 'lengthOfBytes'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                          `- error: value of type 'String' has no member 'lengthOfBytes'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:54: error: type 'String' has no member 'Encoding'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                                                      `- error: type 'String' has no member 'Encoding'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:578:45: error: no exact matches in call to initializer
 576 |         return self.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
 577 |         #else
 578 |         return self.trimmingCharacters(in: .init(charactersIn: " \t\n\r"))
     |                                             `- error: no exact matches in call to initializer
 579 |         #endif
 580 |     }
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ other: S) where S : LosslessStringConvertible, S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ characters: S) where S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:713:41: error: value of type 'String' has no member 'replacingOccurrences'
 711 |         let double = string + string
 712 |         while returnString.contains(double) {
 713 |             returnString = returnString.replacingOccurrences(of: double, with: string)
     |                                         `- error: value of type 'String' has no member 'replacingOccurrences'
 714 |         }
 715 |         return returnString
/host/spi-builder-workspace/Sources/Foundation/String.swift:721:33: error: value of type 'String' has no member 'replacingOccurrences'
 719 |     var whitespaceCollapsed: String {
 720 |         // replace non-breaking space with normal space (seems to not be included in whitespaces)
 721 |         var returnString = self.replacingOccurrences(of: " ", with: " ");
     |                                 `- error: value of type 'String' has no member 'replacingOccurrences'
 722 |         // replace whitespace characters with spaces
 723 |         #if canImport(Foundation)
/host/spi-builder-workspace/Sources/Foundation/String.swift:728:91: error: cannot infer contextual base in reference to member 'regularExpression'
 726 |         returnString = returnString.replacingOccurrences(of: CharacterSet.newlines.characterStrings, with: "\n")
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
     |                                                                                           `- error: cannot infer contextual base in reference to member 'regularExpression'
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
 730 |         #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:729:92: error: cannot infer contextual base in reference to member 'regularExpression'
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
     |                                                                                            `- error: cannot infer contextual base in reference to member 'regularExpression'
 730 |         #endif
 731 |         // collapse runs of spaces
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:14: error: value of type 'String' has no member 'replacingOccurrences'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:71: error: cannot infer contextual base in reference to member 'regularExpression'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |                                                                       `- error: cannot infer contextual base in reference to member 'regularExpression'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:779:21: error: value of type 'String' has no member 'components'
 777 |     /// Return an arry of lines of the string.  If no line breaks, will be an array with the original string as the only entry.
 778 |     var lines: [String] {
 779 |         return self.components(separatedBy: "\n")
     |                     `- error: value of type 'String' has no member 'components'
 780 |     }
 781 |     /// version of string with first letter of each sentence capitalized
/host/spi-builder-workspace/Sources/Foundation/String.swift:783:30: error: value of type 'String' has no member 'components'
 781 |     /// version of string with first letter of each sentence capitalized
 782 |     var sentenceCapitalized: String {
 783 |         let sentences = self.components(separatedBy: ".")
     |                              `- error: value of type 'String' has no member 'components'
 784 |         var fixed = [String]()
 785 |         for sentence in sentences {
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:31: error: value of type 'String' has no member 'data'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                               `- error: value of type 'String' has no member 'data'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:50: error: type 'String' has no member 'Encoding'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                                                  `- error: type 'String' has no member 'Encoding'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:76: error: extra argument 'encoding' in call
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                            `- error: extra argument 'encoding' in call
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:67: error: type 'String' has no member 'Encoding'
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                   `- error: type 'String' has no member 'Encoding'
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:828:96: error: cannot infer contextual base in reference to member 'regularExpression'
 826 |         normalized = normalized.replacingCharacters(in: CharacterSet.alphanumerics.inverted, with: " ")
 827 |         #else
 828 |         normalized = normalized.replacingOccurrences(of: "[^a-zA-Z0-9 ]", with: " ", options: .regularExpression)
     |                                                                                                `- error: cannot infer contextual base in reference to member 'regularExpression'
 829 |         #endif
 830 |         // lowercase string
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:35: error: value of type 'String' has no member 'range'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                   `- error: value of type 'String' has no member 'range'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:66: error: cannot infer contextual base in reference to member 'regularExpression'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                                                  `- error: cannot infer contextual base in reference to member 'regularExpression'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:963:31: error: value of type 'String' has no member 'replacingCharacters'
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
     |                               `- error: value of type 'String' has no member 'replacingCharacters'
 964 |         }
 965 |         return cleaned
/host/spi-builder-workspace/Sources/Foundation/String.swift:996:32: error: value of type 'String' has no member 'components'
 994 |             }
 995 |             // get everything after the start tag
 996 |             var parts = substr.components(separatedBy: start)
     |                                `- error: value of type 'String' has no member 'components'
 997 |             parts.removeFirst()
 998 |             substr = parts.joined(separator: start) // probably only 1 item, but just in case...
/host/spi-builder-workspace/Sources/Foundation/String.swift:1005:32: error: value of type 'String' has no member 'components'
1003 |             }
1004 |             // get everything before the end tag
1005 |             let parts = substr.components(separatedBy: end)
     |                                `- error: value of type 'String' has no member 'components'
1006 |             substr = parts[0]
1007 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:14: error: value of type 'String' has no member 'replacingOccurrences'
1066 |     func addSlashes() -> String {
1067 |         return self
1068 |             .replacingOccurrences(of: "\\", with: "\\\\")
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
1069 |             .replacingOccurrences(of: "\"", with: "\\\"")
1070 |     }
[28/49] Compiling Compatibility OrderedDictionary.swift
/host/spi-builder-workspace/Sources/Foundation/String.swift:241:34: error: value of type 'String' has no member 'replacingOccurrences'
 239 |             // accented characters we're going to not replace.
 240 |         ]
 241 |         var encodedString = self.replacingOccurrences(of: "&", with: "&") // ensure & is done first so we don't ever double-encode.
     |                                  `- error: value of type 'String' has no member 'replacingOccurrences'
 242 |         for (symbol, entity) in entities {
 243 |             encodedString = encodedString.replacingOccurrences(of: symbol, with: entity)
/host/spi-builder-workspace/Sources/Foundation/String.swift:390:31: error: value of type 'String' has no member 'components'
 388 |     /// Returns the number of times a string is included in the `String`.  Does not count overlaps.
 389 |     func occurrences(of substring: String) -> Int {
 390 |         let components = self.components(separatedBy: substring)
     |                               `- error: value of type 'String' has no member 'components'
 391 |         return components.count - 1
 392 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:456:26: error: value of type 'String' has no member 'components'
 454 |     /// Get last "path" component of a string (basically everything from the last `/` to the end)
 455 |     var lastPathComponent: String {
 456 |         let parts = self.components(separatedBy: "/")
     |                          `- error: value of type 'String' has no member 'components'
 457 |         let last = parts.last ?? self
 458 |         return last
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:26: error: value of type 'String' has no member 'lengthOfBytes'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                          `- error: value of type 'String' has no member 'lengthOfBytes'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:54: error: type 'String' has no member 'Encoding'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                                                      `- error: type 'String' has no member 'Encoding'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:578:45: error: no exact matches in call to initializer
 576 |         return self.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
 577 |         #else
 578 |         return self.trimmingCharacters(in: .init(charactersIn: " \t\n\r"))
     |                                             `- error: no exact matches in call to initializer
 579 |         #endif
 580 |     }
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ other: S) where S : LosslessStringConvertible, S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ characters: S) where S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:713:41: error: value of type 'String' has no member 'replacingOccurrences'
 711 |         let double = string + string
 712 |         while returnString.contains(double) {
 713 |             returnString = returnString.replacingOccurrences(of: double, with: string)
     |                                         `- error: value of type 'String' has no member 'replacingOccurrences'
 714 |         }
 715 |         return returnString
/host/spi-builder-workspace/Sources/Foundation/String.swift:721:33: error: value of type 'String' has no member 'replacingOccurrences'
 719 |     var whitespaceCollapsed: String {
 720 |         // replace non-breaking space with normal space (seems to not be included in whitespaces)
 721 |         var returnString = self.replacingOccurrences(of: " ", with: " ");
     |                                 `- error: value of type 'String' has no member 'replacingOccurrences'
 722 |         // replace whitespace characters with spaces
 723 |         #if canImport(Foundation)
/host/spi-builder-workspace/Sources/Foundation/String.swift:728:91: error: cannot infer contextual base in reference to member 'regularExpression'
 726 |         returnString = returnString.replacingOccurrences(of: CharacterSet.newlines.characterStrings, with: "\n")
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
     |                                                                                           `- error: cannot infer contextual base in reference to member 'regularExpression'
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
 730 |         #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:729:92: error: cannot infer contextual base in reference to member 'regularExpression'
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
     |                                                                                            `- error: cannot infer contextual base in reference to member 'regularExpression'
 730 |         #endif
 731 |         // collapse runs of spaces
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:14: error: value of type 'String' has no member 'replacingOccurrences'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:71: error: cannot infer contextual base in reference to member 'regularExpression'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |                                                                       `- error: cannot infer contextual base in reference to member 'regularExpression'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:779:21: error: value of type 'String' has no member 'components'
 777 |     /// Return an arry of lines of the string.  If no line breaks, will be an array with the original string as the only entry.
 778 |     var lines: [String] {
 779 |         return self.components(separatedBy: "\n")
     |                     `- error: value of type 'String' has no member 'components'
 780 |     }
 781 |     /// version of string with first letter of each sentence capitalized
/host/spi-builder-workspace/Sources/Foundation/String.swift:783:30: error: value of type 'String' has no member 'components'
 781 |     /// version of string with first letter of each sentence capitalized
 782 |     var sentenceCapitalized: String {
 783 |         let sentences = self.components(separatedBy: ".")
     |                              `- error: value of type 'String' has no member 'components'
 784 |         var fixed = [String]()
 785 |         for sentence in sentences {
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:31: error: value of type 'String' has no member 'data'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                               `- error: value of type 'String' has no member 'data'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:50: error: type 'String' has no member 'Encoding'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                                                  `- error: type 'String' has no member 'Encoding'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:76: error: extra argument 'encoding' in call
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                            `- error: extra argument 'encoding' in call
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:67: error: type 'String' has no member 'Encoding'
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                   `- error: type 'String' has no member 'Encoding'
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:828:96: error: cannot infer contextual base in reference to member 'regularExpression'
 826 |         normalized = normalized.replacingCharacters(in: CharacterSet.alphanumerics.inverted, with: " ")
 827 |         #else
 828 |         normalized = normalized.replacingOccurrences(of: "[^a-zA-Z0-9 ]", with: " ", options: .regularExpression)
     |                                                                                                `- error: cannot infer contextual base in reference to member 'regularExpression'
 829 |         #endif
 830 |         // lowercase string
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:35: error: value of type 'String' has no member 'range'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                   `- error: value of type 'String' has no member 'range'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:66: error: cannot infer contextual base in reference to member 'regularExpression'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                                                  `- error: cannot infer contextual base in reference to member 'regularExpression'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:963:31: error: value of type 'String' has no member 'replacingCharacters'
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
     |                               `- error: value of type 'String' has no member 'replacingCharacters'
 964 |         }
 965 |         return cleaned
/host/spi-builder-workspace/Sources/Foundation/String.swift:996:32: error: value of type 'String' has no member 'components'
 994 |             }
 995 |             // get everything after the start tag
 996 |             var parts = substr.components(separatedBy: start)
     |                                `- error: value of type 'String' has no member 'components'
 997 |             parts.removeFirst()
 998 |             substr = parts.joined(separator: start) // probably only 1 item, but just in case...
/host/spi-builder-workspace/Sources/Foundation/String.swift:1005:32: error: value of type 'String' has no member 'components'
1003 |             }
1004 |             // get everything before the end tag
1005 |             let parts = substr.components(separatedBy: end)
     |                                `- error: value of type 'String' has no member 'components'
1006 |             substr = parts[0]
1007 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:14: error: value of type 'String' has no member 'replacingOccurrences'
1066 |     func addSlashes() -> String {
1067 |         return self
1068 |             .replacingOccurrences(of: "\\", with: "\\\\")
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
1069 |             .replacingOccurrences(of: "\"", with: "\\\"")
1070 |     }
[29/49] Compiling Compatibility OrderedSet.swift
/host/spi-builder-workspace/Sources/Foundation/String.swift:241:34: error: value of type 'String' has no member 'replacingOccurrences'
 239 |             // accented characters we're going to not replace.
 240 |         ]
 241 |         var encodedString = self.replacingOccurrences(of: "&", with: "&") // ensure & is done first so we don't ever double-encode.
     |                                  `- error: value of type 'String' has no member 'replacingOccurrences'
 242 |         for (symbol, entity) in entities {
 243 |             encodedString = encodedString.replacingOccurrences(of: symbol, with: entity)
/host/spi-builder-workspace/Sources/Foundation/String.swift:390:31: error: value of type 'String' has no member 'components'
 388 |     /// Returns the number of times a string is included in the `String`.  Does not count overlaps.
 389 |     func occurrences(of substring: String) -> Int {
 390 |         let components = self.components(separatedBy: substring)
     |                               `- error: value of type 'String' has no member 'components'
 391 |         return components.count - 1
 392 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:456:26: error: value of type 'String' has no member 'components'
 454 |     /// Get last "path" component of a string (basically everything from the last `/` to the end)
 455 |     var lastPathComponent: String {
 456 |         let parts = self.components(separatedBy: "/")
     |                          `- error: value of type 'String' has no member 'components'
 457 |         let last = parts.last ?? self
 458 |         return last
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:26: error: value of type 'String' has no member 'lengthOfBytes'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                          `- error: value of type 'String' has no member 'lengthOfBytes'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:54: error: type 'String' has no member 'Encoding'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                                                      `- error: type 'String' has no member 'Encoding'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:578:45: error: no exact matches in call to initializer
 576 |         return self.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
 577 |         #else
 578 |         return self.trimmingCharacters(in: .init(charactersIn: " \t\n\r"))
     |                                             `- error: no exact matches in call to initializer
 579 |         #endif
 580 |     }
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ other: S) where S : LosslessStringConvertible, S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ characters: S) where S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:713:41: error: value of type 'String' has no member 'replacingOccurrences'
 711 |         let double = string + string
 712 |         while returnString.contains(double) {
 713 |             returnString = returnString.replacingOccurrences(of: double, with: string)
     |                                         `- error: value of type 'String' has no member 'replacingOccurrences'
 714 |         }
 715 |         return returnString
/host/spi-builder-workspace/Sources/Foundation/String.swift:721:33: error: value of type 'String' has no member 'replacingOccurrences'
 719 |     var whitespaceCollapsed: String {
 720 |         // replace non-breaking space with normal space (seems to not be included in whitespaces)
 721 |         var returnString = self.replacingOccurrences(of: " ", with: " ");
     |                                 `- error: value of type 'String' has no member 'replacingOccurrences'
 722 |         // replace whitespace characters with spaces
 723 |         #if canImport(Foundation)
/host/spi-builder-workspace/Sources/Foundation/String.swift:728:91: error: cannot infer contextual base in reference to member 'regularExpression'
 726 |         returnString = returnString.replacingOccurrences(of: CharacterSet.newlines.characterStrings, with: "\n")
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
     |                                                                                           `- error: cannot infer contextual base in reference to member 'regularExpression'
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
 730 |         #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:729:92: error: cannot infer contextual base in reference to member 'regularExpression'
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
     |                                                                                            `- error: cannot infer contextual base in reference to member 'regularExpression'
 730 |         #endif
 731 |         // collapse runs of spaces
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:14: error: value of type 'String' has no member 'replacingOccurrences'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:71: error: cannot infer contextual base in reference to member 'regularExpression'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |                                                                       `- error: cannot infer contextual base in reference to member 'regularExpression'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:779:21: error: value of type 'String' has no member 'components'
 777 |     /// Return an arry of lines of the string.  If no line breaks, will be an array with the original string as the only entry.
 778 |     var lines: [String] {
 779 |         return self.components(separatedBy: "\n")
     |                     `- error: value of type 'String' has no member 'components'
 780 |     }
 781 |     /// version of string with first letter of each sentence capitalized
/host/spi-builder-workspace/Sources/Foundation/String.swift:783:30: error: value of type 'String' has no member 'components'
 781 |     /// version of string with first letter of each sentence capitalized
 782 |     var sentenceCapitalized: String {
 783 |         let sentences = self.components(separatedBy: ".")
     |                              `- error: value of type 'String' has no member 'components'
 784 |         var fixed = [String]()
 785 |         for sentence in sentences {
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:31: error: value of type 'String' has no member 'data'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                               `- error: value of type 'String' has no member 'data'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:50: error: type 'String' has no member 'Encoding'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                                                  `- error: type 'String' has no member 'Encoding'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:76: error: extra argument 'encoding' in call
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                            `- error: extra argument 'encoding' in call
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:67: error: type 'String' has no member 'Encoding'
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                   `- error: type 'String' has no member 'Encoding'
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:828:96: error: cannot infer contextual base in reference to member 'regularExpression'
 826 |         normalized = normalized.replacingCharacters(in: CharacterSet.alphanumerics.inverted, with: " ")
 827 |         #else
 828 |         normalized = normalized.replacingOccurrences(of: "[^a-zA-Z0-9 ]", with: " ", options: .regularExpression)
     |                                                                                                `- error: cannot infer contextual base in reference to member 'regularExpression'
 829 |         #endif
 830 |         // lowercase string
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:35: error: value of type 'String' has no member 'range'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                   `- error: value of type 'String' has no member 'range'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:66: error: cannot infer contextual base in reference to member 'regularExpression'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                                                  `- error: cannot infer contextual base in reference to member 'regularExpression'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:963:31: error: value of type 'String' has no member 'replacingCharacters'
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
     |                               `- error: value of type 'String' has no member 'replacingCharacters'
 964 |         }
 965 |         return cleaned
/host/spi-builder-workspace/Sources/Foundation/String.swift:996:32: error: value of type 'String' has no member 'components'
 994 |             }
 995 |             // get everything after the start tag
 996 |             var parts = substr.components(separatedBy: start)
     |                                `- error: value of type 'String' has no member 'components'
 997 |             parts.removeFirst()
 998 |             substr = parts.joined(separator: start) // probably only 1 item, but just in case...
/host/spi-builder-workspace/Sources/Foundation/String.swift:1005:32: error: value of type 'String' has no member 'components'
1003 |             }
1004 |             // get everything before the end tag
1005 |             let parts = substr.components(separatedBy: end)
     |                                `- error: value of type 'String' has no member 'components'
1006 |             substr = parts[0]
1007 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:14: error: value of type 'String' has no member 'replacingOccurrences'
1066 |     func addSlashes() -> String {
1067 |         return self
1068 |             .replacingOccurrences(of: "\\", with: "\\\\")
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
1069 |             .replacingOccurrences(of: "\"", with: "\\\"")
1070 |     }
[30/49] Compiling Compatibility String.swift
/host/spi-builder-workspace/Sources/Foundation/String.swift:241:34: error: value of type 'String' has no member 'replacingOccurrences'
 239 |             // accented characters we're going to not replace.
 240 |         ]
 241 |         var encodedString = self.replacingOccurrences(of: "&", with: "&") // ensure & is done first so we don't ever double-encode.
     |                                  `- error: value of type 'String' has no member 'replacingOccurrences'
 242 |         for (symbol, entity) in entities {
 243 |             encodedString = encodedString.replacingOccurrences(of: symbol, with: entity)
/host/spi-builder-workspace/Sources/Foundation/String.swift:390:31: error: value of type 'String' has no member 'components'
 388 |     /// Returns the number of times a string is included in the `String`.  Does not count overlaps.
 389 |     func occurrences(of substring: String) -> Int {
 390 |         let components = self.components(separatedBy: substring)
     |                               `- error: value of type 'String' has no member 'components'
 391 |         return components.count - 1
 392 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:456:26: error: value of type 'String' has no member 'components'
 454 |     /// Get last "path" component of a string (basically everything from the last `/` to the end)
 455 |     var lastPathComponent: String {
 456 |         let parts = self.components(separatedBy: "/")
     |                          `- error: value of type 'String' has no member 'components'
 457 |         let last = parts.last ?? self
 458 |         return last
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:26: error: value of type 'String' has no member 'lengthOfBytes'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                          `- error: value of type 'String' has no member 'lengthOfBytes'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:463:54: error: type 'String' has no member 'Encoding'
 461 |     /// `true` if the byte length of the `String` is larger than 100k (the exact threashold may change)
 462 |     var isLarge: Bool {
 463 |         let bytes = self.lengthOfBytes(using: String.Encoding.utf8)
     |                                                      `- error: type 'String' has no member 'Encoding'
 464 |         return bytes / 1024 > 100 // larger than 100k worth of text (that's still a LOT of lines)
 465 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:578:45: error: no exact matches in call to initializer
 576 |         return self.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
 577 |         #else
 578 |         return self.trimmingCharacters(in: .init(charactersIn: " \t\n\r"))
     |                                             `- error: no exact matches in call to initializer
 579 |         #endif
 580 |     }
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ other: S) where S : LosslessStringConvertible, S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | struct String {
2 | public init<S>(_ characters: S) where S : Sequence, S.Element == Character}
  |        `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(charactersIn:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:713:41: error: value of type 'String' has no member 'replacingOccurrences'
 711 |         let double = string + string
 712 |         while returnString.contains(double) {
 713 |             returnString = returnString.replacingOccurrences(of: double, with: string)
     |                                         `- error: value of type 'String' has no member 'replacingOccurrences'
 714 |         }
 715 |         return returnString
/host/spi-builder-workspace/Sources/Foundation/String.swift:721:33: error: value of type 'String' has no member 'replacingOccurrences'
 719 |     var whitespaceCollapsed: String {
 720 |         // replace non-breaking space with normal space (seems to not be included in whitespaces)
 721 |         var returnString = self.replacingOccurrences(of: " ", with: " ");
     |                                 `- error: value of type 'String' has no member 'replacingOccurrences'
 722 |         // replace whitespace characters with spaces
 723 |         #if canImport(Foundation)
/host/spi-builder-workspace/Sources/Foundation/String.swift:728:91: error: cannot infer contextual base in reference to member 'regularExpression'
 726 |         returnString = returnString.replacingOccurrences(of: CharacterSet.newlines.characterStrings, with: "\n")
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
     |                                                                                           `- error: cannot infer contextual base in reference to member 'regularExpression'
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
 730 |         #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:729:92: error: cannot infer contextual base in reference to member 'regularExpression'
 727 |         #else
 728 |         returnString = returnString.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
 729 |         returnString = returnString.replacingOccurrences(of: "\\n+", with: "\n", options: .regularExpression)
     |                                                                                            `- error: cannot infer contextual base in reference to member 'regularExpression'
 730 |         #endif
 731 |         // collapse runs of spaces
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:14: error: value of type 'String' has no member 'replacingOccurrences'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:772:71: error: cannot infer contextual base in reference to member 'regularExpression'
 770 |         replacingCharacters(in: .whitespacesAndNewlines, with: "")
 771 |         #else
 772 |         self.replacingOccurrences(of: "[\\s\\n]", with: "", options: .regularExpression)
     |                                                                       `- error: cannot infer contextual base in reference to member 'regularExpression'
 773 |         #endif
 774 |     }
/host/spi-builder-workspace/Sources/Foundation/String.swift:779:21: error: value of type 'String' has no member 'components'
 777 |     /// Return an arry of lines of the string.  If no line breaks, will be an array with the original string as the only entry.
 778 |     var lines: [String] {
 779 |         return self.components(separatedBy: "\n")
     |                     `- error: value of type 'String' has no member 'components'
 780 |     }
 781 |     /// version of string with first letter of each sentence capitalized
/host/spi-builder-workspace/Sources/Foundation/String.swift:783:30: error: value of type 'String' has no member 'components'
 781 |     /// version of string with first letter of each sentence capitalized
 782 |     var sentenceCapitalized: String {
 783 |         let sentences = self.components(separatedBy: ".")
     |                              `- error: value of type 'String' has no member 'components'
 784 |         var fixed = [String]()
 785 |         for sentence in sentences {
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:31: error: value of type 'String' has no member 'data'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                               `- error: value of type 'String' has no member 'data'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:807:50: error: type 'String' has no member 'Encoding'
 805 |     var normalized: String {
 806 |         // expand ligatures and other joined characters and flatten to simple ascii (æ => ae, etc.) by converting to ascii data and back
 807 |         guard let data = self.data(using: String.Encoding.ascii, allowLossyConversion: true) else {
     |                                                  `- error: type 'String' has no member 'Encoding'
 808 |             debug("Unable to convert string to ASCII Data: \(self)", level: .WARNING)
 809 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:76: error: extra argument 'encoding' in call
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                            `- error: extra argument 'encoding' in call
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:811:67: error: type 'String' has no member 'Encoding'
 809 |             return self
 810 |         }
 811 |         guard let processed = String(data: data, encoding: String.Encoding.ascii) else {
     |                                                                   `- error: type 'String' has no member 'Encoding'
 812 |             debug("Unable to decode ASCII Data normalizing stirng: \(self)", level: .WARNING)
 813 |             return self
/host/spi-builder-workspace/Sources/Foundation/String.swift:828:96: error: cannot infer contextual base in reference to member 'regularExpression'
 826 |         normalized = normalized.replacingCharacters(in: CharacterSet.alphanumerics.inverted, with: " ")
 827 |         #else
 828 |         normalized = normalized.replacingOccurrences(of: "[^a-zA-Z0-9 ]", with: " ", options: .regularExpression)
     |                                                                                                `- error: cannot infer contextual base in reference to member 'regularExpression'
 829 |         #endif
 830 |         // lowercase string
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:35: error: value of type 'String' has no member 'range'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                   `- error: value of type 'String' has no member 'range'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:962:66: error: cannot infer contextual base in reference to member 'regularExpression'
 960 |     var tagsStripped: String {
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
     |                                                                  `- error: cannot infer contextual base in reference to member 'regularExpression'
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
 964 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:963:31: error: value of type 'String' has no member 'replacingCharacters'
 961 |         var cleaned = self
 962 |         while let range = cleaned.range(of: "<[^>]+>", options: .regularExpression) {
 963 |             cleaned = cleaned.replacingCharacters(in: range, with: "")
     |                               `- error: value of type 'String' has no member 'replacingCharacters'
 964 |         }
 965 |         return cleaned
/host/spi-builder-workspace/Sources/Foundation/String.swift:996:32: error: value of type 'String' has no member 'components'
 994 |             }
 995 |             // get everything after the start tag
 996 |             var parts = substr.components(separatedBy: start)
     |                                `- error: value of type 'String' has no member 'components'
 997 |             parts.removeFirst()
 998 |             substr = parts.joined(separator: start) // probably only 1 item, but just in case...
/host/spi-builder-workspace/Sources/Foundation/String.swift:1005:32: error: value of type 'String' has no member 'components'
1003 |             }
1004 |             // get everything before the end tag
1005 |             let parts = substr.components(separatedBy: end)
     |                                `- error: value of type 'String' has no member 'components'
1006 |             substr = parts[0]
1007 |         }
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:14: error: value of type 'String' has no member 'replacingOccurrences'
1066 |     func addSlashes() -> String {
1067 |         return self
1068 |             .replacingOccurrences(of: "\\", with: "\\\\")
     |              `- error: value of type 'String' has no member 'replacingOccurrences'
1069 |             .replacingOccurrences(of: "\"", with: "\\\"")
1070 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/49] Emitting module Compatibility
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Compatibility.swift:256:11: error: cannot find type 'FileManager' in scope
254 |
255 | #if !canImport(CoreML) // this isn't available on linux!
256 | extension FileManager {
    |           `- error: cannot find type 'FileManager' in scope
257 |     var ubiquityIdentityToken: String? { nil }
258 | }
/host/spi-builder-workspace/Sources/Core/Debug.swift:402:29: error: value of type 'CustomError' has no member 'localizedDescription'
400 |         }
401 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
402 |         output = debugError.localizedDescription
    |                             `- error: value of type 'CustomError' has no member 'localizedDescription'
403 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
404 |         output = debugError.description
[32/49] Compiling Compatibility DataStore.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Debug.swift:402:29: error: value of type 'CustomError' has no member 'localizedDescription'
400 |         }
401 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
402 |         output = debugError.localizedDescription
    |                             `- error: value of type 'CustomError' has no member 'localizedDescription'
403 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
404 |         output = debugError.description
/host/spi-builder-workspace/Sources/Core/Debug.swift:329:34: error: value of type 'Self' has no member 'localizedDescription'
327 |      */
328 |     func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
329 |         Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
    |                                  `- error: value of type 'Self' has no member 'localizedDescription'
330 |         return self
331 |     }
[33/49] Compiling Compatibility Debug.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Debug.swift:402:29: error: value of type 'CustomError' has no member 'localizedDescription'
400 |         }
401 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
402 |         output = debugError.localizedDescription
    |                             `- error: value of type 'CustomError' has no member 'localizedDescription'
403 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
404 |         output = debugError.description
/host/spi-builder-workspace/Sources/Core/Debug.swift:329:34: error: value of type 'Self' has no member 'localizedDescription'
327 |      */
328 |     func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
329 |         Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
    |                                  `- error: value of type 'Self' has no member 'localizedDescription'
330 |         return self
331 |     }
[34/49] Compiling Compatibility FileManager.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Debug.swift:402:29: error: value of type 'CustomError' has no member 'localizedDescription'
400 |         }
401 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
402 |         output = debugError.localizedDescription
    |                             `- error: value of type 'CustomError' has no member 'localizedDescription'
403 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
404 |         output = debugError.description
/host/spi-builder-workspace/Sources/Core/Debug.swift:329:34: error: value of type 'Self' has no member 'localizedDescription'
327 |      */
328 |     func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
329 |         Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
    |                                  `- error: value of type 'Self' has no member 'localizedDescription'
330 |         return self
331 |     }
[35/49] Compiling Compatibility Graphics.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Debug.swift:402:29: error: value of type 'CustomError' has no member 'localizedDescription'
400 |         }
401 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
402 |         output = debugError.localizedDescription
    |                             `- error: value of type 'CustomError' has no member 'localizedDescription'
403 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
404 |         output = debugError.description
/host/spi-builder-workspace/Sources/Core/Debug.swift:329:34: error: value of type 'Self' has no member 'localizedDescription'
327 |      */
328 |     func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
329 |         Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
    |                                  `- error: value of type 'Self' has no member 'localizedDescription'
330 |         return self
331 |     }
[36/49] Compiling Compatibility Network.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Debug.swift:402:29: error: value of type 'CustomError' has no member 'localizedDescription'
400 |         }
401 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
402 |         output = debugError.localizedDescription
    |                             `- error: value of type 'CustomError' has no member 'localizedDescription'
403 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
404 |         output = debugError.description
/host/spi-builder-workspace/Sources/Core/Debug.swift:329:34: error: value of type 'Self' has no member 'localizedDescription'
327 |      */
328 |     func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
329 |         Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
    |                                  `- error: value of type 'Self' has no member 'localizedDescription'
330 |         return self
331 |     }
[37/49] Compiling Compatibility ObservableObject.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Debug.swift:402:29: error: value of type 'CustomError' has no member 'localizedDescription'
400 |         }
401 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
402 |         output = debugError.localizedDescription
    |                             `- error: value of type 'CustomError' has no member 'localizedDescription'
403 |         try expect(output.contains("custom error"), "expected custom error to be in the output but found \(output)")
404 |         output = debugError.description
/host/spi-builder-workspace/Sources/Core/Debug.swift:329:34: error: value of type 'Self' has no member 'localizedDescription'
327 |      */
328 |     func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
329 |         Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
    |                                  `- error: value of type 'Self' has no member 'localizedDescription'
330 |         return self
331 |     }
[38/49] Compiling Compatibility Shell.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Test.swift:27:18: error: cannot infer contextual base in reference to member 'OFF'
 25 |             let context = Compatibility.settings.debugFormat(
 26 |                 "",
 27 |                 .OFF,
    |                  `- error: cannot infer contextual base in reference to member 'OFF'
 28 |                 isMainThread,
 29 |                 Compatibility.settings.debugEmojiSupported,
[39/49] Compiling Compatibility Test.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Test.swift:27:18: error: cannot infer contextual base in reference to member 'OFF'
 25 |             let context = Compatibility.settings.debugFormat(
 26 |                 "",
 27 |                 .OFF,
    |                  `- error: cannot infer contextual base in reference to member 'OFF'
 28 |                 isMainThread,
 29 |                 Compatibility.settings.debugEmojiSupported,
[40/49] Compiling Compatibility UserDefaultsBacked.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Test.swift:27:18: error: cannot infer contextual base in reference to member 'OFF'
 25 |             let context = Compatibility.settings.debugFormat(
 26 |                 "",
 27 |                 .OFF,
    |                  `- error: cannot infer contextual base in reference to member 'OFF'
 28 |                 isMainThread,
 29 |                 Compatibility.settings.debugEmojiSupported,
[41/49] Compiling Compatibility Array.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Test.swift:27:18: error: cannot infer contextual base in reference to member 'OFF'
 25 |             let context = Compatibility.settings.debugFormat(
 26 |                 "",
 27 |                 .OFF,
    |                  `- error: cannot infer contextual base in reference to member 'OFF'
 28 |                 isMainThread,
 29 |                 Compatibility.settings.debugEmojiSupported,
[42/49] Compiling Compatibility Codable.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Test.swift:27:18: error: cannot infer contextual base in reference to member 'OFF'
 25 |             let context = Compatibility.settings.debugFormat(
 26 |                 "",
 27 |                 .OFF,
    |                  `- error: cannot infer contextual base in reference to member 'OFF'
 28 |                 isMainThread,
 29 |                 Compatibility.settings.debugEmojiSupported,
[43/49] Compiling Compatibility CodingFoundation.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Core/Test.swift:27:18: error: cannot infer contextual base in reference to member 'OFF'
 25 |             let context = Compatibility.settings.debugFormat(
 26 |                 "",
 27 |                 .OFF,
    |                  `- error: cannot infer contextual base in reference to member 'OFF'
 28 |                 isMainThread,
 29 |                 Compatibility.settings.debugEmojiSupported,
[44/49] Compiling Compatibility Compatibility.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Compatibility.swift:256:11: error: cannot find type 'FileManager' in scope
254 |
255 | #if !canImport(CoreML) // this isn't available on linux!
256 | extension FileManager {
    |           `- error: cannot find type 'FileManager' in scope
257 |     var ubiquityIdentityToken: String? { nil }
258 | }
[45/49] Compiling Compatibility Application.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Compatibility.swift:256:11: error: cannot find type 'FileManager' in scope
254 |
255 | #if !canImport(CoreML) // this isn't available on linux!
256 | extension FileManager {
    |           `- error: cannot find type 'FileManager' in scope
257 |     var ubiquityIdentityToken: String? { nil }
258 | }
[46/49] Compiling Compatibility Bundle.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Compatibility.swift:256:11: error: cannot find type 'FileManager' in scope
254 |
255 | #if !canImport(CoreML) // this isn't available on linux!
256 | extension FileManager {
    |           `- error: cannot find type 'FileManager' in scope
257 |     var ubiquityIdentityToken: String? { nil }
258 | }
[47/49] Compiling Compatibility CloudStatus.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Compatibility.swift:256:11: error: cannot find type 'FileManager' in scope
254 |
255 | #if !canImport(CoreML) // this isn't available on linux!
256 | extension FileManager {
    |           `- error: cannot find type 'FileManager' in scope
257 |     var ubiquityIdentityToken: String? { nil }
258 | }
[48/49] Compiling Compatibility CloudStorage.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Compatibility.swift:256:11: error: cannot find type 'FileManager' in scope
254 |
255 | #if !canImport(CoreML) // this isn't available on linux!
256 | extension FileManager {
    |           `- error: cannot find type 'FileManager' in scope
257 |     var ubiquityIdentityToken: String? { nil }
258 | }
[49/49] Compiling Compatibility CloudStorageSync.swift
/host/spi-builder-workspace/Sources/Core/Debug.swift:52:41: error: value of type 'String' has no member 'components'
 50 |             let simplerFile = URL(fileURLWithPath: file).lastPathComponent
 51 |             #else
 52 |             let simplerFile = "\(file)".components(separatedBy: "/").last ?? "UNABLE TO GET LAST PATH COMPONENT WITHOUT Foundation.URL"
    |                                         `- error: value of type 'String' has no member 'components'
 53 |             #endif
 54 |             let simplerFunction = function.replacingOccurrences(of: "__preview__", with: "_p_")
/host/spi-builder-workspace/Sources/Compatibility.swift:256:11: error: cannot find type 'FileManager' in scope
254 |
255 | #if !canImport(CoreML) // this isn't available on linux!
256 | extension FileManager {
    |           `- error: cannot find type 'FileManager' in scope
257 |     var ubiquityIdentityToken: String? { nil }
258 | }
BUILD FAILURE 6.2 wasm