[INFO] cloning repository https://github.com/Atul-0515/DSA
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Atul-0515/DSA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtul-0515%2FDSA", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtul-0515%2FDSA'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bfc1e2871add2b4136bbcac38aba08a264180dd1
[INFO] checking Atul-0515/DSA against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtul-0515%2FDSA" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Atul-0515/DSA
[INFO] finished tweaking git repo https://github.com/Atul-0515/DSA
[INFO] tweaked toml for git repo https://github.com/Atul-0515/DSA written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Atul-0515/DSA on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Atul-0515/DSA 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e21db7377c5c148a995e8756b1e2bfae51090c4d1d9f02f96432d1be74d74848
[INFO] running `Command { std: "docker" "start" "-a" "e21db7377c5c148a995e8756b1e2bfae51090c4d1d9f02f96432d1be74d74848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e21db7377c5c148a995e8756b1e2bfae51090c4d1d9f02f96432d1be74d74848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e21db7377c5c148a995e8756b1e2bfae51090c4d1d9f02f96432d1be74d74848", kill_on_drop: false }`
[INFO] [stdout] e21db7377c5c148a995e8756b1e2bfae51090c4d1d9f02f96432d1be74d74848
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82478c99633318ecb38d2b02af3f73b0643caa564ae0bbce5de075d7852ebe0a
[INFO] running `Command { std: "docker" "start" "-a" "82478c99633318ecb38d2b02af3f73b0643caa564ae0bbce5de075d7852ebe0a", kill_on_drop: false }`
[INFO] [stderr]     Checking dsa v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type alias `Link` is never used
[INFO] [stdout]  --> src/linked_list.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type Link<T> = Option<Box<Node<T>>>;
[INFO] [stdout]   |      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/linked_list.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Node<T> {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/linked_list.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Node<T> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 11 |     fn new(elm: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkedList` is never constructed
[INFO] [stdout]   --> src/linked_list.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct LinkedList<T> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push_front`, `pop_front`, `peek`, `peek_mut`, and `is_empty` are never used
[INFO] [stdout]   --> src/linked_list.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl<T> LinkedList<T> {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 20 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn push_front(&mut self, elm: T) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn pop_front(&mut self) -> Option<T> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn peek_mut(&mut self) -> Option<&mut T> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn is_empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntoIter` is never constructed
[INFO] [stdout]   --> src/linked_list.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct IntoIter<T>(LinkedList<T>);
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_iter` is never used
[INFO] [stdout]   --> src/linked_list.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl<T> LinkedList<T> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 70 |     fn into_iter(self) -> IntoIter<T> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Iter` is never constructed
[INFO] [stdout]   --> src/linked_list.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct Iter<'a, T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `iter` is never used
[INFO] [stdout]   --> src/linked_list.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl<T> LinkedList<T> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 85 |     fn iter(&self) ->  Iter<T>{
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IterMut` is never constructed
[INFO] [stdout]   --> src/linked_list.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | struct IterMut<'a, T> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `iter_mut` is never used
[INFO] [stdout]    --> src/linked_list.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl<T> LinkedList<T> {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] 103 |     fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Link` is never used
[INFO] [stdout]  --> src/persistent_list.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Link<T> = Option<Rc<Node<T>>>;
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/persistent_list.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Node<T> {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/persistent_list.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<T> Node<T> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 13 |     fn new(elm: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PersistentList` is never constructed
[INFO] [stdout]   --> src/persistent_list.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct PersistentList<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `prepend`, `tail`, `head`, `is_empty`, and `iter` are never used
[INFO] [stdout]   --> src/persistent_list.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> PersistentList<T> {
[INFO] [stdout]    | ------------------------- associated items in this implementation
[INFO] [stdout] 22 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn prepend(&self, elm: T) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn tail(&self) -> Self {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn head(&self) -> Option<&T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn is_empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Iter` is never constructed
[INFO] [stdout]   --> src/persistent_list.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Iter<'a, T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/linked_list.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn iter(&self) ->  Iter<T>{
[INFO] [stdout]    |             ^^^^^      ------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn iter(&self) ->  Iter<'_, T>{
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/linked_list.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]     |                 ^^^^^^^^^     ---------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/persistent_list.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |             ^^^^^     ------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/linked_list.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn iter(&self) ->  Iter<T>{
[INFO] [stdout]    |             ^^^^^      ------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn iter(&self) ->  Iter<'_, T>{
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/linked_list.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]     |                 ^^^^^^^^^     ---------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/persistent_list.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |             ^^^^^     ------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "82478c99633318ecb38d2b02af3f73b0643caa564ae0bbce5de075d7852ebe0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82478c99633318ecb38d2b02af3f73b0643caa564ae0bbce5de075d7852ebe0a", kill_on_drop: false }`
[INFO] [stdout] 82478c99633318ecb38d2b02af3f73b0643caa564ae0bbce5de075d7852ebe0a
