Build Information
Failed to build SwiftAWSS3, reference master (8602c5
), with Swift 6.1 for Android on 28 May 2025 15:40:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/swiftawss3.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/benspratling4/swiftawss3
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8602c5e Update to swift 5.6, apple swift crypto
Cloned https://github.com/benspratling4/swiftawss3.git
Revision (git rev-parse @):
8602c5e78fcf31e1231dfea6b8c2fdaef6d651ac
SUCCESS checkout https://github.com/benspratling4/swiftawss3.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/benspratling4/swiftawss3.git
https://github.com/benspratling4/swiftawss3.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftawssignaturev4",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.1",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/benspratling4/SwiftAWSSignatureV4.git"
},
{
"identity" : "swiftpatterns",
"requirement" : {
"range" : [
{
"lower_bound" : "4.3.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/benspratling4/SwiftPatterns.git"
}
],
"manifest_display_name" : "SwiftAWSS3",
"name" : "SwiftAWSS3",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftAWSS3",
"targets" : [
"SwiftAWSS3"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftAWSS3Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftAWSS3Tests",
"path" : "Tests/SwiftAWSS3Tests",
"sources" : [
"GETTests.swift"
],
"target_dependencies" : [
"SwiftAWSS3"
],
"type" : "test"
},
{
"c99name" : "SwiftAWSS3",
"module_type" : "SwiftTarget",
"name" : "SwiftAWSS3",
"path" : "Sources/SwiftAWSS3",
"product_dependencies" : [
"SwiftAWSSignatureV4",
"SwiftPatterns"
],
"product_memberships" : [
"SwiftAWSS3"
],
"sources" : [
"AWSBucket.swift",
"ListBucketResult.swift",
"S3PutComponents.swift",
"ServerSideEncryption.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/benspratling4/SwiftAWSSignatureV4.git
Fetching https://github.com/benspratling4/SwiftPatterns.git
[1/301] Fetching swiftpatterns
[302/538] Fetching swiftpatterns, swiftawssignaturev4
Fetched https://github.com/benspratling4/SwiftPatterns.git from cache (0.28s)
Fetched https://github.com/benspratling4/SwiftAWSSignatureV4.git from cache (0.28s)
Computing version for https://github.com/benspratling4/SwiftAWSSignatureV4.git
Computed https://github.com/benspratling4/SwiftAWSSignatureV4.git at 3.0.1 (0.77s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.47s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (1.98s)
Computing version for https://github.com/benspratling4/SwiftPatterns.git
Computed https://github.com/benspratling4/SwiftPatterns.git at 4.5.0 (3.38s)
Creating working copy for https://github.com/benspratling4/SwiftAWSSignatureV4.git
Working copy of https://github.com/benspratling4/SwiftAWSSignatureV4.git resolved at 3.0.1
Creating working copy for https://github.com/benspratling4/SwiftPatterns.git
Working copy of https://github.com/benspratling4/SwiftPatterns.git resolved at 4.5.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
warning: 'swiftpatterns': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/PrivacyInfo.xcprivacy
Building for debugging...
[0/423] Write sources
[4/423] Compiling asn1_par.c
[5/423] Write sources
[6/423] Compiling a_type.c
[7/423] Compiling a_time.c
[8/423] Compiling a_strex.c
[9/423] Compiling asn1_lib.c
[10/423] Compiling a_strnid.c
[11/423] Write swift-version-24593BA9C3E375BF.txt
[12/423] Compiling a_utctm.c
[13/423] Compiling fiat_curve25519_adx_square.S
[14/423] Compiling fiat_curve25519_adx_mul.S
[15/423] Compiling v3_skey.c
[16/423] Compiling v3_purp.c
[17/423] Compiling CCryptoBoringSSLShims shims.c
[18/423] Compiling v3_utl.c
[19/443] Compiling v3_prn.c
[20/446] Compiling v3_pmaps.c
[21/446] Compiling v3_ocsp.c
[22/446] Compiling v3_lib.c
[23/446] Compiling v3_ncons.c
[24/446] Compiling v3_int.c
[25/446] Compiling v3_pcons.c
[26/446] Compiling v3_info.c
[27/446] Compiling v3_enum.c
[28/446] Compiling v3_ia5.c
[29/446] Compiling v3_genn.c
[30/446] Compiling v3_extku.c
[31/446] Compiling v3_crld.c
[32/446] Compiling v3_cpols.c
[33/446] Compiling v3_conf.c
[34/446] Compiling v3_bitst.c
[35/446] Compiling v3_akeya.c
[36/446] Compiling v3_bcons.c
[37/446] Compiling x_x509a.c
[38/446] Compiling v3_akey.c
[39/446] Compiling v3_alt.c
[40/446] Compiling x_val.c
[41/446] Compiling x_x509.c
[42/446] Compiling x_sig.c
[43/446] Compiling x_spki.c
[44/446] Compiling x_req.c
[45/446] Compiling x_pubkey.c
[46/446] Compiling x_pkey.c
[47/446] Compiling x_info.c
[48/446] Compiling x_name.c
[49/446] Compiling x_exten.c
[50/446] Compiling x_algor.c
[51/446] Compiling x_attrib.c
[52/446] Compiling x509spki.c
[53/446] Compiling x_crl.c
[54/446] Compiling x_all.c
[55/446] Compiling x509rset.c
[56/446] Compiling x509name.c
[57/446] Compiling x509cset.c
[58/446] Compiling x509_vpm.c
[59/446] Compiling x509_txt.c
[60/446] Compiling x509_set.c
[61/446] Compiling x509_v3.c
[62/446] Compiling x509_trs.c
[63/446] Compiling x509_req.c
[64/446] Compiling x509_vfy.c
[65/446] Compiling x509_obj.c
[66/446] Compiling x509_d2.c
[67/446] Compiling x509_def.c
[68/446] Compiling x509_lu.c
[69/446] Compiling x509_ext.c
[70/446] Compiling x509_att.c
[71/446] Compiling x509.c
[72/446] Compiling x509_cmp.c
[73/446] Compiling t_x509a.c
[74/446] Compiling t_crl.c
[75/446] Compiling rsa_pss.c
[75/446] Compiling t_x509.c
[77/446] Compiling t_req.c
[78/446] Compiling i2d_pr.c
[79/446] Compiling name_print.c
[80/446] Compiling policy.c
[81/446] Compiling by_file.c
[82/446] Compiling asn1_gen.c
[83/446] Compiling by_dir.c
[84/446] Compiling a_verify.c
[85/446] Compiling algorithm.c
[86/446] Compiling thread_win.c
[87/446] Compiling a_digest.c
[88/446] Compiling a_sign.c
[89/446] Compiling thread_pthread.c
[90/446] Compiling trust_token.c
[91/446] Compiling thread.c
[92/446] Compiling voprf.c
[93/446] Compiling siphash.c
[94/446] Compiling stack.c
[95/446] Compiling pmbtoken.c
[96/446] Compiling thread_none.c
[97/446] Compiling rsa_print.c
[98/446] Compiling refcount.c
[99/446] Compiling rc4.c
[100/446] Compiling rsa_asn1.c
[101/446] Compiling rsa_crypt.c
[102/446] Compiling rand_extra.c
[103/446] Compiling windows.c
[104/446] Compiling trusty.c
[105/446] Compiling passive.c
[106/446] Compiling ios.c
[107/446] Compiling deterministic.c
[108/446] Compiling getentropy.c
[109/446] Compiling poly1305_arm_asm.S
[110/446] Compiling poly1305_arm.c
[111/446] Compiling forkunsafe.c
[112/446] Compiling poly1305_vec.c
[113/446] Compiling pool.c
[114/446] Compiling poly1305.c
[115/446] Compiling pkcs7.c
[116/446] Compiling pkcs8_x509.c
[117/446] Compiling pkcs7_x509.c
[118/446] Compiling pkcs8.c
[119/446] Compiling p5_pbev2.c
[120/446] Compiling pem_xaux.c
[121/446] Compiling pem_pkey.c
[122/446] Compiling pem_x509.c
[123/446] Compiling pem_oth.c
[124/446] Compiling pem_lib.c
[125/446] Compiling obj_xref.c
[126/446] Compiling pem_info.c
[127/446] Compiling mem.c
[128/446] Compiling lhash.c
[128/446] Compiling obj.c
[130/446] Compiling pem_pk8.c
[131/446] Compiling keccak.c
[132/446] Compiling x86_64-mont5-linux.linux.x86_64.S
[133/446] Compiling poly_rq_mul.S
[134/446] Compiling kyber.c
[135/446] Compiling x86_64-mont5-mac.mac.x86_64.S
[136/446] Compiling pem_all.c
[137/446] Compiling x86_64-mont-mac.mac.x86_64.S
[138/446] Compiling x86-mont-windows.windows.x86.S
[139/446] Compiling hpke.c
[140/446] Compiling x86-mont-linux.linux.x86.S
[141/446] Compiling x86_64-mont-linux.linux.x86_64.S
[142/446] Compiling vpaes-x86_64-mac.mac.x86_64.S
[143/446] Compiling vpaes-x86_64-linux.linux.x86_64.S
[144/446] Compiling vpaes-x86-linux.linux.x86.S
[145/446] Compiling vpaes-x86-windows.windows.x86.S
[146/446] Compiling vpaes-armv8-ios.ios.aarch64.S
[147/446] Compiling vpaes-armv8-linux.linux.aarch64.S
[148/446] Compiling vpaes-armv7-linux.linux.arm.S
[149/446] Compiling vpaes-armv7-ios.ios.arm.S
[150/446] Compiling sha512-x86_64-linux.linux.x86_64.S
[151/446] Compiling sha512-armv8-ios.ios.aarch64.S
[152/446] Compiling sha512-x86_64-mac.mac.x86_64.S
[153/446] Compiling kdf.c
[154/446] Compiling sha512-armv4-linux.linux.arm.S
[155/446] Compiling sha512-armv4-ios.ios.arm.S
[156/446] Compiling sha512-armv8-linux.linux.aarch64.S
[157/446] Compiling sha512-586-windows.windows.x86.S
[158/446] Compiling hrss.c
[159/446] Compiling sha512-586-linux.linux.x86.S
[160/446] Compiling sha256-x86_64-mac.mac.x86_64.S
[161/446] Compiling sha256-armv8-ios.ios.aarch64.S
[162/446] Compiling sha256-x86_64-linux.linux.x86_64.S
[163/446] Compiling sha256-armv4-linux.linux.arm.S
[164/446] Compiling sha256-armv8-linux.linux.aarch64.S
[165/446] Compiling sha256-armv4-ios.ios.arm.S
[166/446] Compiling sha1-x86_64-linux.linux.x86_64.S
[167/446] Compiling sha256-586-windows.windows.x86.S
[167/446] Compiling sha256-586-linux.linux.x86.S
[169/446] Compiling sha1-x86_64-mac.mac.x86_64.S
[170/446] Compiling sha1-armv8-ios.ios.aarch64.S
[171/446] Compiling sha1-armv4-large-linux.linux.arm.S
[172/446] Compiling sha1-586-windows.windows.x86.S
[173/446] Compiling sha1-armv8-linux.linux.aarch64.S
[174/446] Compiling sha1-armv4-large-ios.ios.arm.S
[175/446] Compiling sha1-586-linux.linux.x86.S
[176/446] Compiling sha512.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[178/446] Emitting module SwiftPatterns
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | fileprivate let directoryURL:URL
24 | fileprivate let extensions:Set<String>
25 | fileprivate var directoryMonitor:DirectoryMonitor?
| `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
85 | let xmlParser:XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | var nodeStack:[XMLItem]
87 | var completion:((_ node:XMLItem?, _ error:Error?)->())?
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | }
100 |
101 | public func parserDidEndDocument(_ parser:XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | completion?(nodeStack.first, nil)
103 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
104 | }
105 |
106 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | let newNode:XMLItem = XMLItem()
108 | newNode.name = elementName
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
112 | }
113 |
114 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | nodeStack.removeLast()
116 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
116 | }
117 |
118 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | let topNode:XMLItem = nodeStack.last!
120 | if let lastChild = topNode.children.last as? String {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
126 | }
127 |
128 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
129 | completion?(nil, parseError)
130 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
82 |
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
85 | let xmlParser:XMLParser
86 | var nodeStack:[XMLItem]
[178/449] Compiling rsaz-avx2-mac.mac.x86_64.S
[179/449] Compiling sha256.c
[180/449] Compiling fips.c
[181/449] Compiling rsaz-avx2-linux.linux.x86_64.S
[182/449] Compiling sha1.c
[183/449] Compiling service_indicator.c
[184/449] Compiling rdrand-x86_64-mac.mac.x86_64.S
[185/449] Compiling rdrand-x86_64-linux.linux.x86_64.S
[186/449] Compiling padding.c
[187/449] Compiling rsa.c
[188/449] Compiling rsa_impl.c
[189/449] Compiling self_check.c
[190/449] Compiling blinding.c
[191/449] Compiling rand.c
[192/449] Compiling urandom.c
[193/449] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[193/449] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[193/449] Compiling fork_detect.c
[196/449] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[196/449] Compiling ctrdrbg.c
[198/449] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[199/449] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[200/449] Compiling p256-armv8-asm-linux.linux.aarch64.S
[201/449] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[202/449] Compiling p256-armv8-asm-ios.ios.aarch64.S
[203/449] Compiling polyval.c
[204/449] Compiling gcm_nohw.c
[205/449] Compiling ofb.c
[206/449] Compiling ctr.c
[207/449] Compiling cfb.c
[207/449] Compiling cbc.c
[209/449] Compiling gcm.c
[210/449] Compiling md5-x86_64-mac.mac.x86_64.S
[211/449] Compiling md5-586-windows.windows.x86.S
[212/449] Compiling md5.c
[213/449] Compiling md5-x86_64-linux.linux.x86_64.S
[214/449] Compiling md5-586-linux.linux.x86.S
[215/449] Compiling hkdf.c
[216/449] Compiling hmac.c
[217/449] Compiling ghashv8-armv7-linux.linux.arm.S
[218/449] Compiling ghashv8-armv8-linux.linux.aarch64.S
[219/449] Compiling ghashv8-armv8-ios.ios.aarch64.S
[220/449] Compiling ghashv8-armv7-ios.ios.arm.S
[221/449] Compiling md4.c
[222/449] Compiling ghash-x86_64-linux.linux.x86_64.S
[223/449] Compiling ghash-x86_64-mac.mac.x86_64.S
[224/449] Compiling ghash-x86-windows.windows.x86.S
[225/449] Compiling ghash-ssse3-x86-windows.windows.x86.S
[226/449] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[226/449] Compiling ghash-x86-linux.linux.x86.S
[228/449] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[229/449] Compiling ghash-ssse3-x86-linux.linux.x86.S
[230/449] Compiling fips_shared_support.c
[231/449] Compiling ghash-armv4-linux.linux.arm.S
[232/449] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[233/449] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[234/449] Compiling ghash-armv4-ios.ios.arm.S
[235/449] Compiling simple_mul.c
[236/449] Compiling ecdsa.c
[237/449] Compiling simple.c
[238/449] Compiling util.c
[239/449] Compiling wnaf.c
[239/449] Compiling ecdh.c
[241/449] Compiling scalar.c
[242/449] Compiling oct.c
[243/449] Compiling felem.c
[244/449] Compiling ec_key.c
[245/449] Compiling p256.c
[246/449] Compiling ec_montgomery.c
[247/449] Compiling p224-64.c
[247/449] Compiling digestsign.c
[249/449] Compiling ec.c
[250/449] Compiling digests.c
[251/449] Compiling co-586-windows.windows.x86.S
[252/449] Compiling digest.c
[253/449] Compiling co-586-linux.linux.x86.S
[254/449] Compiling dh.c
[255/449] Compiling cmac.c
[256/449] Compiling check.c
[257/449] Compiling bsaes-armv7-linux.linux.arm.S
[258/449] Compiling bsaes-armv7-ios.ios.arm.S
[259/449] Compiling p256-nistz.c
[260/449] Compiling e_aes.c
[261/449] Compiling e_aesccm.c
[262/449] Compiling rsaz_exp.c
[263/449] Compiling aead.c
[263/449] Compiling cipher.c
[265/449] Compiling sqrt.c
[266/449] Compiling shift.c
[267/449] Compiling mul.c
[268/449] Compiling prime.c
[268/449] Compiling random.c
[270/449] Compiling montgomery_inv.c
[270/449] Compiling jacobi.c
[272/449] Compiling montgomery.c
[273/449] Compiling gcd.c
[274/449] Compiling gcd_extra.c
[275/449] Compiling div_extra.c
[275/449] Compiling exponentiation.c
[277/449] Compiling ctx.c
[278/449] Compiling generic.c
[279/449] Compiling div.c
[280/449] Compiling x86_64-gcc.c
[281/449] Compiling cmp.c
[282/449] Compiling bytes.c
[283/449] Compiling bn.c
[284/449] Compiling bn-armv8-ios.ios.aarch64.S
[285/449] Compiling bn-586-windows.windows.x86.S
[286/449] Compiling bn-armv8-linux.linux.aarch64.S
[287/449] Compiling add.c
[288/449] Compiling bn-586-linux.linux.x86.S
[289/449] Compiling armv8-mont-ios.ios.aarch64.S
[290/449] Compiling armv4-mont-linux.linux.arm.S
[291/449] Compiling armv4-mont-ios.ios.arm.S
[292/449] Compiling armv8-mont-linux.linux.aarch64.S
[293/449] Compiling aesv8-armv8-linux.linux.aarch64.S
[294/449] Compiling aesv8-gcm-armv8-ios.ios.aarch64.S
[295/449] Compiling aesv8-gcm-armv8-linux.linux.aarch64.S
[296/449] Compiling aesv8-armv8-ios.ios.aarch64.S
[296/449] Compiling aesv8-armv7-ios.ios.arm.S
[296/449] Compiling aesni-x86_64-mac.mac.x86_64.S
[296/449] Compiling aesni-x86_64-linux.linux.x86_64.S
[300/449] Compiling aesv8-armv7-linux.linux.arm.S
[301/449] Compiling aesni-x86-windows.windows.x86.S
[302/449] Compiling aesni-x86-linux.linux.x86.S
[303/449] Compiling aesni-gcm-x86_64-mac.mac.x86_64.S
[304/449] Compiling aesni-gcm-x86_64-linux.linux.x86_64.S
[305/449] Compiling mode_wrappers.c
[306/449] Compiling aes.c
[307/449] Compiling key_wrap.c
[308/449] Compiling sign.c
[309/449] Compiling aes_nohw.c
[310/449] Compiling scrypt.c
[311/449] Compiling ex_data.c
[312/449] Compiling print.c
[313/449] Compiling p_x25519_asn1.c
[314/449] Compiling pbkdf.c
[315/449] Compiling p_x25519.c
[316/449] Compiling p_rsa_asn1.c
[317/449] Compiling p_rsa.c
[318/449] Compiling p_ed25519.c
[319/449] Compiling p_ed25519_asn1.c
[320/449] Compiling p_hkdf.c
[321/449] Compiling p_ec.c
[322/449] Compiling p_ec_asn1.c
[323/449] Compiling evp_ctx.c
[324/449] Compiling evp.c
[325/449] Compiling p_dsa_asn1.c
[326/449] Compiling err_data.c
[327/449] Compiling err.c
[328/449] Compiling engine.c
[329/449] Compiling evp_asn1.c
[330/449] Compiling ecdsa_asn1.c
[331/449] Compiling ec_derive.c
[332/449] Compiling ecdh_extra.c
[333/449] Compiling dsa.c
[334/449] Compiling dsa_asn1.c
[335/449] Compiling ec_asn1.c
[335/449] Compiling hash_to_curve.c
[337/449] Compiling params.c
[338/449] Compiling dh_asn1.c
[339/449] Compiling digest_extra.c
[340/449] Compiling x25519-asm-arm.S
[341/449] Compiling cpu_intel.c
[342/449] Compiling spake25519.c
[343/449] Compiling des.c
[344/449] Compiling cpu_arm_freebsd.c
[345/449] Compiling crypto.c
[346/449] Compiling cpu_arm_linux.c
[346/449] Compiling curve25519_64_adx.c
[348/449] Compiling cpu_arm.c
[349/449] Compiling cpu_aarch64_openbsd.c
[350/449] Compiling cpu_aarch64_win.c
[351/449] Compiling cpu_aarch64_fuchsia.c
[352/449] Compiling cpu_aarch64_sysreg.c
[353/449] Compiling cpu_aarch64_linux.c
[354/449] Compiling curve25519.c
[355/449] Compiling cpu_aarch64_apple.c
[356/449] Compiling e_rc4.c
[357/449] Compiling conf.c
[358/449] Compiling e_tls.c
[359/449] Compiling e_rc2.c
[360/449] Compiling tls_cbc.c
[361/449] Compiling e_null.c
[362/449] Compiling e_des.c
[363/449] Compiling derive_key.c
[363/449] Compiling e_aesctrhmac.c
[365/449] Compiling e_chacha20poly1305.c
[366/449] Compiling e_aesgcmsiv.c
[367/449] Compiling chacha20_poly1305_x86_64-mac.mac.x86_64.S
[368/449] Compiling chacha20_poly1305_x86_64-linux.linux.x86_64.S
[369/449] Compiling cipher_extra.c
[370/449] Compiling aes128gcmsiv-x86_64-linux.linux.x86_64.S
[371/449] Compiling chacha20_poly1305_armv8-ios.ios.aarch64.S
[372/449] Compiling aes128gcmsiv-x86_64-mac.mac.x86_64.S
[373/449] Compiling chacha-x86_64-mac.mac.x86_64.S
[374/449] Compiling chacha-x86_64-linux.linux.x86_64.S
[375/449] Compiling chacha-x86-windows.windows.x86.S
[376/449] Compiling chacha-x86-linux.linux.x86.S
[377/449] Compiling chacha-armv8-ios.ios.aarch64.S
[378/449] Compiling chacha20_poly1305_armv8-linux.linux.aarch64.S
[379/449] Compiling chacha.c
[380/449] Compiling chacha-armv4-ios.ios.arm.S
[380/449] Compiling chacha-armv4-linux.linux.arm.S
[382/449] Compiling chacha-armv8-linux.linux.aarch64.S
[383/449] Compiling ber.c
[384/449] Compiling unicode.c
[385/449] Compiling cbb.c
[386/449] Compiling bn_asn1.c
[387/449] Compiling cbs.c
[388/449] Compiling asn1_compat.c
[389/449] Compiling buf.c
[390/449] Compiling blake2.c
[391/449] Compiling printf.c
[392/449] Compiling convert.c
[393/449] Compiling pair.c
[394/449] Compiling errno.c
[394/449] Compiling hexdump.c
[396/449] Compiling fd.c
[397/449] Compiling file.c
[398/449] Compiling bio_mem.c
[399/449] Compiling bio.c
[400/449] Compiling tasn_new.c
[401/449] Compiling base64.c
[402/449] Compiling tasn_fre.c
[403/449] Compiling tasn_typ.c
[404/449] Compiling tasn_utl.c
[405/449] Compiling tasn_enc.c
[406/449] Compiling posix_time.c
[407/449] Compiling f_string.c
[408/449] Compiling tasn_dec.c
[409/449] Compiling asn_pack.c
[410/449] Compiling f_int.c
[411/449] Compiling a_octet.c
[412/449] Compiling a_mbstr.c
[413/449] Compiling a_int.c
[414/449] Compiling a_object.c
[415/449] Compiling a_i2d_fp.c
[416/449] Compiling a_gentm.c
[417/449] Compiling a_dup.c
[418/449] Compiling a_d2i_fp.c
[419/449] Compiling a_bool.c
[420/449] Compiling a_bitstr.c
[422/452] Compiling SwiftPatterns MediatedAccess.swift
[423/452] Compiling SwiftPatterns PriorityQueue.swift
[424/452] Compiling SwiftPatterns QueuedVar.swift
[425/452] Compiling SwiftPatterns String+fixes.swift
[426/452] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[427/452] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[428/452] Compiling SwiftPatterns SerializedResourceWrapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
459 | var isDir: ObjCBool = false
460 | let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | if isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | subWrappers[file.lastPathComponent] = dirWrapper
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
486 | fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | var isDir:ObjCBool = false
488 | if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | }
[429/452] Compiling SwiftPatterns SkippingDecodeErrors.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
459 | var isDir: ObjCBool = false
460 | let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | if isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | subWrappers[file.lastPathComponent] = dirWrapper
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
486 | fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | var isDir:ObjCBool = false
488 | if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | }
[430/452] Compiling SwiftPatterns String+CharacterSet+replacements.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
459 | var isDir: ObjCBool = false
460 | let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | if isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | subWrappers[file.lastPathComponent] = dirWrapper
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
486 | fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | var isDir:ObjCBool = false
488 | if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | }
[431/452] Compiling SwiftPatterns URL+relativePaths.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
85 | let xmlParser:XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | var nodeStack:[XMLItem]
87 | var completion:((_ node:XMLItem?, _ error:Error?)->())?
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | }
100 |
101 | public func parserDidEndDocument(_ parser:XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | completion?(nodeStack.first, nil)
103 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
104 | }
105 |
106 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | let newNode:XMLItem = XMLItem()
108 | newNode.name = elementName
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
112 | }
113 |
114 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | nodeStack.removeLast()
116 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
116 | }
117 |
118 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | let topNode:XMLItem = nodeStack.last!
120 | if let lastChild = topNode.children.last as? String {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
126 | }
127 |
128 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
129 | completion?(nil, parseError)
130 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
82 |
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
85 | let xmlParser:XMLParser
86 | var nodeStack:[XMLItem]
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | nodeStack = [XMLItem()]
90 | nodeStack.first?.name = "Document"
91 | xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
92 | super.init()
93 | xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
91 | xmlParser = XMLParser(data: data)
92 | super.init()
93 | xmlParser.delegate = self
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
94 | }
95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
96 | public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
97 | self.completion = completion
98 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
99 | }
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | func parseNodes()->XMLItem? {
142 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | return nodeStack.first
144 | }
[432/452] Compiling SwiftPatterns WeightedNode.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
85 | let xmlParser:XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | var nodeStack:[XMLItem]
87 | var completion:((_ node:XMLItem?, _ error:Error?)->())?
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | }
100 |
101 | public func parserDidEndDocument(_ parser:XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | completion?(nodeStack.first, nil)
103 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
104 | }
105 |
106 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | let newNode:XMLItem = XMLItem()
108 | newNode.name = elementName
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
112 | }
113 |
114 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | nodeStack.removeLast()
116 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
116 | }
117 |
118 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | let topNode:XMLItem = nodeStack.last!
120 | if let lastChild = topNode.children.last as? String {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
126 | }
127 |
128 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
129 | completion?(nil, parseError)
130 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
82 |
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
85 | let xmlParser:XMLParser
86 | var nodeStack:[XMLItem]
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | nodeStack = [XMLItem()]
90 | nodeStack.first?.name = "Document"
91 | xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
92 | super.init()
93 | xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
91 | xmlParser = XMLParser(data: data)
92 | super.init()
93 | xmlParser.delegate = self
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
94 | }
95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
96 | public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
97 | self.completion = completion
98 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
99 | }
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | func parseNodes()->XMLItem? {
142 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | return nodeStack.first
144 | }
[433/452] Compiling SwiftPatterns XMLItem.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
85 | let xmlParser:XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | var nodeStack:[XMLItem]
87 | var completion:((_ node:XMLItem?, _ error:Error?)->())?
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | }
100 |
101 | public func parserDidEndDocument(_ parser:XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | completion?(nodeStack.first, nil)
103 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
104 | }
105 |
106 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | let newNode:XMLItem = XMLItem()
108 | newNode.name = elementName
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
112 | }
113 |
114 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | nodeStack.removeLast()
116 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
116 | }
117 |
118 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | let topNode:XMLItem = nodeStack.last!
120 | if let lastChild = topNode.children.last as? String {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
126 | }
127 |
128 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
129 | completion?(nil, parseError)
130 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
82 |
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
85 | let xmlParser:XMLParser
86 | var nodeStack:[XMLItem]
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | nodeStack = [XMLItem()]
90 | nodeStack.first?.name = "Document"
91 | xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
92 | super.init()
93 | xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
91 | xmlParser = XMLParser(data: data)
92 | super.init()
93 | xmlParser.delegate = self
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
94 | }
95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
96 | public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
97 | self.completion = completion
98 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
99 | }
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | func parseNodes()->XMLItem? {
142 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | return nodeStack.first
144 | }
[434/452] Compiling SwiftPatterns Cursor.swift
[435/452] Compiling SwiftPatterns DataExtraction.swift
[436/452] Compiling SwiftPatterns DirectoryMonitor.swift
[437/452] Compiling SwiftPatterns Alert.swift
[438/452] Compiling SwiftPatterns Array+StableUniqueValues.swift
[439/452] Compiling SwiftPatterns Array+dropLastWhile.swift
[440/452] Compiling SwiftPatterns ChangeSet.swift
[441/452] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | fileprivate let directoryURL:URL
24 | fileprivate let extensions:Set<String>
25 | fileprivate var directoryMonitor:DirectoryMonitor?
| `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | self.changeHandler = handler
33 | self.directoryURL = directoryURL
34 | directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
| `- error: cannot find 'DirectoryMonitor' in scope
35 | self?.directoryDidChange()
36 | })
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[442/452] Compiling SwiftPatterns LogSearch.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | fileprivate let directoryURL:URL
24 | fileprivate let extensions:Set<String>
25 | fileprivate var directoryMonitor:DirectoryMonitor?
| `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | self.changeHandler = handler
33 | self.directoryURL = directoryURL
34 | directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
| `- error: cannot find 'DirectoryMonitor' in scope
35 | self?.directoryDidChange()
36 | })
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[443/452] Compiling SwiftPatterns Math.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | fileprivate let directoryURL:URL
24 | fileprivate let extensions:Set<String>
25 | fileprivate var directoryMonitor:DirectoryMonitor?
| `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | self.changeHandler = handler
33 | self.directoryURL = directoryURL
34 | directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
| `- error: cannot find 'DirectoryMonitor' in scope
35 | self?.directoryDidChange()
36 | })
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[444/452] Compiling SwiftPatterns DynamicCodingKeys.swift
[445/452] Compiling SwiftPatterns Int+Bits.swift
[446/452] Compiling SwiftPatterns JSONPrimitive.swift
[447/452] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[448/452] Emitting module CryptoBoringWrapper
[449/452] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'swiftpatterns': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling SwiftPatterns SerializedResourceWrapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
459 | var isDir: ObjCBool = false
460 | let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | if isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | subWrappers[file.lastPathComponent] = dirWrapper
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
486 | fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | var isDir:ObjCBool = false
488 | if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | }
[3/30] Compiling SwiftPatterns SkippingDecodeErrors.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
459 | var isDir: ObjCBool = false
460 | let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | if isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | subWrappers[file.lastPathComponent] = dirWrapper
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
486 | fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | var isDir:ObjCBool = false
488 | if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | }
[4/30] Compiling SwiftPatterns String+CharacterSet+replacements.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
459 | var isDir: ObjCBool = false
460 | let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | if isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | subWrappers[file.lastPathComponent] = dirWrapper
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
486 | fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | var isDir:ObjCBool = false
488 | if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | }
[5/30] Compiling SwiftPatterns String+fixes.swift
[6/30] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[7/30] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[8/33] Compiling SwiftPatterns MediatedAccess.swift
[9/33] Compiling SwiftPatterns PriorityQueue.swift
[10/33] Compiling SwiftPatterns QueuedVar.swift
[11/33] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | fileprivate let directoryURL:URL
24 | fileprivate let extensions:Set<String>
25 | fileprivate var directoryMonitor:DirectoryMonitor?
| `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | self.changeHandler = handler
33 | self.directoryURL = directoryURL
34 | directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
| `- error: cannot find 'DirectoryMonitor' in scope
35 | self?.directoryDidChange()
36 | })
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[12/33] Compiling SwiftPatterns LogSearch.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | fileprivate let directoryURL:URL
24 | fileprivate let extensions:Set<String>
25 | fileprivate var directoryMonitor:DirectoryMonitor?
| `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | self.changeHandler = handler
33 | self.directoryURL = directoryURL
34 | directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
| `- error: cannot find 'DirectoryMonitor' in scope
35 | self?.directoryDidChange()
36 | })
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[13/33] Compiling SwiftPatterns Math.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | fileprivate let directoryURL:URL
24 | fileprivate let extensions:Set<String>
25 | fileprivate var directoryMonitor:DirectoryMonitor?
| `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | self.changeHandler = handler
33 | self.directoryURL = directoryURL
34 | directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
| `- error: cannot find 'DirectoryMonitor' in scope
35 | self?.directoryDidChange()
36 | })
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[14/33] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[15/33] Compiling SwiftPatterns Alert.swift
[16/33] Compiling SwiftPatterns Array+StableUniqueValues.swift
[17/33] Compiling SwiftPatterns Array+dropLastWhile.swift
[18/33] Compiling SwiftPatterns ChangeSet.swift
[19/33] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[20/33] Emitting module CryptoBoringWrapper
[21/34] Compiling SwiftPatterns URL+relativePaths.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
85 | let xmlParser:XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | var nodeStack:[XMLItem]
87 | var completion:((_ node:XMLItem?, _ error:Error?)->())?
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | }
100 |
101 | public func parserDidEndDocument(_ parser:XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | completion?(nodeStack.first, nil)
103 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
104 | }
105 |
106 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | let newNode:XMLItem = XMLItem()
108 | newNode.name = elementName
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
112 | }
113 |
114 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | nodeStack.removeLast()
116 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
116 | }
117 |
118 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | let topNode:XMLItem = nodeStack.last!
120 | if let lastChild = topNode.children.last as? String {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
126 | }
127 |
128 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
129 | completion?(nil, parseError)
130 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
82 |
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
85 | let xmlParser:XMLParser
86 | var nodeStack:[XMLItem]
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | nodeStack = [XMLItem()]
90 | nodeStack.first?.name = "Document"
91 | xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
92 | super.init()
93 | xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
91 | xmlParser = XMLParser(data: data)
92 | super.init()
93 | xmlParser.delegate = self
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
94 | }
95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
96 | public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
97 | self.completion = completion
98 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
99 | }
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | func parseNodes()->XMLItem? {
142 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | return nodeStack.first
144 | }
[22/34] Compiling SwiftPatterns WeightedNode.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
85 | let xmlParser:XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | var nodeStack:[XMLItem]
87 | var completion:((_ node:XMLItem?, _ error:Error?)->())?
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | }
100 |
101 | public func parserDidEndDocument(_ parser:XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | completion?(nodeStack.first, nil)
103 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
104 | }
105 |
106 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | let newNode:XMLItem = XMLItem()
108 | newNode.name = elementName
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
112 | }
113 |
114 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | nodeStack.removeLast()
116 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
116 | }
117 |
118 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | let topNode:XMLItem = nodeStack.last!
120 | if let lastChild = topNode.children.last as? String {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
126 | }
127 |
128 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
129 | completion?(nil, parseError)
130 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
82 |
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
85 | let xmlParser:XMLParser
86 | var nodeStack:[XMLItem]
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | nodeStack = [XMLItem()]
90 | nodeStack.first?.name = "Document"
91 | xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
92 | super.init()
93 | xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
91 | xmlParser = XMLParser(data: data)
92 | super.init()
93 | xmlParser.delegate = self
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
94 | }
95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
96 | public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
97 | self.completion = completion
98 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
99 | }
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | func parseNodes()->XMLItem? {
142 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | return nodeStack.first
144 | }
[23/34] Compiling SwiftPatterns XMLItem.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
85 | let xmlParser:XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | var nodeStack:[XMLItem]
87 | var completion:((_ node:XMLItem?, _ error:Error?)->())?
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | }
100 |
101 | public func parserDidEndDocument(_ parser:XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | completion?(nodeStack.first, nil)
103 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
104 | }
105 |
106 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | let newNode:XMLItem = XMLItem()
108 | newNode.name = elementName
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
112 | }
113 |
114 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | nodeStack.removeLast()
116 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
116 | }
117 |
118 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | let topNode:XMLItem = nodeStack.last!
120 | if let lastChild = topNode.children.last as? String {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
126 | }
127 |
128 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
129 | completion?(nil, parseError)
130 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
82 |
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
85 | let xmlParser:XMLParser
86 | var nodeStack:[XMLItem]
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | nodeStack = [XMLItem()]
90 | nodeStack.first?.name = "Document"
91 | xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
92 | super.init()
93 | xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
91 | xmlParser = XMLParser(data: data)
92 | super.init()
93 | xmlParser.delegate = self
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
94 | }
95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
96 | public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
97 | self.completion = completion
98 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
99 | }
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | func parseNodes()->XMLItem? {
142 | xmlParser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | return nodeStack.first
144 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/34] Compiling SwiftPatterns Cursor.swift
[26/34] Compiling SwiftPatterns DataExtraction.swift
[27/34] Compiling SwiftPatterns DirectoryMonitor.swift
[28/34] Compiling SwiftPatterns DynamicCodingKeys.swift
[29/34] Compiling SwiftPatterns Int+Bits.swift
[30/34] Compiling SwiftPatterns JSONPrimitive.swift
[31/34] Emitting module SwiftPatterns
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | fileprivate let directoryURL:URL
24 | fileprivate let extensions:Set<String>
25 | fileprivate var directoryMonitor:DirectoryMonitor?
| `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
85 | let xmlParser:XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | var nodeStack:[XMLItem]
87 | var completion:((_ node:XMLItem?, _ error:Error?)->())?
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | }
100 |
101 | public func parserDidEndDocument(_ parser:XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | completion?(nodeStack.first, nil)
103 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
104 | }
105 |
106 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | let newNode:XMLItem = XMLItem()
108 | newNode.name = elementName
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
112 | }
113 |
114 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | nodeStack.removeLast()
116 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
116 | }
117 |
118 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | let topNode:XMLItem = nodeStack.last!
120 | if let lastChild = topNode.children.last as? String {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
126 | }
127 |
128 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
129 | completion?(nil, parseError)
130 | completion = nil
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
82 |
83 |
84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
85 | let xmlParser:XMLParser
86 | var nodeStack:[XMLItem]
BUILD FAILURE 6.1 android