[INFO] fetching crate gen-vec 0.3.0... [INFO] testing gen-vec-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate gen-vec 0.3.0 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gen-vec 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faabab8ded6bbbed1e34ecba05a0713b327ed4167b4c7a2a93d5d5f497f7de52 [INFO] running `Command { std: "docker" "start" "-a" "faabab8ded6bbbed1e34ecba05a0713b327ed4167b4c7a2a93d5d5f497f7de52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faabab8ded6bbbed1e34ecba05a0713b327ed4167b4c7a2a93d5d5f497f7de52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faabab8ded6bbbed1e34ecba05a0713b327ed4167b4c7a2a93d5d5f497f7de52", kill_on_drop: false }` [INFO] [stdout] faabab8ded6bbbed1e34ecba05a0713b327ed4167b4c7a2a93d5d5f497f7de52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db2b93cd1906f78a7af621af326c5398719c5e1ec6a644baacc617fd4b2bfed8 [INFO] running `Command { std: "docker" "start" "-a" "db2b93cd1906f78a7af621af326c5398719c5e1ec6a644baacc617fd4b2bfed8", 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.24s [INFO] running `Command { std: "docker" "inspect" "db2b93cd1906f78a7af621af326c5398719c5e1ec6a644baacc617fd4b2bfed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2b93cd1906f78a7af621af326c5398719c5e1ec6a644baacc617fd4b2bfed8", kill_on_drop: false }` [INFO] [stdout] db2b93cd1906f78a7af621af326c5398719c5e1ec6a644baacc617fd4b2bfed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c3d7f297c0dd4617d2be31e15d87de4babf13f84aad5d6c3a28d69cc5079620 [INFO] running `Command { std: "docker" "start" "-a" "5c3d7f297c0dd4617d2be31e15d87de4babf13f84aad5d6c3a28d69cc5079620", 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] [stderr] Compiling gen-vec v0.3.0 (/opt/rustwide/workdir) [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.47s [INFO] running `Command { std: "docker" "inspect" "5c3d7f297c0dd4617d2be31e15d87de4babf13f84aad5d6c3a28d69cc5079620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3d7f297c0dd4617d2be31e15d87de4babf13f84aad5d6c3a28d69cc5079620", kill_on_drop: false }` [INFO] [stdout] 5c3d7f297c0dd4617d2be31e15d87de4babf13f84aad5d6c3a28d69cc5079620 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fdd6d7ea0bbe7f8a11a96268104acab473bbfdf0b69396a9bb14d351df9f3574 [INFO] running `Command { std: "docker" "start" "-a" "fdd6d7ea0bbe7f8a11a96268104acab473bbfdf0b69396a9bb14d351df9f3574", 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.02s [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::capacity ... ok [INFO] [stdout] test closed::gen_vec::tests::clear ... ok [INFO] [stdout] test closed::gen_vec::tests::contains ... ok [INFO] [stdout] test closed::gen_vec::tests::get_mut ... ok [INFO] [stdout] test closed::gen_vec::tests::get ... ok [INFO] [stdout] test closed::gen_vec::tests::index ... ok [INFO] [stdout] test closed::gen_vec::tests::insert ... ok [INFO] [stdout] test closed::gen_vec::tests::index_mut ... ok [INFO] [stdout] test closed::gen_vec::tests::is_empty ... ok [INFO] [stdout] test closed::gen_vec::tests::into_iter ... ok [INFO] [stdout] test closed::gen_vec::tests::iter_mut ... ok [INFO] [stdout] test closed::gen_vec::tests::len ... 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 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::gen_vec::vec_tests::set ... 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::capacity ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::deallocate ... ok [INFO] [stderr] Doc-tests gen_vec [INFO] [stdout] test exposed::index_allocator::allocator_tests::deallocate_all ... ok [INFO] [stdout] test exposed::index_allocator::allocator_tests::iter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 38 tests [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::with_capacity (line 52) ... 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::new (line 32) ... 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::reserve (line 131) ... 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_mut (line 262) ... 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/exposed/gen_vec.rs - exposed::gen_vec::ExposedGenVec::capacity (line 62) ... 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::get (line 243) ... ok [INFO] [stdout] test src/closed/gen_vec.rs - closed::gen_vec::ClosedGenVec::len (line 70) ... 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/closed/mod.rs - closed (line 5) ... 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::allocate (line 78) ... 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::iter (line 262) ... 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::new (line 27) ... 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::get (line 201) ... 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::reserve (line 79) ... 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::capacity (line 168) ... 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::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/index_allocator.rs - exposed::index_allocator::IndexAllocator::reserve (line 186) ... ok [INFO] [stdout] test src/exposed/mod.rs - exposed (line 5) ... 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::with_capacity (line 58) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.47s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fdd6d7ea0bbe7f8a11a96268104acab473bbfdf0b69396a9bb14d351df9f3574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdd6d7ea0bbe7f8a11a96268104acab473bbfdf0b69396a9bb14d351df9f3574", kill_on_drop: false }` [INFO] [stdout] fdd6d7ea0bbe7f8a11a96268104acab473bbfdf0b69396a9bb14d351df9f3574