Build Information
Failed to build xcodes, reference 1.6.0 (0ca925
), with Swift 6.0 for macOS (SPM) on 7 Nov 2024 00:07:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/XcodesOrg/xcodes.git
Reference: 1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/XcodesOrg/xcodes
* tag 1.6.0 -> FETCH_HEAD
HEAD is now at 0ca9258 v 1.6.0
Cloned https://github.com/XcodesOrg/xcodes.git
Revision (git rev-parse @):
0ca9258e26eea241854b14bb6bc6fb15e44b4d57
SUCCESS checkout https://github.com/XcodesOrg/xcodes.git at 1.6.0
Fetching https://github.com/xcodereleases/data
[1/909] Fetching data
Fetched https://github.com/xcodereleases/data from cache (0.89s)
Fetching https://github.com/xcodesOrg/swift-srp
[1/238] Fetching swift-srp
Fetched https://github.com/xcodesOrg/swift-srp from cache (0.76s)
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/adam-fowler/big-num
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/onevcat/Rainbow.git
[1/178] Fetching legibleerror
[28/1237] Fetching legibleerror, path.swift
[103/2363] Fetching legibleerror, path.swift, rainbow
[283/2651] Fetching legibleerror, path.swift, rainbow, version
[490/3508] Fetching legibleerror, path.swift, rainbow, version, big-num
[2523/15872] Fetching legibleerror, path.swift, rainbow, version, big-num, swift-argument-parser
[2799/32994] Fetching legibleerror, path.swift, rainbow, version, big-num, swift-argument-parser, promisekit
Fetched https://github.com/adam-fowler/big-num from cache (2.16s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.16s)
Fetched https://github.com/mxcl/Path.swift.git from cache (2.16s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/PromiseKit/Foundation.git
Fetched https://github.com/onevcat/Rainbow.git from cache (2.26s)
Fetched https://github.com/mxcl/Version.git from cache (2.26s)
Fetched https://github.com/mxcl/PromiseKit.git from cache (2.26s)
Fetched https://github.com/mxcl/LegibleError.git from cache (2.26s)
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/scinfu/SwiftSoup.git
[1/609] Fetching foundation
[160/3806] Fetching foundation, swiftsoup
[962/8195] Fetching foundation, swiftsoup, keychainaccess
[1094/18097] Fetching foundation, swiftsoup, keychainaccess, yams
[1618/28615] Fetching foundation, swiftsoup, keychainaccess, yams, swift-crypto
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.50s)
Fetched https://github.com/PromiseKit/Foundation.git from cache (1.50s)
[10556/23617] Fetching swiftsoup, yams, swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (1.81s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.81s)
[7625/9902] Fetching yams
Fetched https://github.com/jpsim/Yams from cache (2.13s)
Computing version for https://github.com/adam-fowler/big-num
Computed https://github.com/adam-fowler/big-num at 2.0.2 (0.65s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (0.65s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.0.1 (0.68s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.58s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 3.2.1 (0.63s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.65s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.0.0 (0.64s)
Computing version for https://github.com/PromiseKit/Foundation.git
Computed https://github.com/PromiseKit/Foundation.git at 3.4.0 (0.66s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.66s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.0.3 (2.74s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.78s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.0.0
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/xcodesOrg/swift-srp
Working copy of https://github.com/xcodesOrg/swift-srp resolved at main (543aa01)
Creating working copy for https://github.com/adam-fowler/big-num
Working copy of https://github.com/adam-fowler/big-num resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.0.3
Creating working copy for https://github.com/PromiseKit/Foundation.git
Working copy of https://github.com/PromiseKit/Foundation.git resolved at 3.4.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.0.1
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/xcodereleases/data
Working copy of https://github.com/xcodereleases/data resolved at fcf527b187817f67c05223676341f3ab69d4214d
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 3.2.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "xcodes",
"name": "xcodes",
"url": "https://github.com/XcodesOrg/xcodes.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xcodes",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "path.swift",
"name": "Path.swift",
"url": "https://github.com/mxcl/Path.swift.git",
"version": "0.16.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Path.swift",
"dependencies": [
]
},
{
"identity": "version",
"name": "Version",
"url": "https://github.com/mxcl/Version.git",
"version": "1.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Version",
"dependencies": [
]
},
{
"identity": "promisekit",
"name": "PromiseKit",
"url": "https://github.com/mxcl/PromiseKit.git",
"version": "6.22.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PromiseKit",
"dependencies": [
]
},
{
"identity": "foundation",
"name": "PMKFoundation",
"url": "https://github.com/PromiseKit/Foundation.git",
"version": "3.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Foundation",
"dependencies": [
{
"identity": "promisekit",
"name": "PromiseKit",
"url": "https://github.com/mxcl/PromiseKit.git",
"version": "6.22.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PromiseKit",
"dependencies": [
]
}
]
},
{
"identity": "swiftsoup",
"name": "SwiftSoup",
"url": "https://github.com/scinfu/SwiftSoup.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSoup",
"dependencies": [
]
},
{
"identity": "legibleerror",
"name": "LegibleError",
"url": "https://github.com/mxcl/LegibleError.git",
"version": "1.0.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LegibleError",
"dependencies": [
]
},
{
"identity": "keychainaccess",
"name": "KeychainAccess",
"url": "https://github.com/kishikawakatsumi/KeychainAccess.git",
"version": "3.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KeychainAccess",
"dependencies": [
]
},
{
"identity": "data",
"name": "XcodeReleases",
"url": "https://github.com/xcodereleases/data",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/data",
"dependencies": [
]
},
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/onevcat/Rainbow.git",
"version": "3.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams",
"version": "5.0.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
},
{
"identity": "swift-srp",
"name": "swift-srp",
"url": "https://github.com/xcodesOrg/swift-srp",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-srp",
"dependencies": [
{
"identity": "swift-crypto",
"name": "swift-crypto",
"url": "https://github.com/apple/swift-crypto",
"version": "1.1.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
"dependencies": [
]
},
{
"identity": "big-num",
"name": "big-num",
"url": "https://github.com/adam-fowler/big-num",
"version": "2.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/big-num",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/XcodesOrg/xcodes.git
[1/3106] Fetching xcodes
Fetched https://github.com/XcodesOrg/xcodes.git from cache (1.16s)
Fetching https://github.com/xcodereleases/data from cache
Fetched https://github.com/xcodereleases/data from cache (0.47s)
Fetching https://github.com/xcodesOrg/swift-srp from cache
Fetched https://github.com/xcodesOrg/swift-srp from cache (0.48s)
Fetching https://github.com/jpsim/Yams from cache
Fetching https://github.com/adam-fowler/big-num from cache
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git from cache
Fetching https://github.com/mxcl/LegibleError.git from cache
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/apple/swift-crypto from cache
Fetching https://github.com/scinfu/SwiftSoup.git from cache
Fetched https://github.com/onevcat/Rainbow.git from cache (0.58s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.58s)
Fetched https://github.com/adam-fowler/big-num from cache (0.58s)
Fetching https://github.com/mxcl/Version.git from cache
Fetching https://github.com/PromiseKit/Foundation.git from cache
Fetching https://github.com/mxcl/PromiseKit.git from cache
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.61s)
Fetched https://github.com/apple/swift-crypto from cache (0.61s)
Fetched https://github.com/mxcl/LegibleError.git from cache (0.61s)
Fetched https://github.com/jpsim/Yams from cache (0.61s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/mxcl/Path.swift.git from cache
Fetched https://github.com/mxcl/Path.swift.git from cache (0.57s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.57s)
Fetched https://github.com/mxcl/Version.git from cache (0.65s)
Fetched https://github.com/PromiseKit/Foundation.git from cache (0.65s)
Fetched https://github.com/mxcl/PromiseKit.git from cache (0.65s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.03s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.0.0 (0.02s)
Computing version for https://github.com/PromiseKit/Foundation.git
Computed https://github.com/PromiseKit/Foundation.git at 3.4.0 (0.04s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.04s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.0.3 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.04s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 3.2.1 (0.02s)
Computing version for https://github.com/adam-fowler/big-num
Computed https://github.com/adam-fowler/big-num at 2.0.2 (0.02s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (0.02s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.0.6 (0.66s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.03s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (0.03s)
Creating working copy for https://github.com/adam-fowler/big-num
Working copy of https://github.com/adam-fowler/big-num resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.0.6
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.0.3
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/XcodesOrg/xcodes.git
Working copy of https://github.com/XcodesOrg/xcodes.git resolved at 1.6.0 (0ca9258)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/PromiseKit/Foundation.git
Working copy of https://github.com/PromiseKit/Foundation.git resolved at 3.4.0
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.0.0
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 3.2.1
Creating working copy for https://github.com/xcodesOrg/swift-srp
Working copy of https://github.com/xcodesOrg/swift-srp resolved at main (543aa01)
Creating working copy for https://github.com/xcodereleases/data
Working copy of https://github.com/xcodereleases/data resolved at fcf527b187817f67c05223676341f3ab69d4214d
Found 12 product dependencies
- swift-argument-parser
- Path.swift
- Version
- PromiseKit
- PMKFoundation
- SwiftSoup
- LegibleError
- KeychainAccess
- XcodeReleases
- Rainbow
- Yams
- swift-srp
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/XcodesOrg/xcodes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/583] Write sources
[6/583] Write xcodes-entitlement.plist
[7/583] Write sources
[17/583] Write swift-version--7754E27361AE5C74.txt
[18/583] Compiling writer.c
[19/583] Compiling parser.c
[20/583] Compiling v3_skey.c
[21/583] Compiling api.c
[22/583] Compiling CCryptoBoringSSLShims shims.c
[23/583] Compiling v3_utl.c
[24/583] Compiling v3_purp.c
[25/583] Compiling reader.c
[26/592] Compiling emitter.c
[27/652] Compiling scanner.c
[28/694] Compiling v3_prn.c
[30/709] Emitting module SwiftSoup
[31/714] Emitting module Version
[32/714] Compiling Version Version.swift
[33/714] Compiling Version Version+Range.swift
[34/714] Compiling Rainbow Style.swift
[35/714] Compiling Rainbow StringGenerator.swift
[36/715] Compiling Rainbow XcodeColorsSupport.swift
[37/715] Compiling PromiseKit race.swift
[38/716] Compiling Version Version+Foundation.swift
[39/716] Compiling Version Version+Comparable.swift
[40/716] Compiling Version Version+Codable.swift
[41/716] Compiling XCModel YMD.swift
[42/716] Emitting module LegibleError
[43/716] Compiling LegibleError LegibleError.swift
[44/716] Compiling PromiseKit hang.swift
[45/716] Compiling Yams Node.Scalar.swift
[46/716] Compiling Yams Node.Sequence.swift
[47/716] Compiling Yams Node.swift
[48/716] Compiling Yams Parser.swift
[49/716] Compiling PromiseKit after.swift
[50/716] Compiling PromiseKit firstly.swift
[51/716] Compiling XCModel Xcode.swift
[52/716] Compiling XCModel SDKs.swift
[53/716] Compiling XCModel Release.swift
[54/716] Compiling XCModel Compilers.swift
[55/716] Emitting module XCModel
[56/716] Compiling XCModel Link.swift
[57/716] Compiling XCModel Checksums.swift
[58/716] Compiling XCModel Version.swift
[59/716] Compiling Rainbow String+Rainbow.swift
[60/716] Compiling Path Path->Bool.swift
[61/716] Compiling Path Path+StringConvertibles.swift
[62/716] Compiling Path Path+Codable.swift
[63/716] Compiling Path Path.swift
[64/716] Compiling Path Path+Attributes.swift
[65/716] Compiling Path Path+ls.swift
[66/716] Compiling Path Path+FileManager.swift
[67/716] Compiling Path Extensions.swift
[68/716] Emitting module Path
[69/716] Compiling Path Path+CommonDirectories.swift
[70/716] Compiling Yams Mark.swift
[71/716] Compiling Yams Node.Mapping.swift
[72/716] Compiling Yams Emitter.swift
[73/716] Compiling Yams Encoder.swift
[74/716] Compiling PromiseKit Error.swift
[75/716] Compiling PromiseKit Guarantee.swift
[76/716] Emitting module PromiseKit
[77/716] Compiling Yams Constructor.swift
[78/716] Compiling Yams Decoder.swift
[79/716] Compiling Rainbow Rainbow.swift
[80/716] Compiling Rainbow ModesExtractor.swift
[81/716] Compiling Rainbow ControlCode.swift
[82/716] Compiling Rainbow Color.swift
[85/716] Compiling Rainbow OutputTarget.swift
[86/716] Emitting module Rainbow
[86/716] Compiling v3_pmaps.c
[88/716] Compiling SwiftSoup UnicodeScalar.swift
[89/716] Compiling SwiftSoup Validate.swift
[90/716] Compiling SwiftSoup Whitelist.swift
[91/716] Compiling SwiftSoup XmlDeclaration.swift
[92/716] Compiling SwiftSoup XmlTreeBuilder.swift
[93/716] Compiling Yams String+Yams.swift
[94/716] Compiling Yams Representer.swift
[95/716] Compiling Yams Resolver.swift
[96/716] Compiling Yams Tag.swift
[96/717] Compiling v3_pcons.c
[98/717] Compiling SwiftSoup Cleaner.swift
[99/717] Compiling SwiftSoup Collector.swift
[100/717] Compiling SwiftSoup CombiningEvaluator.swift
[101/717] Compiling SwiftSoup Comment.swift
[102/717] Compiling SwiftSoup Connection.swift
[103/717] Compiling SwiftSoup DataNode.swift
[104/717] Compiling SwiftSoup Evaluator.swift
[105/717] Compiling SwiftSoup Exception.swift
[106/717] Compiling SwiftSoup FormElement.swift
[107/717] Compiling SwiftSoup HtmlTreeBuilder.swift
[108/717] Compiling SwiftSoup HtmlTreeBuilderState.swift
[109/717] Compiling SwiftSoup HttpStatusException.swift
[109/717] Compiling v3_pcia.c
[110/717] Compiling v3_pci.c
[111/717] Compiling v3_ocsp.c
[112/717] Compiling v3_ncons.c
[113/717] Compiling v3_lib.c
[114/717] Compiling v3_int.c
[115/717] Compiling v3_info.c
[116/717] Compiling v3_ia5.c
[117/717] Compiling v3_genn.c
[124/717] Compiling v3_extku.c
[125/717] Compiling v3_enum.c
[132/717] Compiling v3_crld.c
[133/717] Compiling v3_cpols.c
[134/717] Compiling v3_conf.c
[136/717] Emitting module Yams
[140/717] Compiling v3_bitst.c
[141/717] Compiling v3_bcons.c
[142/717] Compiling v3_akeya.c
[143/717] Compiling v3_alt.c
[144/717] Compiling v3_akey.c
[145/717] Compiling pcy_node.c
[146/717] Compiling pcy_tree.c
[148/717] Compiling Yams YamlError.swift
[148/717] Compiling pcy_map.c
[149/717] Compiling pcy_lib.c
[150/717] Compiling pcy_data.c
[152/717] Compiling PromiseKit when.swift
[153/717] Emitting module Unxip
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:87:9: warning: stored property 'buffer' of 'Sendable'-conforming class 'Chunk' has non-sendable type 'UnsafeBufferPointer<UInt8>'; this is an error in the Swift 6 language mode
85 |
86 | final class Chunk: Sendable {
87 | let buffer: UnsafeBufferPointer<UInt8>
| `- warning: stored property 'buffer' of 'Sendable'-conforming class 'Chunk' has non-sendable type 'UnsafeBufferPointer<UInt8>'; this is an error in the Swift 6 language mode
88 | let owned: Bool
89 |
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
| `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 | public let count: Int
3 | @inlinable public init(start: UnsafePointer<Element>?, count: Int)
[154/717] Compiling Unxip Unxip.swift
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:87:9: warning: stored property 'buffer' of 'Sendable'-conforming class 'Chunk' has non-sendable type 'UnsafeBufferPointer<UInt8>'; this is an error in the Swift 6 language mode
85 |
86 | final class Chunk: Sendable {
87 | let buffer: UnsafeBufferPointer<UInt8>
| `- warning: stored property 'buffer' of 'Sendable'-conforming class 'Chunk' has non-sendable type 'UnsafeBufferPointer<UInt8>'; this is an error in the Swift 6 language mode
88 | let owned: Bool
89 |
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
| `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 | public let count: Int
3 | @inlinable public init(start: UnsafePointer<Element>?, count: Int)
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:284:33: warning: capture of '_remaining' with non-sendable type 'UnsafeBufferPointer<UInt8>.SubSequence' (aka 'Slice<UnsafeBufferPointer<UInt8>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 |
283 | chunkStream.addTask {
284 | let remaining = _remaining
| `- warning: capture of '_remaining' with non-sendable type 'UnsafeBufferPointer<UInt8>.SubSequence' (aka 'Slice<UnsafeBufferPointer<UInt8>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | let decompressedSize = _decompressedSize
286 |
Swift.Slice:1:23: note: generic struct 'Slice' does not conform to the 'Sendable' protocol
1 | @frozen public struct Slice<Base> where Base : Collection {
| `- note: generic struct 'Slice' does not conform to the 'Sendable' protocol
2 | public var _startIndex: Base.Index
3 | public var _endIndex: Base.Index
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:375:44: warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` local function; this is an error in the Swift 6 language mode
100 | }
101 |
102 | struct File {
| `- note: consider making struct 'File' conform to the 'Sendable' protocol
103 | let dev: Int
104 | let ino: Int
:
373 | func warn(_ result: CInt, _ operation: String) {
374 | if result != 0 {
375 | perror("\(operation) \(file.name) failed")
| `- warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` local function; this is an error in the Swift 6 language mode
376 | }
377 | }
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:406:41: warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 |
102 | struct File {
| `- note: consider making struct 'File' conform to the 'Sendable' protocol
103 | let dev: Int
104 | let ino: Int
:
404 | _ = await (originalTask.value, task?.value)
405 |
406 | warn(link(original, file.name), "linking")
| `- warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` closure; this is an error in the Swift 6 language mode
407 | }
408 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:420:56: warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 |
102 | struct File {
| `- note: consider making struct 'File' conform to the 'Sendable' protocol
103 | let dev: Int
104 | let ino: Int
:
418 | await task?.value
419 |
420 | warn(symlink(String(data: Data(file.data.map(Array.init).reduce([], +)), encoding: .utf8), file.name), "symlinking")
| `- warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 | setStickyBit(on: file)
422 | }
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:429:36: warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 |
102 | struct File {
| `- note: consider making struct 'File' conform to the 'Sendable' protocol
103 | let dev: Int
104 | let ino: Int
:
427 | await task?.value
428 |
429 | warn(mkdir(file.name, mode_t(file.mode & 0o777)), "creating directory at")
| `- warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` closure; this is an error in the Swift 6 language mode
430 | setStickyBit(on: file)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:439:50: warning: capture of 'self' with non-sendable type 'Unxip' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 |
249 | @available(macOS 11.0, *)
250 | public struct Unxip {
| `- note: consider making struct 'Unxip' conform to the 'Sendable' protocol
251 | let options: UnxipOptions
252 |
:
437 | taskStream.addRunningTask {
438 | await task?.value
439 | let compressedData = options.compress ? await file.compressedData() : nil
| `- warning: capture of 'self' with non-sendable type 'Unxip' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 | let fd = open(file.name, O_CREAT | O_WRONLY, mode_t(file.mode & 0o777))
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:439:75: warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 |
102 | struct File {
| `- note: consider making struct 'File' conform to the 'Sendable' protocol
103 | let dev: Int
104 | let ino: Int
:
437 | taskStream.addRunningTask {
438 | await task?.value
439 | let compressedData = options.compress ? await file.compressedData() : nil
| `- warning: capture of 'file' with non-sendable type 'File' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 | let fd = open(file.name, O_CREAT | O_WRONLY, mode_t(file.mode & 0o777))
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:448:50: warning: capture of 'file' with non-sendable type 'File' in an isolated local function; this is an error in the Swift 6 language mode
100 | }
101 |
102 | struct File {
| `- note: consider making struct 'File' conform to the 'Sendable' protocol
103 | let dev: Int
104 | let ino: Int
:
446 | defer {
447 | warn(close(fd), "closing")
448 | setStickyBit(on: file)
| `- warning: capture of 'file' with non-sendable type 'File' in an isolated local function; this is an error in the Swift 6 language mode
449 | }
450 |
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:22:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
20 | func yieldWithBackoff(_ value: Element) async {
21 | let backoff: UInt64 = 1_000_000
22 | while case .dropped(_) = yield(value) {
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | try? await Task.sleep(nanoseconds: backoff)
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:34:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | var results: AsyncStream<TaskResult> {
33 | AsyncStream(bufferingPolicy: .bufferingOldest(batchSize)) { continuation in
34 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 | try await withThrowingTaskGroup(of: (Int, TaskResult).self) { group in
36 | var queueIndex = 0
37 | var dequeIndex = 0
38 | var pending = [Int: TaskResult]()
39 | while dequeIndex < operations.count {
| `- note: closure captures 'self' which is accessible to code in the current task
40 | if queueIndex - dequeIndex < batchSize,
41 | queueIndex < operations.count
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:44:43: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 | {
43 | let _queueIndex = queueIndex
44 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
45 | let queueIndex = _queueIndex
46 | return await (queueIndex, try operations[queueIndex]())
| `- note: closure captures 'self' which is accessible to code in the current task
47 | }
48 | queueIndex += 1
/Users/admin/builder/spi-builder-workspace/Sources/Unxip/Unxip.swift:305:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
303 | func files<ChunkStream: AsyncSequence>(in chunkStream: ChunkStream) -> AsyncStream<File> where ChunkStream.Element == Chunk {
304 | AsyncStream(bufferingPolicy: .bufferingOldest(ProcessInfo.processInfo.activeProcessorCount)) { continuation in
305 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
306 | var iterator = chunkStream.makeAsyncIterator()
| `- note: closure captures 'chunkStream' which is accessible to code in the current task
307 | var chunk = try! await iterator.next()!
308 | var position = 0
[154/717] Compiling x_x509a.c
[155/717] Compiling pcy_cache.c
[156/717] Compiling x_val.c
[157/717] Compiling x_spki.c
[158/717] Compiling x_sig.c
[159/717] Compiling x_x509.c
[160/717] Compiling x_req.c
[161/723] Compiling x_pubkey.c
[162/723] Compiling x_pkey.c
[163/723] Compiling x_info.c
[164/723] Compiling x_exten.c
[165/723] Compiling x_name.c
[166/723] Compiling x_attrib.c
[167/723] Compiling x_crl.c
[168/723] Compiling x509spki.c
[169/723] Compiling x_algor.c
[170/723] Compiling x509rset.c
[171/723] Compiling x_all.c
[172/723] Compiling x509name.c
[173/723] Compiling x509cset.c
[175/723] Compiling SwiftSoup SerializationException.swift
[176/723] Compiling SwiftSoup SimpleDictionary.swift
[177/723] Compiling SwiftSoup StreamReader.swift
[178/723] Compiling SwiftSoup String.swift
[179/723] Compiling SwiftSoup StringBuilder.swift
[180/723] Compiling SwiftSoup StringUtil.swift
[181/723] Compiling SwiftSoup StructuralEvaluator.swift
[182/723] Compiling SwiftSoup SwiftSoup.swift
[183/723] Compiling SwiftSoup Tag.swift
[184/723] Compiling SwiftSoup TextNode.swift
[185/723] Compiling SwiftSoup Token.swift
[186/723] Compiling SwiftSoup TokenQueue.swift
[187/723] Compiling SwiftSoup Tokeniser.swift
[188/723] Compiling SwiftSoup TokeniserState.swift
[189/723] Compiling SwiftSoup TreeBuilder.swift
[189/723] Compiling x509_txt.c
[193/723] Compiling SwiftSoup Parser.swift
[194/723] Compiling SwiftSoup Pattern.swift
[195/723] Compiling SwiftSoup QueryParser.swift
[196/723] Compiling SwiftSoup Selector.swift
[203/723] Compiling SwiftSoup DataUtil.swift
[204/723] Compiling SwiftSoup Document.swift
[205/723] Compiling SwiftSoup DocumentType.swift
[206/723] Compiling SwiftSoup Element.swift
[207/723] Compiling SwiftSoup Elements.swift
[208/723] Compiling SwiftSoup Entities.swift
[208/723] Compiling x509_vpm.c
[209/723] Compiling x509_set.c
[210/723] Compiling x509_v3.c
[211/723] Compiling x509_trs.c
[212/723] Compiling x509_req.c
[213/723] Compiling x509_vfy.c
[214/723] Compiling x509_obj.c
[216/723] Compiling KeychainAccess Keychain.swift
[217/723] Emitting module KeychainAccess
[217/723] Compiling x509_def.c
[218/723] Compiling x509_d2.c
[219/723] Compiling x509_ext.c
[220/723] Compiling x509_att.c
[221/723] Compiling x509_lu.c
[222/723] Compiling x509_cmp.c
[223/723] Compiling x509.c
[224/723] Compiling t_x509a.c
[225/723] Compiling i2d_pr.c
[226/723] Compiling t_x509.c
[227/723] Compiling t_req.c
[229/723] Compiling PMKFoundation afterlife.swift
[230/723] Compiling PMKFoundation NSURLSession+Promise.swift
[231/723] Compiling PMKFoundation NSObject+Promise.swift
[232/723] Emitting module PMKFoundation
[233/723] Compiling PMKFoundation Process+Promise.swift
[234/723] Compiling PMKFoundation NSNotificationCenter+Promise.swift
[234/723] Compiling rsa_pss.c
[235/723] Compiling t_crl.c
[236/723] Compiling by_file.c
[237/723] Compiling algorithm.c
[238/723] Compiling a_verify.c
[239/723] Compiling asn1_gen.c
[240/723] Compiling a_sign.c
[241/723] Compiling a_strex.c
[242/723] Compiling voprf.c
[243/723] Compiling a_digest.c
[244/723] Compiling trust_token.c
[245/723] Compiling thread_win.c
[246/723] Compiling pmbtoken.c
[247/723] Compiling thread_pthread.c
[248/723] Compiling thread_none.c
[249/723] Compiling thread.c
[250/723] Compiling siphash.c
[251/723] Compiling stack.c
[252/723] Compiling rsa_print.c
[253/723] Compiling refcount_lock.c
[254/723] Compiling refcount_c11.c
[255/723] Compiling rsa_asn1.c
[256/723] Compiling rc4.c
[257/723] Compiling windows.c
[258/723] Compiling rand_extra.c
[259/723] Compiling passive.c
[260/723] Compiling fuchsia.c
[261/723] Compiling deterministic.c
[262/723] Compiling poly1305_arm_asm.S
[263/723] Compiling forkunsafe.c
[264/723] Compiling poly1305_vec.c
[265/723] Compiling pool.c
[266/723] Compiling poly1305_arm.c
[267/723] Compiling poly1305.c
[268/723] Compiling pkcs7.c
[269/723] Compiling pkcs8.c
[270/723] Compiling pkcs8_x509.c
[271/723] Compiling pkcs7_x509.c
[272/723] Compiling pem_xaux.c
[273/723] Compiling p5_pbev2.c
[274/723] Compiling pem_x509.c
[275/723] Compiling pem_pkey.c
[276/723] Compiling pem_pk8.c
[277/723] Compiling by_dir.c
[278/723] Compiling pem_oth.c
[279/723] Compiling poly_rq_mul.S
[280/723] Compiling obj_xref.c
[281/723] Compiling lhash.c
[282/723] Compiling mem.c
[283/723] Compiling pem_lib.c
[284/723] Compiling x86_64-mont5.mac.x86_64.S
[285/723] Compiling x86_64-mont5.linux.x86_64.S
[286/723] Compiling x86_64-mont.mac.x86_64.S
[287/723] Compiling pem_all.c
[288/723] Compiling obj.c
[289/723] Compiling pem_info.c
[290/723] Compiling x86_64-mont.linux.x86_64.S
[291/723] Compiling hpke.c
[292/723] Compiling hkdf.c
[293/723] Compiling x86-mont.windows.x86.S
[294/723] Compiling x86-mont.linux.x86.S
[295/723] Compiling vpaes-x86_64.mac.x86_64.S
[296/723] Compiling vpaes-x86_64.linux.x86_64.S
[297/723] Compiling vpaes-x86.windows.x86.S
[298/723] Compiling vpaes-armv7.linux.arm.S
[299/723] Compiling vpaes-x86.linux.x86.S
[300/723] Compiling vpaes-armv8.linux.aarch64.S
[301/723] Compiling vpaes-armv7.ios.arm.S
[302/723] Compiling vpaes-armv8.ios.aarch64.S
[303/723] Compiling sha512-x86_64.mac.x86_64.S
[304/723] Compiling sha512-x86_64.linux.x86_64.S
[305/723] Compiling sha512-armv8.linux.aarch64.S
[306/723] Compiling sha512-armv4.linux.arm.S
[307/723] Compiling sha512-586.windows.x86.S
[308/723] Compiling sha512-armv4.ios.arm.S
[309/723] Compiling kdf.c
[310/723] Compiling sha512-armv8.ios.aarch64.S
[311/723] Compiling sha512-586.linux.x86.S
[312/723] Compiling sha256-x86_64.mac.x86_64.S
[313/723] Compiling sha256-x86_64.linux.x86_64.S
[314/723] Compiling sha256-armv4.ios.arm.S
[315/723] Compiling sha256-armv4.linux.arm.S
[316/723] Compiling sha256-armv8.linux.aarch64.S
[317/723] Compiling sha256-586.windows.x86.S
[318/723] Compiling sha256-armv8.ios.aarch64.S
[319/723] Compiling sha256-586.linux.x86.S
[320/723] Compiling hrss.c
[321/723] Compiling sha1-x86_64.mac.x86_64.S
[322/723] Compiling sha1-armv8.linux.aarch64.S
[323/723] Compiling sha1-x86_64.linux.x86_64.S
[324/723] Compiling sha1-armv4-large.ios.arm.S
[325/723] Compiling sha1-586.windows.x86.S
[326/723] Compiling sha1-armv4-large.linux.arm.S
[327/723] Compiling sha1-armv8.ios.aarch64.S
[328/723] Compiling sha1-586.linux.x86.S
[329/723] Compiling rsaz-avx2.mac.x86_64.S
[330/723] Compiling rsaz-avx2.linux.x86_64.S
[331/723] Compiling sha1-altivec.c
[332/723] Compiling sha512.c
[333/723] Compiling sha1.c
[334/723] Compiling sha256.c
[335/723] Compiling rdrand-x86_64.mac.x86_64.S
[336/723] Compiling rdrand-x86_64.linux.x86_64.S
[337/723] Compiling self_check.c
[338/723] Compiling rsa_impl.c
[339/723] Compiling padding.c
[340/723] Compiling blinding.c
[341/723] Compiling fork_detect.c
[342/723] Compiling rsa.c
[343/723] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[344/723] Compiling rand.c
[345/723] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[346/723] Compiling p256-x86_64-asm.mac.x86_64.S
[347/723] Compiling urandom.c
[348/723] Compiling p256-x86_64-asm.linux.x86_64.S
[349/723] Compiling ctrdrbg.c
[350/723] Compiling ofb.c
[351/723] Compiling md5-x86_64.mac.x86_64.S
[352/723] Compiling polyval.c
[353/723] Compiling md5-x86_64.linux.x86_64.S
[354/723] Compiling gcm_nohw.c
[355/723] Compiling ctr.c
[356/723] Compiling gcm.c
[357/723] Compiling cfb.c
[358/723] Compiling cbc.c
[359/723] Compiling md5-586.windows.x86.S
[360/723] Compiling md5-586.linux.x86.S
[361/723] Compiling md5.c
[362/723] Compiling ghashv8-armx64.linux.aarch64.S
[363/723] Compiling is_fips.c
[364/723] Compiling ghashv8-armx64.ios.aarch64.S
[365/723] Compiling ghashv8-armx32.linux.arm.S
[366/723] Compiling ghashv8-armx32.ios.arm.S
[367/723] Compiling md4.c
[368/723] Compiling ghash-x86.windows.x86.S
[368/723] Compiling ghash-x86_64.mac.x86_64.S
[370/723] Compiling ghash-x86_64.linux.x86_64.S
[371/723] Compiling hmac.c
[372/723] Compiling ghash-x86.linux.x86.S
[373/723] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[374/723] Compiling ghash-ssse3-x86.linux.x86.S
[375/723] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[376/723] Compiling ghash-ssse3-x86.windows.x86.S
[377/723] Compiling ghash-neon-armv8.linux.aarch64.S
[378/723] Compiling ghash-armv4.linux.arm.S
[379/723] Compiling ghash-armv4.ios.arm.S
[380/723] Compiling ghash-neon-armv8.ios.aarch64.S
[381/723] Compiling fips_shared_support.c
[382/723] Compiling util.c
[383/723] Compiling ecdh.c
[384/723] Compiling wnaf.c
[385/723] Compiling simple_mul.c
[386/723] Compiling ecdsa.c
[387/723] Compiling scalar.c
[388/723] Compiling simple.c
[389/723] Compiling p256-x86_64.c
[390/723] Compiling p224-64.c
[391/723] Compiling p256.c
[392/723] Compiling oct.c
[393/723] Compiling felem.c
[394/723] Compiling ec_montgomery.c
[395/723] Compiling ec_key.c
[396/723] Compiling digest.c
[397/723] Compiling check.c
[398/723] Compiling digests.c
[399/723] Compiling dh.c
[400/723] Compiling ec.c
[401/723] Compiling co-586.windows.x86.S
[402/723] Compiling co-586.linux.x86.S
[403/723] Compiling bsaes-armv7.linux.arm.S
[404/723] Compiling bsaes-armv7.ios.arm.S
[405/723] Compiling des.c
[406/723] Compiling e_des.c
[407/723] Compiling aead.c
[408/723] Compiling rsaz_exp.c
[409/723] Compiling sqrt.c
[409/723] Compiling cipher.c
[411/723] Compiling shift.c
[412/723] Compiling e_aes.c
[413/723] Compiling random.c
[414/723] Compiling prime.c
[415/723] Compiling montgomery_inv.c
[416/723] Compiling mul.c
[417/723] Compiling montgomery.c
[418/723] Compiling jacobi.c
[419/723] Compiling gcd.c
[420/723] Compiling gcd_extra.c
[421/723] Compiling div_extra.c
[422/723] Compiling exponentiation.c
[423/723] Compiling ctx.c
[424/723] Compiling generic.c
[425/723] Compiling cmp.c
[426/723] Compiling div.c
[427/723] Compiling bn-586.windows.x86.S
[428/723] Compiling x86_64-gcc.c
[429/723] Compiling bytes.c
[430/723] Compiling bn-586.linux.x86.S
[431/723] Compiling add.c
[432/723] Compiling bn.c
[433/723] Compiling armv8-mont.linux.aarch64.S
[434/723] Compiling armv8-mont.ios.aarch64.S
[435/723] Compiling armv4-mont.ios.arm.S
[436/723] Compiling armv4-mont.linux.arm.S
[437/723] Compiling aesv8-armx64.linux.aarch64.S
[438/723] Compiling aesv8-armx32.ios.arm.S
[439/723] Compiling aesv8-armx32.linux.arm.S
[440/723] Compiling aesv8-armx64.ios.aarch64.S
[441/723] Compiling aesni-x86_64.linux.x86_64.S
[442/723] Compiling aesni-x86_64.mac.x86_64.S
[443/723] Compiling aesni-x86.windows.x86.S
[444/723] Compiling aesni-gcm-x86_64.mac.x86_64.S
[445/723] Compiling aesni-x86.linux.x86.S
[446/723] Compiling aesni-gcm-x86_64.linux.x86_64.S
[447/723] Compiling aes.c
[448/723] Compiling mode_wrappers.c
[449/723] Compiling key_wrap.c
[450/723] Compiling aes_nohw.c
[451/723] Compiling ex_data.c
[452/723] Compiling sign.c
[453/723] Compiling scrypt.c
[454/723] Compiling pbkdf.c
[455/723] Compiling p_x25519_asn1.c
[456/723] Compiling print.c
[457/723] Compiling p_x25519.c
[458/723] Compiling p_rsa_asn1.c
[459/723] Compiling p_ed25519_asn1.c
[460/723] Compiling p_rsa.c
[460/723] Compiling p_ed25519.c
[462/723] Compiling p_ec_asn1.c
[463/723] Compiling p_dsa_asn1.c
[464/723] Compiling p_ec.c
[465/723] Compiling evp_ctx.c
[466/723] Compiling evp_asn1.c
[467/723] Compiling digestsign.c
[468/723] Compiling err_data.c
[469/723] Compiling evp.c
[470/723] Compiling engine.c
[471/723] Compiling err.c
[472/723] Compiling ecdsa_asn1.c
[473/723] Compiling ecdh_extra.c
[474/723] Compiling ec_derive.c
[475/723] Compiling hash_to_curve.c
[476/723] Compiling dsa_asn1.c
[477/723] Compiling ec_asn1.c
[478/723] Compiling x25519-asm-arm.S
[479/723] Compiling params.c
[479/723] Compiling dh_asn1.c
[481/723] Compiling digest_extra.c
[482/723] Compiling dsa.c
[483/723] Compiling spake25519.c
[484/723] Compiling crypto.c
[485/723] Compiling cpu-ppc64le.c
[486/723] Compiling cpu-intel.c
[487/723] Compiling cpu-arm.c
[488/723] Compiling cpu-aarch64-win.c
[489/723] Compiling cpu-arm-linux.c
[490/723] Compiling cpu-aarch64-linux.c
[491/723] Compiling cpu-aarch64-fuchsia.c
[492/723] Compiling curve25519.c
[493/723] Compiling cmac.c
[494/723] Compiling conf.c
[495/723] Compiling e_rc4.c
[496/723] Compiling e_tls.c
[497/723] Compiling tls_cbc.c
[498/723] Compiling e_null.c
[499/723] Compiling e_rc2.c
[500/723] Compiling e_chacha20poly1305.c
[501/723] Compiling e_aesgcmsiv.c
[502/723] Compiling e_aesctrhmac.c
[503/723] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[504/723] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[505/723] Compiling derive_key.c
[506/723] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[507/723] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[508/723] Compiling e_aesccm.c
[509/723] Compiling cipher_extra.c
[510/723] Compiling chacha-x86_64.linux.x86_64.S
[511/723] Compiling chacha-x86_64.mac.x86_64.S
[512/723] Compiling chacha-x86.linux.x86.S
[513/723] Compiling chacha-x86.windows.x86.S
[514/723] Compiling chacha.c
[515/723] Compiling chacha-armv8.linux.aarch64.S
[516/723] Compiling chacha-armv4.linux.arm.S
[517/723] Compiling chacha-armv4.ios.arm.S
[518/723] Compiling chacha-armv8.ios.aarch64.S
[519/723] Compiling unicode.c
[520/723] Compiling cbb.c
[521/723] Compiling asn1_compat.c
[522/723] Compiling cbs.c
[523/723] Compiling ber.c
[524/723] Compiling bn_asn1.c
[525/723] Compiling buf.c
[526/723] Compiling blake2.c
[527/723] Compiling convert.c
[528/723] Compiling socket_helper.c
[529/723] Compiling socket.c
[530/723] Compiling printf.c
[531/723] Compiling hexdump.c
[532/723] Compiling file.c
[533/723] Compiling pair.c
[534/723] Compiling bio_mem.c
[535/723] Compiling fd.c
[536/723] Compiling connect.c
[537/723] Compiling base64.c
[538/723] Compiling bio.c
[539/723] Compiling time_support.c
[540/723] Compiling tasn_utl.c
[541/723] Compiling tasn_fre.c
[542/723] Compiling tasn_typ.c
[543/723] Compiling tasn_new.c
[544/723] Compiling f_string.c
[545/723] Compiling tasn_enc.c
[546/723] Compiling f_enum.c
[547/723] Compiling asn_pack.c
[548/723] Compiling f_int.c
[549/723] Compiling tasn_dec.c
[550/723] Compiling asn1_par.c
[551/723] Compiling a_utf8.c
[552/723] Compiling asn1_lib.c
[553/723] Compiling a_utctm.c
[554/723] Compiling a_type.c
[555/723] Compiling a_print.c
[556/723] Compiling a_time.c
[557/723] Compiling a_octet.c
[558/723] Compiling a_strnid.c
[559/723] Compiling a_object.c
[560/723] Compiling a_mbstr.c
[561/723] Compiling a_i2d_fp.c
[562/723] Compiling a_int.c
[563/723] Compiling a_gentm.c
[564/723] Compiling a_enum.c
[565/723] Compiling a_bool.c
[566/723] Compiling a_dup.c
[567/723] Compiling a_d2i_fp.c
[568/723] Compiling a_bitstr.c
[569/723] Compiling thread.c
[570/723] Compiling windows.c
[571/723] Compiling rand_extra.c
[572/723] Compiling fuchsia.c
[573/723] Compiling deterministic.c
[574/778] Compiling thread_none.c
[575/778] Compiling stack.c
[576/778] Compiling mem.c
[577/778] Compiling refcount_lock.c
[578/778] Compiling forkunsafe.c
[579/778] Compiling thread_pthread.c
[580/778] Compiling thread_win.c
[581/778] Compiling passive.c
[582/778] Compiling refcount_c11.c
[583/778] Compiling x86_64-mont.linux.x86_64.S
[584/778] Compiling x86-mont.linux.x86.S
[585/778] Compiling x86_64-mont5.linux.x86_64.S
[586/778] Compiling x86_64-mont5.mac.x86_64.S
[587/778] Compiling vpaes-x86_64.mac.x86_64.S
[588/778] Compiling x86_64-mont.mac.x86_64.S
[589/778] Compiling vpaes-x86.linux.x86.S
[590/778] Compiling vpaes-x86_64.linux.x86_64.S
[591/778] Compiling vpaes-armv8.linux.aarch64.S
[592/778] Compiling vpaes-armv7.ios.arm.S
[593/778] Compiling vpaes-armv8.ios.aarch64.S
[593/778] Compiling vpaes-armv7.linux.arm.S
[595/778] Compiling sha512-x86_64.mac.x86_64.S
[596/778] Compiling sha512-x86_64.linux.x86_64.S
[597/778] Compiling sha512-armv8.linux.aarch64.S
[598/778] Compiling sha512-armv4.linux.arm.S
[599/778] Compiling sha512-armv8.ios.aarch64.S
[600/778] Compiling sha512-armv4.ios.arm.S
[601/778] Compiling sha256-x86_64.linux.x86_64.S
[602/778] Compiling sha512-586.linux.x86.S
[603/778] Compiling sha256-armv8.linux.aarch64.S
[604/778] Compiling sha256-x86_64.mac.x86_64.S
[605/778] Compiling sha256-armv4.linux.arm.S
[606/778] Compiling sha256-586.linux.x86.S
[607/778] Compiling sha256-armv4.ios.arm.S
[608/778] Compiling sha256-armv8.ios.aarch64.S
[609/778] Compiling sha1-x86_64.mac.x86_64.S
[610/778] Compiling sha1-x86_64.linux.x86_64.S
[611/778] Compiling sha1-armv8.linux.aarch64.S
[612/778] Compiling sha1-armv4-large.ios.arm.S
[613/778] Compiling rsaz-avx2.mac.x86_64.S
[613/778] Compiling rsaz-avx2.linux.x86_64.S
[615/778] Compiling sha1-armv4-large.linux.arm.S
[616/778] Compiling sha1-586.linux.x86.S
[617/778] Compiling sha1-armv8.ios.aarch64.S
[618/778] Compiling rdrand-x86_64.mac.x86_64.S
[619/778] Compiling rdrand-x86_64.linux.x86_64.S
[620/778] Compiling p256-x86_64-asm.mac.x86_64.S
[621/778] Compiling fork_detect.c
[622/778] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[623/778] Compiling p256-x86_64-asm.linux.x86_64.S
[624/778] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[625/778] Compiling ctrdrbg.c
[626/778] Compiling rand.c
[627/778] Compiling polyval.c
[628/778] Compiling ofb.c
[629/778] Compiling gcm_nohw.c
[630/778] Compiling cfb.c
[631/778] Compiling ctr.c
[632/778] Compiling md5-x86_64.mac.x86_64.S
[633/778] Compiling md5-x86_64.linux.x86_64.S
[634/778] Compiling gcm.c
[635/778] Compiling cbc.c
[636/778] Compiling md5-586.linux.x86.S
[637/778] Compiling ghashv8-armx64.linux.aarch64.S
[638/778] Compiling ghashv8-armx32.linux.arm.S
[639/778] Compiling ghashv8-armx64.ios.aarch64.S
[640/778] Compiling ghashv8-armx32.ios.arm.S
[641/778] Compiling ghash-x86_64.mac.x86_64.S
[642/778] Compiling ghash-x86_64.linux.x86_64.S
[643/778] Compiling ghash-x86.linux.x86.S
[644/778] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[645/778] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[646/778] Compiling ghash-ssse3-x86.linux.x86.S
[647/778] Compiling ghash-neon-armv8.linux.aarch64.S
[648/778] Compiling ghash-neon-armv8.ios.aarch64.S
[649/778] Compiling ghash-armv4.linux.arm.S
[650/778] Compiling ghash-armv4.ios.arm.S
[651/778] Compiling co-586.linux.x86.S
[652/778] Compiling bsaes-armv7.linux.arm.S
[653/778] Compiling bsaes-armv7.ios.arm.S
[654/778] Compiling sqrt.c
[655/778] Compiling rsaz_exp.c
[655/778] Compiling cipher.c
[657/778] Compiling e_aes.c
[658/778] Compiling shift.c
[659/778] Compiling random.c
[660/778] Compiling prime.c
[661/778] Compiling mul.c
[662/778] Compiling gcd.c
[663/778] Compiling jacobi.c
[664/778] Compiling gcd_extra.c
[665/778] Compiling montgomery_inv.c
[666/778] Compiling montgomery.c
[667/778] Compiling div_extra.c
[668/778] Compiling exponentiation.c
[669/778] Compiling cmp.c
[670/778] Compiling bytes.c
[671/778] Compiling ctx.c
[672/778] Compiling x86_64-gcc.c
[673/778] Compiling div.c
[674/778] Compiling bn-586.linux.x86.S
[675/778] Compiling armv8-mont.linux.aarch64.S
[676/778] Compiling generic.c
[677/778] Compiling add.c
[678/778] Compiling bn.c
[679/778] Compiling armv8-mont.ios.aarch64.S
[680/778] Compiling armv4-mont.linux.arm.S
[681/778] Compiling armv4-mont.ios.arm.S
[682/778] Compiling aesv8-armx64.linux.aarch64.S
[683/778] Compiling aesv8-armx32.linux.arm.S
[684/778] Compiling aesv8-armx64.ios.aarch64.S
[685/778] Compiling aesni-x86_64.mac.x86_64.S
[686/778] Compiling aesv8-armx32.ios.arm.S
[687/778] Compiling aesni-x86_64.linux.x86_64.S
[688/778] Compiling aesni-x86.linux.x86.S
[689/778] Compiling aesni-gcm-x86_64.mac.x86_64.S
[690/778] Compiling aesni-gcm-x86_64.linux.x86_64.S
[691/778] Compiling mode_wrappers.c
[692/778] Compiling err_data.c
[694/778] Compiling Crypto Ed25519.swift
[695/778] Compiling Crypto NISTCurvesKeys.swift
[696/778] Compiling Crypto X25519Keys.swift
[697/778] Compiling Crypto SymmetricKeys.swift
[698/778] Compiling Crypto HMAC.swift
[699/778] Compiling Crypto MACFunctions.swift
[699/784] Compiling key_wrap.c
[700/784] Compiling aes.c
[701/784] Compiling ex_data.c
[703/784] Compiling Crypto ASN1.swift
[704/784] Compiling Crypto ASN1BitString.swift
[705/784] Compiling Crypto ASN1Identifier.swift
[706/784] Compiling Crypto ASN1Integer.swift
[707/784] Compiling Crypto ASN1OctetString.swift
[708/784] Compiling Crypto ArraySliceBigint.swift
[708/784] Compiling cpu_ppc64le.c
[709/784] Compiling cpu_intel.c
[710/784] Compiling cpu_arm_linux.c
[711/784] Compiling crypto.c
[712/784] Compiling urandom.c
[713/784] Compiling cpu_aarch64_win.c
[714/784] Compiling cpu_arm.c
[715/784] Compiling err.c
[716/784] Compiling cpu_aarch64_fuchsia.c
[717/784] Compiling cpu_aarch64_linux.c
[719/784] Compiling Crypto AES-GCM.swift
[720/784] Compiling Crypto AES-GCM_boring.swift
[721/784] Compiling Crypto ChaChaPoly_boring.swift
[722/784] Compiling Crypto ChaChaPoly.swift
[723/784] Compiling Crypto Cipher.swift
[724/784] Compiling Crypto Nonces.swift
[724/784] Compiling aes_nohw.c
[725/784] Compiling unicode.c
[726/784] Write sources
[729/784] Compiling ber.c
[730/784] Write sources
[731/784] Compiling cpu_aarch64_apple.c
[732/784] Compiling asn1_compat.c
[733/784] Compiling cbs.c
[734/784] Compiling cbb.c
[735/784] Compiling file.c
[736/784] Compiling convert.c
[737/784] Compiling bio.c
[739/786] Emitting module Crypto
[740/788] Compiling Crypto MessageAuthenticationCode.swift
[741/788] Compiling Crypto AES.swift
[742/788] Compiling Crypto ECDSASignature_boring.swift
[743/788] Compiling Crypto ECDSA_boring.swift
[744/788] Compiling Crypto EdDSA_boring.swift
[745/788] Compiling Crypto ECDSA.swift
[746/788] Compiling Crypto ObjectIdentifier.swift
[747/788] Compiling Crypto ECDSASignature.swift
[748/788] Compiling Crypto PEMDocument.swift
[749/788] Compiling Crypto PKCS8PrivateKey.swift
[750/788] Compiling Crypto SEC1PrivateKey.swift
[751/788] Compiling Crypto SubjectPublicKeyInfo.swift
[752/788] Compiling Crypto Ed25519_boring.swift
[753/788] Compiling Crypto EllipticCurvePoint_boring.swift
[754/788] Compiling Crypto EllipticCurve_boring.swift
[755/788] Compiling Crypto NISTCurvesKeys_boring.swift
[756/788] Compiling Crypto X25519Keys_boring.swift
[757/788] Compiling Crypto Curve25519.swift
[758/788] Compiling Crypto Insecure.swift
[759/788] Compiling Crypto Insecure_HashFunctions.swift
[760/788] Compiling Crypto ECDH_boring.swift
[761/788] Compiling Crypto DH.swift
[762/788] Compiling Crypto ECDH.swift
[763/788] Compiling Crypto HKDF.swift
[764/788] Compiling Crypto CryptoKitErrors.swift
[765/788] Compiling Crypto Digest_boring.swift
[766/788] Compiling Crypto Digest.swift
[767/788] Compiling Crypto Digests.swift
[768/788] Compiling Crypto HashFunctions.swift
[769/788] Compiling Crypto HashFunctions_SHA2.swift
[770/788] Compiling Crypto EdDSA.swift
[771/788] Compiling Crypto Signature.swift
[772/788] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[773/788] Compiling Crypto CryptoKitErrors_boring.swift
[774/788] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[775/788] Compiling Crypto RNG_boring.swift
[776/788] Compiling Crypto SafeCompare_boring.swift
[777/788] Compiling Crypto Zeroization_boring.swift
[778/788] Compiling Crypto PrettyBytes.swift
[779/788] Compiling Crypto SafeCompare.swift
[780/788] Compiling Crypto SecureBytes.swift
[781/788] Compiling Crypto Zeroization.swift
[782/788] Emitting module ArgumentParserToolInfo
[783/788] Compiling ArgumentParserToolInfo ToolInfo.swift
[784/825] Emitting module BigNum
[785/825] Compiling BigNum BigNum.swift
[786/833] Compiling ArgumentParser OptionGroup.swift
[787/833] Compiling ArgumentParser AsyncParsableCommand.swift
[788/833] Compiling ArgumentParser CommandConfiguration.swift
[789/833] Compiling ArgumentParser EnumerableFlag.swift
[790/836] Compiling SRP error.swift
[791/836] Compiling ArgumentParser InputOrigin.swift
[792/836] Compiling ArgumentParser Name.swift
[793/836] Compiling ArgumentParser Parsed.swift
[794/836] Compiling ArgumentParser ParsedValues.swift
[795/836] Compiling SRP keys.swift
[796/836] Compiling SRP server.swift
[797/836] Compiling SRP srp.swift
[798/836] Emitting module SRP
[799/836] Compiling SRP configuration.swift
[800/836] Compiling SRP client.swift
[801/836] Compiling SRP Array.swift
[802/841] Compiling ArgumentParser BashCompletionsGenerator.swift
[803/841] Compiling ArgumentParser CompletionsGenerator.swift
[804/841] Compiling ArgumentParser FishCompletionsGenerator.swift
[805/841] Compiling ArgumentParser ZshCompletionsGenerator.swift
[806/841] Compiling ArgumentParser SequenceExtensions.swift
[807/841] Compiling ArgumentParser StringExtensions.swift
[808/841] Compiling ArgumentParser Tree.swift
[809/841] Compiling AppleAPI Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:18:22: error: 'Environment' cannot be constructed because it has no accessible initializers
16 | }
17 |
18 | public var Current = Environment()
| `- error: 'Environment' cannot be constructed because it has no accessible initializers
19 |
20 | public struct Shell {
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:33:136: error: cannot infer contextual base in reference to member 'promise'
31 | public var session = URLSession.shared
32 |
33 | public var dataTask: (URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> = { Current.network.session.dataTask(.promise, with: $0) }
| `- error: cannot infer contextual base in reference to member 'promise'
34 | public func dataTask(with convertible: URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> {
35 | dataTask(convertible)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:18:12: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public var Current = Environment()
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public struct Shell {
[810/841] Compiling ArgumentParser Errors.swift
[811/841] Compiling ArgumentParser Flag.swift
[812/841] Compiling ArgumentParser NameSpecification.swift
[813/841] Compiling ArgumentParser Option.swift
[814/841] Compiling ArgumentParser ExpressibleByArgument.swift
[815/841] Compiling ArgumentParser ParsableArguments.swift
[816/841] Compiling ArgumentParser ParsableArgumentsValidation.swift
[817/841] Compiling ArgumentParser ParsableCommand.swift
[818/841] Emitting module ArgumentParser
[819/841] Compiling ArgumentParser Argument.swift
[820/841] Compiling ArgumentParser ArgumentHelp.swift
[821/841] Compiling ArgumentParser ArgumentVisibility.swift
[822/841] Compiling ArgumentParser CompletionKind.swift
[823/841] Compiling ArgumentParser ParserError.swift
[824/841] Compiling ArgumentParser SplitArguments.swift
[825/841] Compiling ArgumentParser DumpHelpGenerator.swift
[826/841] Compiling ArgumentParser HelpCommand.swift
[827/841] Compiling AppleAPI Hashcash.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[828/841] Compiling AppleAPI URLRequest+Apple.swift
[829/841] Compiling AppleAPI Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:18:12: error: circular reference
10 | - SeeAlso: https://vimeo.com/291588126
11 | */
12 | public struct Environment {
| |- note: through reference here
| `- note: through reference here
13 | public var shell = Shell()
14 | public var network = Network()
| | |- note: through reference here
| | `- note: through reference here
| `- note: through reference here
15 | public var logging = Logging()
16 | }
17 |
18 | public var Current = Environment()
| | |- error: circular reference
| | `- note: through reference here
| `- note: through reference here
19 |
20 | public struct Shell {
:
28 | }
29 |
30 | public struct Network {
| |- note: through reference here
| `- note: through reference here
31 | public var session = URLSession.shared
32 |
33 | public var dataTask: (URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> = { Current.network.session.dataTask(.promise, with: $0) }
| | `- note: through reference here
| `- note: through reference here
34 | public func dataTask(with convertible: URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> {
35 | dataTask(convertible)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:33:136: error: cannot infer contextual base in reference to member 'promise'
31 | public var session = URLSession.shared
32 |
33 | public var dataTask: (URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> = { Current.network.session.dataTask(.promise, with: $0) }
| `- error: cannot infer contextual base in reference to member 'promise'
34 | public func dataTask(with convertible: URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> {
35 | dataTask(convertible)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:18:12: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public var Current = Environment()
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public struct Shell {
[830/841] Emitting module AppleAPI
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:18:12: error: circular reference
10 | - SeeAlso: https://vimeo.com/291588126
11 | */
12 | public struct Environment {
| |- note: through reference here
| `- note: through reference here
13 | public var shell = Shell()
14 | public var network = Network()
| | |- note: through reference here
| | `- note: through reference here
| `- note: through reference here
15 | public var logging = Logging()
16 | }
17 |
18 | public var Current = Environment()
| | |- error: circular reference
| | `- note: through reference here
| `- note: through reference here
19 |
20 | public struct Shell {
:
28 | }
29 |
30 | public struct Network {
| |- note: through reference here
| `- note: through reference here
31 | public var session = URLSession.shared
32 |
33 | public var dataTask: (URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> = { Current.network.session.dataTask(.promise, with: $0) }
| | `- note: through reference here
| `- note: through reference here
34 | public func dataTask(with convertible: URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> {
35 | dataTask(convertible)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:33:136: error: cannot infer contextual base in reference to member 'promise'
31 | public var session = URLSession.shared
32 |
33 | public var dataTask: (URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> = { Current.network.session.dataTask(.promise, with: $0) }
| `- error: cannot infer contextual base in reference to member 'promise'
34 | public func dataTask(with convertible: URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> {
35 | dataTask(convertible)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAPI/Environment.swift:18:12: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public var Current = Environment()
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public struct Shell {
[831/841] Compiling ArgumentParser HelpGenerator.swift
[832/841] Compiling ArgumentParser MessageInfo.swift
[833/841] Compiling ArgumentParser UsageGenerator.swift
[834/841] Compiling ArgumentParser CollectionExtensions.swift
BUILD FAILURE 6.0 macosSpm