[INFO] fetching crate collection 0.1.1... [INFO] checking collection-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate collection 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate collection 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate collection 0.1.1 [INFO] finished tweaking crates.io crate collection 0.1.1 [INFO] tweaked toml for crates.io crate collection 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding seahash v3.0.7 (latest: v4.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trait-group v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d425a2ae99901c6cac2ee590baf464afccbe7d15fad1abe0664a6017f1b05636 [INFO] running `Command { std: "docker" "start" "-a" "d425a2ae99901c6cac2ee590baf464afccbe7d15fad1abe0664a6017f1b05636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d425a2ae99901c6cac2ee590baf464afccbe7d15fad1abe0664a6017f1b05636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d425a2ae99901c6cac2ee590baf464afccbe7d15fad1abe0664a6017f1b05636", kill_on_drop: false }` [INFO] [stdout] d425a2ae99901c6cac2ee590baf464afccbe7d15fad1abe0664a6017f1b05636 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] faeedfea90b43e72a9d4fe53569f38c6e3c5864d1f9c0f89f37f7776ef8242e8 [INFO] running `Command { std: "docker" "start" "-a" "faeedfea90b43e72a9d4fe53569f38c6e3c5864d1f9c0f89f37f7776ef8242e8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking trait-group v0.1.0 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking collection v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `collection` [INFO] [stdout] --> src/collection/mod.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | macro_rules! collection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/tree/level.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | fn order(&mut T, &mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/tree/level.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn order(&mut T, &mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ops/map.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | fn insert(&mut self, key: K, V); [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: V` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/tree/level.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | fn order(&mut T, &mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/tree/level.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn order(&mut T, &mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ops/map.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | fn insert(&mut self, key: K, V); [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: V` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `remove`, and `member` are never used [INFO] [stdout] --> src/ops/set.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait SetOps [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn insert(&mut self, t: T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | fn remove(&mut self, t: &T) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | fn member(&self, t: &T) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `union` is never used [INFO] [stdout] --> src/ops/set.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait SetOpsCheckSum [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn union(&mut self, b: &mut Self) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ops/vector.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait VectorOps [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn insert(&mut self, i: usize, t: T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | fn remove(&mut self, i: usize) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | fn get(&self, i: usize) -> Option<&T>; [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | fn get_mut(&mut self, i: usize) -> Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | fn push(&mut self, t: T); [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | fn pop(&mut self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn splice(&mut self, i: usize, from: &mut Self) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `remove`, `get`, and `get_mut` are never used [INFO] [stdout] --> src/ops/map.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait MapOps [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 111 | fn insert(&mut self, key: K, V); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 112 | fn remove(&mut self, key: K) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | fn get(&self, key: K) -> Option<&V>; [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | fn get_mut(&mut self, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/ops/map.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait MapOpsKeySum [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 125 | fn merge(&mut self, b: &mut Self) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/ops/vector.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait VectorOps [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn pop(&mut self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/ops/map.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait MapOps [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 112 | fn remove(&mut self, key: K) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "faeedfea90b43e72a9d4fe53569f38c6e3c5864d1f9c0f89f37f7776ef8242e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faeedfea90b43e72a9d4fe53569f38c6e3c5864d1f9c0f89f37f7776ef8242e8", kill_on_drop: false }` [INFO] [stdout] faeedfea90b43e72a9d4fe53569f38c6e3c5864d1f9c0f89f37f7776ef8242e8