[INFO] fetching crate doubly-linked-list 0.2.0...
[INFO] checking doubly-linked-list-0.2.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate doubly-linked-list 0.2.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate doubly-linked-list 0.2.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf57e8f1014e583b3467d8d90552284297e389f635c680805ee7cf8f3e977631
[INFO] running `Command { std: "docker" "start" "-a" "bf57e8f1014e583b3467d8d90552284297e389f635c680805ee7cf8f3e977631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf57e8f1014e583b3467d8d90552284297e389f635c680805ee7cf8f3e977631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf57e8f1014e583b3467d8d90552284297e389f635c680805ee7cf8f3e977631", kill_on_drop: false }`
[INFO] [stdout] bf57e8f1014e583b3467d8d90552284297e389f635c680805ee7cf8f3e977631
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36fc0635982032457f8a0236c2e54c2510b3c5d2cd0316e31031cdc082f2cb9d
[INFO] running `Command { std: "docker" "start" "-a" "36fc0635982032457f8a0236c2e54c2510b3c5d2cd0316e31031cdc082f2cb9d", 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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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" "36fc0635982032457f8a0236c2e54c2510b3c5d2cd0316e31031cdc082f2cb9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36fc0635982032457f8a0236c2e54c2510b3c5d2cd0316e31031cdc082f2cb9d", kill_on_drop: false }`
[INFO] [stdout] 36fc0635982032457f8a0236c2e54c2510b3c5d2cd0316e31031cdc082f2cb9d
[INFO] checking doubly-linked-list-0.2.0 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate doubly-linked-list 0.2.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate doubly-linked-list 0.2.0 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 233ebc502947a58167aee99a0a48ba3bb60cdad5247c39d5657869dd878cd204
[INFO] running `Command { std: "docker" "start" "-a" "233ebc502947a58167aee99a0a48ba3bb60cdad5247c39d5657869dd878cd204", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "233ebc502947a58167aee99a0a48ba3bb60cdad5247c39d5657869dd878cd204", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "233ebc502947a58167aee99a0a48ba3bb60cdad5247c39d5657869dd878cd204", kill_on_drop: false }`
[INFO] [stdout] 233ebc502947a58167aee99a0a48ba3bb60cdad5247c39d5657869dd878cd204
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6477fbdd43ab3c92de7e8224dafba014952fa1ae9778de3eda85e3c39474b28
[INFO] running `Command { std: "docker" "start" "-a" "f6477fbdd43ab3c92de7e8224dafba014952fa1ae9778de3eda85e3c39474b28", 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/72eda894eb3548c7ba774079ce0afab42958d4ee/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/72eda894eb3548c7ba774079ce0afab42958d4ee/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/72eda894eb3548c7ba774079ce0afab42958d4ee/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/72eda894eb3548c7ba774079ce0afab42958d4ee/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" "f6477fbdd43ab3c92de7e8224dafba014952fa1ae9778de3eda85e3c39474b28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6477fbdd43ab3c92de7e8224dafba014952fa1ae9778de3eda85e3c39474b28", kill_on_drop: false }`
[INFO] [stdout] f6477fbdd43ab3c92de7e8224dafba014952fa1ae9778de3eda85e3c39474b28
