-
Notifications
You must be signed in to change notification settings - Fork 11
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
Mac M1 / ARM compatibility? #35
Comments
Not sure if this is relevant, but running ==> /opt/homebrew/Cellar/unused/0.2.0/bin/unused -a
Error: unused-code/formulae/unused: failed
An exception occurred within a child process:
Minitest::Assertion: Expected: 0
Actual: nil
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/assertions.rb:183:in `assert'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/assertions.rb:218:in `assert_equal'
/opt/homebrew/Library/Homebrew/formula_assertions.rb:65:in `shell_output'
/opt/homebrew/Library/Taps/unused-code/homebrew-formulae/Formula/unused.rb:56:in `block in <class:Unused>'
/opt/homebrew/Library/Homebrew/formula.rb:1975:in `block (3 levels) in run_test'
/opt/homebrew/Library/Homebrew/utils.rb:558:in `with_env'
/opt/homebrew/Library/Homebrew/formula.rb:1974:in `block (2 levels) in run_test'
/opt/homebrew/Library/Homebrew/formula.rb:924:in `with_logging'
/opt/homebrew/Library/Homebrew/formula.rb:1973:in `block in run_test'
/opt/homebrew/Library/Homebrew/mktemp.rb:63:in `block in run'
/opt/homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
/opt/homebrew/Library/Homebrew/mktemp.rb:63:in `run'
/opt/homebrew/Library/Homebrew/formula.rb:2224:in `mktemp'
/opt/homebrew/Library/Homebrew/formula.rb:1967:in `run_test'
/opt/homebrew/Library/Homebrew/test.rb:43:in `block in <main>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:33:in `block in catch'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:33:in `catch'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:33:in `catch'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:108:in `timeout'
/opt/homebrew/Library/Homebrew/test.rb:48:in `<main>' |
Whoops, seems like there's already an issue about this: #34 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've installed
unused
v0.0.2 via homebrew. When I try to run it on macOS 11.3 on a Mac M1 I get the follow error:This person mentioned the same problem on an M1 Mac.
Is unused supposed to be compatible with this architecture?
The tool looks great. Let me know if there's anything I can do to help test M1 builds, etc.
The text was updated successfully, but these errors were encountered: