[INFO] fetching crate woodpecker 0.4.0... [INFO] building woodpecker-0.4.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate woodpecker 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate woodpecker 0.4.0 [INFO] finished tweaking crates.io crate woodpecker 0.4.0 [INFO] tweaked toml for crates.io crate woodpecker 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate woodpecker 0.4.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding chrono v0.3.0 (available: v0.4.42) [INFO] [stderr] Adding crossbeam v0.2.12 (available: v0.8.4) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding parking_lot v0.4.8 (available: v0.12.4) [INFO] [stderr] Adding thread-id v3.3.0 (available: v5.0.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6c7e6de68507efc10fc8da0a80ccd5d52db450b01bfa22fc24e38b5982e13f5 [INFO] running `Command { std: "docker" "start" "-a" "b6c7e6de68507efc10fc8da0a80ccd5d52db450b01bfa22fc24e38b5982e13f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6c7e6de68507efc10fc8da0a80ccd5d52db450b01bfa22fc24e38b5982e13f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6c7e6de68507efc10fc8da0a80ccd5d52db450b01bfa22fc24e38b5982e13f5", kill_on_drop: false }` [INFO] [stdout] b6c7e6de68507efc10fc8da0a80ccd5d52db450b01bfa22fc24e38b5982e13f5 [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afc4c329e5a97d39ba0ad817cefc8c1c88250e930e72fb88330020910e8de48d [INFO] running `Command { std: "docker" "start" "-a" "afc4c329e5a97d39ba0ad817cefc8c1c88250e930e72fb88330020910e8de48d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling woodpecker v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 120 | pub mod spec; [INFO] [stdout] | ------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/logger.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::{Arc, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/logger.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | ATOMIC_USIZE_INIT, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/levels.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref LMAP: HashMap = { [INFO] [stdout] 94 | | let mut levels = HashMap::with_capacity(LEVELS.len()); [INFO] [stdout] 95 | | for level in &LEVELS { [INFO] [stdout] ... | [INFO] [stdout] 99 | | }; [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | ATOMIC_ISIZE_INIT, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/logger.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | ATOMIC_USIZE_INIT, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | ATOMIC_ISIZE_INIT, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/logger.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | static LOG_THREAD: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 48 - static LOG_THREAD: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] 48 + static LOG_THREAD: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | static LOG_LEVEL: AtomicIsize = ATOMIC_ISIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 20 - static LOG_LEVEL: AtomicIsize = ATOMIC_ISIZE_INIT; [INFO] [stdout] 20 + static LOG_LEVEL: AtomicIsize = AtomicIsize::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/logger.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | static IS_INIT: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 49 - static IS_INIT: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] 49 + static IS_INIT: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/logger.rs:52:72 [INFO] [stdout] | [INFO] [stdout] 52 | let mut sent: [CachePadded; QNUM] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/logger.rs:54:57 [INFO] [stdout] | [INFO] [stdout] 54 | let z = mem::replace(sent, CachePadded::new(ATOMIC_USIZE_INIT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 54 - let z = mem::replace(sent, CachePadded::new(ATOMIC_USIZE_INIT)); [INFO] [stdout] 54 + let z = mem::replace(sent, CachePadded::new(AtomicUsize::new(0))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/logger.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / lazy_static! { [INFO] [stdout] 51 | | static ref SENT: [CachePadded; QNUM] = { [INFO] [stdout] 52 | | let mut sent: [CachePadded; QNUM] = unsafe { mem::uninitialized() }; [INFO] [stdout] 53 | | for sent in sent.iter_mut() { [INFO] [stdout] ... | [INFO] [stdout] 59 | | static ref RECEIVED: CachePadded = CachePadded::new(ATOMIC_USIZE_INIT); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/logger.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | static ref RECEIVED: CachePadded = CachePadded::new(ATOMIC_USIZE_INIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 59 - static ref RECEIVED: CachePadded = CachePadded::new(ATOMIC_USIZE_INIT); [INFO] [stdout] 59 + static ref RECEIVED: CachePadded = CachePadded::new(AtomicUsize::new(0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/logger.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / lazy_static! { [INFO] [stdout] 51 | | static ref SENT: [CachePadded; QNUM] = { [INFO] [stdout] 52 | | let mut sent: [CachePadded; QNUM] = unsafe { mem::uninitialized() }; [INFO] [stdout] 53 | | for sent in sent.iter_mut() { [INFO] [stdout] ... | [INFO] [stdout] 59 | | static ref RECEIVED: CachePadded = CachePadded::new(ATOMIC_USIZE_INIT); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/logger.rs:261:41 [INFO] [stdout] | [INFO] [stdout] 261 | let mut queues: QVec = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/logger.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 258 - static ONCE: Once = ONCE_INIT; [INFO] [stdout] 258 + static ONCE: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | static HAS_SUBLOGGERS: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 21 - static HAS_SUBLOGGERS: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] 21 + static HAS_SUBLOGGERS: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/logger.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 288 | / lazy_static! { [INFO] [stdout] 289 | | #[doc(hidden)] [INFO] [stdout] 290 | | pub static ref ROOT: Arc> = root(); [INFO] [stdout] 291 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/mod.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Formatter = Box String + Send + Sync>; [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub type Formatter = Box String + Send + Sync>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/mod.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Formatter = Box String + Send + Sync>; [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] 20 | pub type Formatter = Box String + Send + Sync>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handlers/mod.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Handler = Box; [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] 20 | pub type Handler = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handlers/mod.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Handler = Box; [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] 20 | pub type Handler = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/default.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn formatter(record: &Record) -> String { [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] 24 | pub fn formatter(record: &dyn Record) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Arguments<'a>` cannot be shared between threads safely [INFO] [stdout] --> src/record/imp.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | impl<'a> Record for SyncRecord<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Arguments<'a>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `SyncRecord<'a>`, the trait `Sync` is not implemented for `Arguments<'a>` [INFO] [stdout] note: required because it appears within the type `SyncRecord<'a>` [INFO] [stdout] --> src/record/imp.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) struct SyncRecord<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Record` [INFO] [stdout] --> src/record/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Record: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `Record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Arguments<'a>` cannot be sent between threads safely [INFO] [stdout] --> src/record/imp.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | impl<'a> Record for SyncRecord<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Arguments<'a>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `SyncRecord<'a>`, the trait `Send` is not implemented for `Arguments<'a>` [INFO] [stdout] note: required because it appears within the type `SyncRecord<'a>` [INFO] [stdout] --> src/record/imp.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) struct SyncRecord<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Record` [INFO] [stdout] --> src/record/mod.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Record: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `Record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record/imp.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | fn formatted(&self, record: &Record) -> 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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | fn formatted(&self, record: &dyn Record) -> Arc { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logger.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | fn process(&self, record: &Record) { [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] 195 | fn process(&self, record: &dyn Record) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `woodpecker` (lib) due to 3 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "afc4c329e5a97d39ba0ad817cefc8c1c88250e930e72fb88330020910e8de48d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc4c329e5a97d39ba0ad817cefc8c1c88250e930e72fb88330020910e8de48d", kill_on_drop: false }` [INFO] [stdout] afc4c329e5a97d39ba0ad817cefc8c1c88250e930e72fb88330020910e8de48d