[INFO] fetching crate woodpecker 0.4.0... [INFO] checking woodpecker-0.4.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate woodpecker 0.4.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate woodpecker 0.4.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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.38) [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 num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding owning_ref v0.3.3 (available: v0.4.1) [INFO] [stderr] Adding parking_lot v0.4.8 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.2.14 (available: v0.9.10) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v0.8.4) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [INFO] [stderr] Adding thread-id v3.3.0 (available: v4.2.2) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6108d9aeec5845a7f60c159a21029c62217ffd8dd53eb2ba4e11448f18ec9448 [INFO] running `Command { std: "docker" "start" "-a" "6108d9aeec5845a7f60c159a21029c62217ffd8dd53eb2ba4e11448f18ec9448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6108d9aeec5845a7f60c159a21029c62217ffd8dd53eb2ba4e11448f18ec9448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6108d9aeec5845a7f60c159a21029c62217ffd8dd53eb2ba4e11448f18ec9448", kill_on_drop: false }` [INFO] [stdout] 6108d9aeec5845a7f60c159a21029c62217ffd8dd53eb2ba4e11448f18ec9448 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 199f1f581a16507e3cb78953bb2ebb59b9c7e514b89efd0cba396ac6ccf3e0bf [INFO] running `Command { std: "docker" "start" "-a" "199f1f581a16507e3cb78953bb2ebb59b9c7e514b89efd0cba396ac6ccf3e0bf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [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.42 [INFO] [stderr] Checking chrono v0.3.0 [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: 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] | ^ help: remove this semicolon [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] | ^ help: remove this semicolon [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] | ^ help: remove this semicolon [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] | ^ help: remove this semicolon [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] | ^ help: remove this semicolon [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] warning: 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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning originates in the macro `verbose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning originates in the macro `notice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning originates in the macro `warn` (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/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: 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 warning originates in the macro `error` (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: 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 warning originates in the macro `critical` (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_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 = 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 = 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(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(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::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 = 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 = 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub type Handler = Box; [INFO] [stdout] | +++ [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 = 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 = 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(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(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::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::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 = 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 = 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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>`, which is required by `SyncRecord<'a>: Sync` [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>`, which is required by `SyncRecord<'a>: Send` [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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 | fn process(&self, record: &dyn Record) { [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 an object-safe 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>`, which is required by `SyncRecord<'a>: Sync` [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>`, which is required by `SyncRecord<'a>: Send` [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] 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 | fn process(&self, record: &dyn Record) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn formatter(record: &dyn Record) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 25 warnings emitted [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 4 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 40 warnings emitted [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 test) due to 4 previous errors; 48 warnings emitted [INFO] running `Command { std: "docker" "inspect" "199f1f581a16507e3cb78953bb2ebb59b9c7e514b89efd0cba396ac6ccf3e0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "199f1f581a16507e3cb78953bb2ebb59b9c7e514b89efd0cba396ac6ccf3e0bf", kill_on_drop: false }` [INFO] [stdout] 199f1f581a16507e3cb78953bb2ebb59b9c7e514b89efd0cba396ac6ccf3e0bf