[INFO] fetching crate doubly-linked-list 0.2.0...
[INFO] checking doubly-linked-list-0.2.0 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate doubly-linked-list 0.2.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate doubly-linked-list 0.2.0 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate doubly-linked-list 0.2.0
[INFO] finished tweaking crates.io crate doubly-linked-list 0.2.0
[INFO] tweaked toml for crates.io crate doubly-linked-list 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded volatile v0.4.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf961ceed48815f454ad0b002a72dd670b36bae7670ac0903418a39a9539f818
[INFO] running `Command { std: "docker" "start" "-a" "bf961ceed48815f454ad0b002a72dd670b36bae7670ac0903418a39a9539f818", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf961ceed48815f454ad0b002a72dd670b36bae7670ac0903418a39a9539f818", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf961ceed48815f454ad0b002a72dd670b36bae7670ac0903418a39a9539f818", kill_on_drop: false }`
[INFO] [stdout] bf961ceed48815f454ad0b002a72dd670b36bae7670ac0903418a39a9539f818
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34f7fa1f460d6556a9dde2323292a8db3853cc7d3e73fa5113eaed32558c1c13
[INFO] running `Command { std: "docker" "start" "-a" "34f7fa1f460d6556a9dde2323292a8db3853cc7d3e73fa5113eaed32558c1c13", kill_on_drop: false }`
[INFO] [stderr]     Checking volatile v0.4.6
[INFO] [stderr]     Checking doubly-linked-list v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(core_intrinsics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use core::iter::Iterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(core_intrinsics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use core::iter::Iterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `list_head` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 46  | / macro_rules! list_head {
[INFO] [stdout] 47  | |     ($ident:ident) => {
[INFO] [stdout] 48  | |         let mut $ident = ListHead::default();
[INFO] [stdout] 49  | |         list_head_init!($ident);
[INFO] [stdout] 50  | |     };
[INFO] [stdout] 51  | | }
[INFO] [stdout]     | |_- the item `list_head` is already defined here
[INFO] [stdout] ...
[INFO] [stdout] 241 |       use super::{list_head, list_head_init};
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `list_head_init` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:241:28
[INFO] [stdout]     |
[INFO] [stdout] 38  | / macro_rules! list_head_init {
[INFO] [stdout] 39  | |     ($ident:expr) => {
[INFO] [stdout] 40  | |         $ident.prev = &$ident as *const _ as *mut _;
[INFO] [stdout] 41  | |         $ident.next = &$ident as *const _ as *mut _;
[INFO] [stdout] 42  | |     };
[INFO] [stdout] 43  | | }
[INFO] [stdout]     | |_- the item `list_head_init` is already defined here
[INFO] [stdout] ...
[INFO] [stdout] 241 |       use super::{list_head, list_head_init};
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |               *$entry = ListHead {
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 162 | |                 prev: core::ptr::null_mut(),
[INFO] [stdout] 163 | |                 next: core::ptr::null_mut(),
[INFO] [stdout] 164 | |             };
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 354 |           list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |           --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |               *$entry = ListHead {
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 162 | |                 prev: core::ptr::null_mut(),
[INFO] [stdout] 163 | |                 next: core::ptr::null_mut(),
[INFO] [stdout] 164 | |             };
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 361 |           list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |           --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `doubly-linked-list` (lib test) due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "34f7fa1f460d6556a9dde2323292a8db3853cc7d3e73fa5113eaed32558c1c13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34f7fa1f460d6556a9dde2323292a8db3853cc7d3e73fa5113eaed32558c1c13", kill_on_drop: false }`
[INFO] [stdout] 34f7fa1f460d6556a9dde2323292a8db3853cc7d3e73fa5113eaed32558c1c13
[INFO] checking doubly-linked-list-0.2.0 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate doubly-linked-list 0.2.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate doubly-linked-list 0.2.0 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate doubly-linked-list 0.2.0
[INFO] finished tweaking crates.io crate doubly-linked-list 0.2.0
[INFO] tweaked toml for crates.io crate doubly-linked-list 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 670631ae4ff69c9d87ab91893e0297732c80eed87c3dc943ac8755e18f7e3ad7
[INFO] running `Command { std: "docker" "start" "-a" "670631ae4ff69c9d87ab91893e0297732c80eed87c3dc943ac8755e18f7e3ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "670631ae4ff69c9d87ab91893e0297732c80eed87c3dc943ac8755e18f7e3ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "670631ae4ff69c9d87ab91893e0297732c80eed87c3dc943ac8755e18f7e3ad7", kill_on_drop: false }`
[INFO] [stdout] 670631ae4ff69c9d87ab91893e0297732c80eed87c3dc943ac8755e18f7e3ad7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8391c79cd601a35534f7d6dd702cc9975d6a5fb950b9e53c50620bbf73f3fc7e
[INFO] running `Command { std: "docker" "start" "-a" "8391c79cd601a35534f7d6dd702cc9975d6a5fb950b9e53c50620bbf73f3fc7e", kill_on_drop: false }`
[INFO] [stderr]     Checking volatile v0.4.6
[INFO] [stderr]     Checking doubly-linked-list v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(core_intrinsics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use core::iter::Iterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(core_intrinsics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use core::iter::Iterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `list_head` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 46  | / macro_rules! list_head {
[INFO] [stdout] 47  | |     ($ident:ident) => {
[INFO] [stdout] 48  | |         let mut $ident = ListHead::default();
[INFO] [stdout] 49  | |         list_head_init!($ident);
[INFO] [stdout] 50  | |     };
[INFO] [stdout] 51  | | }
[INFO] [stdout]     | |_- the item `list_head` is already defined here
[INFO] [stdout] ...
[INFO] [stdout] 241 |       use super::{list_head, list_head_init};
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `list_head_init` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:241:28
[INFO] [stdout]     |
[INFO] [stdout] 38  | / macro_rules! list_head_init {
[INFO] [stdout] 39  | |     ($ident:expr) => {
[INFO] [stdout] 40  | |         $ident.prev = &$ident as *const _ as *mut _;
[INFO] [stdout] 41  | |         $ident.next = &$ident as *const _ as *mut _;
[INFO] [stdout] 42  | |     };
[INFO] [stdout] 43  | | }
[INFO] [stdout]     | |_- the item `list_head_init` is already defined here
[INFO] [stdout] ...
[INFO] [stdout] 241 |       use super::{list_head, list_head_init};
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |               *$entry = ListHead {
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 162 | |                 prev: core::ptr::null_mut(),
[INFO] [stdout] 163 | |                 next: core::ptr::null_mut(),
[INFO] [stdout] 164 | |             };
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 354 |           list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |           --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |               *$entry = ListHead {
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 162 | |                 prev: core::ptr::null_mut(),
[INFO] [stdout] 163 | |                 next: core::ptr::null_mut(),
[INFO] [stdout] 164 | |             };
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 361 |           list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |           --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `doubly-linked-list` (lib test) due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8391c79cd601a35534f7d6dd702cc9975d6a5fb950b9e53c50620bbf73f3fc7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8391c79cd601a35534f7d6dd702cc9975d6a5fb950b9e53c50620bbf73f3fc7e", kill_on_drop: false }`
[INFO] [stdout] 8391c79cd601a35534f7d6dd702cc9975d6a5fb950b9e53c50620bbf73f3fc7e
