[INFO] fetching crate waybar_weather_display 0.3.0... [INFO] testing waybar_weather_display-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate waybar_weather_display 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate waybar_weather_display 0.3.0 [INFO] finished tweaking crates.io crate waybar_weather_display 0.3.0 [INFO] tweaked toml for crates.io crate waybar_weather_display 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate waybar_weather_display 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate waybar_weather_display 0.3.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fbfd2ca0bb218b6a5754161180d84e77a0d10b10934fb432cfb19a763b5e4b2 [INFO] running `Command { std: "docker" "start" "-a" "5fbfd2ca0bb218b6a5754161180d84e77a0d10b10934fb432cfb19a763b5e4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fbfd2ca0bb218b6a5754161180d84e77a0d10b10934fb432cfb19a763b5e4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fbfd2ca0bb218b6a5754161180d84e77a0d10b10934fb432cfb19a763b5e4b2", kill_on_drop: false }` [INFO] [stdout] 5fbfd2ca0bb218b6a5754161180d84e77a0d10b10934fb432cfb19a763b5e4b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5114af659635d9a686d47cafa6d14c64596183e16aed66635fd97c4848eab612 [INFO] running `Command { std: "docker" "start" "-a" "5114af659635d9a686d47cafa6d14c64596183e16aed66635fd97c4848eab612", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling clap v3.2.16 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling waybar_weather_display v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/processor.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 58 | let output: char = match co { [INFO] [stdout] | ________________________- [INFO] [stdout] 59 | | PARTLY_CLOUDY => return PARTLY_CLOUDYICO, [INFO] [stdout] 60 | | OVERCAST => return OVERCASTICO, [INFO] [stdout] 61 | | FOG => return FOGICO, [INFO] [stdout] ... | [INFO] [stdout] 64 | | _=> return ERRICO, [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 66 | [INFO] [stdout] 67 | return output; [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/processor.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 85 | let output: String = match code { [INFO] [stdout] | __________________________- [INFO] [stdout] 86 | | PARTLY_CLOUDY => return "Partly Cloudy".to_string(), [INFO] [stdout] 87 | | OVERCAST => return "Overcast".to_string(), [INFO] [stdout] 88 | | FOG => return "Foggy".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 91 | | _=> return "Weather Error".to_string(), [INFO] [stdout] 92 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 93 | [INFO] [stdout] 94 | return output; [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/processor.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let output: char = match co { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/processor.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let output: String = match code { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.37s [INFO] running `Command { std: "docker" "inspect" "5114af659635d9a686d47cafa6d14c64596183e16aed66635fd97c4848eab612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5114af659635d9a686d47cafa6d14c64596183e16aed66635fd97c4848eab612", kill_on_drop: false }` [INFO] [stdout] 5114af659635d9a686d47cafa6d14c64596183e16aed66635fd97c4848eab612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89f56c4f7692aedeb2e97ebf717950cb76aa73270e56d48cf52a58469cc4588 [INFO] running `Command { std: "docker" "start" "-a" "c89f56c4f7692aedeb2e97ebf717950cb76aa73270e56d48cf52a58469cc4588", kill_on_drop: false }` [INFO] [stderr] Compiling waybar_weather_display v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/processor.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 58 | let output: char = match co { [INFO] [stdout] | ________________________- [INFO] [stdout] 59 | | PARTLY_CLOUDY => return PARTLY_CLOUDYICO, [INFO] [stdout] 60 | | OVERCAST => return OVERCASTICO, [INFO] [stdout] 61 | | FOG => return FOGICO, [INFO] [stdout] ... | [INFO] [stdout] 64 | | _=> return ERRICO, [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 66 | [INFO] [stdout] 67 | return output; [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/processor.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 85 | let output: String = match code { [INFO] [stdout] | __________________________- [INFO] [stdout] 86 | | PARTLY_CLOUDY => return "Partly Cloudy".to_string(), [INFO] [stdout] 87 | | OVERCAST => return "Overcast".to_string(), [INFO] [stdout] 88 | | FOG => return "Foggy".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 91 | | _=> return "Weather Error".to_string(), [INFO] [stdout] 92 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 93 | [INFO] [stdout] 94 | return output; [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/processor.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let output: char = match co { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/processor.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let output: String = match code { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "c89f56c4f7692aedeb2e97ebf717950cb76aa73270e56d48cf52a58469cc4588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89f56c4f7692aedeb2e97ebf717950cb76aa73270e56d48cf52a58469cc4588", kill_on_drop: false }` [INFO] [stdout] c89f56c4f7692aedeb2e97ebf717950cb76aa73270e56d48cf52a58469cc4588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb521ff878936378cc6eef03c1dfc85bcfb6e0208cb31faf1088df9db644a438 [INFO] running `Command { std: "docker" "start" "-a" "eb521ff878936378cc6eef03c1dfc85bcfb6e0208cb31faf1088df9db644a438", kill_on_drop: false }` [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/processor.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 58 | let output: char = match co { [INFO] [stderr] | ________________________- [INFO] [stderr] 59 | | PARTLY_CLOUDY => return PARTLY_CLOUDYICO, [INFO] [stderr] 60 | | OVERCAST => return OVERCASTICO, [INFO] [stderr] 61 | | FOG => return FOGICO, [INFO] [stderr] ... | [INFO] [stderr] 64 | | _=> return ERRICO, [INFO] [stderr] 65 | | }; [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 66 | [INFO] [stderr] 67 | return output; [INFO] [stderr] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/processor.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 85 | let output: String = match code { [INFO] [stderr] | __________________________- [INFO] [stderr] 86 | | PARTLY_CLOUDY => return "Partly Cloudy".to_string(), [INFO] [stderr] 87 | | OVERCAST => return "Overcast".to_string(), [INFO] [stderr] 88 | | FOG => return "Foggy".to_string(), [INFO] [stderr] ... | [INFO] [stderr] 91 | | _=> return "Weather Error".to_string(), [INFO] [stderr] 92 | | }; [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 93 | [INFO] [stderr] 94 | return output; [INFO] [stderr] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/processor.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | let output: char = match co { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/processor.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | let output: String = match code { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] [INFO] [stderr] warning: `waybar_weather_display` (bin "waybar_weather_display" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/waybar_weather_display-317a36e883061837) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eb521ff878936378cc6eef03c1dfc85bcfb6e0208cb31faf1088df9db644a438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb521ff878936378cc6eef03c1dfc85bcfb6e0208cb31faf1088df9db644a438", kill_on_drop: false }` [INFO] [stdout] eb521ff878936378cc6eef03c1dfc85bcfb6e0208cb31faf1088df9db644a438