[INFO] cloning repository https://github.com/ErikAndersen81/detour [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ErikAndersen81/detour" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikAndersen81%2Fdetour", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikAndersen81%2Fdetour'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4860c19bcb30c1dfc75c97f8b66f7594cb344f3c [INFO] testing ErikAndersen81/detour against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikAndersen81%2Fdetour" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ErikAndersen81/detour on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ErikAndersen81/detour [INFO] finished tweaking git repo https://github.com/ErikAndersen81/detour [INFO] tweaked toml for git repo https://github.com/ErikAndersen81/detour written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/ErikAndersen81/detour already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/ErikAndersen81/line_similarity.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstar v0.8.3 [INFO] [stderr] Downloaded geo-types v0.7.2 [INFO] [stderr] Downloaded geographiclib-rs v0.2.0 [INFO] [stderr] Downloaded robust v0.2.3 [INFO] [stderr] Downloaded heapless v0.6.1 [INFO] [stderr] Downloaded clap v3.0.6 [INFO] [stderr] Downloaded geo v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6d8e7586e9af15d41c584ac98524ab3f84ce953bb7f0dd6ebb9c80f29f09fa2 [INFO] running `Command { std: "docker" "start" "-a" "e6d8e7586e9af15d41c584ac98524ab3f84ce953bb7f0dd6ebb9c80f29f09fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6d8e7586e9af15d41c584ac98524ab3f84ce953bb7f0dd6ebb9c80f29f09fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d8e7586e9af15d41c584ac98524ab3f84ce953bb7f0dd6ebb9c80f29f09fa2", kill_on_drop: false }` [INFO] [stdout] e6d8e7586e9af15d41c584ac98524ab3f84ce953bb7f0dd6ebb9c80f29f09fa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e246ba47e6935935a49eff3a0a7c7bf497506e86cdcc74744b90617273af601 [INFO] running `Command { std: "docker" "start" "-a" "6e246ba47e6935935a49eff3a0a7c7bf497506e86cdcc74744b90617273af601", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling pdqselect v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling robust v0.2.3 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling trajectory_similarity v0.1.0 (https://github.com/ErikAndersen81/line_similarity.git#0021da0a) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling geographiclib-rs v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling clap v3.0.6 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rstar v0.8.3 [INFO] [stderr] Compiling geo-types v0.7.2 [INFO] [stderr] Compiling geo v0.18.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling detour v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `min_duration_ms` [INFO] [stdout] --> src/utility/stop_detector.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | min_duration_ms: f64, // Minimum time a stop must last [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StopDetector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utility/stop_detector.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [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: field is never read: `max_diagonal_meters` [INFO] [stdout] --> src/utility/stop_detector.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | max_diagonal_meters: f64, // Maximum width/length of a stop. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StopDetector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utility/stop_detector.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.01s [INFO] running `Command { std: "docker" "inspect" "6e246ba47e6935935a49eff3a0a7c7bf497506e86cdcc74744b90617273af601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e246ba47e6935935a49eff3a0a7c7bf497506e86cdcc74744b90617273af601", kill_on_drop: false }` [INFO] [stdout] 6e246ba47e6935935a49eff3a0a7c7bf497506e86cdcc74744b90617273af601 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56e723ab36f6c55df94ae08103f79715e179628c95de347f16931df5e5a3050c [INFO] running `Command { std: "docker" "start" "-a" "56e723ab36f6c55df94ae08103f79715e179628c95de347f16931df5e5a3050c", kill_on_drop: false }` [INFO] [stderr] Compiling detour v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/utility/stop_detector.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let config = Config::default(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | pub static ref CONFIG: Config = arguments::parse_arguments(); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- similarly named struct `CONFIG` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 73 | let config = CONFIG::default(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 70 | use crate::Config; [INFO] [stdout] | [INFO] [stdout] 70 | use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/utility/stop_detector.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let config = Config::default(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | pub static ref CONFIG: Config = arguments::parse_arguments(); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- similarly named struct `CONFIG` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 84 | let config = CONFIG::default(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 70 | use crate::Config; [INFO] [stdout] | [INFO] [stdout] 70 | use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/utility/stop_detector.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let config = Config::default(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | pub static ref CONFIG: Config = arguments::parse_arguments(); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- similarly named struct `CONFIG` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 | let config = CONFIG::default(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 70 | use crate::Config; [INFO] [stdout] | [INFO] [stdout] 70 | use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/utility/stop_detector.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let config = Config::default(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | pub static ref CONFIG: Config = arguments::parse_arguments(); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- similarly named struct `CONFIG` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 115 | let config = CONFIG::default(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 70 | use crate::Config; [INFO] [stdout] | [INFO] [stdout] 70 | use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum import `PathElement` is private [INFO] [stdout] --> src/graph/graph.rs:343:54 [INFO] [stdout] | [INFO] [stdout] 343 | use crate::{config::Config, graph::path_builder::PathElement}; [INFO] [stdout] | ^^^^^^^^^^^ private enum import [INFO] [stdout] | [INFO] [stdout] note: the enum import `PathElement` is defined here... [INFO] [stdout] --> src/graph/path_builder.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graph::{Path, PathBuilderStats, PathElement}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the enum import `PathElement` which is defined here... [INFO] [stdout] --> src/graph/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use path_element::PathElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] note: ...and refers to the enum `PathElement` which is defined here [INFO] [stdout] --> src/graph/path_element.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PathElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/graph/graph.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | let mut graph = DetourGraph::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/graph/graph.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new() -> DetourGraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | let path: Path = vec![ [INFO] [stdout] | ___________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 354 | | PathElement::Stop(bbox1), [INFO] [stdout] 355 | | PathElement::Route(trj), [INFO] [stdout] 356 | | PathElement::Stop(bbox2), [INFO] [stdout] 357 | | PathElement::Route(trj2), [INFO] [stdout] 358 | | PathElement::Stop(bbox3), [INFO] [stdout] 359 | | ]; [INFO] [stdout] | |_________^ expected struct `graph::path::Path`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `graph::path::Path` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge_node_pair` found for struct `graph::graph::DetourGraph` in the current scope [INFO] [stdout] --> src/graph/graph.rs:364:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DetourGraph { [INFO] [stdout] | ---------------------- method `merge_node_pair` not found for this [INFO] [stdout] ... [INFO] [stdout] 364 | graph.merge_node_pair(a, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `graph::graph::DetourGraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/graph/graph.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | let mut graph = DetourGraph::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/graph/graph.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new() -> DetourGraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:377:27 [INFO] [stdout] | [INFO] [stdout] 377 | let path1: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 378 | | PathElement::Stop(bbox1), [INFO] [stdout] 379 | | PathElement::Route(trj), [INFO] [stdout] 380 | | PathElement::Stop(bbox2), [INFO] [stdout] 381 | | PathElement::Route(trj2), [INFO] [stdout] 382 | | PathElement::Stop(bbox3), [INFO] [stdout] 383 | | ]; [INFO] [stdout] | |_________^ expected struct `graph::path::Path`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `graph::path::Path` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/graph/graph.rs:394:25 [INFO] [stdout] | [INFO] [stdout] 394 | let mut graph = DetourGraph::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/graph/graph.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new() -> DetourGraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:402:27 [INFO] [stdout] | [INFO] [stdout] 402 | let path1: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 403 | | PathElement::Stop(bbox1), [INFO] [stdout] 404 | | PathElement::Route(trj), [INFO] [stdout] 405 | | PathElement::Stop(bbox2), [INFO] [stdout] 406 | | PathElement::Route(trj2.clone()), [INFO] [stdout] 407 | | PathElement::Stop(bbox3), [INFO] [stdout] 408 | | ]; [INFO] [stdout] | |_________^ expected struct `graph::path::Path`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `graph::path::Path` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | let path2: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 410 | | PathElement::Stop(bbox4), [INFO] [stdout] 411 | | PathElement::Route(trj3), [INFO] [stdout] 412 | | PathElement::Stop(bbox2), [INFO] [stdout] 413 | | PathElement::Route(trj2), [INFO] [stdout] 414 | | PathElement::Stop(bbox3), [INFO] [stdout] 415 | | ]; [INFO] [stdout] | |_________^ expected struct `graph::path::Path`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `graph::path::Path` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/graph/graph.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | let mut graph = DetourGraph::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/graph/graph.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new() -> DetourGraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:431:27 [INFO] [stdout] | [INFO] [stdout] 431 | let path1: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 432 | | PathElement::Stop(bbox1), [INFO] [stdout] 433 | | PathElement::Route(trj), [INFO] [stdout] 434 | | PathElement::Stop(bbox2), [INFO] [stdout] 435 | | PathElement::Route(trj2), [INFO] [stdout] 436 | | PathElement::Stop(bbox3), [INFO] [stdout] 437 | | ]; [INFO] [stdout] | |_________^ expected struct `graph::path::Path`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `graph::path::Path` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:438:27 [INFO] [stdout] | [INFO] [stdout] 438 | let path2: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 439 | | PathElement::Stop(bbox1), [INFO] [stdout] 440 | | PathElement::Route(trj3), [INFO] [stdout] 441 | | PathElement::Stop(bbox3), [INFO] [stdout] 442 | | ]; [INFO] [stdout] | |_________^ expected struct `graph::path::Path`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `graph::path::Path` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/utility/stop_detector.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut sd = StopDetector::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/utility/stop_detector.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> StopDetector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/utility/stop_detector.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let mut sd = StopDetector::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/utility/stop_detector.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> StopDetector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/utility/stop_detector.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let mut sd = StopDetector::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/utility/stop_detector.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> StopDetector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/utility/stop_detector.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let mut sd = StopDetector::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/utility/stop_detector.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> StopDetector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `detour` due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "56e723ab36f6c55df94ae08103f79715e179628c95de347f16931df5e5a3050c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e723ab36f6c55df94ae08103f79715e179628c95de347f16931df5e5a3050c", kill_on_drop: false }` [INFO] [stdout] 56e723ab36f6c55df94ae08103f79715e179628c95de347f16931df5e5a3050c