Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on Xcode 13 + Mint #60

Open
shuguenot opened this issue Sep 27, 2021 · 0 comments
Open

Build failure on Xcode 13 + Mint #60

shuguenot opened this issue Sep 27, 2021 · 0 comments

Comments

@shuguenot
Copy link
Contributor

shuguenot commented Sep 27, 2021

PathKit + Spectre should be upgraded to allow compilation on Xcode 13

https://github.com/kylef/PathKit/releases/tag/1.0.1
https://github.com/kylef/Spectre/releases/tag/0.10.1

🌱 Cloning FengNiao fc447de
🌱 Resolving package
🌱 Building package
remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[1/4] Compiling PathKit PathKit.swift
/private/var/folders/7n/psqvtrtd46l4h9m92tb85mrc0000gp/T/mint/github.com_FengNiao/.build/checkouts/PathKit/Sources/PathKit.swift:98:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
/private/var/folders/7n/psqvtrtd46l4h9m92tb85mrc0000gp/T/mint/github.com_FengNiao/.build/checkouts/PathKit/Sources/PathKit.swift:591:12: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
      free(cPattern)
           ^
/private/var/folders/7n/psqvtrtd46l4h9m92tb85mrc0000gp/T/mint/github.com_FengNiao/.build/checkouts/PathKit/Sources/PathKit.swift:591:12: note: coalesce using '??' to provide a default when the optional value contains 'nil'
      free(cPattern)
           ^
                    ?? <#default value#>
/private/var/folders/7n/psqvtrtd46l4h9m92tb85mrc0000gp/T/mint/github.com_FengNiao/.build/checkouts/PathKit/Sources/PathKit.swift:591:12: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
      free(cPattern)
           ^
                   !
'FengNiao' /private/var/folders/7n/psqvtrtd46l4h9m92tb85mrc0000gp/T/mint/github.com_FengNiao: warning: Invalid Exclude '/private/var/folders/7n/psqvtrtd46l4h9m92tb85mrc0000gp/T/mint/github.com_FengNiao/Tests/FengNiaoKitTests/Tests/Fixtures': File not found.
🌱 Encountered error during "swift build -c release -Xswiftc -target -Xswiftc x86_64-apple-macosx11.6". Use --verbose to see full output
🌱  Failed to build FengNiao fc447de with SPM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant