[INFO] cloning repository https://github.com/JanStrauss/fapra_osm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JanStrauss/fapra_osm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanStrauss%2Ffapra_osm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanStrauss%2Ffapra_osm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b148a9ab24121a5282e21f0ed143cacc108838bc [INFO] checking JanStrauss/fapra_osm against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanStrauss%2Ffapra_osm" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JanStrauss/fapra_osm on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JanStrauss/fapra_osm [INFO] finished tweaking git repo https://github.com/JanStrauss/fapra_osm [INFO] tweaked toml for git repo https://github.com/JanStrauss/fapra_osm written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/JanStrauss/fapra_osm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v2.0.0 [INFO] [stderr] Downloaded sequence_trie v0.3.6 [INFO] [stderr] Downloaded protobuf v1.7.5 [INFO] [stderr] Downloaded osmpbfreader v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e535b4f3731361b070b98ee3a084e8a5aabc7c35f43ea3e02982a0c9a05b5041 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e535b4f3731361b070b98ee3a084e8a5aabc7c35f43ea3e02982a0c9a05b5041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e535b4f3731361b070b98ee3a084e8a5aabc7c35f43ea3e02982a0c9a05b5041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e535b4f3731361b070b98ee3a084e8a5aabc7c35f43ea3e02982a0c9a05b5041", kill_on_drop: false }` [INFO] [stdout] e535b4f3731361b070b98ee3a084e8a5aabc7c35f43ea3e02982a0c9a05b5041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb3dcea4e674810a9ca7217c501478f24a78c59f115c03baa1d327ab5547e17d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bb3dcea4e674810a9ca7217c501478f24a78c59f115c03baa1d327ab5547e17d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling protobuf v1.7.5 [INFO] [stderr] Checking sequence_trie v0.3.6 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking mime v0.2.6 [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] Checking url v1.7.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking ordered-float v2.0.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking osmpbfreader v0.3.2 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking staticfile v0.5.0 [INFO] [stderr] Checking urlencoded v0.6.0 [INFO] [stderr] Checking rust_fapraosm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bincode::rustc_serialize` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use bincode::rustc_serialize::{encode_into, decode_from}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `rustc_serialize` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode::rustc_serialize` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use bincode::rustc_serialize::{encode_into, decode_from}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `rustc_serialize` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SizeLimit` in `bincode` [INFO] [stdout] --> src/main.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | encode_into(&data, &mut encoder, bincode::SizeLimit::Infinite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ could not find `SizeLimit` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SizeLimit` in `bincode` [INFO] [stdout] --> src/main.rs:72:64 [INFO] [stdout] | [INFO] [stdout] 72 | let decoded: data::State = decode_from(&mut decoder, bincode::SizeLimit::Infinite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ could not find `SizeLimit` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SizeLimit` in `bincode` [INFO] [stdout] --> src/main.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | encode_into(&data, &mut encoder, bincode::SizeLimit::Infinite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ could not find `SizeLimit` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SizeLimit` in `bincode` [INFO] [stdout] --> src/main.rs:72:64 [INFO] [stdout] | [INFO] [stdout] 72 | let decoded: data::State = decode_from(&mut decoder, bincode::SizeLimit::Infinite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ could not find `SizeLimit` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate iron; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/server.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | Ok(Response::with((status::InternalServerError))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate iron; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/server.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | Ok(Response::with((status::InternalServerError))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let start_p1 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let end_p1 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let start_p2 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let end_p2 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let start_p3 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | let end_p3 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let start_b = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | let end_b = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | let start_g = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | let end_g = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/server.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/server.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let start_p1 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let end_p1 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let start_p2 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let end_p2 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let start_p3 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | let end_p3 = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let start_b = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | let end_b = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | let start_g = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/parser.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | let end_g = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/server.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | let start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/server.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Best` found for struct `Compression` in the current scope [INFO] [stdout] --> src/main.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | let mut encoder = ZlibEncoder::new(writer, Compression::Best); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `Compression` [INFO] [stdout] | help: there is an associated function with a similar name: `best` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Best` found for struct `Compression` in the current scope [INFO] [stdout] --> src/main.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | let mut encoder = ZlibEncoder::new(writer, Compression::Best); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `Compression` [INFO] [stdout] | help: there is an associated function with a similar name: `best` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | println!("P1 | duration: {}", start_p1.to(end_p1)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | println!("P1 | duration: {}", start_p1.to(end_p1)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | println!("P1 | duration: {}", start_p1.to(end_p1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | println!("P2 | duration: {}", start_p2.to(end_p2)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | println!("P1 | duration: {}", start_p1.to(end_p1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | println!("P2 | duration: {}", start_p2.to(end_p2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | println!("P3 | duration: {}", start_p3.to(end_p3)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | println!("P2 | duration: {}", start_p2.to(end_p2)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | println!("P2 | duration: {}", start_p2.to(end_p2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | println!("P3 | duration: {}", start_p3.to(end_p3)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | println!("P3 | duration: {}", start_p3.to(end_p3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | println!("P3 | duration: {}", start_p3.to(end_p3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | println!("B | duration: {}", start_b.to(end_b)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | println!("B | duration: {}", start_b.to(end_b)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | println!("B | duration: {}", start_b.to(end_b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | println!("B | duration: {}", start_b.to(end_b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | println!("G | duration: {}", start_g.to(end_g)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/parser.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | println!("G | duration: {}", start_g.to(end_g)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | println!("G | duration: {}", start_g.to(end_g)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | println!("G | duration: {}", start_g.to(end_g)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `internal_nodes` on type `State` [INFO] [stdout] --> src/parser.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | println!("NODES: {:?}", routing_data.internal_nodes); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `routing_data`, `grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `internal_edges` on type `State` [INFO] [stdout] --> src/parser.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | println!("EDGES: {:?}", routing_data.internal_edges); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `routing_data`, `grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `internal_offset` on type `State` [INFO] [stdout] --> src/parser.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | println!("OFFSET: {:?}", routing_data.internal_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `routing_data`, `grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `internal_offset` on type `State` [INFO] [stdout] --> src/parser.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(routing_data.internal_offset, vec![0, 2, 2, 4, 5]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `routing_data`, `grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/server.rs:195:48 [INFO] [stdout] | [INFO] [stdout] 195 | let result = RoutingResult { duration: start.to(end).num_milliseconds(), route: result }; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/server.rs:195:56 [INFO] [stdout] | [INFO] [stdout] 195 | let result = RoutingResult { duration: start.to(end).num_milliseconds(), route: result }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/server.rs:195:48 [INFO] [stdout] | [INFO] [stdout] 195 | let result = RoutingResult { duration: start.to(end).num_milliseconds(), route: result }; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/server.rs:195:56 [INFO] [stdout] | [INFO] [stdout] 195 | let result = RoutingResult { duration: start.to(end).num_milliseconds(), route: result }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/server.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn run_dijkstra(data: &::data::RoutingData, source_osm: i64, target_osm: i64, constraints: u8, cost_func: F, tmc_state: &RwLock<::data... [INFO] [stdout] 204 | | where F: Fn(&::data::RoutingEdge, &f64, &usize, &::data::TMCState) -> f64 { [INFO] [stdout] | |_____________________________________________________________________________- defined here [INFO] [stdout] ... [INFO] [stdout] 348 | let path = run_dijkstra(&data, 5000, 5003, ::data::FLAG_CAR, edge_cost_time); [INFO] [stdout] | ^^^^^^^^^^^^ ----- ---- ---- ---------------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_fapraosm` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bb3dcea4e674810a9ca7217c501478f24a78c59f115c03baa1d327ab5547e17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3dcea4e674810a9ca7217c501478f24a78c59f115c03baa1d327ab5547e17d", kill_on_drop: false }` [INFO] [stdout] bb3dcea4e674810a9ca7217c501478f24a78c59f115c03baa1d327ab5547e17d