[INFO] cloning repository https://github.com/aleozlx/alg-matching [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleozlx/alg-matching" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Falg-matching", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Falg-matching'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7b8757bdcb242b5e3a9841bf6085ae47be32091 [INFO] checking aleozlx/alg-matching against master#df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e for pr-95474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Falg-matching" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleozlx/alg-matching on toolchain df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aleozlx/alg-matching [INFO] finished tweaking git repo https://github.com/aleozlx/alg-matching [INFO] tweaked toml for git repo https://github.com/aleozlx/alg-matching written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/aleozlx/alg-matching already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 658c0cd547bc3414a15a0ef8772fab1afbf9bca4ac153ddc5f65d344d7007557 [INFO] running `Command { std: "docker" "start" "-a" "658c0cd547bc3414a15a0ef8772fab1afbf9bca4ac153ddc5f65d344d7007557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "658c0cd547bc3414a15a0ef8772fab1afbf9bca4ac153ddc5f65d344d7007557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658c0cd547bc3414a15a0ef8772fab1afbf9bca4ac153ddc5f65d344d7007557", kill_on_drop: false }` [INFO] [stdout] 658c0cd547bc3414a15a0ef8772fab1afbf9bca4ac153ddc5f65d344d7007557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 089cf6ea8ba50079a72ffedca56501b5dde9b98e8c5334b67021bb4fc0dfa5d7 [INFO] running `Command { std: "docker" "start" "-a" "089cf6ea8ba50079a72ffedca56501b5dde9b98e8c5334b67021bb4fc0dfa5d7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking alg-matching v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `unweighted_graph` [INFO] [stdout] --> src/main.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | macro_rules! unweighted_graph( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn inner_graph<'g>(&'g self) -> &'g Graph; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn inner_graph<'g>(&'g self) -> &'g Graph; [INFO] [stdout] 18 + fn inner_graph<'g>(&'g self) -> &'g dyn Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | fn residual_graph<'g>(&'g self) -> Box + 'g>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn residual_graph<'g>(&'g self) -> Box + 'g>; [INFO] [stdout] 19 + fn residual_graph<'g>(&'g self) -> Box + 'g>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | fn inner_graph<'g>(&'g self) -> &'g Graph { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn inner_graph<'g>(&'g self) -> &'g Graph { [INFO] [stdout] 106 + fn inner_graph<'g>(&'g self) -> &'g dyn Graph { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:110:44 [INFO] [stdout] | [INFO] [stdout] 110 | fn residual_graph<'g>(&'g self) -> Box + 'g> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - fn residual_graph<'g>(&'g self) -> Box + 'g> { [INFO] [stdout] 110 + fn residual_graph<'g>(&'g self) -> Box + 'g> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn inner_graph<'g>(&'g self) -> &'g Graph; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn inner_graph<'g>(&'g self) -> &'g Graph; [INFO] [stdout] 18 + fn inner_graph<'g>(&'g self) -> &'g dyn Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | fn residual_graph<'g>(&'g self) -> Box + 'g>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn residual_graph<'g>(&'g self) -> Box + 'g>; [INFO] [stdout] 19 + fn residual_graph<'g>(&'g self) -> Box + 'g>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | fn inner_graph<'g>(&'g self) -> &'g Graph { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn inner_graph<'g>(&'g self) -> &'g Graph { [INFO] [stdout] 106 + fn inner_graph<'g>(&'g self) -> &'g dyn Graph { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:110:44 [INFO] [stdout] | [INFO] [stdout] 110 | fn residual_graph<'g>(&'g self) -> Box + 'g> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - fn residual_graph<'g>(&'g self) -> Box + 'g> { [INFO] [stdout] 110 + fn residual_graph<'g>(&'g self) -> Box + 'g> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let f: AdjFlowI32 = AdjFlowI32{ g: AdjGraph::new() }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let res = self.residual_graph(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | fn edmonds_karp_maxflow<'g>(&'g self, s: &'g V, t: &'g V) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | fn edmonds_karp_maxflow<'g>(&'g self, s: &'g V, t: &'g V) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let f: AdjFlowI32 = AdjFlowI32{ g: AdjGraph::new() }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let res = self.residual_graph(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | fn edmonds_karp_maxflow<'g>(&'g self, s: &'g V, t: &'g V) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | fn edmonds_karp_maxflow<'g>(&'g self, s: &'g V, t: &'g V) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "089cf6ea8ba50079a72ffedca56501b5dde9b98e8c5334b67021bb4fc0dfa5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089cf6ea8ba50079a72ffedca56501b5dde9b98e8c5334b67021bb4fc0dfa5d7", kill_on_drop: false }` [INFO] [stdout] 089cf6ea8ba50079a72ffedca56501b5dde9b98e8c5334b67021bb4fc0dfa5d7