[INFO] cloning repository https://github.com/manabeai/ruby-linter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manabeai/ruby-linter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanabeai%2Fruby-linter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanabeai%2Fruby-linter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 839fbc4af907d3b37571d9a8e1ad851a72ffbbf7 [INFO] testing manabeai/ruby-linter against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanabeai%2Fruby-linter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/manabeai/ruby-linter [INFO] finished tweaking git repo https://github.com/manabeai/ruby-linter [INFO] tweaked toml for git repo https://github.com/manabeai/ruby-linter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/manabeai/ruby-linter on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/manabeai/ruby-linter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a82d03d34e05f1d666e645b78250eb157f1580b927bc825ffb47019c24b5a604 [INFO] running `Command { std: "docker" "start" "-a" "a82d03d34e05f1d666e645b78250eb157f1580b927bc825ffb47019c24b5a604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a82d03d34e05f1d666e645b78250eb157f1580b927bc825ffb47019c24b5a604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a82d03d34e05f1d666e645b78250eb157f1580b927bc825ffb47019c24b5a604", kill_on_drop: false }` [INFO] [stdout] a82d03d34e05f1d666e645b78250eb157f1580b927bc825ffb47019c24b5a604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cefd506a7d63759369b7a89938ddd5168a2efc0e455dca98f17712c5ecada27b [INFO] running `Command { std: "docker" "start" "-a" "cefd506a7d63759369b7a89938ddd5168a2efc0e455dca98f17712c5ecada27b", kill_on_drop: false }` [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.118.0 [INFO] [stderr] Compiling pulley-interpreter v31.0.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling cranelift-isle v0.118.0 [INFO] [stderr] Compiling cranelift-bitset v0.118.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling libm v0.2.14 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling cranelift-codegen-shared v0.118.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling wasmtime-math v31.0.0 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling wasmparser v0.226.0 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.118.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling wasm-encoder v0.226.0 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling cranelift-control v0.118.0 [INFO] [stderr] Compiling wasm-encoder v0.230.0 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling wasmtime-component-util v31.0.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling wasmtime-component-macro v31.0.0 [INFO] [stderr] Compiling wasmtime-cache v31.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling wast v230.0.0 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling wasmtime-asm-macros v31.0.0 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v31.0.0 [INFO] [stderr] Compiling wasmtime-slab v31.0.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling ittapi v0.4.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.118.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v31.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling wasmtime-jit-debug v31.0.0 [INFO] [stderr] Compiling wasmtime-fiber v31.0.0 [INFO] [stderr] Compiling wasmtime v31.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling cranelift-codegen v0.118.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling wat v1.230.0 [INFO] [stderr] Compiling ruby-prism-sys v1.4.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling cranelift-entity v0.118.0 [INFO] [stderr] Compiling regalloc2 v0.11.2 [INFO] [stderr] Compiling cranelift-bforest v0.118.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling wit-parser v0.226.0 [INFO] [stderr] Compiling fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling ruby-prism v1.4.0 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling wasmtime-wit-bindgen v31.0.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling wasmprinter v0.226.0 [INFO] [stderr] Compiling wasmtime-environ v31.0.0 [INFO] [stderr] Compiling cranelift-frontend v0.118.0 [INFO] [stderr] Compiling cranelift-native v0.118.0 [INFO] [stderr] Compiling wasmtime-cranelift v31.0.0 [INFO] [stderr] Compiling ruby-linter-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut res = ruby_prism::parse(source.as_bytes()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "cefd506a7d63759369b7a89938ddd5168a2efc0e455dca98f17712c5ecada27b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cefd506a7d63759369b7a89938ddd5168a2efc0e455dca98f17712c5ecada27b", kill_on_drop: false }` [INFO] [stdout] cefd506a7d63759369b7a89938ddd5168a2efc0e455dca98f17712c5ecada27b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 630b247483415e660f8187d95f9b9ce1aee300ce70e2c16c3954a62b10797a32 [INFO] running `Command { std: "docker" "start" "-a" "630b247483415e660f8187d95f9b9ce1aee300ce70e2c16c3954a62b10797a32", kill_on_drop: false }` [INFO] [stderr] Compiling ruby-linter-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/sample.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut res = ruby_prism::parse(source.as_bytes()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> examples/sample.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let errors = result.errors(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `warnings` [INFO] [stdout] --> examples/sample.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let warnings = result.warnings(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warnings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut res = ruby_prism::parse(source.as_bytes()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "630b247483415e660f8187d95f9b9ce1aee300ce70e2c16c3954a62b10797a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630b247483415e660f8187d95f9b9ce1aee300ce70e2c16c3954a62b10797a32", kill_on_drop: false }` [INFO] [stdout] 630b247483415e660f8187d95f9b9ce1aee300ce70e2c16c3954a62b10797a32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89c1d1b657ea1bdae0242ef682d665eb0eaae5929fc6cfa8fe187e858988d5dc [INFO] running `Command { std: "docker" "start" "-a" "89c1d1b657ea1bdae0242ef682d665eb0eaae5929fc6cfa8fe187e858988d5dc", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/sample.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let mut res = ruby_prism::parse(source.as_bytes()); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errors` [INFO] [stderr] --> examples/sample.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let errors = result.errors(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `warnings` [INFO] [stderr] --> examples/sample.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let warnings = result.warnings(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warnings` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let mut res = ruby_prism::parse(source.as_bytes()); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ruby-linter-rs` (example "sample") generated 3 warnings (run `cargo fix --example "sample" -p ruby-linter-rs` to apply 3 suggestions) [INFO] [stderr] warning: `ruby-linter-rs` (lib test) generated 1 warning (run `cargo fix --lib -p ruby-linter-rs --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ruby_linter_rs-713e3ec8a7e95dbb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test tests::test_collect ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "89c1d1b657ea1bdae0242ef682d665eb0eaae5929fc6cfa8fe187e858988d5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c1d1b657ea1bdae0242ef682d665eb0eaae5929fc6cfa8fe187e858988d5dc", kill_on_drop: false }` [INFO] [stdout] 89c1d1b657ea1bdae0242ef682d665eb0eaae5929fc6cfa8fe187e858988d5dc