[INFO] fetching crate osrs-cli 2.0.0... [INFO] checking osrs-cli-2.0.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate osrs-cli 2.0.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate osrs-cli 2.0.0 [INFO] finished tweaking crates.io crate osrs-cli 2.0.0 [INFO] tweaked toml for crates.io crate osrs-cli 2.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate osrs-cli 2.0.0 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 osrs-cli 2.0.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c00a2e9f2b7df52151b9f92e6f5a5004f35051034ac040717195e2d95bd15de0 [INFO] running `Command { std: "docker" "start" "-a" "c00a2e9f2b7df52151b9f92e6f5a5004f35051034ac040717195e2d95bd15de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c00a2e9f2b7df52151b9f92e6f5a5004f35051034ac040717195e2d95bd15de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c00a2e9f2b7df52151b9f92e6f5a5004f35051034ac040717195e2d95bd15de0", kill_on_drop: false }` [INFO] [stdout] c00a2e9f2b7df52151b9f92e6f5a5004f35051034ac040717195e2d95bd15de0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 91eadf54482cf4f3280d863a82b68135057da483d89963b89840450b2eeb901a [INFO] running `Command { std: "docker" "start" "-a" "91eadf54482cf4f3280d863a82b68135057da483d89963b89840450b2eeb901a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling osrs-cli v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-format v0.4.0 [INFO] [stderr] Checking open v2.0.2 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking urlencoding v2.1.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls v0.20.2 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking comfy-table v5.0.1 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.23.2 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/ping.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(wasm, allow(unused))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/lib.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/calc/stew.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/calc/stew.rs:243:7 [INFO] [stdout] | [INFO] [stdout] 243 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/calc/stew.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | if cfg!(not(wasm)) { [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/ping.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/ping.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/wiki.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/wiki.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/config.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/config.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/error.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/error.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/utils/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/utils/http.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/ping.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(wasm, allow(unused))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/lib.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/calc/stew.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/calc/stew.rs:243:7 [INFO] [stdout] | [INFO] [stdout] 243 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/calc/stew.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | if cfg!(not(wasm)) { [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/ping.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/ping.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/wiki.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/commands/wiki.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/config.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/config.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/error.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/error.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/utils/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(wasm)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm` [INFO] [stdout] --> src/utils/http.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(not(wasm))] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/calc/xp.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / /// The player to pull a starting XP amount from. MUST be used in tandem [INFO] [stdout] 68 | | /// with --skill. If not given, will use the default player in the config. [INFO] [stdout] 69 | | #[structopt(short, long)] [INFO] [stdout] 70 | | player: Vec, [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 [INFO] [stdout] --> src/commands/calc/xp.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / /// The player to pull a starting XP amount from. MUST be used in tandem [INFO] [stdout] 68 | | /// with --skill. If not given, will use the default player in the config. [INFO] [stdout] 69 | | #[structopt(short, long)] [INFO] [stdout] 70 | | player: Vec, [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 [INFO] [stdout] --> src/commands/config/set.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// The key for the config field to set [INFO] [stdout] 13 | | pub key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/config/set.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// The key for the config field to set [INFO] [stdout] 13 | | pub key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/config/set.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// The new value to use for the field [INFO] [stdout] 15 | | pub value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/hiscore.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The name of the player that you want to look up. If not given, will [INFO] [stdout] 16 | | /// use the default player in the config. [INFO] [stdout] 17 | | username: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/price.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// Item search query [INFO] [stdout] 19 | | #[structopt(required = true)] [INFO] [stdout] 20 | | query: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/config/set.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// The new value to use for the field [INFO] [stdout] 15 | | pub value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/wiki.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// The search query to run [INFO] [stdout] 13 | | query: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/hiscore.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The name of the player that you want to look up. If not given, will [INFO] [stdout] 16 | | /// use the default player in the config. [INFO] [stdout] 17 | | username: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/price.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// Item search query [INFO] [stdout] 19 | | #[structopt(required = true)] [INFO] [stdout] 20 | | query: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/wiki.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// The search query to run [INFO] [stdout] 13 | | query: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `osrs-cli` (lib test) due to 6 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `osrs-cli` (lib) due to 6 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "91eadf54482cf4f3280d863a82b68135057da483d89963b89840450b2eeb901a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91eadf54482cf4f3280d863a82b68135057da483d89963b89840450b2eeb901a", kill_on_drop: false }` [INFO] [stdout] 91eadf54482cf4f3280d863a82b68135057da483d89963b89840450b2eeb901a