[INFO] fetching crate tokenlock 0.3.8... [INFO] building tokenlock-0.3.8 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate tokenlock 0.3.8 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokenlock 0.3.8 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 74 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.8) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.76 [INFO] [stderr] Downloaded const-default v1.0.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.10 [INFO] [stderr] Downloaded pin-project v1.1.10 [INFO] [stderr] Downloaded log v0.4.28 [INFO] [stderr] Downloaded rayon-core v1.13.0 [INFO] [stderr] Downloaded memchr v2.7.6 [INFO] [stderr] Downloaded semver v1.0.27 [INFO] [stderr] Downloaded async-scoped v0.7.1 [INFO] [stderr] Downloaded humantime v2.3.0 [INFO] [stderr] Downloaded regex v1.11.3 [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded crossbeam-deque v0.8.6 [INFO] [stderr] Downloaded rustc_version v0.4.1 [INFO] [stderr] Downloaded spin v0.9.8 [INFO] [stderr] Downloaded addr2line v0.25.1 [INFO] [stderr] Downloaded termcolor v1.4.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.18 [INFO] [stderr] Downloaded windows-link v0.2.0 [INFO] [stderr] Downloaded libc v0.2.176 [INFO] [stderr] Downloaded regex-automata v0.4.11 [INFO] [stderr] Downloaded env_logger v0.9.3 [INFO] [stderr] Downloaded rayon v1.11.0 [INFO] [stderr] Downloaded windows-sys v0.61.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b8a3f73e8b6affebe5a26a8455d9f7e911ce16dea4075c365d884b3b171f7d1 [INFO] running `Command { std: "docker" "start" "-a" "6b8a3f73e8b6affebe5a26a8455d9f7e911ce16dea4075c365d884b3b171f7d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b8a3f73e8b6affebe5a26a8455d9f7e911ce16dea4075c365d884b3b171f7d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8a3f73e8b6affebe5a26a8455d9f7e911ce16dea4075c365d884b3b171f7d1", kill_on_drop: false }` [INFO] [stdout] 6b8a3f73e8b6affebe5a26a8455d9f7e911ce16dea4075c365d884b3b171f7d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e760bfc21a68692c3eb388eab0c43eadf47cdf6da33579b846563d1e9036228 [INFO] running `Command { std: "docker" "start" "-a" "2e760bfc21a68692c3eb388eab0c43eadf47cdf6da33579b846563d1e9036228", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling spin v0.9.8 [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: `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(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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "2e760bfc21a68692c3eb388eab0c43eadf47cdf6da33579b846563d1e9036228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e760bfc21a68692c3eb388eab0c43eadf47cdf6da33579b846563d1e9036228", kill_on_drop: false }` [INFO] [stdout] 2e760bfc21a68692c3eb388eab0c43eadf47cdf6da33579b846563d1e9036228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7b73b3fe27050c0240881674c6fdb7f404991e10e2c589b05f9b919dffdfcc4 [INFO] running `Command { std: "docker" "start" "-a" "f7b73b3fe27050c0240881674c6fdb7f404991e10e2c589b05f9b919dffdfcc4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [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: `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(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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [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: `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(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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.39s [INFO] running `Command { std: "docker" "inspect" "f7b73b3fe27050c0240881674c6fdb7f404991e10e2c589b05f9b919dffdfcc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b73b3fe27050c0240881674c6fdb7f404991e10e2c589b05f9b919dffdfcc4", kill_on_drop: false }` [INFO] [stdout] f7b73b3fe27050c0240881674c6fdb7f404991e10e2c589b05f9b919dffdfcc4