[INFO] cloning repository https://github.com/nhyne/rs-list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nhyne/rs-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/applypatch-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list/hooks/applypatch-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/nhyne/rs-list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nhyne/rs-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 624c2d4fd877b3ec3aa767e68b2e8ab41b7d19d0 [INFO] checking nhyne/rs-list against master#4455c8937007f3cc3c078375a335d86dbab391ce for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list" "/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/nhyne/rs-list [INFO] finished tweaking git repo https://github.com/nhyne/rs-list [INFO] tweaked toml for git repo https://github.com/nhyne/rs-list written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nhyne/rs-list on toolchain 4455c8937007f3cc3c078375a335d86dbab391ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nhyne/rs-list 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" "+4455c8937007f3cc3c078375a335d86dbab391ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea9df1a593990903f6243b062cc5e57470b811283b5c5e9720f5239b9db8ee2a [INFO] running `Command { std: "docker" "start" "-a" "ea9df1a593990903f6243b062cc5e57470b811283b5c5e9720f5239b9db8ee2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea9df1a593990903f6243b062cc5e57470b811283b5c5e9720f5239b9db8ee2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea9df1a593990903f6243b062cc5e57470b811283b5c5e9720f5239b9db8ee2a", kill_on_drop: false }` [INFO] [stdout] ea9df1a593990903f6243b062cc5e57470b811283b5c5e9720f5239b9db8ee2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4455c8937007f3cc3c078375a335d86dbab391ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5eb9a9ed8798ab31598a078b30535c99a7925117400a5534fa8fc935882f558f [INFO] running `Command { std: "docker" "start" "-a" "5eb9a9ed8798ab31598a078b30535c99a7925117400a5534fa8fc935882f558f", kill_on_drop: false }` [INFO] [stderr] Checking lists v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fourth.rs:73:63 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|node| RefMut::map(node.borrow_mut(), |node| &node.elem)) [INFO] [stdout] | ^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_back` found for struct `fourth::List` in the current scope [INFO] [stdout] --> src/fourth.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct List { [INFO] [stdout] | ------------------ method `pop_back` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 86 | self.0.pop_back() [INFO] [stdout] | ^^^^^^^^ method not found in `List` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed_node` [INFO] [stdout] --> src/second.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(mut boxed_node) = cur_link { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/second.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(mut boxed_node) = cur_link { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `node_ref` does not live long enough [INFO] [stdout] --> src/fourth.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 107 | fn next(&mut self) -> Option { [INFO] [stdout] | --------- lifetime `'1` appears in the type of `self` [INFO] [stdout] 108 | self.0.take().map(|node_ref| { [INFO] [stdout] | -------- binding `node_ref` declared here [INFO] [stdout] 109 | self.0 = node_ref.next.as_ref().map(|head| head.borrow()); [INFO] [stdout] | ^^^^^^^^ ------------- returning this value requires that `node_ref` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] 110 | Ref::map(node_ref, |node| &node.elem) [INFO] [stdout] 111 | }) [INFO] [stdout] | - `node_ref` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `node_ref` because it is borrowed [INFO] [stdout] --> src/fourth.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 107 | fn next(&mut self) -> Option { [INFO] [stdout] | --------- lifetime `'1` appears in the type of `self` [INFO] [stdout] 108 | self.0.take().map(|node_ref| { [INFO] [stdout] | -------- binding `node_ref` declared here [INFO] [stdout] 109 | self.0 = node_ref.next.as_ref().map(|head| head.borrow()); [INFO] [stdout] | -------- ------------- returning this value requires that `node_ref` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrow of `node_ref` occurs here [INFO] [stdout] 110 | Ref::map(node_ref, |node| &node.elem) [INFO] [stdout] | ^^^^^^^^ move out of `node_ref` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fourth.rs:73:63 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|node| RefMut::map(node.borrow_mut(), |node| &node.elem)) [INFO] [stdout] | ^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0597, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `pop_back` found for struct `fourth::List` in the current scope [INFO] [stdout] --> src/fourth.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct List { [INFO] [stdout] | ------------------ method `pop_back` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 86 | self.0.pop_back() [INFO] [stdout] | ^^^^^^^^ method not found in `List` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed_node` [INFO] [stdout] --> src/second.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(mut boxed_node) = cur_link { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/second.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(mut boxed_node) = cur_link { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `node_ref` does not live long enough [INFO] [stdout] --> src/fourth.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 107 | fn next(&mut self) -> Option { [INFO] [stdout] | --------- lifetime `'1` appears in the type of `self` [INFO] [stdout] 108 | self.0.take().map(|node_ref| { [INFO] [stdout] | -------- binding `node_ref` declared here [INFO] [stdout] 109 | self.0 = node_ref.next.as_ref().map(|head| head.borrow()); [INFO] [stdout] | ^^^^^^^^ ------------- returning this value requires that `node_ref` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] 110 | Ref::map(node_ref, |node| &node.elem) [INFO] [stdout] 111 | }) [INFO] [stdout] | - `node_ref` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `node_ref` because it is borrowed [INFO] [stdout] --> src/fourth.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 107 | fn next(&mut self) -> Option { [INFO] [stdout] | --------- lifetime `'1` appears in the type of `self` [INFO] [stdout] 108 | self.0.take().map(|node_ref| { [INFO] [stdout] | -------- binding `node_ref` declared here [INFO] [stdout] 109 | self.0 = node_ref.next.as_ref().map(|head| head.borrow()); [INFO] [stdout] | -------- ------------- returning this value requires that `node_ref` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrow of `node_ref` occurs here [INFO] [stdout] 110 | Ref::map(node_ref, |node| &node.elem) [INFO] [stdout] | ^^^^^^^^ move out of `node_ref` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0597, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5eb9a9ed8798ab31598a078b30535c99a7925117400a5534fa8fc935882f558f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb9a9ed8798ab31598a078b30535c99a7925117400a5534fa8fc935882f558f", kill_on_drop: false }` [INFO] [stdout] 5eb9a9ed8798ab31598a078b30535c99a7925117400a5534fa8fc935882f558f