[INFO] fetching crate shifted_vec 0.1.2... [INFO] testing shifted_vec-0.1.2 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate shifted_vec 0.1.2 into /workspace/builds/worker-68/source [INFO] validating manifest of crates.io crate shifted_vec 0.1.2 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shifted_vec 0.1.2 [INFO] finished tweaking crates.io crate shifted_vec 0.1.2 [INFO] tweaked toml for crates.io crate shifted_vec 0.1.2 written to /workspace/builds/worker-68/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc0d34e7c65062e7167005116902115e58a3b363469500846c12e2c00d6c2e7b [INFO] running `Command { std: "docker" "start" "-a" "fc0d34e7c65062e7167005116902115e58a3b363469500846c12e2c00d6c2e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc0d34e7c65062e7167005116902115e58a3b363469500846c12e2c00d6c2e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc0d34e7c65062e7167005116902115e58a3b363469500846c12e2c00d6c2e7b", kill_on_drop: false }` [INFO] [stdout] fc0d34e7c65062e7167005116902115e58a3b363469500846c12e2c00d6c2e7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2173431e31cecab6e8b4a63289754ae8e4956e68c34a7094a92482b124d5771 [INFO] running `Command { std: "docker" "start" "-a" "c2173431e31cecab6e8b4a63289754ae8e4956e68c34a7094a92482b124d5771", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling shifted_vec v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 241 - None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] 241 + None => panic!("out of bounds access {}", i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | None => panic!(format!("out of bounds access {}", i)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 250 - None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] 250 + None => panic!("out of bounds access {}", i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "c2173431e31cecab6e8b4a63289754ae8e4956e68c34a7094a92482b124d5771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2173431e31cecab6e8b4a63289754ae8e4956e68c34a7094a92482b124d5771", kill_on_drop: false }` [INFO] [stdout] c2173431e31cecab6e8b4a63289754ae8e4956e68c34a7094a92482b124d5771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be992819774b029609812f960452ce6c269b670d53ae4db53bfb7033e1a17dc1 [INFO] running `Command { std: "docker" "start" "-a" "be992819774b029609812f960452ce6c269b670d53ae4db53bfb7033e1a17dc1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 241 - None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] 241 + None => panic!("out of bounds access {}", i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shifted_vec v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | None => panic!(format!("out of bounds access {}", i)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 250 - None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] 250 + None => panic!("out of bounds access {}", i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 241 - None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] 241 + None => panic!("out of bounds access {}", i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | None => panic!(format!("out of bounds access {}", i)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 250 - None => panic!(format!("out of bounds access {}", i)), [INFO] [stdout] 250 + None => panic!("out of bounds access {}", i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.15s [INFO] running `Command { std: "docker" "inspect" "be992819774b029609812f960452ce6c269b670d53ae4db53bfb7033e1a17dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be992819774b029609812f960452ce6c269b670d53ae4db53bfb7033e1a17dc1", kill_on_drop: false }` [INFO] [stdout] be992819774b029609812f960452ce6c269b670d53ae4db53bfb7033e1a17dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ad0afaa28b5580c3d599de059d84eadfb3b56ba2ee7d2ea7bdbda82456e097f [INFO] running `Command { std: "docker" "start" "-a" "1ad0afaa28b5580c3d599de059d84eadfb3b56ba2ee7d2ea7bdbda82456e097f", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:241:28 [INFO] [stderr] | [INFO] [stderr] 241 | None => panic!(format!("out of bounds access {}", i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 241 - None => panic!(format!("out of bounds access {}", i)), [INFO] [stderr] 241 + None => panic!("out of bounds access {}", i), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:250:28 [INFO] [stderr] | [INFO] [stderr] 250 | None => panic!(format!("out of bounds access {}", i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 250 - None => panic!(format!("out of bounds access {}", i)), [INFO] [stderr] 250 + None => panic!("out of bounds access {}", i), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `shifted_vec` (lib) generated 2 warnings [INFO] [stderr] warning: `shifted_vec` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/shifted_vec-0882426d72342193) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::debug ... ok [INFO] [stdout] test tests::debug_pretty ... ok [INFO] [stdout] test tests::display ... ok [INFO] [stdout] test tests::half_shift ... ok [INFO] [stdout] test tests::half_shift_mut ... ok [INFO] [stdout] test tests::negative_shift ... ok [INFO] [stdout] test tests::normal ... ok [INFO] [stdout] test tests::out_of_bounds ... ok [INFO] [stdout] test tests::out_of_bounds_mut ... ok [INFO] [stdout] test tests::positive_shift ... ok [INFO] [stdout] test tests::out_of_bounds_panic - should panic ... ok [INFO] [stdout] test tests::out_of_bounds_panic_mut - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests shifted_vec [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - ShiftedVec::with_offset (line 51) ... ok [INFO] [stdout] test src/lib.rs - (line 4) ... ok [INFO] [stdout] test src/lib.rs - ShiftedVec::iter_shifted (line 177) ... ok [INFO] [stdout] test src/lib.rs - ShiftedVec::get_mut (line 108) ... ok [INFO] [stdout] test src/lib.rs - ShiftedVec::iter_shifted_mut (line 198) ... ok [INFO] [stdout] test src/lib.rs - ShiftedVec::push (line 84) ... ok [INFO] [stdout] test src/lib.rs - ShiftedVec::with_offset_and_capacity (line 61) ... ok [INFO] [stdout] test src/lib.rs - ShiftedVec (line 31) ... ok [INFO] [stdout] test src/lib.rs - ShiftedVec::iter (line 138) ... ok [INFO] [stdout] test src/lib.rs - ShiftedVec::iter_mut (line 155) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ad0afaa28b5580c3d599de059d84eadfb3b56ba2ee7d2ea7bdbda82456e097f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ad0afaa28b5580c3d599de059d84eadfb3b56ba2ee7d2ea7bdbda82456e097f", kill_on_drop: false }` [INFO] [stdout] 1ad0afaa28b5580c3d599de059d84eadfb3b56ba2ee7d2ea7bdbda82456e097f