Build Information
Failed to build YNetwork with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeandtheory/ynetwork-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/codeandtheory/ynetwork-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8093c39 [ISSUE] remove swift 5.8 warning (#17)
Cloned https://github.com/codeandtheory/ynetwork-ios.git
Revision (git rev-parse @):
8093c39ece3da23c9e2de9d471db93f8e987f6fb
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/codeandtheory/ynetwork-ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/codeandtheory/ynetwork-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/60] Compiling YNetwork UIImageDataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[4/60] Compiling YNetwork CharacterSet+formUrlAllowed.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[5/60] Compiling YNetwork Data+AppendString.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[6/60] Compiling YNetwork Data+HttpResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[7/60] Compiling YNetwork Error+Code.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[8/60] Compiling YNetwork String+isAbsoluteURLPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[9/60] Compiling YNetwork StringInterpolation+JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[10/66] Compiling YNetwork DataEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[11/66] Compiling YNetwork DataParserFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[12/66] Compiling YNetwork JWTTokenRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[13/66] Compiling YNetwork MultipartBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[14/66] Compiling YNetwork MultipartFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[15/66] Compiling YNetwork MultipartRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[16/66] Compiling YNetwork GifBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[17/66] Compiling YNetwork ImageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[18/66] Compiling YNetwork MultiImageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[19/66] Compiling YNetwork FormUrlEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[20/66] Compiling YNetwork JSONDataParserFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[21/66] Compiling YNetwork JSONDecoder+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[22/66] Compiling YNetwork ImageContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[23/66] Compiling YNetwork JWTDecodeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[24/66] Compiling YNetwork MultipartElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[25/66] Compiling YNetwork NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[26/66] Compiling YNetwork RequestContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[27/66] Compiling YNetwork ResponseContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[28/66] Compiling YNetwork SerializationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/66] Emitting module YNetwork
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[30/66] Compiling YNetwork JSONEncoder+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[31/66] Compiling YNetwork URLProtocolStub.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[32/66] Compiling YNetwork URLProtocolStubNetworkEngine.swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[33/66] Compiling YNetwork NetworkEngineConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[34/66] Compiling YNetwork NetworkManager+Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[35/66] Compiling YNetwork NetworkManager+URLSessionDownloadDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[36/66] Compiling YNetwork String+regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[37/66] Compiling YNetwork APICompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[38/66] Compiling YNetwork HttpHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[39/66] Compiling YNetwork NetworkEngineCompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[40/66] Compiling YNetwork Parameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[41/66] Compiling YNetwork HttpMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[42/66] Compiling YNetwork HttpResponseType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[43/66] Compiling YNetwork NetworkManager+URLSessionTaskDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[44/66] Compiling YNetwork NetworkManager+refresh.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[45/66] Compiling YNetwork NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[46/66] Compiling YNetwork NetworkManagerConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[47/66] Compiling YNetwork FileDownloadProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[48/66] Compiling YNetwork FileProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[49/66] Compiling YNetwork FileUploadProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[50/66] Compiling YNetwork URLBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[51/66] Compiling YNetwork URLNetworkEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[52/66] Compiling YNetwork BodyBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[53/66] Compiling YNetwork Cancelabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[54/66] Compiling YNetwork DataDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[55/66] Compiling YNetwork StringInterpolation+URLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[56/66] Compiling YNetwork URLRequest+FileSaver.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[57/66] Compiling YNetwork EmptyNetworkResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[58/66] Compiling YNetwork HttpError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[59/66] Compiling YNetwork JWTClaim.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[60/66] Compiling YNetwork JWTToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[61/66] Compiling YNetwork NetworkEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[62/66] Compiling YNetwork NetworkRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[63/66] Compiling YNetwork ParametersBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[64/66] Compiling YNetwork PathRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[65/66] Compiling YNetwork SessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
[66/66] Compiling YNetwork UIImageMultipartFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// Different ways of converting UIImage to Data
BUILD FAILURE 6.0 macosSpm