[INFO] cloning repository https://github.com/psobczak/distance
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psobczak/distance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsobczak%2Fdistance", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsobczak%2Fdistance'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f00d294ad42f92fe94b721cc3170fa9e76661970
[INFO] checking psobczak/distance against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsobczak%2Fdistance" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/psobczak/distance
[INFO] finished tweaking git repo https://github.com/psobczak/distance
[INFO] tweaked toml for git repo https://github.com/psobczak/distance written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/psobczak/distance on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/psobczak/distance 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd630a3ade357f5f9d48b671151dff2678cba86802c5642b0854bf107a8636f6
[INFO] running `Command { std: "docker" "start" "-a" "fd630a3ade357f5f9d48b671151dff2678cba86802c5642b0854bf107a8636f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd630a3ade357f5f9d48b671151dff2678cba86802c5642b0854bf107a8636f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd630a3ade357f5f9d48b671151dff2678cba86802c5642b0854bf107a8636f6", kill_on_drop: false }`
[INFO] [stdout] fd630a3ade357f5f9d48b671151dff2678cba86802c5642b0854bf107a8636f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7885fbefc50076798a5a89ca2e66b3156050de03f2415a9fe35e909deccf7f8
[INFO] running `Command { std: "docker" "start" "-a" "a7885fbefc50076798a5a89ca2e66b3156050de03f2415a9fe35e909deccf7f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]     Checking tracing-core v0.1.22
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking tracing v0.1.30
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking ipnet v2.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking tokio v1.16.1
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking h2 v0.3.11
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking hyper v0.14.16
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.9
[INFO] [stderr]     Checking distance v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `first_city`, `second_city`, and `unit` are never read
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Opt {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 16 |     first_city: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 17 |     second_city: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 18 |     #[structopt(short, long)]
[INFO] [stdout] 19 |     unit: Option<DistanceUnit>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TrySubstract` is never used
[INFO] [stdout]    --> src/entities/units.rs:156:11
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub trait TrySubstract<RHS = Self> {
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TryAdd` is never used
[INFO] [stdout]    --> src/entities/units.rs:163:11
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub trait TryAdd<RHS = Self> {
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `first_city`, `second_city`, and `unit` are never read
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Opt {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 16 |     first_city: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 17 |     second_city: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 18 |     #[structopt(short, long)]
[INFO] [stdout] 19 |     unit: Option<DistanceUnit>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     first_city: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     second_city: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     first_city: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     second_city: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `distance` (bin "distance") due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `distance` (bin "distance" test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "a7885fbefc50076798a5a89ca2e66b3156050de03f2415a9fe35e909deccf7f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7885fbefc50076798a5a89ca2e66b3156050de03f2415a9fe35e909deccf7f8", kill_on_drop: false }`
[INFO] [stdout] a7885fbefc50076798a5a89ca2e66b3156050de03f2415a9fe35e909deccf7f8
