[INFO] fetching crate osrs-cli 2.0.0... [INFO] testing osrs-cli-2.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate osrs-cli 2.0.0 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate osrs-cli 2.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8426f4646ca5cf2a473fc04194c84d9440a419d91c2216f922b95c73c89d0353 [INFO] running `Command { std: "docker" "start" "-a" "8426f4646ca5cf2a473fc04194c84d9440a419d91c2216f922b95c73c89d0353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8426f4646ca5cf2a473fc04194c84d9440a419d91c2216f922b95c73c89d0353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8426f4646ca5cf2a473fc04194c84d9440a419d91c2216f922b95c73c89d0353", kill_on_drop: false }` [INFO] [stdout] 8426f4646ca5cf2a473fc04194c84d9440a419d91c2216f922b95c73c89d0353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be3777bd8e5c3c35265f1d5b9110afecfe954e3b94725828abc2e0061822155a [INFO] running `Command { std: "docker" "start" "-a" "be3777bd8e5c3c35265f1d5b9110afecfe954e3b94725828abc2e0061822155a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling osrs-cli v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling open v2.0.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling crossterm v0.23.2 [INFO] [stderr] Compiling num-format v0.4.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling 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 thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling comfy-table v5.0.1 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.8 [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: 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/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: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: 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: `nightly` [INFO] [stdout] --> src/bin.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(nightly, feature(backtrace))] [INFO] [stdout] | ^^^^^^^ [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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/bin.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[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/bin.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[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: `nightly` [INFO] [stdout] --> src/bin.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.57s [INFO] running `Command { std: "docker" "inspect" "be3777bd8e5c3c35265f1d5b9110afecfe954e3b94725828abc2e0061822155a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3777bd8e5c3c35265f1d5b9110afecfe954e3b94725828abc2e0061822155a", kill_on_drop: false }` [INFO] [stdout] be3777bd8e5c3c35265f1d5b9110afecfe954e3b94725828abc2e0061822155a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba16dd5af821a9c1969d54dd0ba496f6771bad0717c2a62e7347e1f35b03847 [INFO] running `Command { std: "docker" "start" "-a" "8ba16dd5af821a9c1969d54dd0ba496f6771bad0717c2a62e7347e1f35b03847", kill_on_drop: false }` [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [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: 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/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: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: 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] [stderr] Compiling osrs-cli v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/bin.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(nightly, feature(backtrace))] [INFO] [stdout] | ^^^^^^^ [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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/bin.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[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/bin.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[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: `nightly` [INFO] [stdout] --> src/bin.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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/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: 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/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: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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "8ba16dd5af821a9c1969d54dd0ba496f6771bad0717c2a62e7347e1f35b03847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba16dd5af821a9c1969d54dd0ba496f6771bad0717c2a62e7347e1f35b03847", kill_on_drop: false }` [INFO] [stdout] 8ba16dd5af821a9c1969d54dd0ba496f6771bad0717c2a62e7347e1f35b03847 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f559d7d0f98033402dfc964e9376b40fd0c7d29f100e7cb6e4992b746a75a247 [INFO] running `Command { std: "docker" "start" "-a" "f559d7d0f98033402dfc964e9376b40fd0c7d29f100e7cb6e4992b746a75a247", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/lib.rs:66:7 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/commands/calc/stew.rs:229:11 [INFO] [stderr] | [INFO] [stderr] 229 | #[cfg(not(wasm))] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/commands/calc/stew.rs:243:7 [INFO] [stderr] | [INFO] [stderr] 243 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/commands/calc/stew.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | if cfg!(not(wasm)) { [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/commands/ping.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg_attr(wasm, allow(unused))] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/commands/ping.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg(not(wasm))] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/commands/ping.rs:68:11 [INFO] [stderr] | [INFO] [stderr] 68 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/commands/wiki.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | #[cfg(not(wasm))] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/commands/wiki.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/config.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(not(wasm))] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/config.rs:91:7 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/error.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/error.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/utils/mod.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/utils/http.rs:51:15 [INFO] [stderr] | [INFO] [stderr] 51 | #[cfg(not(wasm))] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `osrs-cli` (lib) generated 15 warnings [INFO] [stderr] warning: `osrs-cli` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/bin.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(nightly, feature(backtrace))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/bin.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(not(wasm))] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm` [INFO] [stderr] --> src/bin.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | #[cfg(wasm)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_family = "wasm"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/bin.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg(nightly)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `osrs-cli` (bin "osrs" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/osrs_cli-fcfa5ac48dd3363b) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test commands::calc::drop::tests::test_parse_probability ... ok [INFO] [stdout] test utils::item::tests::test_price_avg ... ok [INFO] [stdout] test utils::math::tests::test_binomial_cdf ... ok [INFO] [stdout] test commands::calc::xp::tests::test_level_to_xp ... ok [INFO] [stdout] test utils::math::tests::test_binomial ... ok [INFO] [stdout] test utils::math::tests::test_combination ... ok [INFO] [stdout] test commands::calc::drop::tests::test_parse_probability_errors ... ok [INFO] [stdout] test commands::calc::xp::tests::test_xp_to_level ... ok [INFO] [stdout] test utils::math::tests::test_binomial_invalid_prob - should panic ... ok [INFO] [stdout] test utils::math::tests::test_binomial_k_gt_n - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin.rs (/opt/rustwide/target/debug/deps/osrs-0bbd9404b8adba13) [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] [stderr] Doc-tests osrs_cli [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" "f559d7d0f98033402dfc964e9376b40fd0c7d29f100e7cb6e4992b746a75a247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f559d7d0f98033402dfc964e9376b40fd0c7d29f100e7cb6e4992b746a75a247", kill_on_drop: false }` [INFO] [stdout] f559d7d0f98033402dfc964e9376b40fd0c7d29f100e7cb6e4992b746a75a247