[INFO] fetching crate stderr 0.8.0... [INFO] testing stderr-0.8.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate stderr 0.8.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate stderr 0.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate stderr 0.8.0 [INFO] tweaked toml for crates.io crate stderr 0.8.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stderr 0.8.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.42) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70e6c50b56d992b7af5e651d80826f2263bb9256b46c67ecc34d6290173b45a3 [INFO] running `Command { std: "docker" "start" "-a" "70e6c50b56d992b7af5e651d80826f2263bb9256b46c67ecc34d6290173b45a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70e6c50b56d992b7af5e651d80826f2263bb9256b46c67ecc34d6290173b45a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e6c50b56d992b7af5e651d80826f2263bb9256b46c67ecc34d6290173b45a3", kill_on_drop: false }` [INFO] [stdout] 70e6c50b56d992b7af5e651d80826f2263bb9256b46c67ecc34d6290173b45a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab328ec984be35a750d6d106fe1549bd7d95e40dba0a8f02a729eefe46605a78 [INFO] running `Command { std: "docker" "start" "-a" "ab328ec984be35a750d6d106fe1549bd7d95e40dba0a8f02a729eefe46605a78", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling stderr v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/log/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/log/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static!{ [INFO] [stdout] 20 | | static ref LOGGER:StaticMut=StaticMut::new(Logger::default()); [INFO] [stdout] 21 | | static ref LogFmterDefault:StaticMut =StaticMut::new(LogFmter::default()); [INFO] [stdout] 22 | | } [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/log/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static!{ [INFO] [stdout] 20 | | static ref LOGGER:StaticMut=StaticMut::new(Logger::default()); [INFO] [stdout] 21 | | static ref LogFmterDefault:StaticMut =StaticMut::new(LogFmter::default()); [INFO] [stdout] 22 | | } [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_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/log/mod.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | static LogFmterInitialized: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 23 - static LogFmterInitialized: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] 23 + static LogFmterInitialized: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/log/mod.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct LogFmter(Box 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 293 | pub struct LogFmter(Box String>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut logger = LOGGER.as_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut logger = LOGGER.as_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/static_mut.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | unsafe {self.0.into_inner()} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/log/mod.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn msg(&'a self) -> &'a Arguments { [INFO] [stdout] | -- -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 280 | pub fn msg(&'a self) -> &'a Arguments<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.03s [INFO] running `Command { std: "docker" "inspect" "ab328ec984be35a750d6d106fe1549bd7d95e40dba0a8f02a729eefe46605a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab328ec984be35a750d6d106fe1549bd7d95e40dba0a8f02a729eefe46605a78", kill_on_drop: false }` [INFO] [stdout] ab328ec984be35a750d6d106fe1549bd7d95e40dba0a8f02a729eefe46605a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8165840db5c96aeadf05d51dc59c86b8ac8b04be1dab6932187eabab4708d96f [INFO] running `Command { std: "docker" "start" "-a" "8165840db5c96aeadf05d51dc59c86b8ac8b04be1dab6932187eabab4708d96f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/log/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/log/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static!{ [INFO] [stdout] 20 | | static ref LOGGER:StaticMut=StaticMut::new(Logger::default()); [INFO] [stdout] 21 | | static ref LogFmterDefault:StaticMut =StaticMut::new(LogFmter::default()); [INFO] [stdout] 22 | | } [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/log/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static!{ [INFO] [stdout] 20 | | static ref LOGGER:StaticMut=StaticMut::new(Logger::default()); [INFO] [stdout] 21 | | static ref LogFmterDefault:StaticMut =StaticMut::new(LogFmter::default()); [INFO] [stdout] 22 | | } [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_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/log/mod.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | static LogFmterInitialized: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 23 - static LogFmterInitialized: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] 23 + static LogFmterInitialized: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stderr v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/log/mod.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct LogFmter(Box 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 293 | pub struct LogFmter(Box String>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut logger = LOGGER.as_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut logger = LOGGER.as_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/static_mut.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | unsafe {self.0.into_inner()} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/log/mod.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn msg(&'a self) -> &'a Arguments { [INFO] [stdout] | -- -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 280 | pub fn msg(&'a self) -> &'a Arguments<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `init`: Should use `logger_init!()` instead [INFO] [stdout] --> examples/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | init!(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | db!("x"); [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | db!("x {}", 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | db!("x {}/{}", 1, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | dbln!(); [INFO] [stdout] | ^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | dbln!("x_ln"); [INFO] [stdout] | ^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | dbln!("x_ln {}", 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | dbln!("x_ln {}/{}", 1, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | db!("y"); [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | db!("y {}", 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | db!("y {}/{}", 1, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dbln!(); [INFO] [stdout] | ^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | dbln!("y_ln"); [INFO] [stdout] | ^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | dbln!("y_ln {}", 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | dbln!("y_ln {}/{}", 1, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | db!("z"); [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | db!("z {}", 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | db!("z {}/{}", 1, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | dbln!(); [INFO] [stdout] | ^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | dbln!("z_ln"); [INFO] [stdout] | ^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | dbln!("z_ln {}", 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | dbln!("z_ln {}/{}", 1, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | info!("info\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [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: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | infoln!("infoln"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `info` which comes from the expansion of the macro `infoln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | warn!("warn\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [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: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | warnln!("warnln"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `warn` which comes from the expansion of the macro `warnln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | error!("error\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [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: unused borrow that must be used [INFO] [stdout] --> examples/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | errorln!("errorln"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error` which comes from the expansion of the macro `errorln` (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/log/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/log/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static!{ [INFO] [stdout] 20 | | static ref LOGGER:StaticMut=StaticMut::new(Logger::default()); [INFO] [stdout] 21 | | static ref LogFmterDefault:StaticMut =StaticMut::new(LogFmter::default()); [INFO] [stdout] 22 | | } [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/log/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static!{ [INFO] [stdout] 20 | | static ref LOGGER:StaticMut=StaticMut::new(Logger::default()); [INFO] [stdout] 21 | | static ref LogFmterDefault:StaticMut =StaticMut::new(LogFmter::default()); [INFO] [stdout] 22 | | } [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_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/log/mod.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | static LogFmterInitialized: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 23 - static LogFmterInitialized: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] 23 + static LogFmterInitialized: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/log/mod.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct LogFmter(Box 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 293 | pub struct LogFmter(Box String>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | dbln!(); [INFO] [stdout] | ^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | dbln!("db!/dbln!()@Loger !"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | db!("{}\n", s); [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | dbln!("{:?}", vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | fataln!("I'm angry !!!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `fatal` which comes from the expansion of the macro `fataln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut logger = LOGGER.as_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut logger = LOGGER.as_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/static_mut.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | unsafe {self.0.into_inner()} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/log/mod.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn msg(&'a self) -> &'a Arguments { [INFO] [stdout] | -- -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 280 | pub fn msg(&'a self) -> &'a Arguments<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "8165840db5c96aeadf05d51dc59c86b8ac8b04be1dab6932187eabab4708d96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8165840db5c96aeadf05d51dc59c86b8ac8b04be1dab6932187eabab4708d96f", kill_on_drop: false }` [INFO] [stdout] 8165840db5c96aeadf05d51dc59c86b8ac8b04be1dab6932187eabab4708d96f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbe13b4dc1fcc6438bc8c984717534db20b17ed9dc1dc68dba2ba413442187c9 [INFO] running `Command { std: "docker" "start" "-a" "bbe13b4dc1fcc6438bc8c984717534db20b17ed9dc1dc68dba2ba413442187c9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/log/mod.rs:9:37 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/log/mod.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static!{ [INFO] [stderr] 20 | | static ref LOGGER:StaticMut=StaticMut::new(Logger::default()); [INFO] [stderr] 21 | | static ref LogFmterDefault:StaticMut =StaticMut::new(LogFmter::default()); [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/log/mod.rs:23:42 [INFO] [stderr] | [INFO] [stderr] 23 | static LogFmterInitialized: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated constant [INFO] [stderr] | [INFO] [stderr] 23 - static LogFmterInitialized: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] 23 + static LogFmterInitialized: AtomicBool = AtomicBool::new(false); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/log/mod.rs:293:25 [INFO] [stderr] | [INFO] [stderr] 293 | pub struct LogFmter(Box String>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 293 | pub struct LogFmter(Box String>); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/log/mod.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | let mut logger = LOGGER.as_mut(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/log/mod.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | let mut logger = LOGGER.as_mut(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/static_mut.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | unsafe {self.0.into_inner()} [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/log/mod.rs:280:33 [INFO] [stderr] | [INFO] [stderr] 280 | pub fn msg(&'a self) -> &'a Arguments { [INFO] [stderr] | -- -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 280 | pub fn msg(&'a self) -> &'a Arguments<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `stderr` (lib) generated 9 warnings (1 duplicate) (run `cargo fix --lib -p stderr` to apply 5 suggestions) [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | dbln!(); [INFO] [stderr] | ^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | dbln!("db!/dbln!()@Loger !"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | db!("{}\n", s); [INFO] [stderr] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | dbln!("{:?}", vec); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | fataln!("I'm angry !!!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `fatal` which comes from the expansion of the macro `fataln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `init`: Should use `logger_init!()` instead [INFO] [stderr] --> examples/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | init!(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | db!("x"); [INFO] [stderr] | ^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | db!("x {}", 1); [INFO] [stderr] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | db!("x {}/{}", 1, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | dbln!(); [INFO] [stderr] | ^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | dbln!("x_ln"); [INFO] [stderr] | ^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | dbln!("x_ln {}", 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | dbln!("x_ln {}/{}", 1, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | db!("y"); [INFO] [stderr] | ^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | db!("y {}", 1); [INFO] [stderr] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | db!("y {}/{}", 1, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | dbln!(); [INFO] [stderr] | ^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | dbln!("y_ln"); [INFO] [stderr] | ^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | dbln!("y_ln {}", 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | dbln!("y_ln {}/{}", 1, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | db!("z"); [INFO] [stderr] | ^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | db!("z {}", 1); [INFO] [stderr] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | db!("z {}/{}", 1, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | dbln!(); [INFO] [stderr] | ^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | dbln!("z_ln"); [INFO] [stderr] | ^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | dbln!("z_ln {}", 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | dbln!("z_ln {}/{}", 1, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | info!("info\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | infoln!("infoln"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `info` which comes from the expansion of the macro `infoln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | warn!("warn\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | warnln!("warnln"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `warn` which comes from the expansion of the macro `warnln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | error!("error\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> examples/main.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | errorln!("errorln"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `error` which comes from the expansion of the macro `errorln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stderr` (test "main") generated 5 warnings [INFO] [stderr] warning: `stderr` (example "main") generated 28 warnings [INFO] [stderr] warning: `stderr` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stderr-ab184b1b0bdfdf21) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test log::lvl::lvl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/main.rs (/opt/rustwide/target/debug/deps/main-1e016a8ca3bce32b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] [Fatal!]#main:38:5 I'm angry !!! [INFO] [stderr] err!(expr\n) [INFO] [stderr] err!(String: vec![1, 2, 3, 4, 5]) [INFO] [stderr] /opt/rustwide/target/debug/deps/main-1e016a8ca3bce32b: [1, 2, 3, 4, 5] [INFO] [stderr] errln!(expr) [INFO] [stderr] errst!(expr\n) [INFO] [stderr] errst!(String: vec![1, 2, 3, 4, 5]) [INFO] [stderr] /opt/rustwide/target/debug/deps/main-1e016a8ca3bce32b: [1, 2, 3, 4, 5] [INFO] [stderr] errstln!(expr) [INFO] [stdout] test main ... ok [INFO] [stdout] test fun - should panic ... ok [INFO] [stderr] Doc-tests stderr [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/static_mut.rs - StaticMut (line 12) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bbe13b4dc1fcc6438bc8c984717534db20b17ed9dc1dc68dba2ba413442187c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe13b4dc1fcc6438bc8c984717534db20b17ed9dc1dc68dba2ba413442187c9", kill_on_drop: false }` [INFO] [stdout] bbe13b4dc1fcc6438bc8c984717534db20b17ed9dc1dc68dba2ba413442187c9