Build Information
Failed to build LicensePlist, reference 3.28.3 (abd221), with Swift 6.4 for Linux on 3 Oct 2026 10:48:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mono0926/LicensePlist.git
Reference: 3.28.3
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/mono0926/LicensePlist
* tag 3.28.3 -> FETCH_HEAD
HEAD is now at abd2219 release 3.28.3
Cloned https://github.com/mono0926/LicensePlist.git
Revision (git rev-parse @):
abd22190bcfd3bc99431b926bbd6d11b07071a92
SUCCESS checkout https://github.com/mono0926/LicensePlist.git at 3.28.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/mono0926/LicensePlist.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/Kitura/HeliumLogger.git
Fetching https://github.com/tomlokhorst/XcodeEdit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/Kitura/swift-html-entities.git
[1/1253] Fetching xcodeedit
[39/2520] Fetching xcodeedit, heliumlogger
[1761/14381] Fetching xcodeedit, heliumlogger, yams
Fetching https://github.com/YusukeHosonuma/SwiftParamTest
Fetched https://github.com/tomlokhorst/XcodeEdit.git (0.50s)
[1257/13791] Fetching heliumlogger, yams, swift-html-entities
Fetching https://github.com/ishkawa/APIKit.git
Fetched https://github.com/Kitura/swift-html-entities.git (0.65s)
[3877/13128] Fetching heliumlogger, yams
Fetching https://github.com/apple/swift-argument-parser.git
[9215/13940] Fetching heliumlogger, yams, swiftparamtest
[9632/19505] Fetching heliumlogger, yams, swiftparamtest, apikit
Fetched https://github.com/YusukeHosonuma/SwiftParamTest (0.69s)
Fetched https://github.com/ishkawa/APIKit.git (0.66s)
[11824/13128] Fetching heliumlogger, yams
[13129/32138] Fetching heliumlogger, yams, swift-argument-parser
Fetching https://github.com/LebJe/TOMLKit.git
Fetched https://github.com/Kitura/HeliumLogger.git (1.66s)
Fetched https://github.com/jpsim/Yams.git (1.72s)
Fetched https://github.com/apple/swift-argument-parser.git (1.23s)
[1/23422] Fetching tomlkit
Fetched https://github.com/LebJe/TOMLKit.git (1.14s)
Computing version for https://github.com/LebJe/TOMLKit.git
Computed https://github.com/LebJe/TOMLKit.git at 0.6.0 (4.42s)
Computing version for https://github.com/Kitura/swift-html-entities.git
Computed https://github.com/Kitura/swift-html-entities.git at 4.0.1 (0.25s)
Computing version for https://github.com/Kitura/HeliumLogger.git
Computed https://github.com/Kitura/HeliumLogger.git at 2.0.0 (0.24s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/apple/swift-log.git
[1/8232] Fetching swift-log
[331/9016] Fetching swift-log, loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git (0.47s)
Fetched https://github.com/apple/swift-log.git (0.58s)
Computing version for https://github.com/ishkawa/APIKit.git
Computed https://github.com/ishkawa/APIKit.git at 5.4.0 (0.87s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.1.0 (0.28s)
Computing version for https://github.com/YusukeHosonuma/SwiftParamTest
Computed https://github.com/YusukeHosonuma/SwiftParamTest at 2.2.1 (0.34s)
Fetching https://github.com/YusukeHosonuma/Flatten.git
Fetching https://github.com/YusukeHosonuma/SHList.git
[2/68] Fetching shlist
Fetched https://github.com/YusukeHosonuma/SHList.git (0.39s)
[1/146] Fetching flatten
Fetched https://github.com/YusukeHosonuma/Flatten.git (0.42s)
Computing version for https://github.com/YusukeHosonuma/SHList.git
Computed https://github.com/YusukeHosonuma/SHList.git at 0.1.0 (0.69s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.26s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.2 (0.44s)
Computing version for https://github.com/tomlokhorst/XcodeEdit.git
Computed https://github.com/tomlokhorst/XcodeEdit.git at 2.13.0 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.29s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.77s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/LebJe/TOMLKit.git
Working copy of https://github.com/LebJe/TOMLKit.git resolved at 0.6.0
Creating working copy for https://github.com/Kitura/swift-html-entities.git
Working copy of https://github.com/Kitura/swift-html-entities.git resolved at 4.0.1
Creating working copy for https://github.com/tomlokhorst/XcodeEdit.git
Working copy of https://github.com/tomlokhorst/XcodeEdit.git resolved at 2.13.0
Creating working copy for https://github.com/YusukeHosonuma/SwiftParamTest
Working copy of https://github.com/YusukeHosonuma/SwiftParamTest resolved at 2.2.1
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.1.0
Creating working copy for https://github.com/YusukeHosonuma/Flatten.git
Working copy of https://github.com/YusukeHosonuma/Flatten.git resolved at 0.1.0
Creating working copy for https://github.com/Kitura/HeliumLogger.git
Working copy of https://github.com/Kitura/HeliumLogger.git resolved at 2.0.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/ishkawa/APIKit.git
Working copy of https://github.com/ishkawa/APIKit.git resolved at 5.4.0
Creating working copy for https://github.com/YusukeHosonuma/SHList.git
Working copy of https://github.com/YusukeHosonuma/SHList.git resolved at 0.1.0
Downloading binary artifact https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip
[0/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (784 bytes / 2.9 MB)
[0/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (13 KB / 2.9 MB)
[0/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (15 KB / 2.9 MB)
[1/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (32 KB / 2.9 MB)
[1/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (48 KB / 2.9 MB)
[2/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (65 KB / 2.9 MB)
[2/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (81 KB / 2.9 MB)
[3/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (97 KB / 2.9 MB)
[3/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (114 KB / 2.9 MB)
[4/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (130 KB / 2.9 MB)
[5/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (147 KB / 2.9 MB)
[5/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (163 KB / 2.9 MB)
[6/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (179 KB / 2.9 MB)
[6/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (196 KB / 2.9 MB)
[7/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (212 KB / 2.9 MB)
[7/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (228 KB / 2.9 MB)
[8/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (245 KB / 2.9 MB)
[9/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (261 KB / 2.9 MB)
[9/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (278 KB / 2.9 MB)
[10/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (294 KB / 2.9 MB)
[10/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (310 KB / 2.9 MB)
[11/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (327 KB / 2.9 MB)
[11/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (343 KB / 2.9 MB)
[12/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (359 KB / 2.9 MB)
[12/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (376 KB / 2.9 MB)
[13/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (392 KB / 2.9 MB)
[13/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (402 KB / 2.9 MB)
[14/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (418 KB / 2.9 MB)
[15/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (435 KB / 2.9 MB)
[15/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (451 KB / 2.9 MB)
[16/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (467 KB / 2.9 MB)
[16/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (468 KB / 2.9 MB)
[16/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (484 KB / 2.9 MB)
[17/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (500 KB / 2.9 MB)
[17/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (517 KB / 2.9 MB)
[18/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (533 KB / 2.9 MB)
[20/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (599 KB / 2.9 MB)
[21/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (615 KB / 2.9 MB)
[23/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (681 KB / 2.9 MB)
[25/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (730 KB / 2.9 MB)
[25/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (746 KB / 2.9 MB)
[26/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (762 KB / 2.9 MB)
[26/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (779 KB / 2.9 MB)
[27/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (795 KB / 2.9 MB)
[28/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (812 KB / 2.9 MB)
[28/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (828 KB / 2.9 MB)
[29/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (844 KB / 2.9 MB)
[29/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (861 KB / 2.9 MB)
[30/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (877 KB / 2.9 MB)
[30/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (893 KB / 2.9 MB)
[31/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (910 KB / 2.9 MB)
[31/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (926 KB / 2.9 MB)
[32/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (943 KB / 2.9 MB)
[33/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (959 KB / 2.9 MB)
[33/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (975 KB / 2.9 MB)
[34/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (992 KB / 2.9 MB)
[34/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1 MB / 2.9 MB)
[36/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.1 MB / 2.9 MB)
[39/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.2 MB / 2.9 MB)
[43/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.3 MB / 2.9 MB)
[46/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.4 MB / 2.9 MB)
[50/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.5 MB / 2.9 MB)
[54/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.6 MB / 2.9 MB)
[57/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.7 MB / 2.9 MB)
[60/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.8 MB / 2.9 MB)
[64/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.9 MB / 2.9 MB)
[67/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2 MB / 2.9 MB)
[71/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.1 MB / 2.9 MB)
[75/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.2 MB / 2.9 MB)
[77/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.3 MB / 2.9 MB)
[81/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.4 MB / 2.9 MB)
[84/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.5 MB / 2.9 MB)
[88/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.6 MB / 2.9 MB)
[91/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.7 MB / 2.9 MB)
[95/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.8 MB / 2.9 MB)
[98/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.9 MB / 2.9 MB)
Downloaded https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (0.47s)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 538]
[Planning 425 / 538]
[Planning deferred tasks]
[Starting]
[44 / 183] LicensePlistCore
[96 / 188] CYaml
[99 / 188] CYaml
[101 / 193] HTMLEntities
[104 / 211] Logging
[107 / 229] Yams
[108 / 229] TOMLKit
[109 / 229] Logging
[121 / 229] Yams
[122 / 229] XcodeEdit
[133 / 229] Yams
[134 / 229] Yams
[136 / 229] Yams
[140 / 229] Yams
[141 / 229] Yams-product
[143 / 229] Yams-product
[145 / 229] XcodeEdit-product
[148 / 229] TOMLKit
[149 / 229] TOMLKit
[150 / 229] TOMLKit
[151 / 229] TOMLKit
[154 / 230] XcodeEdit
[157 / 230] TOMLKit
[158 / 230] Logging
[159 / 230] Logging
[162 / 231] Yams
[164 / 231] Yams
[166 / 231] Logging
[167 / 231] Logging
[167 / 231] LoggerAPI
[169 / 231] LoggerAPI
[172 / 231] CTOML
[173 / 231] CTOML
[175 / 231] CTOML
[176 / 232] CTOML
[177 / 233] HTMLEntities-product
[180 / 233]
[182 / 233]
[186 / 236] LoggerAPI
[187 / 237] TOMLKit
[187 / 237] Yams
[191 / 240] ArgumentParserToolInfo
[192 / 240] LoggerAPI
[202 / 241]
[205 / 247] LoggerAPI
[206 / 256] APIKit
[207 / 256] LoggerAPI
[213 / 256] LoggerAPI
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:78: [1;31merror: [1;39mcannot find 'arc4random' in scope[0;0m
[0;36m30 |[0;0m public let entityType: EntityType
[0;36m31 |[0;0m
[0;36m32 |[0;0m public init(parts: [Part], boundary: String = String(format: "%08x%08x", [4;39marc4random[0;0m(), arc4random()), entityType: EntityType = .data) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'arc4random' in scope[0;0m
[0;36m33 |[0;0m self.parts = parts
[0;36m34 |[0;0m self.boundary = boundary
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:92: [1;31merror: [1;39mcannot find 'arc4random' in scope[0;0m
[0;36m30 |[0;0m public let entityType: EntityType
[0;36m31 |[0;0m
[0;36m32 |[0;0m public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), [4;39marc4random[0;0m()), entityType: EntityType = .data) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'arc4random' in scope[0;0m
[0;36m33 |[0;0m self.parts = parts
[0;36m34 |[0;0m self.boundary = boundary
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/RequestError.swift:9:31: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /// Indicates `URLRequest` built by `Request.buildURLRequest` is unexpected.
[0;36m9 |[0;0m case unexpectedURLRequest([4;39mURLRequest[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m }
[0;36m11 |[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/ResponseError.swift:7:29: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m public enum ResponseError: Error {
[0;36m6 |[0;0m /// Indicates the session adapter returned `URLResponse` that fails to down-cast to `HTTPURLResponse`.
[0;36m7 |[0;0m case nonHTTPURLResponse([4;39mURLResponse[0;0m?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /// Indicates `HTTPURLResponse.statusCode` is not acceptable.
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:48:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m46 |[0;0m /// thrown in this method, the result of `Session.send()` turns `.failure(.requestError(error))`.
[0;36m47 |[0;0m /// - Throws: `Error`
[0;36m48 |[0;0m func intercept(urlRequest: URLRequest) throws -> [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m
[0;36m50 |[0;0m /// Intercepts response `Any` and `HTTPURLResponse`. If an error is thrown in this method,
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:48:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m46 |[0;0m /// thrown in this method, the result of `Session.send()` turns `.failure(.requestError(error))`.
[0;36m47 |[0;0m /// - Throws: `Error`
[0;36m48 |[0;0m func intercept(urlRequest: [4;39mURLRequest[0;0m) throws -> URLRequest
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m
[0;36m50 |[0;0m /// Intercepts response `Any` and `HTTPURLResponse`. If an error is thrown in this method,
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:55:46: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m53 |[0;0m /// if the HTTP status code is not in `200..<300`.
[0;36m54 |[0;0m /// - Throws: `Error`
[0;36m55 |[0;0m func intercept(object: Any, urlResponse: [4;39mHTTPURLResponse[0;0m) throws -> Any
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m56 |[0;0m
[0;36m57 |[0;0m /// Build `Response` instance from raw response object. This method is called after
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:60:50: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m /// `intercept(object:urlResponse:)` if it does not throw any error.
[0;36m59 |[0;0m /// - Throws: `Error`
[0;36m60 |[0;0m func response(from object: Any, urlResponse: [4;39mHTTPURLResponse[0;0m) throws -> Response
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m }
[0;36m62 |[0;0m
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:92:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m90 |[0;0m }
[0;36m91 |[0;0m
[0;36m92 |[0;0m func intercept(urlRequest: URLRequest) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m93 |[0;0m return urlRequest
[0;36m94 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:92:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m90 |[0;0m }
[0;36m91 |[0;0m
[0;36m92 |[0;0m func intercept(urlRequest: [4;39mURLRequest[0;0m) throws -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m93 |[0;0m return urlRequest
[0;36m94 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:96:46: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m }
[0;36m95 |[0;0m
[0;36m96 |[0;0m func intercept(object: Any, urlResponse: [4;39mHTTPURLResponse[0;0m) throws -> Any {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m guard 200..<300 ~= urlResponse.statusCode else {
[0;36m98 |[0;0m throw ResponseError.unacceptableStatusCode(urlResponse.statusCode)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:105:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m103 |[0;0m /// Builds `URLRequest` from properties of `self`.
[0;36m104 |[0;0m /// - Throws: `RequestError`, `Error`
[0;36m105 |[0;0m func buildURLRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m106 |[0;0m let url = path.isEmpty ? baseURL : baseURL.appendingPathComponent(path)
[0;36m107 |[0;0m guard var components = URLComponents(url: url, resolvingAgainstBaseURL: true) else {
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:142:41: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m140 |[0;0m /// Builds `Response` from response `Data`.
[0;36m141 |[0;0m /// - Throws: `ResponseError`, `Error`
[0;36m142 |[0;0m func parse(data: Data, urlResponse: [4;39mHTTPURLResponse[0;0m) throws -> Response {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m143 |[0;0m let parsedObject = try dataParser.parse(data: data)
[0;36m144 |[0;0m let passedObject = try intercept(object: parsedObject, urlResponse: urlResponse)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:150:50: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m148 |[0;0m
[0;36m149 |[0;0m public extension Request where Response == Void {
[0;36m150 |[0;0m func response(from object: Any, urlResponse: [4;39mHTTPURLResponse[0;0m) throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m151 |[0;0m return
[0;36m152 |[0;0m }
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m public protocol SessionAdapter {
[0;36m13 |[0;0m /// Returns instance that conforms to `SessionTask`. `handler` must be called after success or failure.
[0;36m14 |[0;0m func createTask(with URLRequest: [4;39mURLRequest[0;0m, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Collects tasks from backend networking stack. `handler` must be called after collecting.
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Session.swift:23:53: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m21 |[0;0m // Shared session for class methods
[0;36m22 |[0;0m private static let privateShared: Session = {
[0;36m23 |[0;0m let configuration = [4;39mURLSessionConfiguration[0;0m.[4;39mdefault[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m24 |[0;0m let adapter = URLSessionAdapter(configuration: configuration)
[0;36m25 |[0;0m return Session(adapter: adapter)
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m public protocol SessionAdapter {
[0;36m13 |[0;0m /// Returns instance that conforms to `SessionTask`. `handler` must be called after success or failure.
[0;36m14 |[0;0m func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> SessionTask
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Collects tasks from backend networking stack. `handler` must be called after collecting.
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: [1;31merror: [1;39mnon-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension [4;39mURLSessionTask[0;0m: SessionTask {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m15 |[0;0m /// `URLSession(_:task: didCompleteWithError:)` and `URLSession(_:dataTask:didReceiveData:)`, you have to call
[0;36m16 |[0;0m /// `super` in these methods if you implement them.
[0;36m17 |[0;0m open class URLSessionAdapter: NSObject, SessionAdapter, [4;39mURLSessionDelegate[0;0m, URLSessionTaskDelegate, URLSessionDataDelegate {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m18 |[0;0m /// The underlying `URLSession` instance.
[0;36m19 |[0;0m open var urlSession: URLSession!
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m15 |[0;0m /// `URLSession(_:task: didCompleteWithError:)` and `URLSession(_:dataTask:didReceiveData:)`, you have to call
[0;36m16 |[0;0m /// `super` in these methods if you implement them.
[0;36m17 |[0;0m open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, [4;39mURLSessionTaskDelegate[0;0m, URLSessionDataDelegate {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m18 |[0;0m /// The underlying `URLSession` instance.
[0;36m19 |[0;0m open var urlSession: URLSession!
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m15 |[0;0m /// `URLSession(_:task: didCompleteWithError:)` and `URLSession(_:dataTask:didReceiveData:)`, you have to call
[0;36m16 |[0;0m /// `super` in these methods if you implement them.
[0;36m17 |[0;0m open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, [4;39mURLSessionDataDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m18 |[0;0m /// The underlying `URLSession` instance.
[0;36m19 |[0;0m open var urlSession: URLSession!
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
[0;36m18 |[0;0m /// The underlying `URLSession` instance.
[0;36m19 |[0;0m open var urlSession: [4;39mURLSession[0;0m!
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// Returns `URLSessionAdapter` initialized with `URLSessionConfiguration`.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// Returns `URLSessionAdapter` initialized with `URLSessionConfiguration`.
[0;36m22 |[0;0m public init(configuration: [4;39mURLSessionConfiguration[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m super.init()
[0;36m24 |[0;0m self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m /// Creates `URLSessionDataTask` instance using `dataTaskWithRequest(_:completionHandler:)`.
[0;36m28 |[0;0m open func createTask(with URLRequest: [4;39mURLRequest[0;0m, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m let task = urlSession.dataTask(with: URLRequest)
[0;36m30 |[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m /// Creates `URLSessionDataTask` instance using `dataTaskWithRequest(_:completionHandler:)`.
[0;36m28 |[0;0m open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> SessionTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m let task = urlSession.dataTask(with: URLRequest)
[0;36m30 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m private func setBuffer(_ buffer: NSMutableData, forTask task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
[0;36m47 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m private func buffer(for task: [4;39mURLSessionTask[0;0m) -> NSMutableData? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m return objc_getAssociatedObject(task, &dataTaskResponseBufferKey) as? NSMutableData
[0;36m51 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m private func setHandler(_ handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void, forTask task: URLSessionTask) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
[0;36m55 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
[0;36m55 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
[0;36m57 |[0;0m private func handler(for task: [4;39mURLSessionTask[0;0m) -> ((Data?, URLResponse?, Error?) -> Void)? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
[0;36m59 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
[0;36m57 |[0;0m private func handler(for task: URLSessionTask) -> ((Data?, [4;39mURLResponse[0;0m?, Error?) -> Void)? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
[0;36m59 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m // MARK: URLSessionTaskDelegate
[0;36m62 |[0;0m open func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m handler(for: task)?(buffer(for: task) as Data?, task.response, error)
[0;36m64 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m // MARK: URLSessionTaskDelegate
[0;36m62 |[0;0m open func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m handler(for: task)?(buffer(for: task) as Data?, task.response, error)
[0;36m64 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m
[0;36m66 |[0;0m // MARK: URLSessionDataDelegate
[0;36m67 |[0;0m open func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m buffer(for: dataTask)?.append(data)
[0;36m69 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m
[0;36m66 |[0;0m // MARK: URLSessionDataDelegate
[0;36m67 |[0;0m open func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m buffer(for: dataTask)?.append(data)
[0;36m69 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/BodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/Data+InputStream.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/FormURLEncodedBodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/JSONBodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/ProtobufBodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/CallbackQueue.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Combine/Combine.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Concurrency/Concurrency.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/DataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/FormURLEncodedDataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/JSONDataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/ProtobufDataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/StringDataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/RequestError.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/ResponseError.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/SessionTaskError.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Serializations/URLEncodedSerialization.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Session.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/SessionAdapter.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Unavailable.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name APIKit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/Objects-normal/x86_64/APIKit_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/Objects-normal/x86_64/Modules/APIKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/Objects-normal/x86_64/Modules/APIKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/Objects-normal/x86_64/APIKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/Objects-normal/x86_64/APIKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/Objects-normal/x86_64/APIKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-linux-x86_64/APIKit-t.build/Objects-normal/x86_64/Modules/APIKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux