[INFO] fetching crate global_counter 0.2.2... [INFO] testing global_counter-0.2.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate global_counter 0.2.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate global_counter 0.2.2 [INFO] finished tweaking crates.io crate global_counter 0.2.2 [INFO] tweaked toml for crates.io crate global_counter 0.2.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate global_counter 0.2.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c6c10251c9559e5b8be1249b89812e59764b10c4ec28e59f50d717bc65aaf03 [INFO] running `Command { std: "docker" "start" "-a" "8c6c10251c9559e5b8be1249b89812e59764b10c4ec28e59f50d717bc65aaf03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c6c10251c9559e5b8be1249b89812e59764b10c4ec28e59f50d717bc65aaf03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6c10251c9559e5b8be1249b89812e59764b10c4ec28e59f50d717bc65aaf03", kill_on_drop: false }` [INFO] [stdout] 8c6c10251c9559e5b8be1249b89812e59764b10c4ec28e59f50d717bc65aaf03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 370bcd959bd16a0eb95cf0d13fbac5a10ec50b8906416140f3ab091724ee0b69 [INFO] running `Command { std: "docker" "start" "-a" "370bcd959bd16a0eb95cf0d13fbac5a10ec50b8906416140f3ab091724ee0b69", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling global_counter v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `parking_lot` [INFO] [stdout] --> src/generic.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(parking_lot)] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(parking_lot))] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(parking_lot)] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | #[cfg(not(parking_lot))] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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 1.46s [INFO] running `Command { std: "docker" "inspect" "370bcd959bd16a0eb95cf0d13fbac5a10ec50b8906416140f3ab091724ee0b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "370bcd959bd16a0eb95cf0d13fbac5a10ec50b8906416140f3ab091724ee0b69", kill_on_drop: false }` [INFO] [stdout] 370bcd959bd16a0eb95cf0d13fbac5a10ec50b8906416140f3ab091724ee0b69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f55f8a30f947251be4c8102443ec14e89d0d9b0d92042047b92a700d59e27984 [INFO] running `Command { std: "docker" "start" "-a" "f55f8a30f947251be4c8102443ec14e89d0d9b0d92042047b92a700d59e27984", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `parking_lot` [INFO] [stdout] --> src/generic.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(parking_lot)] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(parking_lot))] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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 global_counter v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `parking_lot` [INFO] [stdout] --> src/generic.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(parking_lot)] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | #[cfg(not(parking_lot))] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(parking_lot)] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(parking_lot))] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(parking_lot)] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stdout] --> src/generic.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | #[cfg(not(parking_lot))] [INFO] [stdout] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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.60s [INFO] running `Command { std: "docker" "inspect" "f55f8a30f947251be4c8102443ec14e89d0d9b0d92042047b92a700d59e27984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55f8a30f947251be4c8102443ec14e89d0d9b0d92042047b92a700d59e27984", kill_on_drop: false }` [INFO] [stdout] f55f8a30f947251be4c8102443ec14e89d0d9b0d92042047b92a700d59e27984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f25e6a49055008f3449094555e02633b42aad51bfb3533fc1dbc0716ac2c00b2 [INFO] running `Command { std: "docker" "start" "-a" "f25e6a49055008f3449094555e02633b42aad51bfb3533fc1dbc0716ac2c00b2", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `parking_lot` [INFO] [stderr] --> src/generic.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(parking_lot)] [INFO] [stderr] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stderr] --> src/generic.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg(not(parking_lot))] [INFO] [stderr] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stderr] --> src/generic.rs:218:11 [INFO] [stderr] | [INFO] [stderr] 218 | #[cfg(parking_lot)] [INFO] [stderr] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` 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: `parking_lot` [INFO] [stderr] --> src/generic.rs:224:15 [INFO] [stderr] | [INFO] [stderr] 224 | #[cfg(not(parking_lot))] [INFO] [stderr] | ^^^^^^^^^^^ help: found config with similar value: `feature = "parking_lot"` [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(parking_lot)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(parking_lot)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `global_counter` (lib) generated 4 warnings [INFO] [stderr] warning: `global_counter` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/global_counter-774ee64a6feafc53) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test generic::tests::count_struct ... ok [INFO] [stdout] test generic::tests::reset ... ok [INFO] [stdout] test generic::tests::count_to_five_single_threaded ... ok [INFO] [stdout] test generic::tests::get_mut_borrowed_doesnt_clone ... ok [INFO] [stdout] test primitive::exact::tests::count_to_five_single_threaded ... ok [INFO] [stdout] test primitive::exact::tests::primitive_reset ... ok [INFO] [stdout] test primitive::exact::tests::count_to_50000_single_threaded ... ok [INFO] [stdout] test primitive::exact::tests::primitive_new_const ... ok [INFO] [stdout] test primitive::fast::tests::approx_flush_single_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_count_to_50000_single_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_negative_to_positive ... ok [INFO] [stdout] test primitive::fast::tests::approx_new_const ... ok [INFO] [stdout] test primitive::fast::tests::flushing_count_to_50000_par_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_different_counters ... ok [INFO] [stdout] test generic::tests::count_to_50000_single_threaded ... ok [INFO] [stdout] test primitive::fast::tests::flushing_count_to_50000_single_threaded ... ok [INFO] [stdout] test primitive::fast::tests::flushing_new_const ... ok [INFO] [stdout] test primitive::exact::tests::count_to_five_seq_threaded ... ok [INFO] [stdout] test primitive::exact::tests::count_to_50000_seq_threaded ... ok [INFO] [stdout] test generic::tests::get_borrowed_doesnt_clone ... ok [INFO] [stdout] test primitive::fast::tests::flushing_count_to_50000_seq_threaded ... ok [INFO] [stdout] test primitive::exact::tests::count_to_50000_par_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_negative_start_flush ... ok [INFO] [stdout] test primitive::exact::tests::count_to_five_par_threaded ... ok [INFO] [stdout] test generic::tests::count_to_50000_par_threaded ... ok [INFO] [stdout] test generic::tests::count_to_five_par_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_count_to_50000_seq_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_flushed_count_to_50000_par_threaded ... ok [INFO] [stdout] test generic::tests::count_to_five_seq_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_count_to_50000_par_threaded ... ok [INFO] [stdout] test primitive::fast::tests::flushing_different_counters ... ok [INFO] [stderr] Doc-tests global_counter [INFO] [stdout] test generic::tests::count_to_50000_seq_threaded ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/generic.rs - generic::Counter::get_borrowed (line 171) - compile ... ok [INFO] [stdout] test src/generic.rs - generic::global_counter (line 48) ... ok [INFO] [stdout] test src/generic.rs - generic::Counter::get_borrowed (line 125) ... ok [INFO] [stdout] test src/generic.rs - generic::global_default_counter (line 81) ... ok [INFO] [stdout] test src/generic.rs - generic::Counter::get_borrowed (line 138) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f25e6a49055008f3449094555e02633b42aad51bfb3533fc1dbc0716ac2c00b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f25e6a49055008f3449094555e02633b42aad51bfb3533fc1dbc0716ac2c00b2", kill_on_drop: false }` [INFO] [stdout] f25e6a49055008f3449094555e02633b42aad51bfb3533fc1dbc0716ac2c00b2