[INFO] fetching crate forecast-get 0.1.1... [INFO] checking forecast-get-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate forecast-get 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate forecast-get 0.1.1 [INFO] finished tweaking crates.io crate forecast-get 0.1.1 [INFO] tweaked toml for crates.io crate forecast-get 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate forecast-get 0.1.1 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 crates.io crate forecast-get 0.1.1 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b3ca9330f734fadc359462a566ec86ae221fb975e1e23bcdbf937e4a44a768a4 [INFO] running `Command { std: "docker" "start" "-a" "b3ca9330f734fadc359462a566ec86ae221fb975e1e23bcdbf937e4a44a768a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3ca9330f734fadc359462a566ec86ae221fb975e1e23bcdbf937e4a44a768a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ca9330f734fadc359462a566ec86ae221fb975e1e23bcdbf937e4a44a768a4", kill_on_drop: false }` [INFO] [stdout] b3ca9330f734fadc359462a566ec86ae221fb975e1e23bcdbf937e4a44a768a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8b7f23485572011b5917748656aa68b8aa927a2d11dabef8c72cf6386331aab1 [INFO] running `Command { std: "docker" "start" "-a" "8b7f23485572011b5917748656aa68b8aa927a2d11dabef8c72cf6386331aab1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling unqlite v1.5.0 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking duration-string v0.0.6 [INFO] [stderr] Checking serde_qs v0.9.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking handlebars v4.2.2 [INFO] [stderr] Checking forecast-get v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `provider` is never read [INFO] [stdout] --> src/config/config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | pub provider: Provider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are 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: enum `Period` is never used [INFO] [stdout] --> src/config/config.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Period { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/config/args.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / #[clap(short, long)] [INFO] [stdout] 7 | | pub config_file: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `provider` is never read [INFO] [stdout] --> src/config/config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | pub provider: Provider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are 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: enum `Period` is never used [INFO] [stdout] --> src/config/config.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Period { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `forecast-get` (bin "forecast-get" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/config/args.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / #[clap(short, long)] [INFO] [stdout] 7 | | pub config_file: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `forecast-get` (bin "forecast-get") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b7f23485572011b5917748656aa68b8aa927a2d11dabef8c72cf6386331aab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7f23485572011b5917748656aa68b8aa927a2d11dabef8c72cf6386331aab1", kill_on_drop: false }` [INFO] [stdout] 8b7f23485572011b5917748656aa68b8aa927a2d11dabef8c72cf6386331aab1