Build Information
Failed to build FullyRESTful, reference 3.1.5 (ac769c), with Swift 6.2 for Wasm on 20 Jun 2025 09:27:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/southkin/FullyRESTful.git
Reference: 3.1.5
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/southkin/FullyRESTful
* tag 3.1.5 -> FETCH_HEAD
HEAD is now at ac769c1 curlLog 컨텐츠타입 제외하는코드 제거
Cloned https://github.com/southkin/FullyRESTful.git
Revision (git rev-parse @):
ac769c1d5dd324ed227ff770a9f2b371f0f67808
SUCCESS checkout https://github.com/southkin/FullyRESTful.git at 3.1.5
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/southkin/FullyRESTful.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/southkin/KinKit
[1/198] Fetching kinkit
Fetched https://github.com/southkin/KinKit from cache (0.50s)
Computing version for https://github.com/southkin/KinKit
Computed https://github.com/southkin/KinKit at 1.0.3 (0.96s)
Creating working copy for https://github.com/southkin/KinKit
Working copy of https://github.com/southkin/KinKit resolved at 1.0.3
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling Shared URLRequestExtension.swift
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/URLRequestExtension.swift:9:18: error: cannot find type 'URLRequest' in scope
7 |
8 |
9 | public extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
10 | var curlString: String {
11 | guard let url = self.url else { return "" }
[6/13] Compiling Shared URLSessionExtension.swift
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/URLSessionExtension.swift:8:18: error: cannot find type 'URLSession' in scope
6 | //
7 |
8 | public extension URLSession {
| `- error: cannot find type 'URLSession' in scope
9 | func getData(for request: URLRequest) async throws -> (Data, URLResponse) {
10 | if #available(iOS 15, *) {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/URLSessionExtension.swift:9:60: error: cannot find type 'Data' in scope
7 |
8 | public extension URLSession {
9 | func getData(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'Data' in scope
10 | if #available(iOS 15, *) {
11 | return try await data(for: request)
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/URLSessionExtension.swift:9:66: error: cannot find type 'URLResponse' in scope
7 |
8 | public extension URLSession {
9 | func getData(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLResponse' in scope
10 | if #available(iOS 15, *) {
11 | return try await data(for: request)
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/URLSessionExtension.swift:9:31: error: cannot find type 'URLRequest' in scope
7 |
8 | public extension URLSession {
9 | func getData(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
10 | if #available(iOS 15, *) {
11 | return try await data(for: request)
[7/13] Compiling Shared Shared.swift
[8/13] Compiling Shared StringExtension.swift
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:9:14: error: cannot find type 'Data' in scope
7 |
8 | public extension String {
9 | var data:Data? {
| `- error: cannot find type 'Data' in scope
10 | return data(using: .utf8)
11 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:32:28: error: cannot find type 'CharacterSet' in scope
30 | self
31 | }
32 | func urlEncode(_ chars:CharacterSet = .urlQueryAllowed) -> String? {
| `- error: cannot find type 'CharacterSet' in scope
33 | self.addingPercentEncoding(withAllowedCharacters: chars)
34 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:50:20: error: cannot find type 'NSRange' in scope
48 | return try? JSONDecoder().decode(T.self, from: data)
49 | }
50 | var fullRange: NSRange {
| `- error: cannot find type 'NSRange' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:53:39: error: cannot find type 'NSRegularExpression' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
| `- error: cannot find type 'NSRegularExpression' in scope
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:53:76: error: cannot find type 'NSTextCheckingResult' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
| `- error: cannot find type 'NSTextCheckingResult' in scope
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:53:99: error: cannot find type 'NSRegularExpression' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
| `- error: cannot find type 'NSRegularExpression' in scope
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:53:155: error: cannot find type 'ObjCBool' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
| `- error: cannot find type 'ObjCBool' in scope
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:89:17: error: cannot find type 'URL' in scope
87 | return list
88 | }
89 | var makeURL:URL? {
| `- error: cannot find type 'URL' in scope
90 | return URL(string: self)
91 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:33:14: error: value of type 'String' has no member 'addingPercentEncoding'
31 | }
32 | func urlEncode(_ chars:CharacterSet = .urlQueryAllowed) -> String? {
33 | self.addingPercentEncoding(withAllowedCharacters: chars)
| `- error: value of type 'String' has no member 'addingPercentEncoding'
34 | }
35 | var dict:[String:Any]? {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/EncodableExtension.swift:39:15: error: cannot find type 'Data' in scope
37 | }
38 |
39 | var data: Data? {
| `- error: cannot find type 'Data' in scope
40 | return try? JSONEncoder().encode(self)
41 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:39:44: error: cannot infer contextual base in reference to member 'utf8'
37 | }
38 | func makeJsonObj<T>() -> T? {
39 | guard let data = self.data(using: .utf8) else {return nil}
| `- error: cannot infer contextual base in reference to member 'utf8'
40 | return try? JSONSerialization.jsonObject(with: data) as? T
41 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:40:21: error: cannot find 'JSONSerialization' in scope
38 | func makeJsonObj<T>() -> T? {
39 | guard let data = self.data(using: .utf8) else {return nil}
40 | return try? JSONSerialization.jsonObject(with: data) as? T
| `- error: cannot find 'JSONSerialization' in scope
41 | }
42 | func makeObj<T:Decodable>() -> T? {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:43:44: error: cannot infer contextual base in reference to member 'utf8'
41 | }
42 | func makeObj<T:Decodable>() -> T? {
43 | guard let data = self.data(using: .utf8) else {return nil}
| `- error: cannot infer contextual base in reference to member 'utf8'
44 | return try? JSONDecoder().decode(T.self, from: data)
45 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:44:21: error: cannot find 'JSONDecoder' in scope
42 | func makeObj<T:Decodable>() -> T? {
43 | guard let data = self.data(using: .utf8) else {return nil}
44 | return try? JSONDecoder().decode(T.self, from: data)
| `- error: cannot find 'JSONDecoder' in scope
45 | }
46 | func makeObj<T:Decodable>(t:T.Type) -> T? {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:47:44: error: cannot infer contextual base in reference to member 'utf8'
45 | }
46 | func makeObj<T:Decodable>(t:T.Type) -> T? {
47 | guard let data = self.data(using: .utf8) else {return nil}
| `- error: cannot infer contextual base in reference to member 'utf8'
48 | return try? JSONDecoder().decode(T.self, from: data)
49 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:48:21: error: cannot find 'JSONDecoder' in scope
46 | func makeObj<T:Decodable>(t:T.Type) -> T? {
47 | guard let data = self.data(using: .utf8) else {return nil}
48 | return try? JSONDecoder().decode(T.self, from: data)
| `- error: cannot find 'JSONDecoder' in scope
49 | }
50 | var fullRange: NSRange {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:54:24: error: cannot find 'NSRegularExpression' in scope
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
| `- error: cannot find 'NSRegularExpression' in scope
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
56 | block(result,flags,stop)
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:61:26: error: cannot find 'NSRegularExpression' in scope
59 | }
60 | func matches(pattern:String,with name:String?) -> [String]? {
61 | let regex = try? NSRegularExpression(pattern: pattern)
| `- error: cannot find 'NSRegularExpression' in scope
62 | let result = regex?.matches(in: self, range: fullRange)
63 | return result?.map({ (ele) -> String? in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:64:23: error: cannot find type 'NSRange' in scope
62 | let result = regex?.matches(in: self, range: fullRange)
63 | return result?.map({ (ele) -> String? in
64 | var range:NSRange?
| `- error: cannot find type 'NSRange' in scope
65 | if let name = name {
66 | range = ele.range(withName: name)
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:73:12: error: type of expression is ambiguous without a type annotation
71 | guard let r = range else {return nil}
72 | return (self as NSString).substring(with: r)
73 | }).compactMap{$0}
| `- error: type of expression is ambiguous without a type annotation
74 | }
75 | func matches(pattern:String, with names:[String]) -> [[String:String]] {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:77:26: error: cannot find 'NSRegularExpression' in scope
75 | func matches(pattern:String, with names:[String]) -> [[String:String]] {
76 | var list = [[String:String]]()
77 | let regex = try? NSRegularExpression(pattern: pattern)
| `- error: cannot find 'NSRegularExpression' in scope
78 | let result = regex?.matches(in: self, range: fullRange)
79 | result?.forEach { match in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:81:33: error: cannot find type 'NSString' in scope
79 | result?.forEach { match in
80 | var item = [String:String]()
81 | item[""] = (self as NSString).substring(with: match.range)
| `- error: cannot find type 'NSString' in scope
82 | names.forEach {
83 | item[$0] = (self as NSString).substring(with: match.range(withName: $0))
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:81:43: error: value of type 'String' has no member 'substring'
79 | result?.forEach { match in
80 | var item = [String:String]()
81 | item[""] = (self as NSString).substring(with: match.range)
| `- error: value of type 'String' has no member 'substring'
82 | names.forEach {
83 | item[$0] = (self as NSString).substring(with: match.range(withName: $0))
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:94:29: error: cannot find 'NSRegularExpression' in scope
92 | func replaceRegex(pattern:String, replaceWith:String = "") -> String {
93 | do {
94 | let regex = try NSRegularExpression(pattern: pattern, options: NSRegularExpression.Options.caseInsensitive)
| `- error: cannot find 'NSRegularExpression' in scope
95 | let range = NSMakeRange(0, self.count)
96 | return regex.stringByReplacingMatches(in: self, options: [], range: range, withTemplate: replaceWith)
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:94:76: error: cannot find 'NSRegularExpression' in scope
92 | func replaceRegex(pattern:String, replaceWith:String = "") -> String {
93 | do {
94 | let regex = try NSRegularExpression(pattern: pattern, options: NSRegularExpression.Options.caseInsensitive)
| `- error: cannot find 'NSRegularExpression' in scope
95 | let range = NSMakeRange(0, self.count)
96 | return regex.stringByReplacingMatches(in: self, options: [], range: range, withTemplate: replaceWith)
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:95:25: error: cannot find 'NSMakeRange' in scope
93 | do {
94 | let regex = try NSRegularExpression(pattern: pattern, options: NSRegularExpression.Options.caseInsensitive)
95 | let range = NSMakeRange(0, self.count)
| `- error: cannot find 'NSMakeRange' in scope
96 | return regex.stringByReplacingMatches(in: self, options: [], range: range, withTemplate: replaceWith)
97 | } catch {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:147:16: error: cannot find 'NSLocalizedString' in scope
145 | }
146 | var localized:String {
147 | return NSLocalizedString(self, comment: "")
| `- error: cannot find 'NSLocalizedString' in scope
148 | }
149 | func localized(comment:String = "") -> String {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:150:16: error: cannot find 'NSLocalizedString' in scope
148 | }
149 | func localized(comment:String = "") -> String {
150 | return NSLocalizedString(self, comment: comment)
| `- error: cannot find 'NSLocalizedString' in scope
151 | }
152 | func localized(with argument:CVarArg..., comment:String = "") -> String {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:153:22: error: incorrect argument labels in call (have 'format:_:', expected 'repeating:count:')
151 | }
152 | func localized(with argument:CVarArg..., comment:String = "") -> String {
153 | return String(format: self.localized(comment: comment), argument)
| `- error: incorrect argument labels in call (have 'format:_:', expected 'repeating:count:')
154 | }
155 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:153:65: error: cannot convert value of type 'any CVarArg...' to expected argument type 'Int'
151 | }
152 | func localized(with argument:CVarArg..., comment:String = "") -> String {
153 | return String(format: self.localized(comment: comment), argument)
| `- error: cannot convert value of type 'any CVarArg...' to expected argument type 'Int'
154 | }
155 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:161:28: error: value of type 'String' has no member 'compare'
159 | public extension Version {
160 | static func ==(lhs: Version, rhs: Version) -> Bool {
161 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: value of type 'String' has no member 'compare'
162 | }
163 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:161:59: error: cannot infer contextual base in reference to member 'numeric'
159 | public extension Version {
160 | static func ==(lhs: Version, rhs: Version) -> Bool {
161 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: cannot infer contextual base in reference to member 'numeric'
162 | }
163 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:165:28: error: value of type 'String' has no member 'compare'
163 |
164 | static func <(lhs: Version, rhs: Version) -> Bool {
165 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedAscending
| `- error: value of type 'String' has no member 'compare'
166 | }
167 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:165:59: error: cannot infer contextual base in reference to member 'numeric'
163 |
164 | static func <(lhs: Version, rhs: Version) -> Bool {
165 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedAscending
| `- error: cannot infer contextual base in reference to member 'numeric'
166 | }
167 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:169:28: error: value of type 'String' has no member 'compare'
167 |
168 | static func <=(lhs: Version, rhs: Version) -> Bool {
169 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedAscending || lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: value of type 'String' has no member 'compare'
170 | }
171 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:169:59: error: cannot infer contextual base in reference to member 'numeric'
167 |
168 | static func <=(lhs: Version, rhs: Version) -> Bool {
169 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedAscending || lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: cannot infer contextual base in reference to member 'numeric'
170 | }
171 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:169:104: error: value of type 'String' has no member 'compare'
167 |
168 | static func <=(lhs: Version, rhs: Version) -> Bool {
169 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedAscending || lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: value of type 'String' has no member 'compare'
170 | }
171 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:169:135: error: cannot infer contextual base in reference to member 'numeric'
167 |
168 | static func <=(lhs: Version, rhs: Version) -> Bool {
169 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedAscending || lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: cannot infer contextual base in reference to member 'numeric'
170 | }
171 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:173:28: error: value of type 'String' has no member 'compare'
171 |
172 | static func >(lhs: Version, rhs: Version) -> Bool {
173 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedDescending
| `- error: value of type 'String' has no member 'compare'
174 | }
175 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:173:59: error: cannot infer contextual base in reference to member 'numeric'
171 |
172 | static func >(lhs: Version, rhs: Version) -> Bool {
173 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedDescending
| `- error: cannot infer contextual base in reference to member 'numeric'
174 | }
175 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:177:28: error: value of type 'String' has no member 'compare'
175 |
176 | static func >=(lhs: Version, rhs: Version) -> Bool {
177 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedDescending || lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: value of type 'String' has no member 'compare'
178 | }
179 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:177:59: error: cannot infer contextual base in reference to member 'numeric'
175 |
176 | static func >=(lhs: Version, rhs: Version) -> Bool {
177 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedDescending || lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: cannot infer contextual base in reference to member 'numeric'
178 | }
179 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:177:105: error: value of type 'String' has no member 'compare'
175 |
176 | static func >=(lhs: Version, rhs: Version) -> Bool {
177 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedDescending || lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: value of type 'String' has no member 'compare'
178 | }
179 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:177:136: error: cannot infer contextual base in reference to member 'numeric'
175 |
176 | static func >=(lhs: Version, rhs: Version) -> Bool {
177 | return lhs.version.compare(rhs.version, options: .numeric) == .orderedDescending || lhs.version.compare(rhs.version, options: .numeric) == .orderedSame
| `- error: cannot infer contextual base in reference to member 'numeric'
178 | }
179 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Emitting module Shared
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DataExtension.swift:9:18: error: cannot find type 'Data' in scope
7 |
8 |
9 | public extension Data {
| `- error: cannot find type 'Data' in scope
10 | func makeObj<T:Decodable>() -> T? {
11 | return try? JSONDecoder().decode(T.self, from: self)
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DecimalExtension.swift:9:18: error: cannot find type 'Decimal' in scope
7 |
8 |
9 | public extension Decimal {
| `- error: cannot find type 'Decimal' in scope
10 | func rounded(scale: Int = 0, mode: NSDecimalNumber.RoundingMode = .plain) -> Decimal {
11 | let handler = NSDecimalNumberHandler(
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/EncodableExtension.swift:39:15: error: cannot find type 'Data' in scope
37 | }
38 |
39 | var data: Data? {
| `- error: cannot find type 'Data' in scope
40 | return try? JSONEncoder().encode(self)
41 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/EncodableExtension.swift:43:37: error: cannot find type 'Data' in scope
41 | }
42 |
43 | func dataWithThrows() throws -> Data {
| `- error: cannot find type 'Data' in scope
44 | return try JSONEncoder().encode(self)
45 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:9:14: error: cannot find type 'Data' in scope
7 |
8 | public extension String {
9 | var data:Data? {
| `- error: cannot find type 'Data' in scope
10 | return data(using: .utf8)
11 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:32:28: error: cannot find type 'CharacterSet' in scope
30 | self
31 | }
32 | func urlEncode(_ chars:CharacterSet = .urlQueryAllowed) -> String? {
| `- error: cannot find type 'CharacterSet' in scope
33 | self.addingPercentEncoding(withAllowedCharacters: chars)
34 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:50:20: error: cannot find type 'NSRange' in scope
48 | return try? JSONDecoder().decode(T.self, from: data)
49 | }
50 | var fullRange: NSRange {
| `- error: cannot find type 'NSRange' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:53:39: error: cannot find type 'NSRegularExpression' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
| `- error: cannot find type 'NSRegularExpression' in scope
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:53:76: error: cannot find type 'NSTextCheckingResult' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
| `- error: cannot find type 'NSTextCheckingResult' in scope
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:53:99: error: cannot find type 'NSRegularExpression' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
| `- error: cannot find type 'NSRegularExpression' in scope
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:53:155: error: cannot find type 'ObjCBool' in scope
51 | return NSRange(location: 0, length: self.count)
52 | }
53 | func regex(pattern:String,options:NSRegularExpression.Options,_ block:(NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) {
| `- error: cannot find type 'ObjCBool' in scope
54 | let reg = try? NSRegularExpression(pattern: pattern, options: options)
55 | reg?.enumerateMatches(in: self, options: [], range: fullRange){ result, flags, stop in
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/StringExtension.swift:89:17: error: cannot find type 'URL' in scope
87 | return list
88 | }
89 | var makeURL:URL? {
| `- error: cannot find type 'URL' in scope
90 | return URL(string: self)
91 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/URLRequestExtension.swift:9:18: error: cannot find type 'URLRequest' in scope
7 |
8 |
9 | public extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
10 | var curlString: String {
11 | guard let url = self.url else { return "" }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/URLSessionExtension.swift:8:18: error: cannot find type 'URLSession' in scope
6 | //
7 |
8 | public extension URLSession {
| `- error: cannot find type 'URLSession' in scope
9 | func getData(for request: URLRequest) async throws -> (Data, URLResponse) {
10 | if #available(iOS 15, *) {
[10/13] Compiling Shared EncodableExtension.swift
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/EncodableExtension.swift:39:15: error: cannot find type 'Data' in scope
37 | }
38 |
39 | var data: Data? {
| `- error: cannot find type 'Data' in scope
40 | return try? JSONEncoder().encode(self)
41 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/EncodableExtension.swift:43:37: error: cannot find type 'Data' in scope
41 | }
42 |
43 | func dataWithThrows() throws -> Data {
| `- error: cannot find type 'Data' in scope
44 | return try JSONEncoder().encode(self)
45 | }
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/EncodableExtension.swift:12:34: error: cannot find 'JSONSerialization' in scope
10 | guard let data = self.data else { return nil }
11 | do {
12 | let jsonObject = try JSONSerialization.jsonObject(with: data, options: [])
| `- error: cannot find 'JSONSerialization' in scope
13 | return jsonObject as? [String: Any]
14 | } catch {
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/EncodableExtension.swift:36:46: error: extra argument 'encoding' in call
34 | var JSONString: String? {
35 | guard let data = self.data else { return nil }
36 | return String(data: data, encoding: .utf8)
| `- error: extra argument 'encoding' in call
37 | }
38 |
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/EncodableExtension.swift:36:46: error: cannot infer contextual base in reference to member 'utf8'
34 | var JSONString: String? {
35 | guard let data = self.data else { return nil }
36 | return String(data: data, encoding: .utf8)
| `- error: cannot infer contextual base in reference to member 'utf8'
37 | }
38 |
[11/13] Compiling Shared DataExtension.swift
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DataExtension.swift:9:18: error: cannot find type 'Data' in scope
7 |
8 |
9 | public extension Data {
| `- error: cannot find type 'Data' in scope
10 | func makeObj<T:Decodable>() -> T? {
11 | return try? JSONDecoder().decode(T.self, from: self)
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DataExtension.swift:19:33: error: 'Encoding' is not a member type of struct 'Swift.String'
17 | return try? JSONSerialization.jsonObject(with: self) as? [String:Any]
18 | }
19 | func string(encoding:String.Encoding = .utf8) -> String {
| `- error: 'Encoding' is not a member type of struct 'Swift.String'
20 | return String(data: self, encoding: encoding) ?? ""
21 | }
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[12/13] Compiling Shared DictionaryExtension.swift
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DictionaryExtension.swift:12:39: error: value of type 'String' has no member 'addingPercentEncoding'
10 | var queryString: String {
11 | return self.map { (key, value) in
12 | let escapedKey = "\(key)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? ""
| `- error: value of type 'String' has no member 'addingPercentEncoding'
13 | let escapedValue = "\(value)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? ""
14 | return "\(escapedKey)=\(escapedValue)"
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DictionaryExtension.swift:12:85: error: cannot infer contextual base in reference to member 'urlQueryAllowed'
10 | var queryString: String {
11 | return self.map { (key, value) in
12 | let escapedKey = "\(key)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? ""
| `- error: cannot infer contextual base in reference to member 'urlQueryAllowed'
13 | let escapedValue = "\(value)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? ""
14 | return "\(escapedKey)=\(escapedValue)"
[13/13] Compiling Shared DecimalExtension.swift
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DecimalExtension.swift:9:18: error: cannot find type 'Decimal' in scope
7 |
8 |
9 | public extension Decimal {
| `- error: cannot find type 'Decimal' in scope
10 | func rounded(scale: Int = 0, mode: NSDecimalNumber.RoundingMode = .plain) -> Decimal {
11 | let handler = NSDecimalNumberHandler(
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DecimalExtension.swift:10:82: error: cannot find type 'Decimal' in scope
8 |
9 | public extension Decimal {
10 | func rounded(scale: Int = 0, mode: NSDecimalNumber.RoundingMode = .plain) -> Decimal {
| `- error: cannot find type 'Decimal' in scope
11 | let handler = NSDecimalNumberHandler(
12 | roundingMode: mode,
/host/spi-builder-workspace/.build/checkouts/KinKit/Sources/Shared/DecimalExtension.swift:10:40: error: cannot find type 'NSDecimalNumber' in scope
8 |
9 | public extension Decimal {
10 | func rounded(scale: Int = 0, mode: NSDecimalNumber.RoundingMode = .plain) -> Decimal {
| `- error: cannot find type 'NSDecimalNumber' in scope
11 | let handler = NSDecimalNumberHandler(
12 | roundingMode: mode,
BUILD FAILURE 6.2 wasm