[INFO] cloning repository https://github.com/ProstoLive/double-linked-list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProstoLive/double-linked-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProstoLive%2Fdouble-linked-list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProstoLive%2Fdouble-linked-list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 874938299da62109d9a7eb1040ef8ddf502a8e25 [INFO] checking ProstoLive/double-linked-list against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProstoLive%2Fdouble-linked-list" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ProstoLive/double-linked-list [INFO] finished tweaking git repo https://github.com/ProstoLive/double-linked-list [INFO] tweaked toml for git repo https://github.com/ProstoLive/double-linked-list written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ProstoLive/double-linked-list on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ProstoLive/double-linked-list 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f8b5603412bebc3b9a21fc5bf5fad2062cb4d28eff874531b9d099168402046 [INFO] running `Command { std: "docker" "start" "-a" "4f8b5603412bebc3b9a21fc5bf5fad2062cb4d28eff874531b9d099168402046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f8b5603412bebc3b9a21fc5bf5fad2062cb4d28eff874531b9d099168402046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8b5603412bebc3b9a21fc5bf5fad2062cb4d28eff874531b9d099168402046", kill_on_drop: false }` [INFO] [stdout] 4f8b5603412bebc3b9a21fc5bf5fad2062cb4d28eff874531b9d099168402046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb0c21405e307a02fcdb33787fcd882f3de5ba74d4f8e89d87bc3751c9559dda [INFO] running `Command { std: "docker" "start" "-a" "cb0c21405e307a02fcdb33787fcd882f3de5ba74d4f8e89d87bc3751c9559dda", kill_on_drop: false }` [INFO] [stderr] Checking dl-list v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `target_data` [INFO] [stdout] --> src/lib.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn find(target_data: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lib.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | fn delete(node: Rc>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lib.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | fn insert_after(node: Rc>, anchor_node: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anchor_node` [INFO] [stdout] --> src/lib.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | fn insert_after(node: Rc>, anchor_node: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anchor_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct List { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `pop_front`, `pop_back`, `find`, `delete`, and `insert_after` are never used [INFO] [stdout] --> src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 18 | trait DoubleLinkedList { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn pop_front(&mut self) -> Option; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | fn pop_back(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | fn find(target_data: T); [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | fn delete(node: Rc>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | fn insert_after(node: Rc>, anchor_node: T); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_data` [INFO] [stdout] --> src/lib.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn find(target_data: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lib.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | fn delete(node: Rc>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lib.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | fn insert_after(node: Rc>, anchor_node: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anchor_node` [INFO] [stdout] --> src/lib.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | fn insert_after(node: Rc>, anchor_node: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anchor_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `List` is never constructed [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Node` is never constructed [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head`, `tail`, and `length` are never read [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct List { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | head: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | tail: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `next`, and `prev` are never read [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | data: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | next: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | prev: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DoubleLinkedList` is never used [INFO] [stdout] --> src/lib.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait DoubleLinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dl-list` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cb0c21405e307a02fcdb33787fcd882f3de5ba74d4f8e89d87bc3751c9559dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb0c21405e307a02fcdb33787fcd882f3de5ba74d4f8e89d87bc3751c9559dda", kill_on_drop: false }` [INFO] [stdout] cb0c21405e307a02fcdb33787fcd882f3de5ba74d4f8e89d87bc3751c9559dda