[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] 6cd99e9d4ade35032b9a7770ca57e824daaba5d8 [INFO] checking ErikAndersen81/detour against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikAndersen81%2Fdetour" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ErikAndersen81/detour on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/ErikAndersen81/line_similarity.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded pdqselect v0.1.0 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded rstar v0.8.3 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded geo-types v0.7.2 [INFO] [stderr] Downloaded geographiclib-rs v0.2.0 [INFO] [stderr] Downloaded textwrap v0.14.2 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded clap v3.0.6 [INFO] [stderr] Downloaded geo v0.18.0 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded heapless v0.6.1 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a906f593afe6fb92c88ad0cb828761bd3206f81c7525031a0735a386831896a [INFO] running `Command { std: "docker" "start" "-a" "6a906f593afe6fb92c88ad0cb828761bd3206f81c7525031a0735a386831896a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a906f593afe6fb92c88ad0cb828761bd3206f81c7525031a0735a386831896a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a906f593afe6fb92c88ad0cb828761bd3206f81c7525031a0735a386831896a", kill_on_drop: false }` [INFO] [stdout] 6a906f593afe6fb92c88ad0cb828761bd3206f81c7525031a0735a386831896a [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4f98239bc641b4e11954f601ac90492fdb475df136d0f7de3289983cf304385 [INFO] running `Command { std: "docker" "start" "-a" "c4f98239bc641b4e11954f601ac90492fdb475df136d0f7de3289983cf304385", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pdqselect v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking geographiclib-rs v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking trajectory_similarity v0.1.0 (https://github.com/ErikAndersen81/line_similarity.git#0021da0a) [INFO] [stderr] Compiling generic-array v0.14.4 [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] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.0.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rstar v0.8.3 [INFO] [stderr] Checking geo-types v0.7.2 [INFO] [stderr] Checking geo v0.18.0 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking 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] | ^^^^^^ use of undeclared type `Config` [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] | ^^^^^^ use of undeclared type `Config` [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] | ^^^^^^ use of undeclared type `Config` [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] | ^^^^^^ use of undeclared type `Config` [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:356:54 [INFO] [stdout] | [INFO] [stdout] 356 | 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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use path_element::PathElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this re-export [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] | ^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `PathElement` through the re-export [INFO] [stdout] | [INFO] [stdout] 356 | use crate::{config::Config, graph::PathElement}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/graph/graph.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | let mut graph = DetourGraph::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument of type `&config::Config` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/graph/graph.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new() -> DetourGraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:366:26 [INFO] [stdout] | [INFO] [stdout] 366 | let path: Path = vec![ [INFO] [stdout] | ___________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 367 | | PathElement::Stop(bbox1), [INFO] [stdout] 368 | | PathElement::Route(trj), [INFO] [stdout] 369 | | PathElement::Stop(bbox2), [INFO] [stdout] 370 | | PathElement::Route(trj2), [INFO] [stdout] 371 | | PathElement::Stop(bbox3), [INFO] [stdout] 372 | | ]; [INFO] [stdout] | |_________^ expected `Path`, found `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:377:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DetourGraph { [INFO] [stdout] | ---------------------- method `merge_node_pair` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 377 | graph.merge_node_pair(a, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `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:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | let mut graph = DetourGraph::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument of type `&config::Config` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/graph/graph.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new() -> DetourGraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:390:27 [INFO] [stdout] | [INFO] [stdout] 390 | let path1: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 391 | | PathElement::Stop(bbox1), [INFO] [stdout] 392 | | PathElement::Route(trj), [INFO] [stdout] 393 | | PathElement::Stop(bbox2), [INFO] [stdout] 394 | | PathElement::Route(trj2), [INFO] [stdout] 395 | | PathElement::Stop(bbox3), [INFO] [stdout] 396 | | ]; [INFO] [stdout] | |_________^ expected `Path`, found `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:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | let mut graph = DetourGraph::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument of type `&config::Config` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/graph/graph.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new() -> DetourGraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:415:27 [INFO] [stdout] | [INFO] [stdout] 415 | let path1: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 416 | | PathElement::Stop(bbox1), [INFO] [stdout] 417 | | PathElement::Route(trj), [INFO] [stdout] 418 | | PathElement::Stop(bbox2), [INFO] [stdout] 419 | | PathElement::Route(trj2.clone()), [INFO] [stdout] 420 | | PathElement::Stop(bbox3), [INFO] [stdout] 421 | | ]; [INFO] [stdout] | |_________^ expected `Path`, found `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:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | let path2: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 423 | | PathElement::Stop(bbox4), [INFO] [stdout] 424 | | PathElement::Route(trj3), [INFO] [stdout] 425 | | PathElement::Stop(bbox2), [INFO] [stdout] 426 | | PathElement::Route(trj2), [INFO] [stdout] 427 | | PathElement::Stop(bbox3), [INFO] [stdout] 428 | | ]; [INFO] [stdout] | |_________^ expected `Path`, found `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:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | let mut graph = DetourGraph::new(&config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument of type `&config::Config` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/graph/graph.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new() -> DetourGraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/graph.rs:444:27 [INFO] [stdout] | [INFO] [stdout] 444 | let path1: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 445 | | PathElement::Stop(bbox1), [INFO] [stdout] 446 | | PathElement::Route(trj), [INFO] [stdout] 447 | | PathElement::Stop(bbox2), [INFO] [stdout] 448 | | PathElement::Route(trj2), [INFO] [stdout] 449 | | PathElement::Stop(bbox3), [INFO] [stdout] 450 | | ]; [INFO] [stdout] | |_________^ expected `Path`, found `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:451:27 [INFO] [stdout] | [INFO] [stdout] 451 | let path2: Path = vec![ [INFO] [stdout] | ____________________----___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 452 | | PathElement::Stop(bbox1), [INFO] [stdout] 453 | | PathElement::Route(trj3), [INFO] [stdout] 454 | | PathElement::Stop(bbox3), [INFO] [stdout] 455 | | ]; [INFO] [stdout] | |_________^ expected `Path`, found `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 `add_to_cluster` found for struct `clustering::Clustering` in the current scope [INFO] [stdout] --> src/utility/clustering.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Clustering { [INFO] [stdout] | --------------------- method `add_to_cluster` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 96 | c.add_to_cluster(&[1usize, 2usize], None); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Clustering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_to_cluster` found for struct `clustering::Clustering` in the current scope [INFO] [stdout] --> src/utility/clustering.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Clustering { [INFO] [stdout] | --------------------- method `add_to_cluster` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 110 | c.add_to_cluster(&[1usize, 2usize], Some(0usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Clustering` [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] | ^^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument [INFO] [stdout] | help: remove the extra argument [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] | ^^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument [INFO] [stdout] | help: remove the extra argument [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] | ^^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument [INFO] [stdout] | help: remove the extra argument [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] | ^^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument [INFO] [stdout] | help: remove the extra argument [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 22 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` (bin "detour" test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "c4f98239bc641b4e11954f601ac90492fdb475df136d0f7de3289983cf304385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f98239bc641b4e11954f601ac90492fdb475df136d0f7de3289983cf304385", kill_on_drop: false }` [INFO] [stdout] c4f98239bc641b4e11954f601ac90492fdb475df136d0f7de3289983cf304385