[INFO] fetching crate tokenlock 0.3.8... [INFO] testing tokenlock-0.3.8 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate tokenlock 0.3.8 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate tokenlock 0.3.8 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate tokenlock 0.3.8 [INFO] finished tweaking crates.io crate tokenlock 0.3.8 [INFO] tweaked toml for crates.io crate tokenlock 0.3.8 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding async-scoped v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-scoped v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 080a3be08303cb70727178d503e8b02debc1f09c02880cea2de2cdfc4ce4dbe4 [INFO] running `Command { std: "docker" "start" "-a" "080a3be08303cb70727178d503e8b02debc1f09c02880cea2de2cdfc4ce4dbe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "080a3be08303cb70727178d503e8b02debc1f09c02880cea2de2cdfc4ce4dbe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080a3be08303cb70727178d503e8b02debc1f09c02880cea2de2cdfc4ce4dbe4", kill_on_drop: false }` [INFO] [stdout] 080a3be08303cb70727178d503e8b02debc1f09c02880cea2de2cdfc4ce4dbe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0b258ef7fbbf9ca7dcde6318291cc306021a4e14d68e6b1c57aad54eede6511 [INFO] running `Command { std: "docker" "start" "-a" "e0b258ef7fbbf9ca7dcde6318291cc306021a4e14d68e6b1c57aad54eede6511", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling tokenlock v0.3.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stdout] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: field `0` is never read [INFO] [stdout] --> src/singleton.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | struct Invariant(fn(&Tag) -> &Tag); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.47s [INFO] running `Command { std: "docker" "inspect" "e0b258ef7fbbf9ca7dcde6318291cc306021a4e14d68e6b1c57aad54eede6511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b258ef7fbbf9ca7dcde6318291cc306021a4e14d68e6b1c57aad54eede6511", kill_on_drop: false }` [INFO] [stdout] e0b258ef7fbbf9ca7dcde6318291cc306021a4e14d68e6b1c57aad54eede6511 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 738e1b07136891903e31c7db807a6f77c73bd9be4c7cacdaf61decaa25be6512 [INFO] running `Command { std: "docker" "start" "-a" "738e1b07136891903e31c7db807a6f77c73bd9be4c7cacdaf61decaa25be6512", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: field `0` is never read [INFO] [stdout] --> src/singleton.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | struct Invariant(fn(&Tag) -> &Tag); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-scoped v0.7.1 [INFO] [stderr] Compiling tokenlock v0.3.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/lib.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stdout] --> src/singleton_factory.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: field `0` is never read [INFO] [stdout] --> src/singleton.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | struct Invariant(fn(&Tag) -> &Tag); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.27s [INFO] running `Command { std: "docker" "inspect" "738e1b07136891903e31c7db807a6f77c73bd9be4c7cacdaf61decaa25be6512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738e1b07136891903e31c7db807a6f77c73bd9be4c7cacdaf61decaa25be6512", kill_on_drop: false }` [INFO] [stdout] 738e1b07136891903e31c7db807a6f77c73bd9be4c7cacdaf61decaa25be6512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d57f87bb7ffd69df978835337b9e0002e3d8d0c3582b06ee11e5d86b53bf263 [INFO] running `Command { std: "docker" "start" "-a" "3d57f87bb7ffd69df978835337b9e0002e3d8d0c3582b06ee11e5d86b53bf263", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic` [INFO] [stderr] --> src/lib.rs:346:13 [INFO] [stderr] | [INFO] [stderr] 346 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stderr] --> src/lib.rs:347:13 [INFO] [stderr] | [INFO] [stderr] 347 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stderr] --> src/lib.rs:358:13 [INFO] [stderr] | [INFO] [stderr] 358 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stderr] --> src/lib.rs:359:13 [INFO] [stderr] | [INFO] [stderr] 359 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stderr] --> src/singleton_factory.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stderr] --> src/singleton_factory.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stderr] --> src/singleton_factory.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"), [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` 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: `compiler_has_cfg_target_has_atomic` [INFO] [stderr] --> src/singleton_factory.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | not(compiler_has_cfg_target_has_atomic) [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(compiler_has_cfg_target_has_atomic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/singleton.rs:133:31 [INFO] [stderr] | [INFO] [stderr] 133 | struct Invariant(fn(&Tag) -> &Tag); [INFO] [stderr] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tokenlock` (lib) generated 9 warnings [INFO] [stderr] warning: `tokenlock` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokenlock-58923e1d29373675) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test bad_token ... ok [INFO] [stdout] test ic::unique_id_hash ... ok [INFO] [stdout] test arc::unique_id_hash ... ok [INFO] [stdout] test rc::unique_id_hash ... ok [INFO] [stdout] test basic ... ok [INFO] [stdout] test unsend_bad_token ... ok [INFO] [stdout] test unsend_basic ... ok [INFO] [stdout] test ic::uniqueness ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s [INFO] [stdout] [INFO] [stderr] Doc-tests tokenlock [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test src/lib.rs - (line 135) ... ignored [INFO] [stdout] test src/lib.rs - (line 107) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 94) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 84) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 266) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/singleton.rs - singleton::SingletonTokenRef (line 277) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 152) ... ok [INFO] [stdout] test src/lib.rs - (line 118) ... ok [INFO] [stdout] test src/rc.rs - rc::RcTokenId (line 53) ... ok [INFO] [stdout] test src/lib.rs - (line 36) ... ok [INFO] [stdout] test src/singleton.rs - singleton::SingletonTokenId (line 538) ... ok [INFO] [stdout] test src/arc.rs - arc::ArcTokenId (line 83) ... ok [INFO] [stdout] test src/lib.rs - (line 65) ... ok [INFO] [stdout] test src/lib.rs - (line 243) ... ok [INFO] [stdout] test src/singleton.rs - singleton::SingletonTokenRef (line 256) ... ok [INFO] [stdout] test src/lib.rs - PinTokenLock (line 477) ... ok [INFO] [stdout] test src/ic.rs - ic::IcTokenId (line 119) ... ok [INFO] [stdout] test src/singleton.rs - singleton::UnsyncSingletonTokenRef (line 332) - compile fail ... ok [INFO] [stdout] test src/branded.rs - branded::with_branded_token (line 84) ... ok [INFO] [stdout] test src/singleton.rs - singleton::SingletonTokenRefMut (line 406) ... ok [INFO] [stdout] test src/singleton.rs - singleton::SingletonTokenRef (line 291) ... ok [INFO] [stdout] test src/singleton.rs - singleton::SingletonTokenRefMut (line 428) ... ok [INFO] [stdout] test src/branded.rs - branded::with_branded_token (line 111) ... ok [INFO] [stdout] test src/singleton.rs - singleton::SingletonTokenId (line 525) ... ok [INFO] [stdout] test src/singleton.rs - singleton::UnsyncSingletonTokenRef (line 347) - compile fail ... ok [INFO] [stdout] test src/singleton.rs - singleton::UnsyncSingletonToken (line 89) ... ok [INFO] [stdout] test src/singleton.rs - singleton::UnsyncSingletonTokenRef (line 311) ... ok [INFO] [stdout] test src/singleton_factory.rs - singleton_factory::SingletonToken::new (line 156) ... ok [INFO] [stdout] test src/singleton_factory.rs - singleton_factory::SingletonToken::new (line 179) ... ok [INFO] [stdout] test src/singleton.rs - singleton::UnsyncSingletonTokenRefMut (line 451) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3d57f87bb7ffd69df978835337b9e0002e3d8d0c3582b06ee11e5d86b53bf263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d57f87bb7ffd69df978835337b9e0002e3d8d0c3582b06ee11e5d86b53bf263", kill_on_drop: false }` [INFO] [stdout] 3d57f87bb7ffd69df978835337b9e0002e3d8d0c3582b06ee11e5d86b53bf263