[INFO] cloning repository https://github.com/peculiarOne/efficient-route-planning-freiburg [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peculiarOne/efficient-route-planning-freiburg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpeculiarOne%2Fefficient-route-planning-freiburg"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpeculiarOne%2Fefficient-route-planning-freiburg'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] add271a473c77c2b64fa524e6f317ab9f2c0519e [INFO] checking peculiarOne/efficient-route-planning-freiburg against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpeculiarOne%2Fefficient-route-planning-freiburg" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peculiarOne/efficient-route-planning-freiburg on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/peculiarOne/efficient-route-planning-freiburg [INFO] finished tweaking git repo https://github.com/peculiarOne/efficient-route-planning-freiburg [INFO] tweaked toml for git repo https://github.com/peculiarOne/efficient-route-planning-freiburg written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/peculiarOne/efficient-route-planning-freiburg already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a5d88e1e9d49412b68a792cb9686c4b1f5fb9bca893c556b8d64e8c6c97bba44 [INFO] running `"docker" "start" "-a" "a5d88e1e9d49412b68a792cb9686c4b1f5fb9bca893c556b8d64e8c6c97bba44"` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling backtrace v0.3.18 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Checking regex-syntax v0.6.7 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking regex v1.1.7 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking quick-xml v0.12.4 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking efficient-route-planning-freiburg v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `NetworkBuilder` [INFO] [stderr] --> src/dijkstra.rs:4:31 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::network::{Network, NetworkBuilder, NodeIndex, OSMNodeId}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/osm/load_xml.rs:304:46 [INFO] [stderr] | [INFO] [stderr] 304 | fn calculate_distance(a: &Node, b: &Node) -> (u64) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/osm/load_xml.rs:308:37 [INFO] [stderr] | [INFO] [stderr] 308 | fn calculate_cost(distance: u64) -> (u64) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/network.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | (degrees * DEGREE_CONV) as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/utils.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | (distance * 1000.0) as u64 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `efficient-route-planning-freiburg`. [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] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/osm/load_xml.rs:304:46 [INFO] [stderr] | [INFO] [stderr] 304 | fn calculate_distance(a: &Node, b: &Node) -> (u64) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/osm/load_xml.rs:308:37 [INFO] [stderr] | [INFO] [stderr] 308 | fn calculate_cost(distance: u64) -> (u64) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/network.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | (degrees * DEGREE_CONV) as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/utils.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | (distance * 1000.0) as u64 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `efficient-route-planning-freiburg`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a5d88e1e9d49412b68a792cb9686c4b1f5fb9bca893c556b8d64e8c6c97bba44"` [INFO] running `"docker" "rm" "-f" "a5d88e1e9d49412b68a792cb9686c4b1f5fb9bca893c556b8d64e8c6c97bba44"` [INFO] [stdout] a5d88e1e9d49412b68a792cb9686c4b1f5fb9bca893c556b8d64e8c6c97bba44