This repository was archived by the owner on Aug 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
This repository was archived by the owner on Aug 14, 2022. It is now read-only.
swift package build fail #126
Copy link
Copy link
Open
Description
kmi@Murodjons-MacBook-Pro ncp-core % /Users/kmi/Desktop/android/build-ev/swift-everywhere-toolchain/ToolChain/swift-android-toolchain/usr/bin/swift-build-arm-linux-androideabi
'NCPSocket' /Users/kmi/ncp-core: warning: in tools version 5.4.0 and later, use 'executableTarget()' to declare executable targets
/Users/kmi/ncp-core/.build/checkouts/swift-log/Sources/Logging/Logging.swift:806:45: error: cannot find type 'FILE' in scope
internal let file: UnsafeMutablePointer<FILE>
^~~~
/Users/kmi/ncp-core/.build/checkouts/swift-log/Sources/Logging/Logging.swift:841:84: error: cannot infer contextual base in reference to member 'always'
internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
~^~~~~~
/Users/kmi/ncp-core/.build/checkouts/swift-log/Sources/Logging/Logging.swift:842:84: error: cannot infer contextual base in reference to member 'always'
internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
~^~~~~~
[42/868] Compiling ssl_aead_ctx.cc
// swift-tools-version:5.4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "NCPSocket",
platforms: [
.macOS(.v10_15), .iOS(.v13)
],
products: [
.library(name: "NCPSocket", type: .dynamic, targets: ["App"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
.package(url: "https://github.com/vapor/async-kit.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-nio-ssl", from: "2.14.0"),
.package(url: "https://github.com/vapor/fluent-sqlite-driver.git", from: "4.0.0"),
.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.0.0"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.2.2"),
.package(url: "https://github.com/swift-server/swift-backtrace.git", from: "1.2.1"),
.package(url: "https://github.com/vapor/multipart-kit.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/console-kit.git", from: "4.0.0"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "1.0.0"),
.package(url: "https://github.com/vapor/websocket-kit.git", from: "2.0.0"),
],
targets: [
.target(name: "CBase32"),
.target(name: "CBcrypt"),
.target(name: "COperatingSystem"),
.target(name: "CURLParser"),
.target( name: "App", dependencies: [
.product(name: "NIO", package: "swift-nio"),
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "AsyncKit", package: "async-kit"),
.product(name: "Backtrace", package: "swift-backtrace"),
.product(name: "NIOSSL", package: "swift-nio-ssl"),
.product(name: "NIOHTTP1", package: "swift-nio"),
.product(name: "NIOWebSocket", package: "swift-nio"),
.product(name: "NIOConcurrencyHelpers", package: "swift-nio"),
.target(name: "CBase32"),
.target(name: "CBcrypt"),
.target(name: "COperatingSystem"),
.target(name: "CURLParser"),
.product(name: "NIOFoundationCompat", package: "swift-nio"),
.product(name: "NIOExtras", package: "swift-nio-extras"),
.product(name: "FluentSQLiteDriver", package: "fluent-sqlite-driver"),
.product(name: "MultipartKit", package: "multipart-kit"),
.product(name: "ConsoleKit", package: "console-kit"),
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "WebSocketKit", package: "websocket-kit"),
]
),
.target(name: "NCPSocketBenchmark", dependencies: ["App"]),
.testTarget(name: "socket-libTests", dependencies: ["App"]),
]
)
Metadata
Metadata
Assignees
Labels
No labels