Build Information
Failed to build SwiftAWSS3, reference master (8602c5
), with Swift 6.1 for Linux on 27 Apr 2025 13:44:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
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: linux
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/benspratling4/SwiftPatterns.git
Fetching https://github.com/benspratling4/SwiftAWSSignatureV4.git
[1/301] Fetching swiftpatterns
[302/538] Fetching swiftpatterns, swiftawssignaturev4
Fetched https://github.com/benspratling4/SwiftAWSSignatureV4.git from cache (0.75s)
Fetched https://github.com/benspratling4/SwiftPatterns.git from cache (0.75s)
Computing version for https://github.com/benspratling4/SwiftAWSSignatureV4.git
Computed https://github.com/benspratling4/SwiftAWSSignatureV4.git at 3.0.1 (1.26s)
Fetching https://github.com/apple/swift-crypto.git
[1/13784] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.78s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (2.29s)
Computing version for https://github.com/benspratling4/SwiftPatterns.git
Computed https://github.com/benspratling4/SwiftPatterns.git at 4.5.0 (0.45s)
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
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
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
[5/423] Compiling aes128gcmsiv-x86_64-mac.mac.x86_64.S
[6/423] Compiling chacha-armv8-ios.ios.aarch64.S
[7/423] Compiling chacha20_poly1305_armv8-linux.linux.aarch64.S
[8/423] Compiling chacha20_poly1305_armv8-ios.ios.aarch64.S
[9/423] Compiling chacha20_poly1305_x86_64-linux.linux.x86_64.S
[10/423] Compiling fiat_curve25519_adx_square.S
[11/423] Compiling fiat_curve25519_adx_mul.S
[12/423] Compiling a_bitstr.c
[13/423] Write swift-version-24593BA9C3E375BF.txt
[14/423] Compiling v3_prn.c
[14/423] Compiling v3_skey.c
[16/423] Compiling v3_utl.c
[17/423] Compiling v3_pmaps.c
[18/423] Compiling CCryptoBoringSSLShims shims.c
[19/423] Compiling v3_ocsp.c
[19/423] Compiling v3_purp.c
[21/423] Compiling v3_pcons.c
[22/437] Compiling v3_ncons.c
[23/446] Compiling v3_int.c
[24/446] Compiling v3_lib.c
[25/446] Compiling v3_info.c
[26/446] Compiling v3_extku.c
[27/446] Compiling v3_ia5.c
[28/446] Compiling v3_genn.c
[29/446] Compiling v3_enum.c
[30/446] Compiling v3_crld.c
[30/446] Compiling v3_conf.c
[32/446] Compiling v3_cpols.c
[33/446] Compiling v3_bcons.c
[34/446] Compiling v3_bitst.c
[35/446] Compiling v3_alt.c
[36/446] Compiling v3_akeya.c
[37/446] Compiling x_val.c
[38/446] Compiling x_spki.c
[39/446] Compiling x_x509a.c
[40/446] Compiling v3_akey.c
[41/446] Compiling x_x509.c
[42/446] Compiling x_sig.c
[43/446] Compiling x_req.c
[44/446] Compiling x_info.c
[45/446] Compiling x_pubkey.c
[46/446] Compiling x_name.c
[47/446] Compiling x_pkey.c
[48/446] Compiling x_exten.c
[49/446] Compiling x_crl.c
[50/446] Compiling x509spki.c
[51/446] Compiling x_attrib.c
[52/446] Compiling x_algor.c
[53/446] Compiling x_all.c
[54/446] Compiling x509rset.c
[55/446] Compiling x509name.c
[56/446] Compiling x509cset.c
[57/446] Compiling x509_txt.c
[58/446] Compiling x509_vpm.c
[59/446] Compiling x509_v3.c
[60/446] Compiling x509_vfy.c
[61/446] Compiling x509_set.c
[62/446] Compiling x509_trs.c
[63/446] Compiling x509_req.c
[64/446] Compiling x509_obj.c
[65/446] Compiling x509_d2.c
[66/446] Compiling x509_def.c
[67/446] Compiling x509_ext.c
[68/446] Compiling x509.c
[69/446] Compiling x509_lu.c
[70/446] Compiling x509_att.c
[71/446] Compiling t_x509a.c
[72/446] Compiling x509_cmp.c
[73/446] Compiling t_x509.c
[74/446] Compiling t_req.c
[75/446] Compiling rsa_pss.c
[76/446] Compiling i2d_pr.c
[77/446] Compiling name_print.c
[78/446] Compiling t_crl.c
[79/446] Compiling by_dir.c
[80/446] Compiling by_file.c
[81/446] Compiling policy.c
[82/446] Compiling algorithm.c
[83/446] Compiling a_digest.c
[84/446] Compiling a_sign.c
[85/446] Compiling a_verify.c
[86/446] Compiling trust_token.c
[87/446] Compiling voprf.c
[88/446] Compiling thread_win.c
[89/446] Compiling thread.c
[90/446] Compiling asn1_gen.c
[91/446] Compiling thread_pthread.c
[92/446] Compiling thread_none.c
[93/446] Compiling stack.c
[94/446] Compiling siphash.c
[95/446] Compiling rsa_print.c
[96/446] Compiling rc4.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[98/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]
[98/449] Compiling rsa_asn1.c
[99/449] Compiling refcount.c
[100/449] Compiling rand_extra.c
[101/449] Compiling windows.c
[102/449] Compiling trusty.c
[103/449] Compiling rsa_crypt.c
[104/449] Compiling passive.c
[105/449] Compiling ios.c
[106/449] Compiling pmbtoken.c
[107/449] Compiling deterministic.c
[108/449] Compiling forkunsafe.c
[108/449] Compiling getentropy.c
[110/449] Compiling poly1305_arm_asm.S
[111/449] Compiling poly1305_arm.c
[112/449] Compiling pool.c
[113/449] Compiling poly1305.c
[114/449] Compiling poly1305_vec.c
[115/449] Compiling pkcs7.c
[116/449] Compiling pkcs8_x509.c
[116/449] Compiling pkcs7_x509.c
[118/449] Compiling p5_pbev2.c
[119/449] Compiling pkcs8.c
[120/449] Compiling pem_xaux.c
[121/449] Compiling pem_pkey.c
[122/449] Compiling pem_x509.c
[123/449] Compiling pem_oth.c
[124/449] Compiling pem_lib.c
[125/449] Compiling obj_xref.c
[126/449] Compiling pem_info.c
[127/449] Compiling pem_pk8.c
[128/449] Compiling lhash.c
[129/449] Compiling mem.c
[130/449] Compiling keccak.c
[131/449] Compiling pem_all.c
[132/449] Compiling kyber.c
[133/449] Compiling hpke.c
[134/449] Compiling x86_64-mont5-mac.mac.x86_64.S
[135/449] Compiling poly_rq_mul.S
[136/449] Compiling x86_64-mont-mac.mac.x86_64.S
[137/449] Compiling obj.c
[138/449] Compiling x86_64-mont5-linux.linux.x86_64.S
[139/449] Compiling x86_64-mont-linux.linux.x86_64.S
[140/449] Compiling x86-mont-windows.windows.x86.S
[141/449] Compiling vpaes-x86_64-mac.mac.x86_64.S
[142/449] Compiling x86-mont-linux.linux.x86.S
[143/449] Compiling vpaes-x86_64-linux.linux.x86_64.S
[144/449] Compiling vpaes-x86-windows.windows.x86.S
[145/449] Compiling hrss.c
[146/449] Compiling vpaes-x86-linux.linux.x86.S
[147/449] Compiling vpaes-armv8-linux.linux.aarch64.S
[148/449] Compiling vpaes-armv8-ios.ios.aarch64.S
[149/449] Compiling vpaes-armv7-linux.linux.arm.S
[150/449] Compiling vpaes-armv7-ios.ios.arm.S
[151/449] Compiling sha512-x86_64-mac.mac.x86_64.S
[152/449] Compiling sha512-armv8-linux.linux.aarch64.S
[153/449] Compiling sha512-armv4-linux.linux.arm.S
[154/449] Compiling sha512-x86_64-linux.linux.x86_64.S
[155/449] Compiling sha512-armv8-ios.ios.aarch64.S
[156/449] Compiling sha512-armv4-ios.ios.arm.S
[157/449] Compiling sha512-586-windows.windows.x86.S
[158/449] Compiling kdf.c
[159/449] Compiling sha512-586-linux.linux.x86.S
[160/449] Compiling sha256-armv8-ios.ios.aarch64.S
[160/449] Compiling sha256-armv8-linux.linux.aarch64.S
[162/449] Compiling sha256-armv4-ios.ios.arm.S
[162/449] Compiling sha256-armv4-linux.linux.arm.S
[164/449] Compiling sha256-586-linux.linux.x86.S
[165/449] Compiling sha256-x86_64-mac.mac.x86_64.S
[165/449] Compiling sha256-x86_64-linux.linux.x86_64.S
[165/449] Compiling sha256-586-windows.windows.x86.S
[168/449] Compiling sha1-armv8-linux.linux.aarch64.S
[169/449] Compiling sha1-x86_64-mac.mac.x86_64.S
[170/449] Compiling sha1-armv8-ios.ios.aarch64.S
[171/449] Compiling sha1-armv4-large-linux.linux.arm.S
[172/449] Compiling sha1-586-windows.windows.x86.S
[173/449] Compiling sha1-armv4-large-ios.ios.arm.S
[173/449] Compiling sha1-x86_64-linux.linux.x86_64.S
[175/449] Compiling sha1-586-linux.linux.x86.S
[176/449] Compiling sha256.c
[177/449] Compiling sha512.c
[178/449] Compiling sha1.c
[179/449] Compiling rsaz-avx2-mac.mac.x86_64.S
[179/449] Compiling service_indicator.c
[181/449] Compiling fips.c
[182/449] Compiling rsaz-avx2-linux.linux.x86_64.S
[183/449] Compiling rdrand-x86_64-mac.mac.x86_64.S
[184/449] Compiling blinding.c
[185/449] Compiling self_check.c
[186/449] Compiling padding.c
[187/449] Compiling rdrand-x86_64-linux.linux.x86_64.S
[188/449] Compiling rsa_impl.c
[189/449] Compiling rsa.c
[190/449] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[191/449] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[191/449] Compiling rand.c
[193/449] Compiling ctrdrbg.c
[194/449] Compiling fork_detect.c
[195/449] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[196/449] Compiling urandom.c
[197/449] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[198/449] Compiling p256-armv8-asm-linux.linux.aarch64.S
[199/449] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[200/449] Compiling p256-armv8-asm-ios.ios.aarch64.S
[201/449] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[202/449] Compiling ofb.c
[203/449] Compiling polyval.c
[204/449] Compiling ctr.c
[205/449] Compiling gcm_nohw.c
[206/449] Compiling gcm.c
[207/449] Compiling cfb.c
[208/449] Compiling md5-x86_64-mac.mac.x86_64.S
[209/449] Compiling cbc.c
[210/449] Compiling md5.c
[211/449] Compiling md5-x86_64-linux.linux.x86_64.S
[212/449] Compiling md5-586-windows.windows.x86.S
[213/449] Compiling md5-586-linux.linux.x86.S
[214/449] Compiling ghashv8-armv8-linux.linux.aarch64.S
[215/449] Compiling ghashv8-armv8-ios.ios.aarch64.S
[216/449] Compiling ghashv8-armv7-ios.ios.arm.S
[217/449] Compiling hkdf.c
[217/449] Compiling md4.c
[219/449] Compiling ghashv8-armv7-linux.linux.arm.S
[220/449] Compiling hmac.c
[221/449] Compiling ghash-x86_64-mac.mac.x86_64.S
[222/449] Compiling ghash-x86-windows.windows.x86.S
[223/449] Compiling ghash-x86_64-linux.linux.x86_64.S
[224/449] Compiling ghash-x86-linux.linux.x86.S
[225/449] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[226/449] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[227/449] Compiling ghash-ssse3-x86-windows.windows.x86.S
[228/449] Compiling ghash-ssse3-x86-linux.linux.x86.S
[229/449] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[230/449] Compiling fips_shared_support.c
[231/449] Compiling ghash-armv4-ios.ios.arm.S
[232/449] Compiling ghash-armv4-linux.linux.arm.S
[233/449] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[234/449] Compiling ecdsa.c
[235/449] Compiling ecdh.c
[236/449] Compiling wnaf.c
[237/449] Compiling util.c
[238/449] Compiling simple.c
[239/449] Compiling simple_mul.c
[240/449] Compiling scalar.c
[241/449] Compiling oct.c
[242/449] Compiling felem.c
[243/449] Compiling p224-64.c
[244/449] Compiling p256.c
[245/449] Compiling digestsign.c
[246/449] Compiling ec_montgomery.c
[247/449] Compiling ec_key.c
[248/449] Compiling digests.c
[249/449] Compiling ec.c
[250/449] Compiling digest.c
[251/449] Compiling co-586-windows.windows.x86.S
[252/449] Compiling co-586-linux.linux.x86.S
[252/449] Compiling dh.c
[253/449] Compiling check.c
[255/449] Compiling cmac.c
[256/449] Compiling e_aesccm.c
[257/449] Compiling bsaes-armv7-linux.linux.arm.S
[258/449] Compiling p256-nistz.c
[259/449] Compiling bsaes-armv7-ios.ios.arm.S
[259/449] Compiling cipher.c
[261/449] Compiling aead.c
[262/449] Compiling e_aes.c
[263/449] Compiling sqrt.c
[264/449] Compiling shift.c
[265/449] Compiling jacobi.c
[266/449] Compiling rsaz_exp.c
[267/449] Compiling montgomery.c
[268/449] Compiling prime.c
[269/449] Compiling montgomery_inv.c
[270/449] Compiling mul.c
[271/449] Compiling generic.c
[271/449] Compiling random.c
[273/449] Compiling div_extra.c
[273/449] Compiling gcd.c
[273/449] Compiling gcd_extra.c
[276/449] Compiling ctx.c
[277/449] Compiling cmp.c
[278/449] Compiling exponentiation.c
[279/449] Compiling div.c
[280/449] Compiling bytes.c
[281/449] Compiling bn.c
[282/449] Compiling bn-armv8-linux.linux.aarch64.S
[283/449] Compiling bn-armv8-ios.ios.aarch64.S
[284/449] Compiling add.c
[285/449] Compiling bn-586-windows.windows.x86.S
[286/449] Compiling bn-586-linux.linux.x86.S
[287/449] Compiling armv8-mont-linux.linux.aarch64.S
[288/449] Compiling armv8-mont-ios.ios.aarch64.S
[289/449] Compiling armv4-mont-ios.ios.arm.S
[290/449] Compiling armv4-mont-linux.linux.arm.S
[291/449] Compiling aesv8-armv8-ios.ios.aarch64.S
[292/449] Compiling aesv8-gcm-armv8-ios.ios.aarch64.S
[293/449] Compiling aesv8-gcm-armv8-linux.linux.aarch64.S
[294/449] Compiling x86_64-gcc.c
[295/449] Compiling aesv8-armv8-linux.linux.aarch64.S
[296/449] Compiling aesv8-armv7-linux.linux.arm.S
[297/449] Compiling aesv8-armv7-ios.ios.arm.S
[298/449] Compiling aesni-x86-windows.windows.x86.S
[299/449] Compiling aesni-gcm-x86_64-mac.mac.x86_64.S
[300/449] Compiling aesni-x86_64-mac.mac.x86_64.S
[301/449] Compiling aesni-x86-linux.linux.x86.S
[302/449] Compiling aesni-x86_64-linux.linux.x86_64.S
[303/449] Compiling aesni-gcm-x86_64-linux.linux.x86_64.S
[304/449] Compiling mode_wrappers.c
[305/449] Compiling key_wrap.c
[306/449] Compiling ex_data.c
[307/449] Compiling aes.c
[308/449] Compiling sign.c
[309/449] Compiling aes_nohw.c
[310/449] Compiling pbkdf.c
[311/449] Compiling print.c
[312/449] Compiling scrypt.c
[313/449] Compiling p_x25519.c
[314/449] Compiling p_x25519_asn1.c
[315/449] Compiling p_rsa_asn1.c
[316/449] Compiling p_ed25519.c
[317/449] Compiling p_ed25519_asn1.c
[318/449] Compiling p_rsa.c
[319/449] Compiling p_ec_asn1.c
[320/449] Compiling p_hkdf.c
[321/449] Compiling err_data.c
[322/449] Compiling p_ec.c
[323/449] Compiling p_dsa_asn1.c
[324/449] Compiling evp_ctx.c
[325/449] Compiling evp.c
[326/449] Compiling evp_asn1.c
[327/449] Compiling err.c
[328/449] Compiling engine.c
[329/449] Compiling ecdh_extra.c
[330/449] Compiling ecdsa_asn1.c
[331/449] Compiling ec_derive.c
[332/449] Compiling hash_to_curve.c
[333/449] Compiling dsa_asn1.c
[334/449] Compiling dsa.c
[335/449] Compiling ec_asn1.c
[336/449] Compiling params.c
[337/449] Compiling digest_extra.c
[338/449] Compiling dh_asn1.c
[339/449] Compiling x25519-asm-arm.S
[340/449] Compiling spake25519.c
[341/449] Compiling des.c
[342/449] Compiling cpu_intel.c
[343/449] Compiling crypto.c
[344/449] Compiling cpu_arm_linux.c
[345/449] Compiling cpu_arm_freebsd.c
[346/449] Compiling cpu_arm.c
[347/449] Compiling curve25519.c
[348/449] Compiling cpu_aarch64_sysreg.c
[349/449] Compiling cpu_aarch64_apple.c
[350/449] Compiling cpu_aarch64_linux.c
[351/449] Compiling cpu_aarch64_win.c
[353/449] Compiling SwiftPatterns Cursor.swift
[354/449] Compiling SwiftPatterns DataExtraction.swift
[355/449] Compiling SwiftPatterns DirectoryMonitor.swift
[355/449] Compiling cpu_aarch64_openbsd.c
[356/449] Compiling SwiftPatterns DynamicCodingKeys.swift
[358/449] Compiling SwiftPatterns Int+Bits.swift
[359/449] Compiling SwiftPatterns JSONPrimitive.swift
[359/449] Compiling cpu_aarch64_fuchsia.c
[361/449] 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 | }
[362/449] 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 | }
[363/449] 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 | }
[364/449] Compiling SwiftPatterns String+fixes.swift
[365/449] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[366/449] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[366/449] Compiling e_rc4.c
[368/449] Compiling SwiftPatterns MediatedAccess.swift
[369/449] Compiling SwiftPatterns PriorityQueue.swift
[370/449] Compiling SwiftPatterns QueuedVar.swift
[371/449] 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 | }
[372/449] 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 | }
[373/449] 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 | }
[374/449] 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 | })
[375/449] 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 | })
[376/449] 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 | })
[376/449] Compiling tls_cbc.c
[377/449] Compiling conf.c
[378/449] Compiling e_rc2.c
[379/449] Compiling SwiftPatterns Alert.swift
[380/449] Compiling SwiftPatterns Array+StableUniqueValues.swift
[381/449] Compiling SwiftPatterns Array+dropLastWhile.swift
[382/449] Compiling SwiftPatterns ChangeSet.swift
[383/449] Compiling e_null.c
[384/449] Compiling e_des.c
[385/449] Compiling e_tls.c
[386/449] Compiling chacha20_poly1305_x86_64-mac.mac.x86_64.S
[386/449] Compiling cipher_extra.c
[386/449] Compiling e_aesctrhmac.c
[386/449] Compiling derive_key.c
[386/449] Compiling e_aesgcmsiv.c
[386/449] Compiling e_chacha20poly1305.c
[386/449] Compiling curve25519_64_adx.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/64] Compiling cipher_extra.c
[1/64] Compiling e_aesctrhmac.c
[2/64] Compiling chacha20_poly1305_x86_64-mac.mac.x86_64.S
[3/64] Compiling derive_key.c
[4/64] Compiling e_aesgcmsiv.c
[5/64] Compiling e_chacha20poly1305.c
[6/64] Compiling aes128gcmsiv-x86_64-linux.linux.x86_64.S
[7/64] Compiling chacha.c
[8/64] Compiling chacha-x86_64-mac.mac.x86_64.S
[9/64] Compiling chacha-x86_64-linux.linux.x86_64.S
[10/64] Compiling chacha-x86-windows.windows.x86.S
[11/64] Compiling chacha-armv4-linux.linux.arm.S
[11/64] Compiling chacha-armv8-linux.linux.aarch64.S
[13/64] Compiling chacha-x86-linux.linux.x86.S
[14/64] Compiling chacha-armv4-ios.ios.arm.S
[15/64] Compiling unicode.c
[16/64] Compiling ber.c
[17/64] Compiling cbb.c
[18/64] Compiling asn1_compat.c
[19/64] Compiling buf.c
[20/64] Compiling cbs.c
[21/64] Write swift-version-24593BA9C3E375BF.txt
[22/64] Compiling bn_asn1.c
[23/64] Compiling blake2.c
[24/64] Compiling convert.c
[25/64] Compiling printf.c
[26/64] Compiling pair.c
[26/64] Compiling hexdump.c
[28/64] Compiling errno.c
[29/64] Compiling fd.c
[30/64] Compiling file.c
[31/64] Compiling curve25519_64_adx.c
[32/64] Compiling bio_mem.c
[33/64] Compiling base64.c
[34/72] Compiling bio.c
[35/78] Compiling tasn_typ.c
[36/78] Compiling tasn_new.c
[37/81] Compiling tasn_fre.c
[38/87] Compiling tasn_utl.c
[39/87] Compiling tasn_enc.c
[40/87] Compiling f_string.c
[41/87] Compiling tasn_dec.c
[42/87] Compiling asn1_par.c
[43/87] Compiling f_int.c
[44/87] Compiling asn_pack.c
[45/87] Compiling posix_time.c
[46/87] Compiling a_utctm.c
[48/87] 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 | })
[49/87] 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 | })
[50/87] 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 | })
[50/90] Compiling asn1_lib.c
[51/90] Compiling a_type.c
[52/90] Compiling a_time.c
[53/90] Compiling a_strex.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/90] 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]
[55/90] Compiling a_object.c
[57/90] Compiling SwiftPatterns MediatedAccess.swift
[58/90] Compiling SwiftPatterns PriorityQueue.swift
[59/90] Compiling SwiftPatterns QueuedVar.swift
[59/90] Compiling a_octet.c
[60/90] Compiling a_mbstr.c
[60/90] Compiling a_strnid.c
[62/90] Compiling a_dup.c
[63/90] Compiling a_i2d_fp.c
[64/90] Compiling a_int.c
[65/90] Compiling a_gentm.c
[66/90] Compiling a_bool.c
[66/90] Compiling a_d2i_fp.c
[69/90] Compiling SwiftPatterns String+fixes.swift
[70/90] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[71/90] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[72/90] 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 | }
[73/90] 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 | }
[74/90] 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 | }
[75/90] Compiling SwiftPatterns Alert.swift
[76/90] Compiling SwiftPatterns Array+StableUniqueValues.swift
[77/90] Compiling SwiftPatterns Array+dropLastWhile.swift
[78/90] Compiling SwiftPatterns ChangeSet.swift
[79/90] Compiling SwiftPatterns Cursor.swift
[80/90] Compiling SwiftPatterns DataExtraction.swift
[81/90] Compiling SwiftPatterns DirectoryMonitor.swift
[82/90] 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 | }
[83/90] 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 | }
[84/90] 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 | }
[85/93] Compiling SwiftPatterns DynamicCodingKeys.swift
[86/93] Compiling SwiftPatterns Int+Bits.swift
[87/93] Compiling SwiftPatterns JSONPrimitive.swift
BUILD FAILURE 6.1 linux