[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] testing EliseJane/linked-lists against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[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 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70aa73c1a9efc52474ba76a39fd1c386fae6d34a610f6ccde3d924f9ff31c998
[INFO] running `Command { std: "docker" "start" "-a" "70aa73c1a9efc52474ba76a39fd1c386fae6d34a610f6ccde3d924f9ff31c998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70aa73c1a9efc52474ba76a39fd1c386fae6d34a610f6ccde3d924f9ff31c998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70aa73c1a9efc52474ba76a39fd1c386fae6d34a610f6ccde3d924f9ff31c998", kill_on_drop: false }`
[INFO] [stdout] 70aa73c1a9efc52474ba76a39fd1c386fae6d34a610f6ccde3d924f9ff31c998
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd93404445d7c9b3cbf7d9954b947c296dd522fac0dedba2eaea4e86c2349974
[INFO] running `Command { std: "docker" "start" "-a" "dd93404445d7c9b3cbf7d9954b947c296dd522fac0dedba2eaea4e86c2349974", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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[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[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/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/option.rs:1159:28
[INFO] [stdout] note: if `second::Node<T>` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/second.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Node<T> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 29 |             next: self.head.map(|node| {
[INFO] [stdout]    |                   --------- you could clone this value
[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" "dd93404445d7c9b3cbf7d9954b947c296dd522fac0dedba2eaea4e86c2349974", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd93404445d7c9b3cbf7d9954b947c296dd522fac0dedba2eaea4e86c2349974", kill_on_drop: false }`
[INFO] [stdout] dd93404445d7c9b3cbf7d9954b947c296dd522fac0dedba2eaea4e86c2349974
