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

rustfmt 1.8.0 #191305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Formula/r/rustfmt.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Rustfmt < Formula

Check failure on line 1 in Formula/r/rustfmt.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --test rustfmt` failed on Linux!

Missing libraries: libLLVM.so.19.1-rust-1.83.0-nightly
desc "Format Rust code"
homepage "https://rust-lang.github.io/rustfmt/"
url "https://github.com/rust-lang/rustfmt/archive/refs/tags/v1.7.0.tar.gz"
sha256 "9f228d6192104a57efd73b20b8f0a2189c920373655b0c17b75758afab805be8"
url "https://github.com/rust-lang/rustfmt/archive/refs/tags/v1.8.0.tar.gz"
sha256 "d23bc8bfba28685fd68cf207dde62d0868ae0e4378d438d58b4b51763e6b92f5"
license any_of: ["MIT", "Apache-2.0"]
head "https://github.com/rust-lang/rustfmt.git", branch: "master"

Expand Down Expand Up @@ -54,7 +54,7 @@
end
end

test do

Check failure on line 57 in Formula/r/rustfmt.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew test --verbose rustfmt` failed on Linux!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/bundle clean ==> Testing rustfmt ==> /home/linuxbrew/.linuxbrew/opt/rust/bin/cargo init --name=brew --bin Creating binary (application) package note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html ==> /home/linuxbrew/.linuxbrew/Cellar/rustfmt/1.8.0/bin/rustfmt --check ./src/main.rs /home/linuxbrew/.linuxbrew/Cellar/rustfmt/1.8.0/bin/rustfmt: error while loading shared libraries: libLLVM.so.19.1-rust-1.83.0-nightly: cannot open shared object file: No such file or directory Error: rustfmt: failed ::error::rustfmt: failed An exception occurred within a child process: BuildError: Failed executing: /home/linuxbrew/.linuxbrew/Cellar/rustfmt/1.8.0/bin/rustfmt --check ./src/main.rs /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3079:in `block in system' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3015:in `open' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3015:in `system' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11572/lib/types/private/methods/call_validation.rb:167:in `bind_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11572/lib/types/private/methods/call_validation.rb:167:in `validate_call_skip_block_type' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11572/lib/types/private/methods/call_validation.rb:109:in `block in create_validator_slow_skip_block_type' /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/r/rustfmt.rb:52:in `block in <class:Rustfmt>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2814:in `block (3 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:536:in `with_env' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2813:in `block (2 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1199:in `with_logging' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2812:in `block in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3130:in `mktemp' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2806:in `run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:52:in `<main>'
system Formula["rust"].bin/"cargo", "init", "--name=brew", "--bin"
system bin/"rustfmt", "--check", "./src/main.rs"

Expand Down
Loading