[INFO] fetching crate cocoon 0.4.2... [INFO] checking cocoon-0.4.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cocoon 0.4.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cocoon 0.4.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cocoon 0.4.2 [INFO] finished tweaking crates.io crate cocoon 0.4.2 [INFO] tweaked toml for crates.io crate cocoon 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding borsh v0.9.3 (latest: v1.5.1) [INFO] [stderr] Adding borsh-derive v0.9.3 (latest: v1.5.1) [INFO] [stderr] Adding borsh-derive-internal v0.9.3 (latest: v0.10.3) [INFO] [stderr] Adding borsh-schema-derive-internal v0.9.3 (latest: v0.10.3) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.5) [INFO] [stderr] Adding hmac v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding pbkdf2 v0.9.0 (latest: v0.12.2) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (latest: v3.2.0) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding subtle v2.4.1 (latest: v2.6.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17023179d5883c5a9716976d04e113b7c847c36e981998a2ca63604774967b4b [INFO] running `Command { std: "docker" "start" "-a" "17023179d5883c5a9716976d04e113b7c847c36e981998a2ca63604774967b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17023179d5883c5a9716976d04e113b7c847c36e981998a2ca63604774967b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17023179d5883c5a9716976d04e113b7c847c36e981998a2ca63604774967b4b", kill_on_drop: false }` [INFO] [stdout] 17023179d5883c5a9716976d04e113b7c847c36e981998a2ca63604774967b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bf3956978f05592e93f54c902d5728578c3d7fe5c6bf7d144818e6585677413 [INFO] running `Command { std: "docker" "start" "-a" "5bf3956978f05592e93f54c902d5728578c3d7fe5c6bf7d144818e6585677413", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.9.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking cocoon v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | #![cfg_attr(docs_rs, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/mini.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc", feature = "std"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/mini.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/mini.rs:313:16 [INFO] [stdout] | [INFO] [stdout] 313 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc", feature = "std"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/mini.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:644:16 [INFO] [stdout] | [INFO] [stdout] 644 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc", feature = "std"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:688:16 [INFO] [stdout] | [INFO] [stdout] 688 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:791:16 [INFO] [stdout] | [INFO] [stdout] 791 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc", feature = "std"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:836:16 [INFO] [stdout] | [INFO] [stdout] 836 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | #![cfg_attr(docs_rs, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/mini.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc", feature = "std"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/mini.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/mini.rs:313:16 [INFO] [stdout] | [INFO] [stdout] 313 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc", feature = "std"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/mini.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:528:16 [INFO] [stdout] | [INFO] [stdout] 528 | #[cfg_attr(docs_rs, doc(cfg(feature = "getrandom")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:644:16 [INFO] [stdout] | [INFO] [stdout] 644 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc", feature = "std"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:688:16 [INFO] [stdout] | [INFO] [stdout] 688 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:791:16 [INFO] [stdout] | [INFO] [stdout] 791 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc", feature = "std"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` 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: `docs_rs` [INFO] [stdout] --> src/lib.rs:836:16 [INFO] [stdout] | [INFO] [stdout] 836 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [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(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mini.rs:656:15 [INFO] [stdout] | [INFO] [stdout] 649 | let mut file = File::open(read_only_file).expect("Test file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 650 | [INFO] [stdout] 651 | let mut cocoon = MiniCocoon::from_key(&[1; 32], &[0; 32]); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 656 | match cocoon.dump(data, &mut file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mini.rs:675:15 [INFO] [stdout] | [INFO] [stdout] 671 | let mut file = File::open(read_only_file).expect("Test file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 672 | [INFO] [stdout] 673 | let cocoon = MiniCocoon::from_key(&[1; 32], &[0; 32]); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 674 | [INFO] [stdout] 675 | match cocoon.parse(&mut file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1146:15 [INFO] [stdout] | [INFO] [stdout] 1139 | let mut file = File::open(read_only_file).expect("Test file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1146 | match cocoon.dump(data, &mut file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1165:15 [INFO] [stdout] | [INFO] [stdout] 1161 | let mut file = File::open(read_only_file).expect("Test file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1165 | match cocoon.parse(&mut file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cocoon` (lib test) due to 5 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5bf3956978f05592e93f54c902d5728578c3d7fe5c6bf7d144818e6585677413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf3956978f05592e93f54c902d5728578c3d7fe5c6bf7d144818e6585677413", kill_on_drop: false }` [INFO] [stdout] 5bf3956978f05592e93f54c902d5728578c3d7fe5c6bf7d144818e6585677413