facebook / facebook/watchman

Homebrew install watchman failed

Open
#1,132 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

```
➜ ~ brew install watchman
==> Fetching watchman
Warning: Building watchman from source:
The bottle (and many others) needs to be installed into /opt/homebrew.

==> Downloading https://github.com/facebook/watchman/archive/v2023.04.10.00.tar.gz
Already downloaded: /Users/xiunengchen/Library/Caches/Homebrew/downloads/7a2df8de39ba435f416bc6dabca07376139650ca02d994535e096ddfc7c29f47--watchman-2023.04.10.00.tar.gz
==> cmake -S . -B build -DENABLE_EDEN_SUPPORT=ON -DWATCHMAN_VERSION_OVERRIDE=2023.04.10.00 -DWATCHMAN_BUILDINFO_OVERRIDE=Homebrew -DWATCHMAN_STATE_DIR=/usr/local/var/run/watchman
==> cmake --build build
Last 15 lines from /Users/xiunengchen/Library/Logs/Homebrew/watchman/02.cmake:

warning: variable does not need to be mutable
--> src/rage/stream.rs:30:21
|
30 | pub fn wait(mut self) {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default

warning: `watchmanctl` (bin "watchmanctl") generated 3 warnings (run `cargo fix --bin "watchmanctl"` to apply 3 suggestions)
Finished release [optimized] target(s) in 33.21s
[ 10%] Built target watchmanctl.cargo
make: *** [all] Error 2

READ THIS: https://docs.brew.sh/Troubleshooting
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.