Build Information
Failed to build NetworkKit, reference 1.0.8 (5773ed
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 17:51:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sabapathy7/NetworkKit.git
Reference: 1.0.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sabapathy7/NetworkKit
* tag 1.0.8 -> FETCH_HEAD
HEAD is now at 5773ed2 Updates InternalImportsByDefault to enableExperimentalFeature and removed public from import library - Combine
Cloned https://github.com/sabapathy7/NetworkKit.git
Revision (git rev-parse @):
5773ed26c325cf85667bd6f68043989d9a5aee22
SUCCESS checkout https://github.com/sabapathy7/NetworkKit.git at 1.0.8
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sabapathy7/NetworkKit.git
https://github.com/sabapathy7/NetworkKit.git
{
"dependencies" : [
],
"manifest_display_name" : "NetworkKit",
"name" : "NetworkKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "NetworkKit",
"targets" : [
"NetworkKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NetworkKitTests",
"module_type" : "SwiftTarget",
"name" : "NetworkKitTests",
"path" : "Tests/NetworkKitTests",
"sources" : [
"NetworkKitTests.swift"
],
"target_dependencies" : [
"NetworkKit"
],
"type" : "test"
},
{
"c99name" : "NetworkKit",
"module_type" : "SwiftTarget",
"name" : "NetworkKit",
"path" : "Sources/NetworkKit",
"product_memberships" : [
"NetworkKit"
],
"sources" : [
"EndPoint.swift",
"NetworkError.swift",
"Networkable.swift",
"RequestMethod.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Compiling NetworkKit NetworkError.swift
[4/7] Compiling NetworkKit RequestMethod.swift
[5/7] Compiling NetworkKit EndPoint.swift
[6/7] Emitting module NetworkKit
/Users/admin/builder/spi-builder-workspace/Sources/NetworkKit/Networkable.swift:15:10: error: method cannot be declared public because its result uses an internal type
6 | //
7 |
8 | import Combine
| `- note: generic struct 'AnyPublisher' imported as 'internal' from 'Combine' here
9 | import Foundation
10 |
:
13 | func sendRequest<T: Decodable>(endpoint: EndPoint) async throws -> T
14 | func sendRequest<T: Decodable>(endpoint: EndPoint, resultHandler: @Sendable @escaping (Result<T, NetworkError>) -> Void)
15 | func sendRequest<T: Decodable>(endpoint: EndPoint, type: T.Type) -> AnyPublisher<T, NetworkError>
| |- error: method cannot be declared public because its result uses an internal type
| `- note: generic struct 'AnyPublisher' is imported by this file as 'internal' from 'Combine'
16 | }
17 |
Combine.AnyPublisher:2:23: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyPublisher<Output, Failure> : CustomStringConvertible, CustomPlaygroundDisplayConvertible where Failure : Error {
| `- note: type declared here
3 | public var description: String { get }
4 | public var playgroundDescription: Any { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkKit/Networkable.swift:36:17: error: method cannot be declared public because its result uses an internal type
6 | //
7 |
8 | import Combine
| `- note: generic struct 'AnyPublisher' imported as 'internal' from 'Combine' here
9 | import Foundation
10 |
:
34 | }
35 |
36 | public func sendRequest<T>(endpoint: EndPoint, type: T.Type) -> AnyPublisher<T, NetworkError> where T: Decodable {
| |- error: method cannot be declared public because its result uses an internal type
| `- note: generic struct 'AnyPublisher' is imported by this file as 'internal' from 'Combine'
37 | guard let urlRequest = createRequest(endPoint: endpoint) else {
38 | preconditionFailure("Failed URLRequest")
Combine.AnyPublisher:2:23: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyPublisher<Output, Failure> : CustomStringConvertible, CustomPlaygroundDisplayConvertible where Failure : Error {
| `- note: type declared here
3 | public var description: String { get }
4 | public var playgroundDescription: Any { get }
[7/7] Compiling NetworkKit Networkable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkKit/Networkable.swift:15:10: error: method cannot be declared public because its result uses an internal type
6 | //
7 |
8 | import Combine
| `- note: generic struct 'AnyPublisher' imported as 'internal' from 'Combine' here
9 | import Foundation
10 |
:
13 | func sendRequest<T: Decodable>(endpoint: EndPoint) async throws -> T
14 | func sendRequest<T: Decodable>(endpoint: EndPoint, resultHandler: @Sendable @escaping (Result<T, NetworkError>) -> Void)
15 | func sendRequest<T: Decodable>(endpoint: EndPoint, type: T.Type) -> AnyPublisher<T, NetworkError>
| |- error: method cannot be declared public because its result uses an internal type
| `- note: generic struct 'AnyPublisher' is imported by this file as 'internal' from 'Combine'
16 | }
17 |
Combine.AnyPublisher:2:23: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyPublisher<Output, Failure> : CustomStringConvertible, CustomPlaygroundDisplayConvertible where Failure : Error {
| `- note: type declared here
3 | public var description: String { get }
4 | public var playgroundDescription: Any { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkKit/Networkable.swift:36:17: error: method cannot be declared public because its result uses an internal type
6 | //
7 |
8 | import Combine
| `- note: generic struct 'AnyPublisher' imported as 'internal' from 'Combine' here
9 | import Foundation
10 |
:
34 | }
35 |
36 | public func sendRequest<T>(endpoint: EndPoint, type: T.Type) -> AnyPublisher<T, NetworkError> where T: Decodable {
| |- error: method cannot be declared public because its result uses an internal type
| `- note: generic struct 'AnyPublisher' is imported by this file as 'internal' from 'Combine'
37 | guard let urlRequest = createRequest(endPoint: endpoint) else {
38 | preconditionFailure("Failed URLRequest")
Combine.AnyPublisher:2:23: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyPublisher<Output, Failure> : CustomStringConvertible, CustomPlaygroundDisplayConvertible where Failure : Error {
| `- note: type declared here
3 | public var description: String { get }
4 | public var playgroundDescription: Any { get }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling NetworkKit NetworkError.swift
[3/6] Compiling NetworkKit RequestMethod.swift
[4/6] Compiling NetworkKit EndPoint.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Compiling NetworkKit Networkable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkKit/Networkable.swift:15:10: error: method cannot be declared public because its result uses an internal type
6 | //
7 |
8 | import Combine
| `- note: generic struct 'AnyPublisher' imported as 'internal' from 'Combine' here
9 | import Foundation
10 |
:
13 | func sendRequest<T: Decodable>(endpoint: EndPoint) async throws -> T
14 | func sendRequest<T: Decodable>(endpoint: EndPoint, resultHandler: @Sendable @escaping (Result<T, NetworkError>) -> Void)
15 | func sendRequest<T: Decodable>(endpoint: EndPoint, type: T.Type) -> AnyPublisher<T, NetworkError>
| |- error: method cannot be declared public because its result uses an internal type
| `- note: generic struct 'AnyPublisher' is imported by this file as 'internal' from 'Combine'
16 | }
17 |
Combine.AnyPublisher:2:23: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyPublisher<Output, Failure> : CustomStringConvertible, CustomPlaygroundDisplayConvertible where Failure : Error {
| `- note: type declared here
3 | public var description: String { get }
4 | public var playgroundDescription: Any { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkKit/Networkable.swift:36:17: error: method cannot be declared public because its result uses an internal type
6 | //
7 |
8 | import Combine
| `- note: generic struct 'AnyPublisher' imported as 'internal' from 'Combine' here
9 | import Foundation
10 |
:
34 | }
35 |
36 | public func sendRequest<T>(endpoint: EndPoint, type: T.Type) -> AnyPublisher<T, NetworkError> where T: Decodable {
| |- error: method cannot be declared public because its result uses an internal type
| `- note: generic struct 'AnyPublisher' is imported by this file as 'internal' from 'Combine'
37 | guard let urlRequest = createRequest(endPoint: endpoint) else {
38 | preconditionFailure("Failed URLRequest")
Combine.AnyPublisher:2:23: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyPublisher<Output, Failure> : CustomStringConvertible, CustomPlaygroundDisplayConvertible where Failure : Error {
| `- note: type declared here
3 | public var description: String { get }
4 | public var playgroundDescription: Any { get }
[6/6] Emitting module NetworkKit
/Users/admin/builder/spi-builder-workspace/Sources/NetworkKit/Networkable.swift:15:10: error: method cannot be declared public because its result uses an internal type
6 | //
7 |
8 | import Combine
| `- note: generic struct 'AnyPublisher' imported as 'internal' from 'Combine' here
9 | import Foundation
10 |
:
13 | func sendRequest<T: Decodable>(endpoint: EndPoint) async throws -> T
14 | func sendRequest<T: Decodable>(endpoint: EndPoint, resultHandler: @Sendable @escaping (Result<T, NetworkError>) -> Void)
15 | func sendRequest<T: Decodable>(endpoint: EndPoint, type: T.Type) -> AnyPublisher<T, NetworkError>
| |- error: method cannot be declared public because its result uses an internal type
| `- note: generic struct 'AnyPublisher' is imported by this file as 'internal' from 'Combine'
16 | }
17 |
Combine.AnyPublisher:2:23: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyPublisher<Output, Failure> : CustomStringConvertible, CustomPlaygroundDisplayConvertible where Failure : Error {
| `- note: type declared here
3 | public var description: String { get }
4 | public var playgroundDescription: Any { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkKit/Networkable.swift:36:17: error: method cannot be declared public because its result uses an internal type
6 | //
7 |
8 | import Combine
| `- note: generic struct 'AnyPublisher' imported as 'internal' from 'Combine' here
9 | import Foundation
10 |
:
34 | }
35 |
36 | public func sendRequest<T>(endpoint: EndPoint, type: T.Type) -> AnyPublisher<T, NetworkError> where T: Decodable {
| |- error: method cannot be declared public because its result uses an internal type
| `- note: generic struct 'AnyPublisher' is imported by this file as 'internal' from 'Combine'
37 | guard let urlRequest = createRequest(endPoint: endpoint) else {
38 | preconditionFailure("Failed URLRequest")
Combine.AnyPublisher:2:23: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyPublisher<Output, Failure> : CustomStringConvertible, CustomPlaygroundDisplayConvertible where Failure : Error {
| `- note: type declared here
3 | public var description: String { get }
4 | public var playgroundDescription: Any { get }
BUILD FAILURE 6.1 macosSpm