[INFO] cloning repository https://github.com/frxnxtic/supply-frontiers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frxnxtic/supply-frontiers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrxnxtic%2Fsupply-frontiers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrxnxtic%2Fsupply-frontiers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24ef84bc0f22942f5803710df9e274f80a6f7890 [INFO] checking frxnxtic/supply-frontiers against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrxnxtic%2Fsupply-frontiers" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frxnxtic/supply-frontiers on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frxnxtic/supply-frontiers [INFO] finished tweaking git repo https://github.com/frxnxtic/supply-frontiers [INFO] tweaked toml for git repo https://github.com/frxnxtic/supply-frontiers written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/frxnxtic/supply-frontiers 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" "+d8810e3e2dab96778d20dd6d746ff95465515509" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2899a83eba85137deb70b599188c00bb27b71ff1a61b84a01b50152eaf5adedc [INFO] running `Command { std: "docker" "start" "-a" "2899a83eba85137deb70b599188c00bb27b71ff1a61b84a01b50152eaf5adedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2899a83eba85137deb70b599188c00bb27b71ff1a61b84a01b50152eaf5adedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2899a83eba85137deb70b599188c00bb27b71ff1a61b84a01b50152eaf5adedc", kill_on_drop: false }` [INFO] [stdout] 2899a83eba85137deb70b599188c00bb27b71ff1a61b84a01b50152eaf5adedc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a81660ee2389453f51ed752ff65cbbdfad0dcd364d1898227082068b27f6a846 [INFO] running `Command { std: "docker" "start" "-a" "a81660ee2389453f51ed752ff65cbbdfad0dcd364d1898227082068b27f6a846", kill_on_drop: false }` [INFO] [stderr] Checking supply_frontier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `data::map` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use data::map; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::map` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use data::map; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let map = Map::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coordinates` and `capacity` are never read [INFO] [stdout] --> src/data/city.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] 4 | coordinates: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | capacity: i32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `City` 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: method `build_factory` is never used [INFO] [stdout] --> src/data/city.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl City { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn build_factory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/data/factory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Product { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 3 | Metal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Wood, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Oil, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Steel, [INFO] [stdout] 7 | Plastic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Glass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Electronics, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | Furniture, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | Clothing, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | Grain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coordinates`, `capacity`, and `production_rate` are never read [INFO] [stdout] --> src/data/factory.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Factory { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 17 | name: String, [INFO] [stdout] 18 | coordinates: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | capacity: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | production_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Factory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `produce` is never used [INFO] [stdout] --> src/data/factory.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Factory { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn produce(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/data/transport.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TransportType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 3 | Truck, [INFO] [stdout] 4 | Train, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Ship, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Airplane, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Drone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Bicycle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Car, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Bus, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Helicopter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Rocket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coordinates`, `capacity`, `speed`, and `transport_type` are never read [INFO] [stdout] --> src/data/transport.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Transport { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | name: String, [INFO] [stdout] 18 | coordinates: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | capacity: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | transport_type: TransportType [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to` is never used [INFO] [stdout] --> src/data/transport.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Transport { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn move_to(&mut self, new_coordinates: (f32, f32)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes` and `edges` are never read [INFO] [stdout] --> src/data/map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | nodes: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | edges: HashMap> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `passable`, and `terrain_cost` are never read [INFO] [stdout] --> src/data/map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | passable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | terrain_cost: f32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_node`, `add_edge`, `get_neighbors`, and `is_passable` are never used [INFO] [stdout] --> src/data/map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add_node(&mut self, id: String, passable: bool, terrain_cost: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_edge(&mut self, from: &str, to: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_neighbors(&self, node_id: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_passable(&self, node_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let map = Map::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_factory` is never used [INFO] [stdout] --> src/data/city.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl City { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn build_factory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/data/factory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Product { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 3 | Metal, [INFO] [stdout] 4 | Wood, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Oil, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Steel, [INFO] [stdout] 7 | Plastic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Glass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Electronics, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | Furniture, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | Clothing, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | Grain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/data/transport.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TransportType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 3 | Truck, [INFO] [stdout] 4 | Train, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Ship, [INFO] [stdout] 6 | Airplane, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Drone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Bicycle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Car, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Bus, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Helicopter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Rocket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transport_type` is never read [INFO] [stdout] --> src/data/transport.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Transport { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | transport_type: TransportType [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/data/map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 11 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "a81660ee2389453f51ed752ff65cbbdfad0dcd364d1898227082068b27f6a846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a81660ee2389453f51ed752ff65cbbdfad0dcd364d1898227082068b27f6a846", kill_on_drop: false }` [INFO] [stdout] a81660ee2389453f51ed752ff65cbbdfad0dcd364d1898227082068b27f6a846