[INFO] fetching crate graph-rs 0.2.0... [INFO] testing graph-rs-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate graph-rs 0.2.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate graph-rs 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 515bb339ffe3e6b00ebfa2696deb8e66d15cc84fd3010840d877f7bcaeccb7a6 [INFO] running `Command { std: "docker" "start" "-a" "515bb339ffe3e6b00ebfa2696deb8e66d15cc84fd3010840d877f7bcaeccb7a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "515bb339ffe3e6b00ebfa2696deb8e66d15cc84fd3010840d877f7bcaeccb7a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "515bb339ffe3e6b00ebfa2696deb8e66d15cc84fd3010840d877f7bcaeccb7a6", kill_on_drop: false }` [INFO] [stdout] 515bb339ffe3e6b00ebfa2696deb8e66d15cc84fd3010840d877f7bcaeccb7a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 052a9e6ebae91b14fbea2d24ec255da4fe59eceedd85c8288a7ee8ce0067efb3 [INFO] running `Command { std: "docker" "start" "-a" "052a9e6ebae91b14fbea2d24ec255da4fe59eceedd85c8288a7ee8ce0067efb3", 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^^ this lifetime flows to the output ------ the lifetime gets resolved as `'g` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'m` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^^ this lifetime flows to the output ------ the lifetime gets resolved as `'m` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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.21s [INFO] running `Command { std: "docker" "inspect" "052a9e6ebae91b14fbea2d24ec255da4fe59eceedd85c8288a7ee8ce0067efb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "052a9e6ebae91b14fbea2d24ec255da4fe59eceedd85c8288a7ee8ce0067efb3", kill_on_drop: false }` [INFO] [stdout] 052a9e6ebae91b14fbea2d24ec255da4fe59eceedd85c8288a7ee8ce0067efb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 019fc36290c8175d17209234a25f1039f39e661161fa5651782b1b1545b6e376 [INFO] running `Command { std: "docker" "start" "-a" "019fc36290c8175d17209234a25f1039f39e661161fa5651782b1b1545b6e376", 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)]` 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] [stderr] Compiling graph-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^^ this lifetime flows to the output ------ the lifetime gets resolved as `'g` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'m` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^^ this lifetime flows to the output ------ the lifetime gets resolved as `'m` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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] [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^^ this lifetime flows to the output ------ the lifetime gets resolved as `'g` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'m` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stdout] | ^^ this lifetime flows to the output ------ the lifetime gets resolved as `'m` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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.51s [INFO] running `Command { std: "docker" "inspect" "019fc36290c8175d17209234a25f1039f39e661161fa5651782b1b1545b6e376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019fc36290c8175d17209234a25f1039f39e661161fa5651782b1b1545b6e376", kill_on_drop: false }` [INFO] [stdout] 019fc36290c8175d17209234a25f1039f39e661161fa5651782b1b1545b6e376 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9aa5f086d051ec2ca9fb806a47598cc8d20f50738aa67fa71a53d1ab7cb14784 [INFO] running `Command { std: "docker" "start" "-a" "9aa5f086d051ec2ca9fb806a47598cc8d20f50738aa67fa71a53d1ab7cb14784", 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | fn edge_weight(&'g self, source: &N, sink: &N) -> Option<&W> { [INFO] [stderr] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'g` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | fn edge_weight_mut(&'g mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stderr] | ^^ this lifetime flows to the output ------ the lifetime gets resolved as `'g` [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/map.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | fn edge_weight(&'m self, source: &N, sink: &N) -> Option<&W> { [INFO] [stderr] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'m` [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/map.rs:82:25 [INFO] [stderr] | [INFO] [stderr] 82 | fn edge_weight_mut(&'m mut self, source: &N, sink: &N) -> Option<&mut W> { [INFO] [stderr] | ^^ this lifetime flows to the output ------ the lifetime gets resolved as `'m` [INFO] [stderr] | [INFO] [stderr] help: one option is to 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/graph_rs-1e329b85c6df5df5) [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] running `Command { std: "docker" "inspect" "9aa5f086d051ec2ca9fb806a47598cc8d20f50738aa67fa71a53d1ab7cb14784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa5f086d051ec2ca9fb806a47598cc8d20f50738aa67fa71a53d1ab7cb14784", kill_on_drop: false }` [INFO] [stdout] 9aa5f086d051ec2ca9fb806a47598cc8d20f50738aa67fa71a53d1ab7cb14784