[INFO] fetching crate graph-rs 0.2.0... [INFO] testing graph-rs-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate graph-rs 0.2.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate graph-rs 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf965d2e61b45eea8bcc6e8c8a1e34e899135da537fe8e14c6b7eaf28648b2c [INFO] running `Command { std: "docker" "start" "-a" "ebf965d2e61b45eea8bcc6e8c8a1e34e899135da537fe8e14c6b7eaf28648b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf965d2e61b45eea8bcc6e8c8a1e34e899135da537fe8e14c6b7eaf28648b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf965d2e61b45eea8bcc6e8c8a1e34e899135da537fe8e14c6b7eaf28648b2c", kill_on_drop: false }` [INFO] [stdout] ebf965d2e61b45eea8bcc6e8c8a1e34e899135da537fe8e14c6b7eaf28648b2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 203e826adf7133b18f6d8f9aeb3cb07567bf49b5008e26d4603393b4acaa675d [INFO] running `Command { std: "docker" "start" "-a" "203e826adf7133b18f6d8f9aeb3cb07567bf49b5008e26d4603393b4acaa675d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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 issue #41686 [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 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: 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.18s [INFO] running `Command { std: "docker" "inspect" "203e826adf7133b18f6d8f9aeb3cb07567bf49b5008e26d4603393b4acaa675d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "203e826adf7133b18f6d8f9aeb3cb07567bf49b5008e26d4603393b4acaa675d", kill_on_drop: false }` [INFO] [stdout] 203e826adf7133b18f6d8f9aeb3cb07567bf49b5008e26d4603393b4acaa675d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63b72b4b55abcfbca103a050f1dddb9fc5037b9b196a47383ab66873b70324a1 [INFO] running `Command { std: "docker" "start" "-a" "63b72b4b55abcfbca103a050f1dddb9fc5037b9b196a47383ab66873b70324a1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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 issue #41686 [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 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: 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 issue #41686 [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 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: 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.21s [INFO] running `Command { std: "docker" "inspect" "63b72b4b55abcfbca103a050f1dddb9fc5037b9b196a47383ab66873b70324a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b72b4b55abcfbca103a050f1dddb9fc5037b9b196a47383ab66873b70324a1", kill_on_drop: false }` [INFO] [stdout] 63b72b4b55abcfbca103a050f1dddb9fc5037b9b196a47383ab66873b70324a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b74c94b69f51d5bbc14618d28e68bfaa38bc36b199eea8a19f878f90bb054880 [INFO] running `Command { std: "docker" "start" "-a" "b74c94b69f51d5bbc14618d28e68bfaa38bc36b199eea8a19f878f90bb054880", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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 issue #41686 [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 issue #41686 [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 issue #41686 [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 issue #41686 [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 issue #41686 [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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/graph_rs-b09e9a8e58b5e361) [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" "b74c94b69f51d5bbc14618d28e68bfaa38bc36b199eea8a19f878f90bb054880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b74c94b69f51d5bbc14618d28e68bfaa38bc36b199eea8a19f878f90bb054880", kill_on_drop: false }` [INFO] [stdout] b74c94b69f51d5bbc14618d28e68bfaa38bc36b199eea8a19f878f90bb054880