[INFO] fetching crate tree-index 0.6.1... [INFO] testing tree-index-0.6.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tree-index 0.6.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tree-index 0.6.1 [INFO] finished tweaking crates.io crate tree-index 0.6.1 [INFO] tweaked toml for crates.io crate tree-index 0.6.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-index 0.6.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding flat-tree v5.0.0 (available: v6.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sparse-bitfield v0.11.0 [INFO] [stderr] Downloaded flat-tree v5.0.0 [INFO] [stderr] Downloaded memory-pager v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18ec87cb529367b6568440a0d73c273d512fd13936584264fcf0ebe25a127130 [INFO] running `Command { std: "docker" "start" "-a" "18ec87cb529367b6568440a0d73c273d512fd13936584264fcf0ebe25a127130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ec87cb529367b6568440a0d73c273d512fd13936584264fcf0ebe25a127130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ec87cb529367b6568440a0d73c273d512fd13936584264fcf0ebe25a127130", kill_on_drop: false }` [INFO] [stdout] 18ec87cb529367b6568440a0d73c273d512fd13936584264fcf0ebe25a127130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f99dbfc79d1f36504a8d8eb564fe4cd67701cdc9630eda005de46947d6bfe083 [INFO] running `Command { std: "docker" "start" "-a" "f99dbfc79d1f36504a8d8eb564fe4cd67701cdc9630eda005de46947d6bfe083", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memory-pager v0.9.0 [INFO] [stderr] Compiling flat-tree v5.0.0 [INFO] [stderr] Compiling sparse-bitfield v0.11.0 [INFO] [stderr] Compiling tree-index v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 71 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 74 | nodes: &'a mut impl convert::AsMut>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 75 | remote_tree: &mut Self, [INFO] [stdout] 76 | ) -> Option { [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 76 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 90 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 94 | nodes: &'a mut impl convert::AsMut>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 95 | remote_tree: &mut Self, [INFO] [stdout] 96 | ) -> Option { [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | _ => panic!(format!( [INFO] [stdout] | _________________^ [INFO] [stdout] 332 | | "Bitshift failure. Received bit {}. Expected 1 or 0", [INFO] [stdout] 333 | | n [INFO] [stdout] 334 | | )), [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 331 ~ _ => panic!( [INFO] [stdout] 332 | "Bitshift failure. Received bit {}. Expected 1 or 0", [INFO] [stdout] 333 | n [INFO] [stdout] 334 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "f99dbfc79d1f36504a8d8eb564fe4cd67701cdc9630eda005de46947d6bfe083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99dbfc79d1f36504a8d8eb564fe4cd67701cdc9630eda005de46947d6bfe083", kill_on_drop: false }` [INFO] [stdout] f99dbfc79d1f36504a8d8eb564fe4cd67701cdc9630eda005de46947d6bfe083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29c3bf85516ea02e5a41c5fa185962bbb6256cdbfedf14297076a57d18b016b1 [INFO] running `Command { std: "docker" "start" "-a" "29c3bf85516ea02e5a41c5fa185962bbb6256cdbfedf14297076a57d18b016b1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 71 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 74 | nodes: &'a mut impl convert::AsMut>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 75 | remote_tree: &mut Self, [INFO] [stdout] 76 | ) -> Option { [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 76 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 90 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 94 | nodes: &'a mut impl convert::AsMut>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 95 | remote_tree: &mut Self, [INFO] [stdout] 96 | ) -> Option { [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | _ => panic!(format!( [INFO] [stdout] | _________________^ [INFO] [stdout] 332 | | "Bitshift failure. Received bit {}. Expected 1 or 0", [INFO] [stdout] 333 | | n [INFO] [stdout] 334 | | )), [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 331 ~ _ => panic!( [INFO] [stdout] 332 | "Bitshift failure. Received bit {}. Expected 1 or 0", [INFO] [stdout] 333 | n [INFO] [stdout] 334 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tree-index v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 71 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 74 | nodes: &'a mut impl convert::AsMut>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 75 | remote_tree: &mut Self, [INFO] [stdout] 76 | ) -> Option { [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 76 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 90 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 94 | nodes: &'a mut impl convert::AsMut>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 95 | remote_tree: &mut Self, [INFO] [stdout] 96 | ) -> Option { [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | _ => panic!(format!( [INFO] [stdout] | _________________^ [INFO] [stdout] 332 | | "Bitshift failure. Received bit {}. Expected 1 or 0", [INFO] [stdout] 333 | | n [INFO] [stdout] 334 | | )), [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[deny(non_fmt_panics)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 331 ~ _ => panic!( [INFO] [stdout] 332 | "Bitshift failure. Received bit {}. Expected 1 or 0", [INFO] [stdout] 333 | n [INFO] [stdout] 334 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tree-index` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "29c3bf85516ea02e5a41c5fa185962bbb6256cdbfedf14297076a57d18b016b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29c3bf85516ea02e5a41c5fa185962bbb6256cdbfedf14297076a57d18b016b1", kill_on_drop: false }` [INFO] [stdout] 29c3bf85516ea02e5a41c5fa185962bbb6256cdbfedf14297076a57d18b016b1