This repository was archived by the owner on Sep 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
install fails with "note: use 'compactMap(_:)' instead" #15
Copy link
Copy link
Open
Description
==> Installing kr from kryptco/tap
==> make install
Last 15 lines from /Users/josh.nichols/Library/Logs/Homebrew/kr/01.make:
/tmp/kr-20220216-69686-6vumk/src/github.com/kryptco/kr/krbtle/krbtle/Bluetooth.swift:769:52: note: use 'compactMap(_:)' instead
let uuids = cache.components(separatedBy: ",").flatMap({UUID(uuidString: $0)}).map({CBUUID(nsuuid: $0)})
^~~~~~~
compactMap
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64 (in target 'krbtle' from project 'krbtle')
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'krbtle' from project 'krbtle')
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'krbtle' from project 'krbtle')
CompileSwift normal x86_64 (in target 'krbtle' from project 'krbtle')
(4 failures)
make: *** [all] Error 65
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/kryptco/homebrew-tap/issues
These open issues may also help:
fixes `brew install kr --HEAD` https://github.com/kryptco/homebrew-tap/pull/14
From brew config
:
HOMEBREW_VERSION: 3.3.15-49-g676dbef
ORIGIN: https://github.com/Homebrew/brew
HEAD: 676dbefde856607a0a631d5cd2b771fe4dc9170e
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: b51fa7b15b25ba9a5c4a1fd2fd95e66847847af7
Core tap last commit: 24 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_EDITOR: mvim -f
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.0.0 build 1300
Git: 2.35.1 => /opt/homebrew/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.1-arm64
CLT: 13.2.0.0.1.1638488800
Xcode: 13.2.1
Rosetta 2: false
rchenzheng
Metadata
Metadata
Assignees
Labels
No labels