[INFO] fetching crate tree-index 0.6.1... [INFO] testing tree-index-0.6.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tree-index 0.6.1 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-index 0.6.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac9495ea63da4c6d5cba813c92a4b81029f39306657d024ba1ce902e5d2dc6dc [INFO] running `Command { std: "docker" "start" "-a" "ac9495ea63da4c6d5cba813c92a4b81029f39306657d024ba1ce902e5d2dc6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac9495ea63da4c6d5cba813c92a4b81029f39306657d024ba1ce902e5d2dc6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9495ea63da4c6d5cba813c92a4b81029f39306657d024ba1ce902e5d2dc6dc", kill_on_drop: false }` [INFO] [stdout] ac9495ea63da4c6d5cba813c92a4b81029f39306657d024ba1ce902e5d2dc6dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f795e4336d513e148d9c2ca08ac5833fdb9051deb56410cf9a6545ef659a7525 [INFO] running `Command { std: "docker" "start" "-a" "f795e4336d513e148d9c2ca08ac5833fdb9051deb56410cf9a6545ef659a7525", 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.24s [INFO] running `Command { std: "docker" "inspect" "f795e4336d513e148d9c2ca08ac5833fdb9051deb56410cf9a6545ef659a7525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f795e4336d513e148d9c2ca08ac5833fdb9051deb56410cf9a6545ef659a7525", kill_on_drop: false }` [INFO] [stdout] f795e4336d513e148d9c2ca08ac5833fdb9051deb56410cf9a6545ef659a7525 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1362245e4bdf1f425bd20a43c9bc483898ed888a3e2623961a7075b6ad9cdee6 [INFO] running `Command { std: "docker" "start" "-a" "1362245e4bdf1f425bd20a43c9bc483898ed888a3e2623961a7075b6ad9cdee6", 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" "1362245e4bdf1f425bd20a43c9bc483898ed888a3e2623961a7075b6ad9cdee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1362245e4bdf1f425bd20a43c9bc483898ed888a3e2623961a7075b6ad9cdee6", kill_on_drop: false }` [INFO] [stdout] 1362245e4bdf1f425bd20a43c9bc483898ed888a3e2623961a7075b6ad9cdee6