[INFO] fetching crate global_counter 0.2.2... [INFO] testing global_counter-0.2.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate global_counter 0.2.2 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate global_counter 0.2.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3360fa9c1681ca04de5537a0cc976ab31cc029737e2a4f59d7569f15b267e82d [INFO] running `Command { std: "docker" "start" "-a" "3360fa9c1681ca04de5537a0cc976ab31cc029737e2a4f59d7569f15b267e82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3360fa9c1681ca04de5537a0cc976ab31cc029737e2a4f59d7569f15b267e82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3360fa9c1681ca04de5537a0cc976ab31cc029737e2a4f59d7569f15b267e82d", kill_on_drop: false }` [INFO] [stdout] 3360fa9c1681ca04de5537a0cc976ab31cc029737e2a4f59d7569f15b267e82d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a7052a8b8d1a44d1b7d7e318914e00f6c2776af341f44e9876460eacb0f50d9d [INFO] running `Command { std: "docker" "start" "-a" "a7052a8b8d1a44d1b7d7e318914e00f6c2776af341f44e9876460eacb0f50d9d", 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.14s [INFO] running `Command { std: "docker" "inspect" "a7052a8b8d1a44d1b7d7e318914e00f6c2776af341f44e9876460eacb0f50d9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7052a8b8d1a44d1b7d7e318914e00f6c2776af341f44e9876460eacb0f50d9d", kill_on_drop: false }` [INFO] [stdout] a7052a8b8d1a44d1b7d7e318914e00f6c2776af341f44e9876460eacb0f50d9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d2ea9051605d1536fe95d3b2ea4a7d08da267178221f3ad0d74c06b5409fcd8d [INFO] running `Command { std: "docker" "start" "-a" "d2ea9051605d1536fe95d3b2ea4a7d08da267178221f3ad0d74c06b5409fcd8d", kill_on_drop: false }` [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] [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.47s [INFO] running `Command { std: "docker" "inspect" "d2ea9051605d1536fe95d3b2ea4a7d08da267178221f3ad0d74c06b5409fcd8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ea9051605d1536fe95d3b2ea4a7d08da267178221f3ad0d74c06b5409fcd8d", kill_on_drop: false }` [INFO] [stdout] d2ea9051605d1536fe95d3b2ea4a7d08da267178221f3ad0d74c06b5409fcd8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d489ca5afbabc4c6649ea00371cf97f39ad525fdfe40a0a7f03a68c19684df85 [INFO] running `Command { std: "docker" "start" "-a" "d489ca5afbabc4c6649ea00371cf97f39ad525fdfe40a0a7f03a68c19684df85", 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.04s [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 primitive::exact::tests::count_to_50000_single_threaded ... ok [INFO] [stdout] test generic::tests::get_mut_borrowed_doesnt_clone ... ok [INFO] [stdout] test generic::tests::count_struct ... ok [INFO] [stdout] test primitive::exact::tests::count_to_five_single_threaded ... ok [INFO] [stdout] test primitive::exact::tests::primitive_new_const ... ok [INFO] [stdout] test generic::tests::count_to_five_single_threaded ... ok [INFO] [stdout] test generic::tests::get_borrowed_doesnt_clone ... ok [INFO] [stdout] test primitive::exact::tests::primitive_reset ... ok [INFO] [stdout] test primitive::fast::tests::approx_flush_single_threaded ... ok [INFO] [stdout] test generic::tests::count_to_50000_par_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 generic::tests::count_to_five_seq_threaded ... ok [INFO] [stdout] test generic::tests::reset ... ok [INFO] [stdout] test primitive::exact::tests::count_to_five_par_threaded ... ok [INFO] [stdout] test primitive::exact::tests::count_to_five_seq_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_count_to_50000_single_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_negative_start_flush ... ok [INFO] [stdout] test primitive::fast::tests::approx_different_counters ... ok [INFO] [stdout] test primitive::fast::tests::approx_flushed_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_par_threaded ... ok [INFO] [stdout] test primitive::fast::tests::flushing_count_to_50000_single_threaded ... ok [INFO] [stdout] test primitive::exact::tests::count_to_50000_par_threaded ... ok [INFO] [stdout] test primitive::exact::tests::count_to_50000_seq_threaded ... ok [INFO] [stdout] test primitive::fast::tests::flushing_count_to_50000_par_threaded ... ok [INFO] [stdout] test primitive::fast::tests::flushing_new_const ... ok [INFO] [stdout] test primitive::fast::tests::flushing_count_to_50000_seq_threaded ... ok [INFO] [stdout] test primitive::fast::tests::approx_count_to_50000_seq_threaded ... ok [INFO] [stdout] test generic::tests::count_to_50000_seq_threaded ... ok [INFO] [stdout] test primitive::fast::tests::flushing_different_counters ... ok [INFO] [stdout] test generic::tests::count_to_50000_single_threaded ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests global_counter [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::Counter::get_borrowed (line 125) ... ok [INFO] [stdout] test src/generic.rs - generic::global_counter (line 48) ... 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.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d489ca5afbabc4c6649ea00371cf97f39ad525fdfe40a0a7f03a68c19684df85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d489ca5afbabc4c6649ea00371cf97f39ad525fdfe40a0a7f03a68c19684df85", kill_on_drop: false }` [INFO] [stdout] d489ca5afbabc4c6649ea00371cf97f39ad525fdfe40a0a7f03a68c19684df85