[INFO] fetching crate woodpecker 0.4.0... [INFO] checking woodpecker-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate woodpecker 0.4.0 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate woodpecker 0.4.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding chrono v0.3.0 (available: v0.4.41) [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.43) [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded parking_lot v0.4.8 [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded bencher v0.1.5 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded chrono v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bf62324ccade57fe5363b395aa3e4b661ebd3e948c8a322d319e40c81a2afbe [INFO] running `Command { std: "docker" "start" "-a" "5bf62324ccade57fe5363b395aa3e4b661ebd3e948c8a322d319e40c81a2afbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bf62324ccade57fe5363b395aa3e4b661ebd3e948c8a322d319e40c81a2afbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf62324ccade57fe5363b395aa3e4b661ebd3e948c8a322d319e40c81a2afbe", kill_on_drop: false }` [INFO] [stdout] 5bf62324ccade57fe5363b395aa3e4b661ebd3e948c8a322d319e40c81a2afbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82be65c5f3409a0b5d59863179622d3be933a29f8b0e6d65a11f1a2f0a87d8aa [INFO] running `Command { std: "docker" "start" "-a" "82be65c5f3409a0b5d59863179622d3be933a29f8b0e6d65a11f1a2f0a87d8aa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking 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/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: `#[warn(deprecated)]` on by default [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::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] [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::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/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_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::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: 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/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_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/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: 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)]` 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] 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/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] 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] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/logger.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 349 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros/control.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | )*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | wp_set_level!(LogLevel::TRACE, this_module!(), [(LineRangeBound::BOF, 42u32)]).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wp_set_level` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros/control.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | )*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | wp_set_level!(LogLevel::TRACE, file!(), [(LineRangeBound::BOF, 42u32)]).unwrap(); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wp_set_level` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros/control.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | )*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | wp_set_level!(LogLevel::TRACE, this_file!(), [(42u32, 41u32)]).unwrap(); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wp_set_level` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros/control.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | )*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:444:24 [INFO] [stdout] | [INFO] [stdout] 444 | assert_eq!(wp_set_level!(LogLevel::TRACE, "foo", [(LineRangeBound::BOF, LineRangeBound::EOF)]), Ok(())); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wp_set_level` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros/control.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | )*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | assert_eq!(wp_set_level!(LogLevel::TRACE, this_file!(), [(LineRangeBound::BOF, 42u32)]), Ok(())); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wp_set_level` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros/logging.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | log!($crate::LogLevel::TRACE => $($arg)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:459:44 [INFO] [stdout] | [INFO] [stdout] 459 | LogLevel::TRACE => trace!("msg"), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros/logging.rs:133:51 [INFO] [stdout] | [INFO] [stdout] 133 | log!($crate::LogLevel::DEBUG => $($arg)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | LogLevel::DEBUG => debug!("msg"), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros/logging.rs:155:52 [INFO] [stdout] | [INFO] [stdout] 155 | log!($crate::LogLevel::VERBOSE => $($arg)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:461:46 [INFO] [stdout] | [INFO] [stdout] 461 | LogLevel::VERBOSE => verbose!("msg"), [INFO] [stdout] | --------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `verbose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros/logging.rs:177:49 [INFO] [stdout] | [INFO] [stdout] 177 | log!($crate::LogLevel::INFO => $($arg)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:462:43 [INFO] [stdout] | [INFO] [stdout] 462 | LogLevel::INFO => info!("msg"), [INFO] [stdout] | ------------ in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros/logging.rs:199:51 [INFO] [stdout] | [INFO] [stdout] 199 | log!($crate::LogLevel::NOTICE => $($arg)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:463:45 [INFO] [stdout] | [INFO] [stdout] 463 | LogLevel::NOTICE => notice!("msg"), [INFO] [stdout] | -------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `notice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros/logging.rs:221:49 [INFO] [stdout] | [INFO] [stdout] 221 | log!($crate::LogLevel::WARN => $($arg)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:464:43 [INFO] [stdout] | [INFO] [stdout] 464 | LogLevel::WARN => warn!("msg"), [INFO] [stdout] | ------------ in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros/logging.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | log!($crate::LogLevel::ERROR => $($arg)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:465:44 [INFO] [stdout] | [INFO] [stdout] 465 | LogLevel::ERROR => error!("msg"), [INFO] [stdout] | ------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros/logging.rs:265:53 [INFO] [stdout] | [INFO] [stdout] 265 | log!($crate::LogLevel::CRITICAL => $($arg)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/logger.rs:466:47 [INFO] [stdout] | [INFO] [stdout] 466 | LogLevel::CRITICAL => critical!("msg"), [INFO] [stdout] | ---------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `critical` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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/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: `#[warn(deprecated)]` on by default [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::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] [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::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/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_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::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: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/logger.rs:351:29 [INFO] [stdout] | [INFO] [stdout] 351 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 351 - static ONCE: Once = ONCE_INIT; [INFO] [stdout] 351 + static ONCE: Once = Once::new(); [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: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/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_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/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: 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)]` 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] 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::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::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] For more information about this error, try `rustc --explain E0277`. [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] 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] [stderr] error: could not compile `woodpecker` (lib) due to 3 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `woodpecker` (lib test) due to 19 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82be65c5f3409a0b5d59863179622d3be933a29f8b0e6d65a11f1a2f0a87d8aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82be65c5f3409a0b5d59863179622d3be933a29f8b0e6d65a11f1a2f0a87d8aa", kill_on_drop: false }` [INFO] [stdout] 82be65c5f3409a0b5d59863179622d3be933a29f8b0e6d65a11f1a2f0a87d8aa