[INFO] fetching crate objpool 0.2.0...
[INFO] checking objpool-0.2.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate objpool 0.2.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate objpool 0.2.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate objpool 0.2.0
[INFO] finished tweaking crates.io crate objpool 0.2.0
[INFO] tweaked toml for crates.io crate objpool 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 04f8994a327dd0dd2f9a4d22d3d26a4e5441b0510860c9f3bec4f3a53b64ece0
[INFO] running `Command { std: "docker" "start" "-a" "04f8994a327dd0dd2f9a4d22d3d26a4e5441b0510860c9f3bec4f3a53b64ece0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04f8994a327dd0dd2f9a4d22d3d26a4e5441b0510860c9f3bec4f3a53b64ece0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04f8994a327dd0dd2f9a4d22d3d26a4e5441b0510860c9f3bec4f3a53b64ece0", kill_on_drop: false }`
[INFO] [stdout] 04f8994a327dd0dd2f9a4d22d3d26a4e5441b0510860c9f3bec4f3a53b64ece0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2d09bbd26d55b90dfb333368df8eafa739fe4cfd2756c6429112bf82d6fe501
[INFO] running `Command { std: "docker" "start" "-a" "c2d09bbd26d55b90dfb333368df8eafa739fe4cfd2756c6429112bf82d6fe501", kill_on_drop: false }`
[INFO] [stderr]     Checking objpool v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     constructor: Box<Fn() -> T + Send + Sync + 'static>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |     constructor: Box<dyn Fn() -> T + Send + Sync + 'static>,
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Error` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |     use std::error::Error;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     use super::*;
[INFO] [stdout]     |         -------- the item `Error` is already imported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Duration` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:192:21
[INFO] [stdout]     |
[INFO] [stdout] 192 |     use std::time::{Duration, SystemTime};
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout] 193 |     use std::thread;
[INFO] [stdout] 194 |     use super::*;
[INFO] [stdout]     |         -------- the item `Duration` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `SystemTime` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:192:31
[INFO] [stdout]     |
[INFO] [stdout] 192 |     use std::time::{Duration, SystemTime};
[INFO] [stdout]     |                               ^^^^^^^^^^
[INFO] [stdout] 193 |     use std::thread;
[INFO] [stdout] 194 |     use super::*;
[INFO] [stdout]     |         -------- the item `SystemTime` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     constructor: Box<Fn() -> T + Send + Sync + 'static>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |     constructor: Box<dyn Fn() -> T + Send + Sync + 'static>,
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]   --> src/lib.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             let ptr = &pool.weak_self as *const Weak<Pool<T>> as *mut Weak<Pool<T>>;
[INFO] [stdout]    |                       ------------------------------------------------------------- casting happend here
[INFO] [stdout] 59 |             *ptr = Arc::downgrade(&pool);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `objpool` (lib) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:285:33
[INFO] [stdout]     |
[INFO] [stdout] 285 |         assert_eq!(TimeoutError.description(), "wait timed out");
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AsMillis` is never used
[INFO] [stdout]    --> src/lib.rs:196:11
[INFO] [stdout]     |
[INFO] [stdout] 196 |     trait AsMillis {
[INFO] [stdout]     |           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]   --> src/lib.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             let ptr = &pool.weak_self as *const Weak<Pool<T>> as *mut Weak<Pool<T>>;
[INFO] [stdout]    |                       ------------------------------------------------------------- casting happend here
[INFO] [stdout] 59 |             *ptr = Arc::downgrade(&pool);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `objpool` (lib test) due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c2d09bbd26d55b90dfb333368df8eafa739fe4cfd2756c6429112bf82d6fe501", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2d09bbd26d55b90dfb333368df8eafa739fe4cfd2756c6429112bf82d6fe501", kill_on_drop: false }`
[INFO] [stdout] c2d09bbd26d55b90dfb333368df8eafa739fe4cfd2756c6429112bf82d6fe501
