Created
June 23, 2016 18:48
-
-
Save iamcam/8d3069e6ebb90c79783a9cf19efdc456 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian@beaglebone:~/Development/delete/Perfect-Net$ swift build | |
Compile Swift Module 'PerfectThread' (2 sources) | |
/home/debian/Development/delete/Perfect-Net/Packages/PerfectThread-0.9.0/Sources/ThreadQueue.swift:214:59: error: 'fromOpaque' is unavailable: use 'fromOpaque(_: UnsafePointer<Void>)' instead | |
let unleakyObject = Unmanaged<IsThisRequired>.fromOpaque(OpaquePointer(p)).takeRetainedValue() | |
^~~~~~~~~~ | |
Swift.Unmanaged<Instance>:3:24: note: 'fromOpaque' has been explicitly marked unavailable here | |
public static func fromOpaque(_ value: OpaquePointer) -> Unmanaged<Instance> | |
^ | |
/home/debian/Development/delete/Perfect-Net/Packages/PerfectThread-0.9.0/Sources/ThreadQueue.swift:214:59: error: 'fromOpaque' is unavailable: use 'fromOpaque(_: UnsafePointer<Void>)' instead | |
let unleakyObject = Unmanaged<IsThisRequired>.fromOpaque(OpaquePointer(p)).takeRetainedValue() | |
^~~~~~~~~~ | |
Swift.Unmanaged<Instance>:3:24: note: 'fromOpaque' has been explicitly marked unavailable here | |
public static func fromOpaque(_ value: OpaquePointer) -> Unmanaged<Instance> | |
^ | |
/home/debian/Development/delete/Perfect-Net/Packages/PerfectThread-0.9.0/Sources/ThreadQueue.swift:220:54: error: 'init(bitPattern:)' is unavailable: use 'Unmanaged.toOpaque()' instead | |
let leakyObject = UnsafeMutablePointer<Void>(OpaquePointer(bitPattern: Unmanaged.passRetained(holderObject))) | |
^~~~~~~~~~~~~ | |
Swift.OpaquePointer:3:12: note: 'init(bitPattern:)' has been explicitly marked unavailable here | |
public init<T>(bitPattern bits: Unmanaged<T>) | |
^ | |
<unknown>:0: error: build had 1 command failures | |
error: exit(1): /home/debian/swift/releases/external/20160609-60/usr/bin/swift-build-tool -f /home/debian/Development/delete/Perfect-Net/.build/debug.yaml | |
debian@beaglebone:~/Development/delete/Perfect-Net$ swift --version | |
Swift version 3.0-dev (LLVM eb140647a6, Clang 188b5bf5e2, Swift 91ffcd79a7) | |
Target: armv7--linux-gnueabihf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment