[INFO] fetching crate graph-rs 0.2.0... [INFO] testing graph-rs-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate graph-rs 0.2.0 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate graph-rs 0.2.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded collections-rs v0.3.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f2a0b462c80356a1ebbcd8ab947fe68ec0ce7f8beb7bdc46e30d3cfb58d0d73 [INFO] running `Command { std: "docker" "start" "-a" "7f2a0b462c80356a1ebbcd8ab947fe68ec0ce7f8beb7bdc46e30d3cfb58d0d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f2a0b462c80356a1ebbcd8ab947fe68ec0ce7f8beb7bdc46e30d3cfb58d0d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2a0b462c80356a1ebbcd8ab947fe68ec0ce7f8beb7bdc46e30d3cfb58d0d73", kill_on_drop: false }` [INFO] [stdout] 7f2a0b462c80356a1ebbcd8ab947fe68ec0ce7f8beb7bdc46e30d3cfb58d0d73 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a35d620e081c52c7adcbb36657c2d010dc9e38fdb731a759f6cc6d87e26bbde [INFO] running `Command { std: "docker" "start" "-a" "7a35d620e081c52c7adcbb36657c2d010dc9e38fdb731a759f6cc6d87e26bbde", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling collections-rs v0.3.1 [INFO] [stderr] Compiling graph-rs v0.2.0 (/opt/rustwide/workdir) [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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) 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 [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 [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'g` [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&'g W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:56:70 [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'g` [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&'g mut W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/map.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'m` [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&'m W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/map.rs:82:70 [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'m` [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&'m mut W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "7a35d620e081c52c7adcbb36657c2d010dc9e38fdb731a759f6cc6d87e26bbde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a35d620e081c52c7adcbb36657c2d010dc9e38fdb731a759f6cc6d87e26bbde", kill_on_drop: false }` [INFO] [stdout] 7a35d620e081c52c7adcbb36657c2d010dc9e38fdb731a759f6cc6d87e26bbde [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89a3f86dced5f06922059e5f89e161ea881d4a5a2789ab0bf54f9aaa87b466eb [INFO] running `Command { std: "docker" "start" "-a" "89a3f86dced5f06922059e5f89e161ea881d4a5a2789ab0bf54f9aaa87b466eb", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) 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 [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 [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'g` [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&'g W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:56:70 [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'g` [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&'g mut W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/map.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'m` [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&'m W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/map.rs:82:70 [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'m` [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&'m mut W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling graph-rs v0.2.0 (/opt/rustwide/workdir) [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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) 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 [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 [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'g` [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&'g W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:56:70 [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'g` [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&'g mut W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/map.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'m` [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&'m W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/map.rs:82:70 [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'m` [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&'m mut W> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "89a3f86dced5f06922059e5f89e161ea881d4a5a2789ab0bf54f9aaa87b466eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a3f86dced5f06922059e5f89e161ea881d4a5a2789ab0bf54f9aaa87b466eb", kill_on_drop: false }` [INFO] [stdout] 89a3f86dced5f06922059e5f89e161ea881d4a5a2789ab0bf54f9aaa87b466eb [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 80072d39985490833f55d69d8c90d8856b6edd4e2185ea3a063dbad7f5138c16 [INFO] running `Command { std: "docker" "start" "-a" "80072d39985490833f55d69d8c90d8856b6edd4e2185ea3a063dbad7f5138c16", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:29:31 [INFO] [stderr] | [INFO] [stderr] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:29:34 [INFO] [stderr] | [INFO] [stderr] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | fn add_edge(&'g mut self, N, N, W) -> Option<(N, N, W)>; [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: W` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:32:34 [INFO] [stderr] | [INFO] [stderr] 32 | fn remove_edge(&'g mut self, &N, &N) -> Option<(N, N, W)>; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:32:38 [INFO] [stderr] | [INFO] [stderr] 32 | fn remove_edge(&'g mut self, &N, &N) -> Option<(N, N, W)>; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:46:62 [INFO] [stderr] | [INFO] [stderr] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stderr] | -- the lifetime is named here ^^ the same 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: consistently use `'g` [INFO] [stderr] | [INFO] [stderr] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&'g W> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:56:70 [INFO] [stderr] | [INFO] [stderr] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'g` [INFO] [stderr] | [INFO] [stderr] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&'g mut W> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/map.rs:76:62 [INFO] [stderr] | [INFO] [stderr] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stderr] | -- the lifetime is named here ^^ the same 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: consistently use `'m` [INFO] [stderr] | [INFO] [stderr] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&'m W> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/map.rs:82:70 [INFO] [stderr] | [INFO] [stderr] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'m` [INFO] [stderr] | [INFO] [stderr] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&'m mut W> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `graph-rs` (lib) generated 9 warnings (run `cargo fix --lib -p graph-rs` to apply 9 suggestions) [INFO] [stderr] warning: `graph-rs` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/graph_rs-35f8565fb4f1e808) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test vec::tests::test_add_edge ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests graph_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "80072d39985490833f55d69d8c90d8856b6edd4e2185ea3a063dbad7f5138c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80072d39985490833f55d69d8c90d8856b6edd4e2185ea3a063dbad7f5138c16", kill_on_drop: false }` [INFO] [stdout] 80072d39985490833f55d69d8c90d8856b6edd4e2185ea3a063dbad7f5138c16