[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 1)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque/objects/info: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 2)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque/config.lock
[INFO] [stderr] fatal: could not set 'core.filemode' to 'true'
[WARN] Retrying crate fetch in 3 seconds (attempt 3)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] error: copy-fd: write returned: No space left on device
[INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque/hooks/post-update.sample': No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 4)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 5)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 6)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 7)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 8)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 9)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 10)
[INFO] cloning repository https://github.com/djmitche/deque
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmitche/deque" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9bc4694d6889503b04eb460adbeef79547a480fe
[INFO] checking djmitche/deque against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmitche%2Fdeque" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/djmitche/deque
[INFO] finished tweaking git repo https://github.com/djmitche/deque
[INFO] tweaked toml for git repo https://github.com/djmitche/deque written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/djmitche/deque on toolchain 32cd9114712a24010b0583624dc52ac302194128
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/djmitche/deque 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded static-rc v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a423490cdd36fd7be9c2a54d9c245b0b1cad0e57c0c99cdebbeac0c228c114da
[INFO] running `Command { std: "docker" "start" "-a" "a423490cdd36fd7be9c2a54d9c245b0b1cad0e57c0c99cdebbeac0c228c114da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a423490cdd36fd7be9c2a54d9c245b0b1cad0e57c0c99cdebbeac0c228c114da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a423490cdd36fd7be9c2a54d9c245b0b1cad0e57c0c99cdebbeac0c228c114da", kill_on_drop: false }`
[INFO] [stdout] a423490cdd36fd7be9c2a54d9c245b0b1cad0e57c0c99cdebbeac0c228c114da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9a686230d9cbf154e9d6079f6f4096e237d2b307c3822c43e0b744a31c4db00a
[INFO] running `Command { std: "docker" "start" "-a" "9a686230d9cbf154e9d6079f6f4096e237d2b307c3822c43e0b744a31c4db00a", kill_on_drop: false }`
[INFO] [stderr]     Checking static-rc v0.4.0
[INFO] [stderr]     Checking deque v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `head_link` does not live long enough
[INFO] [stdout]    --> src/lib.rs:103:52
[INFO] [stdout]     |
[INFO] [stdout] 97  |         let head_link = self.head.take().expect("List.head should be Some(_)");
[INFO] [stdout]     |             --------- binding `head_link` declared here
[INFO] [stdout] ...
[INFO] [stdout] 103 |         if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout]     |                                  ------------------^^^^^^^^^^--------------
[INFO] [stdout]     |                                  |                 |
[INFO] [stdout]     |                                  |                 borrowed value does not live long enough
[INFO] [stdout]     |                                  a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 125 |     }
[INFO] [stdout]     |     -
[INFO] [stdout]     |     |
[INFO] [stdout]     |     `head_link` dropped here while still borrowed
[INFO] [stdout]     |     ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Elt<T>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]             consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 103 ~         let x = if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout] 104 |             let prev_elt = StaticRc::get_ref(&prev_link);
[INFO] [stdout] ...
[INFO] [stdout] 123 |             None
[INFO] [stdout] 124 ~         }; x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `head_link` does not live long enough
[INFO] [stdout]    --> src/lib.rs:103:52
[INFO] [stdout]     |
[INFO] [stdout] 97  |         let head_link = self.head.take().expect("List.head should be Some(_)");
[INFO] [stdout]     |             --------- binding `head_link` declared here
[INFO] [stdout] ...
[INFO] [stdout] 103 |         if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout]     |                                  ------------------^^^^^^^^^^--------------
[INFO] [stdout]     |                                  |                 |
[INFO] [stdout]     |                                  |                 borrowed value does not live long enough
[INFO] [stdout]     |                                  a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 125 |     }
[INFO] [stdout]     |     -
[INFO] [stdout]     |     |
[INFO] [stdout]     |     `head_link` dropped here while still borrowed
[INFO] [stdout]     |     ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Elt<T>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]             consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 103 ~         let x = if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout] 104 |             let prev_elt = StaticRc::get_ref(&prev_link);
[INFO] [stdout] ...
[INFO] [stdout] 123 |             None
[INFO] [stdout] 124 ~         }; x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `head_link` because it is borrowed
[INFO] [stdout]    --> src/lib.rs:116:68
[INFO] [stdout]     |
[INFO] [stdout] 97  |         let head_link = self.head.take().expect("List.head should be Some(_)");
[INFO] [stdout]     |             --------- binding `head_link` declared here
[INFO] [stdout] ...
[INFO] [stdout] 103 |         if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout]     |                                  ------------------------------------------
[INFO] [stdout]     |                                  |                 |
[INFO] [stdout]     |                                  |                 borrow of `head_link` occurs here
[INFO] [stdout]     |                                  a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 116 |             let full: FullLink<T> = StaticRc::join(prev_next_link, head_link);
[INFO] [stdout]     |                                                                    ^^^^^^^^^ move out of `head_link` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 125 |     }
[INFO] [stdout]     |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Elt<T>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]             consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 103 ~         let x = if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout] 104 |             let prev_elt = StaticRc::get_ref(&prev_link);
[INFO] [stdout] ...
[INFO] [stdout] 123 |             None
[INFO] [stdout] 124 ~         }; x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `head_link` because it is borrowed
[INFO] [stdout]    --> src/lib.rs:122:30
[INFO] [stdout]     |
[INFO] [stdout] 97  |         let head_link = self.head.take().expect("List.head should be Some(_)");
[INFO] [stdout]     |             --------- binding `head_link` declared here
[INFO] [stdout] ...
[INFO] [stdout] 103 |         if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout]     |                                  ------------------------------------------
[INFO] [stdout]     |                                  |                 |
[INFO] [stdout]     |                                  |                 borrow of `head_link` occurs here
[INFO] [stdout]     |                                  a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 122 |             self.head = Some(head_link);
[INFO] [stdout]     |                              ^^^^^^^^^ move out of `head_link` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 125 |     }
[INFO] [stdout]     |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Elt<T>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]             consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 103 ~         let x = if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout] 104 |             let prev_elt = StaticRc::get_ref(&prev_link);
[INFO] [stdout] ...
[INFO] [stdout] 123 |             None
[INFO] [stdout] 124 ~         }; x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `head_link` because it is borrowed
[INFO] [stdout]    --> src/lib.rs:116:68
[INFO] [stdout]     |
[INFO] [stdout] 97  |         let head_link = self.head.take().expect("List.head should be Some(_)");
[INFO] [stdout]     |             --------- binding `head_link` declared here
[INFO] [stdout] ...
[INFO] [stdout] 103 |         if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout]     |                                  ------------------------------------------
[INFO] [stdout]     |                                  |                 |
[INFO] [stdout]     |                                  |                 borrow of `head_link` occurs here
[INFO] [stdout]     |                                  a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 116 |             let full: FullLink<T> = StaticRc::join(prev_next_link, head_link);
[INFO] [stdout]     |                                                                    ^^^^^^^^^ move out of `head_link` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 125 |     }
[INFO] [stdout]     |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Elt<T>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]             consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 103 ~         let x = if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout] 104 |             let prev_elt = StaticRc::get_ref(&prev_link);
[INFO] [stdout] ...
[INFO] [stdout] 123 |             None
[INFO] [stdout] 124 ~         }; x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0505, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0505`.
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `head_link` because it is borrowed
[INFO] [stdout]    --> src/lib.rs:122:30
[INFO] [stdout]     |
[INFO] [stdout] 97  |         let head_link = self.head.take().expect("List.head should be Some(_)");
[INFO] [stdout]     |             --------- binding `head_link` declared here
[INFO] [stdout] ...
[INFO] [stdout] 103 |         if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout]     |                                  ------------------------------------------
[INFO] [stdout]     |                                  |                 |
[INFO] [stdout]     |                                  |                 borrow of `head_link` occurs here
[INFO] [stdout]     |                                  a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 122 |             self.head = Some(head_link);
[INFO] [stdout]     |                              ^^^^^^^^^ move out of `head_link` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 125 |     }
[INFO] [stdout]     |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Elt<T>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]             consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 103 ~         let x = if let Some(prev_link) = StaticRc::get_ref(&head_link).borrow_mut().prev.take() {
[INFO] [stdout] 104 |             let prev_elt = StaticRc::get_ref(&prev_link);
[INFO] [stdout] ...
[INFO] [stdout] 123 |             None
[INFO] [stdout] 124 ~         }; x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0505, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0505`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `deque` (lib test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `deque` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "9a686230d9cbf154e9d6079f6f4096e237d2b307c3822c43e0b744a31c4db00a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a686230d9cbf154e9d6079f6f4096e237d2b307c3822c43e0b744a31c4db00a", kill_on_drop: false }`
[INFO] [stdout] 9a686230d9cbf154e9d6079f6f4096e237d2b307c3822c43e0b744a31c4db00a
