[INFO] fetching crate scoped-pool 1.0.0... [INFO] checking scoped-pool-1.0.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate scoped-pool 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate scoped-pool 1.0.0 [INFO] finished tweaking crates.io crate scoped-pool 1.0.0 [INFO] tweaked toml for crates.io crate scoped-pool 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scoped-pool 1.0.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding crossbeam v0.2.12 (available: v0.8.4) [INFO] [stderr] Adding itertools v0.4.19 (available: v0.14.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [INFO] [stderr] Adding scopeguard v0.1.2 (available: v1.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bde7b6bacf00c0c050dcbc4a78800a5de46aafddb4e1c810312916c94794a5d [INFO] running `Command { std: "docker" "start" "-a" "5bde7b6bacf00c0c050dcbc4a78800a5de46aafddb4e1c810312916c94794a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bde7b6bacf00c0c050dcbc4a78800a5de46aafddb4e1c810312916c94794a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bde7b6bacf00c0c050dcbc4a78800a5de46aafddb4e1c810312916c94794a5d", kill_on_drop: false }` [INFO] [stdout] 5bde7b6bacf00c0c050dcbc4a78800a5de46aafddb4e1c810312916c94794a5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd715a91fa0c676a7ea913e054c02a3e829f8ed2263c9000bb04cb6c6fa851c4 [INFO] running `Command { std: "docker" "start" "-a" "dd715a91fa0c676a7ea913e054c02a3e829f8ed2263c9000bb04cb6c6fa851c4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking scopeguard v0.1.2 [INFO] [stderr] Checking variance v0.1.3 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking scoped-pool v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | Task(Box, Arc) [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] 366 | Task(Box, Arc) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:299:34 [INFO] [stdout] | [INFO] [stdout] 299 | mem::transmute::, [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 | mem::transmute::, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:300:34 [INFO] [stdout] | [INFO] [stdout] 300 | ... Box>(Box::new(job)) [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 300 | Box>(Box::new(job)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/lib.rs:325:44 [INFO] [stdout] | [INFO] [stdout] 325 | let scope = unsafe { self.refine::<'smaller>() }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | unsafe fn refine<'other>(&self) -> Scope<'other> where 'scope: 'other { [INFO] [stdout] | - the late bound lifetime parameter is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | struct Sentinel(Pool, Option>); [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 465 - struct Sentinel(Pool, Option>); [INFO] [stdout] 465 + struct Sentinel((), Option>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.3.23 [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | Task(Box, Arc) [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: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [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] 366 | Task(Box, Arc) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:299:34 [INFO] [stdout] | [INFO] [stdout] 299 | mem::transmute::, [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 | mem::transmute::, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:300:34 [INFO] [stdout] | [INFO] [stdout] 300 | ... Box>(Box::new(job)) [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 300 | Box>(Box::new(job)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/lib.rs:325:44 [INFO] [stdout] | [INFO] [stdout] 325 | let scope = unsafe { self.refine::<'smaller>() }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | unsafe fn refine<'other>(&self) -> Scope<'other> where 'scope: 'other { [INFO] [stdout] | - the late bound lifetime parameter is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] = note: `#[deny(late_bound_lifetime_arguments)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/lib.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | struct Sentinel(Pool, Option>); [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 465 - struct Sentinel(Pool, Option>); [INFO] [stdout] 465 + struct Sentinel((), Option>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scoped-pool` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "dd715a91fa0c676a7ea913e054c02a3e829f8ed2263c9000bb04cb6c6fa851c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd715a91fa0c676a7ea913e054c02a3e829f8ed2263c9000bb04cb6c6fa851c4", kill_on_drop: false }` [INFO] [stdout] dd715a91fa0c676a7ea913e054c02a3e829f8ed2263c9000bb04cb6c6fa851c4