[INFO] fetching crate len-trait 0.6.1... [INFO] checking len-trait-0.6.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate len-trait 0.6.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate len-trait 0.6.1 [INFO] finished tweaking crates.io crate len-trait 0.6.1 [INFO] tweaked toml for crates.io crate len-trait 0.6.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate len-trait 0.6.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00d0cf6f9a2fbefdeced9753c5e06cee86fdf74b3575124a80ddb9485a4a3497 [INFO] running `Command { std: "docker" "start" "-a" "00d0cf6f9a2fbefdeced9753c5e06cee86fdf74b3575124a80ddb9485a4a3497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00d0cf6f9a2fbefdeced9753c5e06cee86fdf74b3575124a80ddb9485a4a3497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d0cf6f9a2fbefdeced9753c5e06cee86fdf74b3575124a80ddb9485a4a3497", kill_on_drop: false }` [INFO] [stdout] 00d0cf6f9a2fbefdeced9753c5e06cee86fdf74b3575124a80ddb9485a4a3497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8b72668fb757d311c6f0b8c88b7f775674e5cb6571cc2bad526c4c2642aca53 [INFO] running `Command { std: "docker" "start" "-a" "f8b72668fb757d311c6f0b8c88b7f775674e5cb6571cc2bad526c4c2642aca53", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking len-trait v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bit-set` [INFO] [stdout] --> src/lib.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "bit-set")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `bit-set` as a feature in `Cargo.toml` [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 value: `bit-vec` [INFO] [stdout] --> src/lib.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "bit-vec")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `bit-vec` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `blist` [INFO] [stdout] --> src/lib.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(feature = "blist")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `blist` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enum-set` [INFO] [stdout] --> src/lib.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(feature = "enum-set")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `enum-set` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `interval-heap` [INFO] [stdout] --> src/lib.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "interval-heap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `interval-heap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `linear-map` [INFO] [stdout] --> src/lib.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "linear-map")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `linear-map` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `linked-hash-map` [INFO] [stdout] --> src/lib.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(feature = "linked-hash-map")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `linked-hash-map` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lru-cache` [INFO] [stdout] --> src/lib.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "lru-cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `lru-cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `vec_map` [INFO] [stdout] --> src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "vec_map")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `vec_map` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/len.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/capacity.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if Len::is_empty(self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 | if ::is_empty(self) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `bit-set` [INFO] [stdout] --> src/lib.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "bit-set")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `bit-set` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `bit-vec` [INFO] [stdout] --> src/lib.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "bit-vec")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `bit-vec` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `blist` [INFO] [stdout] --> src/lib.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(feature = "blist")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `blist` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `enum-set` [INFO] [stdout] --> src/lib.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(feature = "enum-set")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `enum-set` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `interval-heap` [INFO] [stdout] --> src/lib.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "interval-heap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `interval-heap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `linear-map` [INFO] [stdout] --> src/lib.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "linear-map")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `linear-map` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `linked-hash-map` [INFO] [stdout] --> src/lib.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(feature = "linked-hash-map")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `linked-hash-map` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `lru-cache` [INFO] [stdout] --> src/lib.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "lru-cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `lru-cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `vec_map` [INFO] [stdout] --> src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "vec_map")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `vec_map` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/len.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `nightly`, and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/capacity.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if Len::is_empty(self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 | if ::is_empty(self) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `len-trait` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "f8b72668fb757d311c6f0b8c88b7f775674e5cb6571cc2bad526c4c2642aca53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8b72668fb757d311c6f0b8c88b7f775674e5cb6571cc2bad526c4c2642aca53", kill_on_drop: false }` [INFO] [stdout] f8b72668fb757d311c6f0b8c88b7f775674e5cb6571cc2bad526c4c2642aca53