Failed install mac os

brew install --HEAD neovim

Updating Homebrew…
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and dart-lang/dart).
==> New Formulae
tssh
==> Updated Formulae
Updated 31 formulae.

==> Downloading https://github.com/libmpack/libmpack-lua/releases/download/1.0.8/libmpack-lua-1.0.8.tar.gz
Already downloaded: /Users/mitai/Library/Caches/Homebrew/downloads/4b91349796a66e38e93acd77e6ca14212c869090429fd88271def2be5293d83f–libmpack-lua-1.0.8.tar.gz
==> Downloading https://luarocks.org/manifests/gvvaughan/lpeg-1.0.2-1.src.rock
Already downloaded: /Users/mitai/Library/Caches/Homebrew/downloads/0bc17975f0cf3981083172aa7da329b874e5780fa81494f5dd07d0665fcec23b–lpeg-1.0.2-1.src.rock
==> Downloading https://luarocks.org/manifests/kikito/inspect-3.1.1-0.src.rock
Already downloaded: /Users/mitai/Library/Caches/Homebrew/downloads/ecc1fa84ce4c83c9406f6d1202d4a88c80ede4a0a2bfd8d8d2bd54fd042226bb–inspect-3.1.1-0.src.rock
==> Cloning https://github.com/neovim/neovim.git
Updating /Users/mitai/Library/Caches/Homebrew/neovim–git
==> Checking out branch master
Already on ‘master’
Your branch is up to date with ‘origin/master’.
HEAD is now at fbe18d9 Merge pull request #14448 from jamessan/nightly-ci-permissions
==> luarocks make --lua-dir=/usr/local/opt/luajit-openresty --tree=/private/tmp/neovim-20210429-2816-ei1eo3/deps-b
==> luarocks make --lua-dir=/usr/local/opt/luajit-openresty --tree=/private/tmp/neovim-20210429-2816-ei1eo3/deps-b
==> luarocks make --lua-dir=/usr/local/opt/luajit-openresty --tree=/private/tmp/neovim-20210429-2816-ei1eo3/deps-b
==> cmake …
==> make install
Last 15 lines from /Users/mitai/Library/Logs/Homebrew/neovim/05.make:
MSGPACK_OBJECT_FLOAT
/opt/local/include/msgpack/object.h:32:5: note: ‘MSGPACK_OBJECT_FLOAT’ declared here
MSGPACK_OBJECT_FLOAT = 0x04,
^
/tmp/neovim-20210429-2816-ei1eo3/src/nvim/eval/decode.c:1013:10: error: duplicate case value ‘MSGPACK_OBJECT_FLOAT’
case MSGPACK_OBJECT_FLOAT64:
^
/tmp/neovim-20210429-2816-ei1eo3/src/nvim/eval/decode.c:1012:10: note: previous case defined here
case MSGPACK_OBJECT_FLOAT32:
^
3 errors generated.
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/eval/decode.c.o] Error 1
make[2]: *** Waiting for unfinished jobs…
make[1]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make: *** [all] Error 2