[INFO] cloning repository https://github.com/maxpetts/pacenotes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxpetts/pacenotes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxpetts%2Fpacenotes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxpetts%2Fpacenotes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 208084545db819415d7bd6ca7f29254a399fd241
[INFO] checking maxpetts/pacenotes against 760e1de835e253bf28bbcbfee38b5e8ed9ffe074 for pr-133502-27
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxpetts%2Fpacenotes" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/maxpetts/pacenotes
[INFO] finished tweaking git repo https://github.com/maxpetts/pacenotes
[INFO] tweaked toml for git repo https://github.com/maxpetts/pacenotes written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/maxpetts/pacenotes on toolchain 760e1de835e253bf28bbcbfee38b5e8ed9ffe074
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/maxpetts/pacenotes 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" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678
[INFO] running `Command { std: "docker" "start" "a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]     Checking tracing-core v0.1.21
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]     Checking futures-io v0.3.19
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking futures-sink v0.3.19
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking openssl-probe v0.1.4
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.74
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking ipnet v2.3.1
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking socket2 v0.4.2
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]     Checking tokio v1.15.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking h2 v0.3.9
[INFO] [stderr]     Checking hyper v0.14.16
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.8
[INFO] [stderr]     Checking pacenotes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `directions` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct directions {}
[INFO] [stdout]    |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `Directions`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `directions` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct directions {}
[INFO] [stdout]    |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `Directions`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut res = reqwest::blocking::get(&url)?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]    --> src/main.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_bearing(p1: Coordinate, p2: Coordinate, p3: Coordinate) {}
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]    --> src/main.rs:103:32
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_bearing(p1: Coordinate, p2: Coordinate, p3: Coordinate) {}
[INFO] [stdout]     |                                ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p3`
[INFO] [stdout]    --> src/main.rs:103:48
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_bearing(p1: Coordinate, p2: Coordinate, p3: Coordinate) {}
[INFO] [stdout]     |                                                ^^ help: if this is intentional, prefix it with an underscore: `_p3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `directions` is never constructed
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct directions {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `deg_to_rad` is never used
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | trait RadiansDegrees {
[INFO] [stdout]    |       -------------- method in this trait
[INFO] [stdout] 43 |     fn rad_to_deg(&self) -> f32;
[INFO] [stdout] 44 |     fn deg_to_rad(&self) -> f32;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_bearing` is never used
[INFO] [stdout]    --> src/main.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_bearing(p1: Coordinate, p2: Coordinate, p3: Coordinate) {}
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elevation` is never read
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub struct Coordinate {
[INFO] [stdout]   |                ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |         pub elevation: Option<f32>,
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut res = reqwest::blocking::get(&url)?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]    --> src/main.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_bearing(p1: Coordinate, p2: Coordinate, p3: Coordinate) {}
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]    --> src/main.rs:103:32
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_bearing(p1: Coordinate, p2: Coordinate, p3: Coordinate) {}
[INFO] [stdout]     |                                ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p3`
[INFO] [stdout]    --> src/main.rs:103:48
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_bearing(p1: Coordinate, p2: Coordinate, p3: Coordinate) {}
[INFO] [stdout]     |                                                ^^ help: if this is intentional, prefix it with an underscore: `_p3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `directions` is never constructed
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct directions {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `deg_to_rad` is never used
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | trait RadiansDegrees {
[INFO] [stdout]    |       -------------- method in this trait
[INFO] [stdout] 43 |     fn rad_to_deg(&self) -> f32;
[INFO] [stdout] 44 |     fn deg_to_rad(&self) -> f32;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_bearing` is never used
[INFO] [stdout]    --> src/main.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_bearing(p1: Coordinate, p2: Coordinate, p3: Coordinate) {}
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elevation` is never read
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub struct Coordinate {
[INFO] [stdout]   |                ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |         pub elevation: Option<f32>,
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     get_driving_route("13.388860,52.517037;13.397634,52.529407;13.428555,52.523219?overview=full&annotations=true&steps=true");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let _ = get_driving_route("13.388860,52.517037;13.397634,52.529407;13.428555,52.523219?overview=full&annotations=true&steps=true");
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself
[INFO] [stdout]   --> src/main.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     if angle != f32::NAN {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(invalid_nan_comparisons)]` on by default
[INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead
[INFO] [stdout]    |
[INFO] [stdout] 96 -     if angle != f32::NAN {
[INFO] [stdout] 96 +     if !angle.is_nan() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     get_driving_route("13.388860,52.517037;13.397634,52.529407;13.428555,52.523219?overview=full&annotations=true&steps=true");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let _ = get_driving_route("13.388860,52.517037;13.397634,52.529407;13.428555,52.523219?overview=full&annotations=true&steps=true");
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself
[INFO] [stdout]   --> src/main.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     if angle != f32::NAN {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(invalid_nan_comparisons)]` on by default
[INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead
[INFO] [stdout]    |
[INFO] [stdout] 96 -     if angle != f32::NAN {
[INFO] [stdout] 96 +     if !angle.is_nan() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.40s
[INFO] running `Command { std: "docker" "inspect" "a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678", kill_on_drop: false }`
[INFO] [stdout] a86f741828fa8f1ac19d3337b305df744a6c1e32c46040f0f9fba99a00d87678
