-
Notifications
You must be signed in to change notification settings - Fork 82
Description
Hi
When I run the following in terminal...
git clone https://github.com/PerfectlySoft/PerfectTemplate.git
cd PerfectTemplate
swift build
.build/debug/PerfectTemplate
I get the following error.
Compile Swift Module 'PerfectThread' (2 sources)
/Users/gary/PerfectTemplate/Packages/PerfectThread-0.10.0/Sources/ThreadQueue.swift:210:97: error: cannot convert value of type 'UnsafeMutablePointer' (aka 'UnsafeMutablePointer<()>') to expected argument type 'UnsafeMutablePointer<_>'
let unleakyObject = Unmanaged.fromOpaque(UnsafeMutablePointer(p)).takeRetainedValue()
^
/Users/gary/PerfectTemplate/Packages/PerfectThread-0.10.0/Sources/ThreadQueue.swift:233:37: error: value of type 'Unmanaged' has no member 'toOpaque'
let leakyObject = Unmanaged.passRetained(holderObject).toOpaque()
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
:0: error: build had 1 command failures
error: exit(1): /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/gary/PerfectTemplate/.build/debug.yaml
Garys-MacBook:PerfectTemplate gary$ .build/debug/PerfectTemplate
-bash: .build/debug/PerfectTemplate: No such file or directory