[INFO] fetching crate gen-vec 0.3.0... [INFO] testing gen-vec-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate gen-vec 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate gen-vec 0.3.0 [INFO] finished tweaking crates.io crate gen-vec 0.3.0 [INFO] tweaked toml for crates.io crate gen-vec 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gen-vec 0.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0631b0836aab3b638188fd8f1c16e45e58d099eef2ddddb92154dcf8a68579c [INFO] running `Command { std: "docker" "start" "-a" "d0631b0836aab3b638188fd8f1c16e45e58d099eef2ddddb92154dcf8a68579c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0631b0836aab3b638188fd8f1c16e45e58d099eef2ddddb92154dcf8a68579c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0631b0836aab3b638188fd8f1c16e45e58d099eef2ddddb92154dcf8a68579c", kill_on_drop: false }` [INFO] [stdout] d0631b0836aab3b638188fd8f1c16e45e58d099eef2ddddb92154dcf8a68579c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce2d4c7541fb0ed7e726b113f218904844e1c6320f0deba5ab74f5708c57aff7 [INFO] running `Command { std: "docker" "start" "-a" "ce2d4c7541fb0ed7e726b113f218904844e1c6320f0deba5ab74f5708c57aff7", kill_on_drop: false }` [INFO] [stderr] Compiling gen-vec v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/exposed/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::gen_vec::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `IntoIter` in the type namespace is first re-exported here [INFO] [stdout] 23 | pub mod index_allocator; [INFO] [stdout] 24 | pub use self::index_allocator::*; [INFO] [stdout] | ------------------------ but the name `IntoIter` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/exposed/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::gen_vec::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] 23 | pub mod index_allocator; [INFO] [stdout] 24 | pub use self::index_allocator::*; [INFO] [stdout] | ------------------------ but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/closed/gen_vec.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 303 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/closed/gen_vec.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 327 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/exposed/gen_vec.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | _ => panic!(format!("Index is out of bounds despite internal vec being resized: {:?}", index)) [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)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 163 - _ => panic!(format!("Index is out of bounds despite internal vec being resized: {:?}", index)) [INFO] [stdout] 163 + _ => panic!("Index is out of bounds despite internal vec being resized: {:?}", index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/gen_vec.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/gen_vec.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 312 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/index_allocator.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 302 | pub fn iter(&self) -> Iter<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "ce2d4c7541fb0ed7e726b113f218904844e1c6320f0deba5ab74f5708c57aff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce2d4c7541fb0ed7e726b113f218904844e1c6320f0deba5ab74f5708c57aff7", kill_on_drop: false }` [INFO] [stdout] ce2d4c7541fb0ed7e726b113f218904844e1c6320f0deba5ab74f5708c57aff7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c25f561f5c7a68de8a59c5ffe485bb4745635bf3cb65e7194cb4a63fa50cabe [INFO] running `Command { std: "docker" "start" "-a" "1c25f561f5c7a68de8a59c5ffe485bb4745635bf3cb65e7194cb4a63fa50cabe", kill_on_drop: false }` [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/exposed/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::gen_vec::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `IntoIter` in the type namespace is first re-exported here [INFO] [stdout] 23 | pub mod index_allocator; [INFO] [stdout] 24 | pub use self::index_allocator::*; [INFO] [stdout] | ------------------------ but the name `IntoIter` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/exposed/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::gen_vec::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] 23 | pub mod index_allocator; [INFO] [stdout] 24 | pub use self::index_allocator::*; [INFO] [stdout] | ------------------------ but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/closed/gen_vec.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 303 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/closed/gen_vec.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 327 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/exposed/gen_vec.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | _ => panic!(format!("Index is out of bounds despite internal vec being resized: {:?}", index)) [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)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 163 - _ => panic!(format!("Index is out of bounds despite internal vec being resized: {:?}", index)) [INFO] [stdout] 163 + _ => panic!("Index is out of bounds despite internal vec being resized: {:?}", index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/gen_vec.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/gen_vec.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 312 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/index_allocator.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 302 | pub fn iter(&self) -> Iter<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gen-vec v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/exposed/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::gen_vec::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `IntoIter` in the type namespace is first re-exported here [INFO] [stdout] 23 | pub mod index_allocator; [INFO] [stdout] 24 | pub use self::index_allocator::*; [INFO] [stdout] | ------------------------ but the name `IntoIter` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/exposed/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::gen_vec::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] 23 | pub mod index_allocator; [INFO] [stdout] 24 | pub use self::index_allocator::*; [INFO] [stdout] | ------------------------ but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/closed/gen_vec.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 303 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/closed/gen_vec.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 327 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/exposed/gen_vec.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | _ => panic!(format!("Index is out of bounds despite internal vec being resized: {:?}", index)) [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)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 163 - _ => panic!(format!("Index is out of bounds despite internal vec being resized: {:?}", index)) [INFO] [stdout] 163 + _ => panic!("Index is out of bounds despite internal vec being resized: {:?}", index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/gen_vec.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/gen_vec.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 312 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exposed/index_allocator.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 302 | pub fn iter(&self) -> Iter<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "1c25f561f5c7a68de8a59c5ffe485bb4745635bf3cb65e7194cb4a63fa50cabe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c25f561f5c7a68de8a59c5ffe485bb4745635bf3cb65e7194cb4a63fa50cabe", kill_on_drop: false }` [INFO] [stdout] 1c25f561f5c7a68de8a59c5ffe485bb4745635bf3cb65e7194cb4a63fa50cabe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b675fcaeb7b3feff5389fce9f3e710946dd18fde2a7fe7fc751989de0299afc [INFO] running `Command { std: "docker" "start" "-a" "0b675fcaeb7b3feff5389fce9f3e710946dd18fde2a7fe7fc751989de0299afc", kill_on_drop: false }` [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/exposed/mod.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub use self::gen_vec::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the name `IntoIter` in the type namespace is first re-exported here [INFO] [stderr] 23 | pub mod index_allocator; [INFO] [stderr] 24 | pub use self::index_allocator::*; [INFO] [stderr] | ------------------------ but the name `IntoIter` in the type namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/exposed/mod.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub use self::gen_vec::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stderr] 23 | pub mod index_allocator; [INFO] [stderr] 24 | pub use self::index_allocator::*; [INFO] [stderr] | ------------------------ but the name `Iter` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/closed/gen_vec.rs:303:17 [INFO] [stderr] | [INFO] [stderr] 303 | pub fn iter(&self) -> Iter [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 303 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/closed/gen_vec.rs:327:21 [INFO] [stderr] | [INFO] [stderr] 327 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 327 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/exposed/gen_vec.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | _ => panic!(format!("Index is out of bounds despite internal vec being resized: {:?}", index)) [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 163 - _ => panic!(format!("Index is out of bounds despite internal vec being resized: {:?}", index)) [INFO] [stderr] 163 + _ => panic!("Index is out of bounds despite internal vec being resized: {:?}", index) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/exposed/gen_vec.rs:283:17 [INFO] [stderr] | [INFO] [stderr] 283 | pub fn iter(&self) -> Iter [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 283 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/exposed/gen_vec.rs:312:21 [INFO] [stderr] | [INFO] [stderr] 312 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 312 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/exposed/index_allocator.rs:302:17 [INFO] [stderr] | [INFO] [stderr] 302 | pub fn iter(&self) -> Iter [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 302 | pub fn iter(&self) -> Iter<'_> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `gen-vec` (lib) generated 8 warnings (run `cargo fix --lib -p gen-vec` to apply 6 suggestions) [INFO] [stderr] warning: `gen-vec` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gen_vec-ffec7e22f96cf79c) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test closed::gen_vec::tests::clear ... ok [INFO] [stdout] test closed::gen_vec::tests::index_mut ... ok [INFO] [stdout] test closed::gen_vec::tests::insert ... ok [INFO] [stdout] test closed::gen_vec::tests::get_mut ... ok [INFO] [stdout] test closed::gen_vec::tests::into_iter ... ok [INFO] [stdout] test closed::gen_vec::tests::index ... ok [INFO] [stdout] test closed::gen_vec::tests::contains ... ok [INFO] [stdout] test closed::gen_vec::tests::is_empty ... ok [INFO] [stdout] test closed::gen_vec::tests::iter ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::capacity ... ok [INFO] [stdout] test closed::gen_vec::tests::remove ... ok [INFO] [stdout] test closed::gen_vec::tests::capacity ... ok [INFO] [stdout] test closed::gen_vec::tests::get ... ok [INFO] [stdout] test closed::gen_vec::tests::len ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::get ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::index ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::index_mut ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::iter ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::iter_mut ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::capacity ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::set ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::active ... ok [INFO] [stdout] test closed::gen_vec::tests::iter_mut ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::deallocate_all ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::deallocate ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::iter ... ok [INFO] [stderr] Doc-tests gen_vec [INFO] [stdout] test exposed::index_allocator::allocator_tests::allocate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::contains (line 171) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::capacity (line 113) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::iter (line 291) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::get_mut (line 262) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::clear (line 221) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::insert (line 153) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::new (line 32) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::len (line 70) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::is_empty (line 91) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::iter_mut (line 314) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::remove (line 195) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::get (line 243) ... ok [INFO] [stdout] test src/closed/mod.rs - closed (line 5) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::reserve (line 131) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::capacity (line 62) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::get_mut (line 226) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::with_capacity (line 52) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::remove (line 171) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::iter (line 262) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::contains (line 103) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::iter_mut (line 297) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::new (line 27) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::get (line 201) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::allocate (line 78) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::capacity (line 168) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::reserve (line 79) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::deallocate (line 118) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::with_capacity (line 46) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::iter (line 289) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::is_active (line 219) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::new (line 38) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::num_free (line 242) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::reserve (line 186) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::set (line 126) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::with_capacity (line 58) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::num_active (line 266) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::deallocate_all (line 139) ... ok [INFO] [stdout] test src/exposed/mod.rs - exposed (line 5) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.92s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0b675fcaeb7b3feff5389fce9f3e710946dd18fde2a7fe7fc751989de0299afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b675fcaeb7b3feff5389fce9f3e710946dd18fde2a7fe7fc751989de0299afc", kill_on_drop: false }` [INFO] [stdout] 0b675fcaeb7b3feff5389fce9f3e710946dd18fde2a7fe7fc751989de0299afc