[INFO] fetching crate gen-vec 0.3.0... [INFO] testing gen-vec-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gen-vec 0.3.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gen-vec 0.3.0 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 6 packages to latest compatible versions [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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c38fb6ec7eff1a41f16d4bbf958b75fa4a33eaae9358c8dd75c17fcd3162854c [INFO] running `Command { std: "docker" "start" "-a" "c38fb6ec7eff1a41f16d4bbf958b75fa4a33eaae9358c8dd75c17fcd3162854c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c38fb6ec7eff1a41f16d4bbf958b75fa4a33eaae9358c8dd75c17fcd3162854c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38fb6ec7eff1a41f16d4bbf958b75fa4a33eaae9358c8dd75c17fcd3162854c", kill_on_drop: false }` [INFO] [stdout] c38fb6ec7eff1a41f16d4bbf958b75fa4a33eaae9358c8dd75c17fcd3162854c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 264ba83000e4b7cce140923b7c1c7e5e4b1be19076c5fd7077537f6956e651c8 [INFO] running `Command { std: "docker" "start" "-a" "264ba83000e4b7cce140923b7c1c7e5e4b1be19076c5fd7077537f6956e651c8", 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.25s [INFO] running `Command { std: "docker" "inspect" "264ba83000e4b7cce140923b7c1c7e5e4b1be19076c5fd7077537f6956e651c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "264ba83000e4b7cce140923b7c1c7e5e4b1be19076c5fd7077537f6956e651c8", kill_on_drop: false }` [INFO] [stdout] 264ba83000e4b7cce140923b7c1c7e5e4b1be19076c5fd7077537f6956e651c8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd925660c5409b1373ad95a0c073afd8716ce2948d1d80120e305583c17a8e37 [INFO] running `Command { std: "docker" "start" "-a" "cd925660c5409b1373ad95a0c073afd8716ce2948d1d80120e305583c17a8e37", 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] [stderr] Compiling gen-vec v0.3.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.40s [INFO] running `Command { std: "docker" "inspect" "cd925660c5409b1373ad95a0c073afd8716ce2948d1d80120e305583c17a8e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd925660c5409b1373ad95a0c073afd8716ce2948d1d80120e305583c17a8e37", kill_on_drop: false }` [INFO] [stdout] cd925660c5409b1373ad95a0c073afd8716ce2948d1d80120e305583c17a8e37 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c351f938ea013507d14e25707b461f7efab9f2d4233297f6fe77b9ab7ad01f48 [INFO] running `Command { std: "docker" "start" "-a" "c351f938ea013507d14e25707b461f7efab9f2d4233297f6fe77b9ab7ad01f48", 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.03s [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::get ... ok [INFO] [stdout] test closed::gen_vec::tests::contains ... ok [INFO] [stdout] test closed::gen_vec::tests::clear ... ok [INFO] [stdout] test closed::gen_vec::tests::capacity ... ok [INFO] [stdout] test closed::gen_vec::tests::index ... ok [INFO] [stdout] test closed::gen_vec::tests::index_mut ... ok [INFO] [stdout] test closed::gen_vec::tests::get_mut ... ok [INFO] [stdout] test closed::gen_vec::tests::insert ... ok [INFO] [stdout] test closed::gen_vec::tests::is_empty ... ok [INFO] [stdout] test closed::gen_vec::tests::iter ... ok [INFO] [stdout] test closed::gen_vec::tests::iter_mut ... ok [INFO] [stdout] test closed::gen_vec::tests::into_iter ... ok [INFO] [stdout] test closed::gen_vec::tests::remove ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::iter_mut ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::active ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::allocate ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::deallocate ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::capacity ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::deallocate_all ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::iter ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::set ... ok [INFO] [stdout] test closed::gen_vec::tests::len ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::capacity ... 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::iter ... ok [INFO] [stdout] test exposed::gen_vec::vec_tests::index_mut ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests gen_vec [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::with_capacity (line 52) ... 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::clear (line 221) ... ok [INFO] [stdout] test src/closed/mod.rs - closed (line 5) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::iter_mut (line 314) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::capacity (line 62) ... 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::capacity (line 113) ... 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::contains (line 171) ... 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/gen_vec.rs - closed::gen_vec::ClosedGenVec::is_empty (line 91) ... 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::get_mut (line 262) ... 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::contains (line 103) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::get_mut (line 226) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::iter_mut (line 297) ... 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::set (line 126) ... 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/gen_vec.rs - exposed::gen_vec::ExposedGenVec::reserve (line 79) ... 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::deallocate_all (line 139) ... 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::with_capacity (line 46) ... ok [INFO] [stdout] test src/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::remove (line 171) ... ok [INFO] [stdout] test src/exposed/index_allocator.rs - exposed::index_allocator::IndexAllocator::deallocate (line 118) ... 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::iter (line 289) ... 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::reserve (line 186) ... 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::num_free (line 242) ... 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 1.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c351f938ea013507d14e25707b461f7efab9f2d4233297f6fe77b9ab7ad01f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c351f938ea013507d14e25707b461f7efab9f2d4233297f6fe77b9ab7ad01f48", kill_on_drop: false }` [INFO] [stdout] c351f938ea013507d14e25707b461f7efab9f2d4233297f6fe77b9ab7ad01f48