[INFO] fetching crate graph-rs 0.2.0... [INFO] checking graph-rs-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate graph-rs 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate graph-rs 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graph-rs 0.2.0 [INFO] finished tweaking crates.io crate graph-rs 0.2.0 [INFO] tweaked toml for crates.io crate graph-rs 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33e274a21b752c05d9f0a0f1596d1af12efbaa31d2ada098842a1e233b0bf191 [INFO] running `Command { std: "docker" "start" "-a" "33e274a21b752c05d9f0a0f1596d1af12efbaa31d2ada098842a1e233b0bf191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33e274a21b752c05d9f0a0f1596d1af12efbaa31d2ada098842a1e233b0bf191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e274a21b752c05d9f0a0f1596d1af12efbaa31d2ada098842a1e233b0bf191", kill_on_drop: false }` [INFO] [stdout] 33e274a21b752c05d9f0a0f1596d1af12efbaa31d2ada098842a1e233b0bf191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f61d647fb020d449ddefc7ddc3c83c1507f8c3ee9cc80fd2d1c7045128911e1 [INFO] running `Command { std: "docker" "start" "-a" "3f61d647fb020d449ddefc7ddc3c83c1507f8c3ee9cc80fd2d1c7045128911e1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking collections-rs v0.3.1 [INFO] [stderr] Checking graph-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/map.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'m, N, W, M> DirectedWeightedGraph<'m, N, W> for MapGraph [INFO] [stdout] | -- lifetime `'m` declared here [INFO] [stdout] ... [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/map.rs:82:70 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'m, N, W, M> DirectedWeightedGraph<'m, N, W> for MapGraph [INFO] [stdout] | -- lifetime `'m` declared here [INFO] [stdout] ... [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [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/lib.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [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/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: W` [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/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | fn remove_edge(&'g mut self, &N, &N) -> Option<(N, N, W)>; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [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/lib.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | fn remove_edge(&'g mut self, &N, &N) -> Option<(N, N, W)>; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [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: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait DirectedWeightedGraph<'g, N, W> [INFO] [stdout] | -- lifetime `'g` declared here [INFO] [stdout] ... [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:56:70 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait DirectedWeightedGraph<'g, N, W> [INFO] [stdout] | -- lifetime `'g` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/map.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'m, N, W, M> DirectedWeightedGraph<'m, N, W> for MapGraph [INFO] [stdout] | -- lifetime `'m` declared here [INFO] [stdout] ... [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/map.rs:82:70 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'m, N, W, M> DirectedWeightedGraph<'m, N, W> for MapGraph [INFO] [stdout] | -- lifetime `'m` declared here [INFO] [stdout] ... [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [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/lib.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [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/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: W` [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/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | fn remove_edge(&'g mut self, &N, &N) -> Option<(N, N, W)>; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [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/lib.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | fn remove_edge(&'g mut self, &N, &N) -> Option<(N, N, W)>; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [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: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait DirectedWeightedGraph<'g, N, W> [INFO] [stdout] | -- lifetime `'g` declared here [INFO] [stdout] ... [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:56:70 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait DirectedWeightedGraph<'g, N, W> [INFO] [stdout] | -- lifetime `'g` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "3f61d647fb020d449ddefc7ddc3c83c1507f8c3ee9cc80fd2d1c7045128911e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f61d647fb020d449ddefc7ddc3c83c1507f8c3ee9cc80fd2d1c7045128911e1", kill_on_drop: false }` [INFO] [stdout] 3f61d647fb020d449ddefc7ddc3c83c1507f8c3ee9cc80fd2d1c7045128911e1