[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#1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73 for pr-78461 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliseJane%2Flinked-lists" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EliseJane/linked-lists on toolchain 1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/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: "/workspace/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1aa6f944e26bbd27e714807e99baac06380b1493fe0aec8835f3bec3e05a4a7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a1aa6f944e26bbd27e714807e99baac06380b1493fe0aec8835f3bec3e05a4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1aa6f944e26bbd27e714807e99baac06380b1493fe0aec8835f3bec3e05a4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1aa6f944e26bbd27e714807e99baac06380b1493fe0aec8835f3bec3e05a4a7", kill_on_drop: false }` [INFO] [stdout] a1aa6f944e26bbd27e714807e99baac06380b1493fe0aec8835f3bec3e05a4a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b64cb27c9d53a97ca2a4a3b9d01177f7ca7aa4c38b90f0fec6424987db37d194 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b64cb27c9d53a97ca2a4a3b9d01177f7ca7aa4c38b90f0fec6424987db37d194", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | help: remove the lifetime annotation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unmatched angle bracket [INFO] [stdout] --> src/second.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | fn next(&'a mut self) -> Option> { [INFO] [stdout] | ^^ help: remove extra angle bracket [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: borrow expressions cannot be annotated with lifetimes [INFO] [stdout] --> src/second.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | self.next = node.next.map(|node| &'a *node); [INFO] [stdout] | ^--^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | annotated with lifetime here [INFO] [stdout] | help: remove the lifetime annotation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: borrow expressions cannot be annotated with lifetimes [INFO] [stdout] --> src/second.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | &'a node.elem [INFO] [stdout] | ^--^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | annotated with lifetime here [INFO] [stdout] | help: remove the lifetime annotation [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] | help: remove the lifetime annotation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unmatched angle bracket [INFO] [stdout] --> src/second.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | fn next(&'a mut self) -> Option> { [INFO] [stdout] | ^^ help: remove extra angle bracket [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: borrow expressions cannot be annotated with lifetimes [INFO] [stdout] --> src/second.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | self.next = node.next.map(|node| &'a *node); [INFO] [stdout] | ^--^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | annotated with lifetime here [INFO] [stdout] | help: remove the lifetime annotation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: borrow expressions cannot be annotated with lifetimes [INFO] [stdout] --> src/second.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | &'a node.elem [INFO] [stdout] | ^--^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | annotated with lifetime here [INFO] [stdout] | help: remove the lifetime annotation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/second.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | fn next(&'a mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut second::Iter<'a, T>) -> Option<_>` [INFO] [stdout] found fn pointer `fn(&'a mut second::Iter<'a, T>) -> Option<_>` [INFO] [stdout] note: the anonymous lifetime #1 defined on the method body at 82:5... [INFO] [stdout] --> src/second.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | fn next(&'a mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined on the impl at 80:6 [INFO] [stdout] --> src/second.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | impl<'a, T> Iterator for Iter<'a, T> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/second.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | fn next(&'a mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut second::Iter<'a, T>) -> Option<_>` [INFO] [stdout] found fn pointer `fn(&'a mut second::Iter<'a, T>) -> Option<_>` [INFO] [stdout] note: the anonymous lifetime #1 defined on the method body at 82:5... [INFO] [stdout] --> src/second.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | fn next(&'a mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined on the impl at 80:6 [INFO] [stdout] --> src/second.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | impl<'a, T> Iterator for Iter<'a, T> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b64cb27c9d53a97ca2a4a3b9d01177f7ca7aa4c38b90f0fec6424987db37d194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b64cb27c9d53a97ca2a4a3b9d01177f7ca7aa4c38b90f0fec6424987db37d194", kill_on_drop: false }` [INFO] [stdout] b64cb27c9d53a97ca2a4a3b9d01177f7ca7aa4c38b90f0fec6424987db37d194