[INFO] cloning repository https://github.com/EliseJane/linked-lists
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EliseJane/linked-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliseJane%2Flinked-lists", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliseJane%2Flinked-lists'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3e5579342cc41717f494106c3bcbf16f1d0c6ece
[INFO] checking EliseJane/linked-lists against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliseJane%2Flinked-lists" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/EliseJane/linked-lists
[INFO] finished tweaking git repo https://github.com/EliseJane/linked-lists
[INFO] tweaked toml for git repo https://github.com/EliseJane/linked-lists written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EliseJane/linked-lists on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EliseJane/linked-lists 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d80f71eb39ffc63c08cd56b2836b8aefd1bd718518d7d748852054203d2eb8e4
[INFO] running `Command { std: "docker" "start" "-a" "d80f71eb39ffc63c08cd56b2836b8aefd1bd718518d7d748852054203d2eb8e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d80f71eb39ffc63c08cd56b2836b8aefd1bd718518d7d748852054203d2eb8e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d80f71eb39ffc63c08cd56b2836b8aefd1bd718518d7d748852054203d2eb8e4", kill_on_drop: false }`
[INFO] [stdout] d80f71eb39ffc63c08cd56b2836b8aefd1bd718518d7d748852054203d2eb8e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a05ea54e22c07a526eb0b523860cb934f7c17631fc8d96b4360626386c3f84c
[INFO] running `Command { std: "docker" "start" "-a" "7a05ea54e22c07a526eb0b523860cb934f7c17631fc8d96b4360626386c3f84c", kill_on_drop: false }`
[INFO] [stderr]     Checking lists v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: borrow expressions cannot be annotated with lifetimes
[INFO] [stdout]   --> src/second.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 &'a *node
[INFO] [stdout]    |                 ^---^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  annotated with lifetime here
[INFO] [stdout]    |
[INFO] [stdout] help: remove the lifetime annotation
[INFO] [stdout]    |
[INFO] [stdout] 30 -                 &'a *node
[INFO] [stdout] 30 +                 &*node
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `>`
[INFO] [stdout]   --> src/second.rs:82:48
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl<'a, T> Iterator for Iter<'a, T> {
[INFO] [stdout]    |                                      - while parsing this item list starting here
[INFO] [stdout] 81 |     type Item = &'a T;
[INFO] [stdout] 82 |     fn next(&'a mut self) -> Option<Self::Item>> {
[INFO] [stdout]    |                                                ^ expected one of `!`, `+`, `::`, `where`, or `{`
[INFO] [stdout] ...
[INFO] [stdout] 88 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: borrow expressions cannot be annotated with lifetimes
[INFO] [stdout]   --> src/second.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 &'a *node
[INFO] [stdout]    |                 ^---^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  annotated with lifetime here
[INFO] [stdout]    |
[INFO] [stdout] help: remove the lifetime annotation
[INFO] [stdout]    |
[INFO] [stdout] 30 -                 &'a *node
[INFO] [stdout] 30 +                 &*node
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `next`
[INFO] [stdout]   --> src/second.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl<'a, T> Iterator for Iter<'a, T> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `next` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn next(&mut self) -> Option<<Self as Iterator>::Item> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `>`
[INFO] [stdout]   --> src/second.rs:82:48
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl<'a, T> Iterator for Iter<'a, T> {
[INFO] [stdout]    |                                      - while parsing this item list starting here
[INFO] [stdout] 81 |     type Item = &'a T;
[INFO] [stdout] 82 |     fn next(&'a mut self) -> Option<Self::Item>> {
[INFO] [stdout]    |                                                ^ expected one of `!`, `+`, `::`, `where`, or `{`
[INFO] [stdout] ...
[INFO] [stdout] 88 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return reference to local data `*node`
[INFO] [stdout]   --> src/second.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 &'a *node
[INFO] [stdout]    |                 ^^^^^^^^^ returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.head` which is behind a shared reference
[INFO] [stdout]   --> src/second.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |               next: self.head.map(|node| {
[INFO] [stdout]    |  ___________________^^^^^^^^^_-
[INFO] [stdout]    | |                   |
[INFO] [stdout]    | |                   help: consider calling `.as_ref()` or `.as_mut()` to borrow the type's contents
[INFO] [stdout]    | |                   move occurs because `self.head` has type `Option<Box<second::Node<T>>>`, which does not implement the `Copy` trait
[INFO] [stdout] 30 | |                 &'a *node
[INFO] [stdout] 31 | |             })
[INFO] [stdout]    | |______________- `self.head` moved due to this method call
[INFO] [stdout]    |
[INFO] [stdout] note: `Option::<T>::map` takes ownership of the receiver `self`, which moves `self.head`
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:1141:22
[INFO] [stdout] help: you could `clone` the value and consume it, if the `second::Node<T>: Clone` trait bound could be satisfied
[INFO] [stdout]    |
[INFO] [stdout] 29 |             next: <Option<Box<second::Node<T>>> as Clone>::clone(&self.head).map(|node| {
[INFO] [stdout]    |                   ++++++++++++++++++++++++++++++++++++++++++++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0507, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `next`
[INFO] [stdout]   --> src/second.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl<'a, T> Iterator for Iter<'a, T> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `next` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn next(&mut self) -> Option<<Self as Iterator>::Item> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lists` (lib test) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0515]: cannot return reference to local data `*node`
[INFO] [stdout]   --> src/second.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 &'a *node
[INFO] [stdout]    |                 ^^^^^^^^^ returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.head` which is behind a shared reference
[INFO] [stdout]   --> src/second.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |               next: self.head.map(|node| {
[INFO] [stdout]    |  ___________________^^^^^^^^^_-
[INFO] [stdout]    | |                   |
[INFO] [stdout]    | |                   help: consider calling `.as_ref()` or `.as_mut()` to borrow the type's contents
[INFO] [stdout]    | |                   move occurs because `self.head` has type `Option<Box<second::Node<T>>>`, which does not implement the `Copy` trait
[INFO] [stdout] 30 | |                 &'a *node
[INFO] [stdout] 31 | |             })
[INFO] [stdout]    | |______________- `self.head` moved due to this method call
[INFO] [stdout]    |
[INFO] [stdout] note: `Option::<T>::map` takes ownership of the receiver `self`, which moves `self.head`
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:1141:22
[INFO] [stdout] help: you could `clone` the value and consume it, if the `second::Node<T>: Clone` trait bound could be satisfied
[INFO] [stdout]    |
[INFO] [stdout] 29 |             next: <Option<Box<second::Node<T>>> as Clone>::clone(&self.head).map(|node| {
[INFO] [stdout]    |                   ++++++++++++++++++++++++++++++++++++++++++++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0507, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lists` (lib) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "7a05ea54e22c07a526eb0b523860cb934f7c17631fc8d96b4360626386c3f84c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a05ea54e22c07a526eb0b523860cb934f7c17631fc8d96b4360626386c3f84c", kill_on_drop: false }`
[INFO] [stdout] 7a05ea54e22c07a526eb0b523860cb934f7c17631fc8d96b4360626386c3f84c
