[INFO] cloning repository https://github.com/Isaac-Lozano/i3status-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Isaac-Lozano/i3status-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2Fi3status-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2Fi3status-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f59eb3f9d04f09b3298cf26b7628e8362e8b418e
[INFO] testing Isaac-Lozano/i3status-rs against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2Fi3status-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Isaac-Lozano/i3status-rs
[INFO] finished tweaking git repo https://github.com/Isaac-Lozano/i3status-rs
[INFO] tweaked toml for git repo https://github.com/Isaac-Lozano/i3status-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Isaac-Lozano/i3status-rs on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Isaac-Lozano/i3status-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.1.36
[INFO] [stderr]   Downloaded serde_derive v1.0.11
[INFO] [stderr]   Downloaded serde_json v1.0.2
[INFO] [stderr]   Downloaded serde v1.0.11
[INFO] [stderr]   Downloaded num-iter v0.1.32
[INFO] [stderr]   Downloaded serde_derive_internals v0.15.1
[INFO] [stderr]   Downloaded num-integer v0.1.32
[INFO] [stderr]   Downloaded time v0.1.35
[INFO] [stderr]   Downloaded num v0.1.36
[INFO] [stderr]   Downloaded libc v0.2.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5
[INFO] running `Command { std: "docker" "start" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling num-traits v0.1.36
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling libc v0.2.8
[INFO] [stderr]    Compiling itoa v0.3.1
[INFO] [stderr]    Compiling dtoa v0.4.1
[INFO] [stderr]    Compiling serde v1.0.11
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling time v0.1.35
[INFO] [stderr]    Compiling num-integer v0.1.32
[INFO] [stderr]    Compiling num-iter v0.1.32
[INFO] [stderr]    Compiling num v0.1.36
[INFO] [stderr]    Compiling chrono v0.2.25
[INFO] [stderr]    Compiling serde_derive_internals v0.15.1
[INFO] [stderr]    Compiling serde_derive v1.0.11
[INFO] [stderr]    Compiling serde_json v1.0.2
[INFO] [stderr]    Compiling i3status v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/block/net_usage.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 |             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stdout]    |                                    ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stdout] 51 +             stats = Some(ptr::read((*addr).ifa_data as *const rtnl_link_stats).clone());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/i3status.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     block: Rc<RefCell<Box<Block>>>,
[INFO] [stdout]    |                           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 18 |     block: Rc<RefCell<Box<dyn Block>>>,
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/i3status.rs:50:47
[INFO] [stdout]    |
[INFO] [stdout] 50 |     block_map: HashMap<String, Rc<RefCell<Box<Block>>>>,
[INFO] [stdout]    |                                               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     block_map: HashMap<String, Rc<RefCell<Box<dyn Block>>>>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Clone,Copy,Debug,Serialize)]
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `StatusAlign` is not local
[INFO] [stdout]    |                           `Serialize` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StatusAlign`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:43:27
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Clone,Copy,Debug,Serialize)]
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `StatusMarkup` is not local
[INFO] [stdout]    |                           `Serialize` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StatusMarkup`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Clone,Debug,Serialize)]
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Status` is not local
[INFO] [stdout]    |                      `Serialize` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Status`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.83s
[INFO] running `Command { std: "docker" "inspect" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/block/net_usage.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 |             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stdout]    |                                    ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stdout] 51 +             stats = Some(ptr::read((*addr).ifa_data as *const rtnl_link_stats).clone());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/i3status.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     block: Rc<RefCell<Box<Block>>>,
[INFO] [stdout]    |                           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 18 |     block: Rc<RefCell<Box<dyn Block>>>,
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/i3status.rs:50:47
[INFO] [stdout]    |
[INFO] [stdout] 50 |     block_map: HashMap<String, Rc<RefCell<Box<Block>>>>,
[INFO] [stdout]    |                                               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     block_map: HashMap<String, Rc<RefCell<Box<dyn Block>>>>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Clone,Copy,Debug,Serialize)]
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `StatusAlign` is not local
[INFO] [stdout]    |                           `Serialize` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StatusAlign`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:43:27
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Clone,Copy,Debug,Serialize)]
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `StatusMarkup` is not local
[INFO] [stdout]    |                           `Serialize` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StatusMarkup`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Clone,Debug,Serialize)]
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Status` is not local
[INFO] [stdout]    |                      `Serialize` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Status`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling i3status v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/block/net_usage.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 |             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stdout]    |                                    ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stdout] 51 +             stats = Some(ptr::read((*addr).ifa_data as *const rtnl_link_stats).clone());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/i3status.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     block: Rc<RefCell<Box<Block>>>,
[INFO] [stdout]    |                           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 18 |     block: Rc<RefCell<Box<dyn Block>>>,
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/i3status.rs:50:47
[INFO] [stdout]    |
[INFO] [stdout] 50 |     block_map: HashMap<String, Rc<RefCell<Box<Block>>>>,
[INFO] [stdout]    |                                               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     block_map: HashMap<String, Rc<RefCell<Box<dyn Block>>>>,
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Clone,Copy,Debug,Serialize)]
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `StatusAlign` is not local
[INFO] [stdout]    |                           `Serialize` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StatusAlign`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:43:27
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Clone,Copy,Debug,Serialize)]
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `StatusMarkup` is not local
[INFO] [stdout]    |                           `Serialize` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StatusMarkup`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block/mod.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Clone,Debug,Serialize)]
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Status` is not local
[INFO] [stdout]    |                      `Serialize` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Status`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/block/net_usage.rs:51:36
[INFO] [stderr]    |
[INFO] [stderr] 51 |             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stderr]    |                                    ^                                          ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 51 -             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stderr] 51 +             stats = Some(ptr::read((*addr).ifa_data as *const rtnl_link_stats).clone());
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/i3status.rs:18:27
[INFO] [stderr]    |
[INFO] [stderr] 18 |     block: Rc<RefCell<Box<Block>>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 18 |     block: Rc<RefCell<Box<dyn Block>>>,
[INFO] [stderr]    |                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/i3status.rs:50:47
[INFO] [stderr]    |
[INFO] [stderr] 50 |     block_map: HashMap<String, Rc<RefCell<Box<Block>>>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 50 |     block_map: HashMap<String, Rc<RefCell<Box<dyn Block>>>>,
[INFO] [stderr]    |                                               +++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/block/mod.rs:32:27
[INFO] [stderr]    |
[INFO] [stderr] 32 | #[derive(Clone,Copy,Debug,Serialize)]
[INFO] [stderr]    |                           ^^^^^^^^^
[INFO] [stderr]    |                           |
[INFO] [stderr]    |                           `StatusAlign` is not local
[INFO] [stderr]    |                           `Serialize` is not local
[INFO] [stderr]    |                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StatusAlign`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/block/mod.rs:43:27
[INFO] [stderr]    |
[INFO] [stderr] 43 | #[derive(Clone,Copy,Debug,Serialize)]
[INFO] [stderr]    |                           ^^^^^^^^^
[INFO] [stderr]    |                           |
[INFO] [stderr]    |                           `StatusMarkup` is not local
[INFO] [stderr]    |                           `Serialize` is not local
[INFO] [stderr]    |                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StatusMarkup`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/block/mod.rs:57:22
[INFO] [stderr]    |
[INFO] [stderr] 57 | #[derive(Clone,Debug,Serialize)]
[INFO] [stderr]    |                      ^^^^^^^^^
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      `Status` is not local
[INFO] [stderr]    |                      `Serialize` is not local
[INFO] [stderr]    |                      move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Status`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `i3status` (lib) generated 6 warnings (run `cargo fix --lib -p i3status` to apply 3 suggestions)
[INFO] [stderr] warning: `i3status` (lib test) generated 6 warnings (6 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/i3status-3233850643b50667)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/rust_status.rs (/opt/rustwide/target/debug/deps/rust_status-70b2d8f716d17c60)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests i3status
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/block/net_usage.rs:51:36
[INFO] [stderr]    |
[INFO] [stderr] 51 |             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stderr]    |                                    ^                                          ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 51 -             stats = Some(ptr::read(((*addr).ifa_data as *const rtnl_link_stats)).clone());
[INFO] [stderr] 51 +             stats = Some(ptr::read((*addr).ifa_data as *const rtnl_link_stats).clone());
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 18) - compile ... FAILED
[INFO] [stdout] test src/i3status.rs - i3status::I3Status::new (line 58) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 18) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `&mut Time<'_>: Block` is not satisfied
[INFO] [stdout]   --> src/lib.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |     i3s.add_block(&mut time_block, "Time");
[INFO] [stdout]    |         --------- ^^^^^^^^^^^^^^^ the trait `Block` is not implemented for `&mut Time<'_>`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `I3Status::add_block`
[INFO] [stdout]   --> src/i3status.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn add_block<B: Block + 'static>(&mut self, block: B, name: &str) {
[INFO] [stdout]    |                         ^^^^^ required by this bound in `I3Status::add_block`
[INFO] [stdout] help: consider removing the leading `&`-reference
[INFO] [stdout]    |
[INFO] [stdout] 27 -     i3s.add_block(&mut time_block, "Time");
[INFO] [stdout] 27 +     i3s.add_block(time_block, "Time");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 18)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5", kill_on_drop: false }`
[INFO] [stdout] b7e6b2881952bd9a5f6737c1db805a72b3dfa515d5036345969bdf124828dfa5
