[INFO] cloning repository https://github.com/Ysroslav/transport_task [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ysroslav/transport_task" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYsroslav%2Ftransport_task", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYsroslav%2Ftransport_task'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11847cac9dda64779fdf6ee81dfd1664e8d7434b [INFO] checking Ysroslav/transport_task against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYsroslav%2Ftransport_task" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ysroslav/transport_task on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ysroslav/transport_task [INFO] finished tweaking git repo https://github.com/Ysroslav/transport_task [INFO] tweaked toml for git repo https://github.com/Ysroslav/transport_task written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ysroslav/transport_task 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d644a75a2ba2a5154970c21af5bbcf9f5e86b0de9dae5ec3c8ad1695a552b6c [INFO] running `Command { std: "docker" "start" "-a" "8d644a75a2ba2a5154970c21af5bbcf9f5e86b0de9dae5ec3c8ad1695a552b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d644a75a2ba2a5154970c21af5bbcf9f5e86b0de9dae5ec3c8ad1695a552b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d644a75a2ba2a5154970c21af5bbcf9f5e86b0de9dae5ec3c8ad1695a552b6c", kill_on_drop: false }` [INFO] [stdout] 8d644a75a2ba2a5154970c21af5bbcf9f5e86b0de9dae5ec3c8ad1695a552b6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5257a5756941b5fbd6e7a8937a8da25308cdd1779c14689510cf9132c77d33e6 [INFO] running `Command { std: "docker" "start" "-a" "5257a5756941b5fbd6e7a8937a8da25308cdd1779c14689510cf9132c77d33e6", kill_on_drop: false }` [INFO] [stderr] Checking graph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/graph.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/graph.rs:48:57 [INFO] [stdout] | [INFO] [stdout] 48 | self.e_count = array[1].parse::().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/graph.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/graph.rs:48:57 [INFO] [stdout] | [INFO] [stdout] 48 | self.e_count = array[1].parse::().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/dijkstra_find_path.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut e = self.edge_to.get(&i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/dijkstra_find_path.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut e = self.edge_to.get(&i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dgraph` [INFO] [stdout] --> src/dijkstra_find_path.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | for (_, dgraph) in &self.edge_to { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dgraph` [INFO] [stdout] --> src/dijkstra_find_path.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | for (_, dgraph) in &self.edge_to { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dijkstra_find_path.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut e = self.edge_to.get(&i); [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: variable does not need to be mutable [INFO] [stdout] --> src/dijkstra_find_path.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut e = self.edge_to.get(&i); [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: variable does not need to be mutable [INFO] [stdout] --> src/index_min_pq.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut index = IndexMinPQ { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index_min_pq.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut index = IndexMinPQ { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut graph = EdgeWeightedDigraph { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut graph = EdgeWeightedDigraph { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn graph_from_array_str(&mut self, mut array : Vec) -> &mut Self{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn graph_from_array_str(&mut self, mut array : Vec) -> &mut Self{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut graph = EdgeWeightedDigraph::graph_from_array_str(& mut g, lines_data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut graph = EdgeWeightedDigraph::graph_from_array_str(& mut g, lines_data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/bag.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty_bag`, `size`, and `get_from_bag` are never used [INFO] [stdout] --> src/bag.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Bag { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_empty_bag(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn size(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_from_bag(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DijkstraAllPairsSP` is never constructed [INFO] [stdout] --> src/dijkstra_find_path.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DijkstraAllPairsSP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/bag.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_all_pairs` is never used [INFO] [stdout] --> src/dijkstra_find_path.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl DijkstraAllPairsSP { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 81 | [INFO] [stdout] 82 | pub fn get_all_pairs(graph: &EdgeWeightedDigraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_n` is never read [INFO] [stdout] --> src/index_min_pq.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct IndexMinPQ { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | max_n: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/index_min_pq.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl IndexMinPQ { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn size(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_e_count` is never used [INFO] [stdout] --> src/graph.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl EdgeWeightedDigraph { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_e_count(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty_bag`, `size`, and `get_from_bag` are never used [INFO] [stdout] --> src/bag.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Bag { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_empty_bag(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn size(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_from_bag(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DijkstraAllPairsSP` is never constructed [INFO] [stdout] --> src/dijkstra_find_path.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DijkstraAllPairsSP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_all_pairs` is never used [INFO] [stdout] --> src/dijkstra_find_path.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl DijkstraAllPairsSP { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 81 | [INFO] [stdout] 82 | pub fn get_all_pairs(graph: &EdgeWeightedDigraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_n` is never read [INFO] [stdout] --> src/index_min_pq.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct IndexMinPQ { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | max_n: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/index_min_pq.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl IndexMinPQ { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn size(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_e_count` is never used [INFO] [stdout] --> src/graph.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl EdgeWeightedDigraph { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_e_count(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "5257a5756941b5fbd6e7a8937a8da25308cdd1779c14689510cf9132c77d33e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5257a5756941b5fbd6e7a8937a8da25308cdd1779c14689510cf9132c77d33e6", kill_on_drop: false }` [INFO] [stdout] 5257a5756941b5fbd6e7a8937a8da25308cdd1779c14689510cf9132c77d33e6