[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#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesqu1%2Frusty-with-graphs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/esqu1/rusty-with-graphs on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/esqu1/rusty-with-graphs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.2.11
[INFO] [stderr]   Downloaded matrix v0.22.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aaa8428a5bcf9262157f7499189d5f13e4630fb1a5fe9b0636cdfa0317154e8a
[INFO] running `Command { std: "docker" "start" "-a" "aaa8428a5bcf9262157f7499189d5f13e4630fb1a5fe9b0636cdfa0317154e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aaa8428a5bcf9262157f7499189d5f13e4630fb1a5fe9b0636cdfa0317154e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aaa8428a5bcf9262157f7499189d5f13e4630fb1a5fe9b0636cdfa0317154e8a", kill_on_drop: false }`
[INFO] [stdout] aaa8428a5bcf9262157f7499189d5f13e4630fb1a5fe9b0636cdfa0317154e8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2553f9721c1481ae30617e93d65b51bff149d718b103beace6b1b3ca26c8725d
[INFO] running `Command { std: "docker" "start" "-a" "2553f9721c1481ae30617e93d65b51bff149d718b103beace6b1b3ca26c8725d", 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `weight` is never read
[INFO] [stdout]  --> src/graph.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Vertex<T: Default + Clone> {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 8 |     pub id: i32,
[INFO] [stdout] 9 |     pub weight: T, // for max flows, ignored if used for weighted graphs
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdjacencyMatrixGraph` is never constructed
[INFO] [stdout]   --> src/graph.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct AdjacencyMatrixGraph<U: Default + Clone> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `degree`, `vertex_set`, `remove_edge`, and `change_edge_weight` are never used
[INFO] [stdout]   --> src/graph.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait Graph<U: Default + Clone, V: Default + Clone> {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn degree(&self, vertex_id: &i32) -> Option<usize>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 39 |     fn get_vertices(&self) -> &HashMap<i32, Vertex<U>>;
[INFO] [stdout] 40 |     fn vertex_set(&self) -> Vec<i32>;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn remove_edge(&mut self, v1: &i32, v2: &i32) -> Option<V>;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 45 |     fn change_edge_weight(&mut self, v1: &i32, v2: &i32, weight: &V);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_edge` and `change_edge_weight` are never used
[INFO] [stdout]   --> src/graph.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl<U: Default + Clone, V: Default + Clone> GraphBase<U, V> {
[INFO] [stdout]    | ------------------------------------------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn remove_edge(&mut self, v1: &i32, v2: &i32) -> Option<V> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     fn change_edge_weight(&mut self, v1: &i32, v2: &i32, weight: &V) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Measure` is never used
[INFO] [stdout]  --> src/shortest_path.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Measure : Ord {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriorityVertex` is never constructed
[INFO] [stdout]   --> src/shortest_path.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct PriorityVertex<E: Measure + Add<Output = E>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dijkstra` is never used
[INFO] [stdout]   --> src/shortest_path.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn dijkstra<V: Default + Copy, E: Default + Copy + Measure + Add<Output = E>>(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bfs_path_exists` is never used
[INFO] [stdout]   --> src/search.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn bfs_path_exists<T: Default + Clone, V: Default + Clone, G: Graph<T, V>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_pred` is never used
[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 `build_bfs_preds` is never used
[INFO] [stdout]   --> src/search.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn build_bfs_preds<T: Default + Clone, V: Default + Clone, G: Graph<T, V>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ford_fulkerson` is never used
[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: trait `Measure` is never used
[INFO] [stdout]  --> src/measure.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Measure : Ord {
[INFO] [stdout]   |           ^^^^^^^
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vertex` is never constructed
[INFO] [stdout]  --> src/graph.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Vertex<T: Default + Clone> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Edge` is never constructed
[INFO] [stdout]   --> src/graph.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Edge<T: Default + Clone> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GraphBase` is never constructed
[INFO] [stdout]   --> src/graph.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct GraphBase<U: Default + Clone, V: Default + Clone> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdjacencyListGraph` is never constructed
[INFO] [stdout]   --> src/graph.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct AdjacencyListGraph<U: Default + Clone, V: Default + Clone> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdjacencyMatrixGraph` is never constructed
[INFO] [stdout]   --> src/graph.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct AdjacencyMatrixGraph<U: Default + Clone> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Graph` is never used
[INFO] [stdout]   --> src/graph.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait Graph<U: Default + Clone, V: Default + Clone> {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_edge`, `remove_edge`, and `change_edge_weight` are never used
[INFO] [stdout]   --> src/graph.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl<U: Default + Clone, V: Default + Clone> GraphBase<U, V> {
[INFO] [stdout]    | ------------------------------------------------------------ methods in this implementation
[INFO] [stdout] 49 |     fn add_edge(&mut self, e: Edge<V>) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn remove_edge(&mut self, v1: &i32, v2: &i32) -> Option<V> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     fn change_edge_weight(&mut self, v1: &i32, v2: &i32, weight: &V) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Measure` is never used
[INFO] [stdout]  --> src/shortest_path.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Measure : Ord {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriorityVertex` is never constructed
[INFO] [stdout]   --> src/shortest_path.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct PriorityVertex<E: Measure + Add<Output = E>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dijkstra` is never used
[INFO] [stdout]   --> src/shortest_path.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn dijkstra<V: Default + Copy, E: Default + Copy + Measure + Add<Output = E>>(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bfs_fold` is never used
[INFO] [stdout]  --> src/search.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn bfs_fold<T: Default + Clone, V: Default + Clone, U, G: Graph<T, V>>(
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_vertex` is never used
[INFO] [stdout]   --> src/search.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn print_vertex<T: Default + Clone>((_, vertex): (Option<i32>, &Vertex<T>), _: ()) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bfs_print` is never used
[INFO] [stdout]   --> src/search.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn bfs_print<T: Default + Clone, V: Default + Clone, G: Graph<T, V>>(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bfs_path_exists` is never used
[INFO] [stdout]   --> src/search.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn bfs_path_exists<T: Default + Clone, V: Default + Clone, G: Graph<T, V>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_pred` is never used
[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 `build_bfs_preds` is never used
[INFO] [stdout]   --> src/search.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn build_bfs_preds<T: Default + Clone, V: Default + Clone, G: Graph<T, V>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ford_fulkerson` is never used
[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: trait `Measure` is never used
[INFO] [stdout]  --> src/measure.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Measure : Ord {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.54s
[INFO] running `Command { std: "docker" "inspect" "2553f9721c1481ae30617e93d65b51bff149d718b103beace6b1b3ca26c8725d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2553f9721c1481ae30617e93d65b51bff149d718b103beace6b1b3ca26c8725d", kill_on_drop: false }`
[INFO] [stdout] 2553f9721c1481ae30617e93d65b51bff149d718b103beace6b1b3ca26c8725d
