[INFO] cloning repository https://github.com/esqu1/rusty-with-graphs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/esqu1/rusty-with-graphs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesqu1%2Frusty-with-graphs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesqu1%2Frusty-with-graphs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9443bba14c0e6d6a05dce3d4eab47e4021c63b47 [INFO] checking esqu1/rusty-with-graphs against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesqu1%2Frusty-with-graphs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/esqu1/rusty-with-graphs on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/esqu1/rusty-with-graphs [INFO] finished tweaking git repo https://github.com/esqu1/rusty-with-graphs [INFO] tweaked toml for git repo https://github.com/esqu1/rusty-with-graphs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/esqu1/rusty-with-graphs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7016c230970020f22229a3c2e1134354aa1f3b7a26ea75137bbd16dadd854964 [INFO] running `Command { std: "docker" "start" "-a" "7016c230970020f22229a3c2e1134354aa1f3b7a26ea75137bbd16dadd854964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7016c230970020f22229a3c2e1134354aa1f3b7a26ea75137bbd16dadd854964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7016c230970020f22229a3c2e1134354aa1f3b7a26ea75137bbd16dadd854964", kill_on_drop: false }` [INFO] [stdout] 7016c230970020f22229a3c2e1134354aa1f3b7a26ea75137bbd16dadd854964 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 92d77266d13f1333ef45d9022c14285a4a3a13ffc1a0cd3f5b5777325a3ce319 [INFO] running `Command { std: "docker" "start" "-a" "92d77266d13f1333ef45d9022c14285a4a3a13ffc1a0cd3f5b5777325a3ce319", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking matrix v0.22.0 [INFO] [stderr] Checking rusty-with-graphs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut residual_graph = new_graph.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dijkstra` [INFO] [stdout] --> src/shortest_path.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dijkstra>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bfs_fold` [INFO] [stdout] --> src/search.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn bfs_fold>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_vertex` [INFO] [stdout] --> src/search.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn print_vertex((_, vertex): (Option, &Vertex), _: ()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bfs_print` [INFO] [stdout] --> src/search.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn bfs_print>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bfs_path_exists` [INFO] [stdout] --> src/search.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn bfs_path_exists>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_pred` [INFO] [stdout] --> src/search.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn add_pred<'a, T: Default + Clone>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_bfs_preds` [INFO] [stdout] --> src/search.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn build_bfs_preds>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ford_fulkerson` [INFO] [stdout] --> src/flow.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ford_fulkerson< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut residual_graph = new_graph.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dijkstra` [INFO] [stdout] --> src/shortest_path.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dijkstra>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bfs_path_exists` [INFO] [stdout] --> src/search.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn bfs_path_exists>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_pred` [INFO] [stdout] --> src/search.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn add_pred<'a, T: Default + Clone>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_bfs_preds` [INFO] [stdout] --> src/search.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn build_bfs_preds>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ford_fulkerson` [INFO] [stdout] --> src/flow.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ford_fulkerson< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.91s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92d77266d13f1333ef45d9022c14285a4a3a13ffc1a0cd3f5b5777325a3ce319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92d77266d13f1333ef45d9022c14285a4a3a13ffc1a0cd3f5b5777325a3ce319", kill_on_drop: false }` [INFO] [stdout] 92d77266d13f1333ef45d9022c14285a4a3a13ffc1a0cd3f5b5777325a3ce319