[INFO] cloning repository https://github.com/simongibbons/efficient_route_planning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simongibbons/efficient_route_planning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimongibbons%2Fefficient_route_planning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimongibbons%2Fefficient_route_planning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6af5e3cace0396736212c7c2093ae042ac316bf [INFO] testing simongibbons/efficient_route_planning against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimongibbons%2Fefficient_route_planning" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simongibbons/efficient_route_planning on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/simongibbons/efficient_route_planning [INFO] finished tweaking git repo https://github.com/simongibbons/efficient_route_planning [INFO] tweaked toml for git repo https://github.com/simongibbons/efficient_route_planning written to /workspace/builds/worker-101/source/Cargo.toml [INFO] crate git repo https://github.com/simongibbons/efficient_route_planning already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c771ca8ff27383ea20bab9d55af4f3aa72c8bfbc3acfd205ffb4cc44af7cbeba [INFO] running `Command { std: "docker" "start" "-a" "c771ca8ff27383ea20bab9d55af4f3aa72c8bfbc3acfd205ffb4cc44af7cbeba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c771ca8ff27383ea20bab9d55af4f3aa72c8bfbc3acfd205ffb4cc44af7cbeba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c771ca8ff27383ea20bab9d55af4f3aa72c8bfbc3acfd205ffb4cc44af7cbeba", kill_on_drop: false }` [INFO] [stdout] c771ca8ff27383ea20bab9d55af4f3aa72c8bfbc3acfd205ffb4cc44af7cbeba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edac51aeb3aae1084911d00b471579f311ca72b4f6853b998810b5c31a30b7ca [INFO] running `Command { std: "docker" "start" "-a" "edac51aeb3aae1084911d00b471579f311ca72b4f6853b998810b5c31a30b7ca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling clamp v0.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pdqselect v0.1.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde-xml-rs v0.2.1 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling spade v1.8.2 [INFO] [stderr] Compiling geo v0.7.4 [INFO] [stderr] Compiling efficient_route_planning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/osm_reader.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OsmWay` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/osm_reader.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "edac51aeb3aae1084911d00b471579f311ca72b4f6853b998810b5c31a30b7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edac51aeb3aae1084911d00b471579f311ca72b4f6853b998810b5c31a30b7ca", kill_on_drop: false }` [INFO] [stdout] edac51aeb3aae1084911d00b471579f311ca72b4f6853b998810b5c31a30b7ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7429af798f6dd1c084f604a23ab797125d60bc3c9537d42a5881f8e3822ceef7 [INFO] running `Command { std: "docker" "start" "-a" "7429af798f6dd1c084f604a23ab797125d60bc3c9537d42a5881f8e3822ceef7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling efficient_route_planning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/osm_reader.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OsmWay` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/osm_reader.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `connected_components` [INFO] [stdout] --> src/connected_components.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use connected_components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a similar path exists: `crate::connected_components` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `road_network` [INFO] [stdout] --> src/road_network.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use road_network::*; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `crate::road_network` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `osm_reader` [INFO] [stdout] --> src/osm_reader.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | use osm_reader::*; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::osm_reader` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shortest_path` [INFO] [stdout] --> src/shortest_path.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use shortest_path::*; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a similar path exists: `crate::shortest_path` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `road_network` [INFO] [stdout] --> src/connected_components.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use road_network::{Node, RoadNetwork}; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `crate::road_network` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo_utils` [INFO] [stdout] --> src/connected_components.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | use geo_utils::Location; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `crate::geo_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo_utils` [INFO] [stdout] --> src/shortest_path.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use geo_utils::Location; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `crate::geo_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HighwayType` [INFO] [stdout] --> src/osm_reader.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(HighwayType::Unclassified, osm_way.highway_type().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HighwayType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `strongly_connected_components` in this scope [INFO] [stdout] --> src/connected_components.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let components = strongly_connected_components(&network); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 93 | use crate::connected_components::strongly_connected_components; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `strongly_connected_components` in this scope [INFO] [stdout] --> src/connected_components.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | let components = strongly_connected_components(&network); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 93 | use crate::connected_components::strongly_connected_components; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RoadNetwork` [INFO] [stdout] --> src/road_network.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | let mut network = RoadNetwork::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 154 | use crate::road_network::RoadNetwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/road_network.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 160 | network.add_node(Node::new(1, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 154 | use crate::road_network::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Location` [INFO] [stdout] --> src/road_network.rs:160:39 [INFO] [stdout] | [INFO] [stdout] 160 | network.add_node(Node::new(1, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 154 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 154 | use crate::road_network::Location; [INFO] [stdout] | [INFO] [stdout] 154 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/road_network.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | network.add_node(Node::new(2, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 154 | use crate::road_network::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Location` [INFO] [stdout] --> src/road_network.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | network.add_node(Node::new(2, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 154 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 154 | use crate::road_network::Location; [INFO] [stdout] | [INFO] [stdout] 154 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/road_network.rs:162:26 [INFO] [stdout] | [INFO] [stdout] 162 | network.add_node(Node::new(3, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 154 | use crate::road_network::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Location` [INFO] [stdout] --> src/road_network.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | network.add_node(Node::new(3, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 154 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 154 | use crate::road_network::Location; [INFO] [stdout] | [INFO] [stdout] 154 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OsmNode` in this scope [INFO] [stdout] --> src/osm_reader.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let osm_node: OsmNode = deserialize(s.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 | use crate::osm_reader::OsmNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in this scope [INFO] [stdout] --> src/osm_reader.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | let osm_node: OsmNode = deserialize(s.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 173 | use crate::osm_reader::deserialize; [INFO] [stdout] | [INFO] [stdout] 173 | use serde_xml_rs::deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OsmWay` in this scope [INFO] [stdout] --> src/osm_reader.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | let osm_way: OsmWay = deserialize(s.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 | use crate::osm_reader::OsmWay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in this scope [INFO] [stdout] --> src/osm_reader.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | let osm_way: OsmWay = deserialize(s.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 173 | use crate::osm_reader::deserialize; [INFO] [stdout] | [INFO] [stdout] 173 | use serde_xml_rs::deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Osm` in this scope [INFO] [stdout] --> src/osm_reader.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | let osm: Osm = deserialize(s.as_bytes()).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 | use crate::osm_reader::Osm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in this scope [INFO] [stdout] --> src/osm_reader.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | let osm: Osm = deserialize(s.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 173 | use crate::osm_reader::deserialize; [INFO] [stdout] | [INFO] [stdout] 173 | use serde_xml_rs::deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_osm_extract` in this scope [INFO] [stdout] --> src/osm_reader.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | let osm = read_osm_extract(fixture_path.to_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 173 | use crate::osm_reader::read_osm_extract; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_osm_extract` in this scope [INFO] [stdout] --> src/osm_reader.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | let osm = read_osm_extract("not a file path"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 173 | use crate::osm_reader::read_osm_extract; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RoadNetwork` in this scope [INFO] [stdout] --> src/shortest_path.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_test_network() -> RoadNetwork { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::RoadNetwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RoadNetwork` [INFO] [stdout] --> src/shortest_path.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | let mut network = RoadNetwork::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::RoadNetwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/shortest_path.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | network.add_node(Node::new(1, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/shortest_path.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | network.add_node(Node::new(2, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/shortest_path.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | network.add_node(Node::new(3, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/shortest_path.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | network.add_node(Node::new(4, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/shortest_path.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | network.add_node(Node::new(5, Location::new(0., 0.))).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryHeap` [INFO] [stdout] --> src/shortest_path.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | let mut heap = BinaryHeap::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::BinaryHeap; [INFO] [stdout] | [INFO] [stdout] 108 | use std::collections::BinaryHeap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HeapEl` in this scope [INFO] [stdout] --> src/shortest_path.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | heap.push(HeapEl { node_index: 1, potential: 10, cost: 1, previous_node_index: None }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::HeapEl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HeapEl` in this scope [INFO] [stdout] --> src/shortest_path.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | heap.push(HeapEl { node_index: 2, potential: 0, cost: 1, previous_node_index: None } ); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::HeapEl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HeapEl` in this scope [INFO] [stdout] --> src/shortest_path.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | heap.push(HeapEl { node_index: 3, potential: 100, cost: 1, previous_node_index: None }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::HeapEl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dijkstra_shortest_path` in this scope [INFO] [stdout] --> src/shortest_path.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | let result = dijkstra_shortest_path(&network, &node, &node).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::dijkstra_shortest_path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dijkstra_shortest_path` in this scope [INFO] [stdout] --> src/shortest_path.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(None, dijkstra_shortest_path(&network, start, end)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::dijkstra_shortest_path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dijkstra_shortest_path` in this scope [INFO] [stdout] --> src/shortest_path.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = dijkstra_shortest_path(&network, start, end).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shortest_path::dijkstra_shortest_path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `efficient_route_planning` due to 40 previous errors [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7429af798f6dd1c084f604a23ab797125d60bc3c9537d42a5881f8e3822ceef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7429af798f6dd1c084f604a23ab797125d60bc3c9537d42a5881f8e3822ceef7", kill_on_drop: false }` [INFO] [stdout] 7429af798f6dd1c084f604a23ab797125d60bc3c9537d42a5881f8e3822ceef7