[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#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[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] validating manifest of git repo https://github.com/EliseJane/linked-lists on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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] 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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 74ffda9d1aa7338ad362b73557ff0bd0263900d2c3c3ee257f846136de201d98
[INFO] running `Command { std: "docker" "start" "-a" "74ffda9d1aa7338ad362b73557ff0bd0263900d2c3c3ee257f846136de201d98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74ffda9d1aa7338ad362b73557ff0bd0263900d2c3c3ee257f846136de201d98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74ffda9d1aa7338ad362b73557ff0bd0263900d2c3c3ee257f846136de201d98", kill_on_drop: false }`
[INFO] [stdout] 74ffda9d1aa7338ad362b73557ff0bd0263900d2c3c3ee257f846136de201d98
[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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f1b05fd40d99196551616016dc24179c90d89861accf3214f2e6f734e8839f2
[INFO] running `Command { std: "docker" "start" "-a" "4f1b05fd40d99196551616016dc24179c90d89861accf3214f2e6f734e8839f2", 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: 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[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[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/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/core/src/option.rs:1114: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] 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/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/core/src/option.rs:1114: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] 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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lists` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "4f1b05fd40d99196551616016dc24179c90d89861accf3214f2e6f734e8839f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f1b05fd40d99196551616016dc24179c90d89861accf3214f2e6f734e8839f2", kill_on_drop: false }`
[INFO] [stdout] 4f1b05fd40d99196551616016dc24179c90d89861accf3214f2e6f734e8839f2
