[INFO] cloning repository https://github.com/shiroyasha/rust-too-many-lists [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiroyasha/rust-too-many-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiroyasha%2Frust-too-many-lists", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiroyasha%2Frust-too-many-lists'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecb394b3200df168f4a95e0051bb810ffb4d7cf6 [INFO] checking shiroyasha/rust-too-many-lists against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiroyasha%2Frust-too-many-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/shiroyasha/rust-too-many-lists [INFO] finished tweaking git repo https://github.com/shiroyasha/rust-too-many-lists [INFO] tweaked toml for git repo https://github.com/shiroyasha/rust-too-many-lists written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shiroyasha/rust-too-many-lists on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shiroyasha/rust-too-many-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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59d2d8622dc3716ad39c703e7bc36f1ae4c865e8cc0fde53b27cc3fc0b91cc71 [INFO] running `Command { std: "docker" "start" "-a" "59d2d8622dc3716ad39c703e7bc36f1ae4c865e8cc0fde53b27cc3fc0b91cc71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59d2d8622dc3716ad39c703e7bc36f1ae4c865e8cc0fde53b27cc3fc0b91cc71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d2d8622dc3716ad39c703e7bc36f1ae4c865e8cc0fde53b27cc3fc0b91cc71", kill_on_drop: false }` [INFO] [stdout] 59d2d8622dc3716ad39c703e7bc36f1ae4c865e8cc0fde53b27cc3fc0b91cc71 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63c1fabbaeff764461952c86b265d775baebe98fc02947be6678d9ea5b6e0c99 [INFO] running `Command { std: "docker" "start" "-a" "63c1fabbaeff764461952c86b265d775baebe98fc02947be6678d9ea5b6e0c99", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rust-too-many-lists v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/first.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Link` is never used [INFO] [stdout] --> src/first.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/first.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/first.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn push(&mut self, elem: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/second.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/second.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/second.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `peek_mut` are never used [INFO] [stdout] --> src/second.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/second.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct IntoIter(List); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` is never used [INFO] [stdout] --> src/second.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 63 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/second.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Iter<'a, T: 'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/second.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 81 | pub fn iter<'a>(&'a self) -> Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/treeee.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Tree<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/treeee.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Link<'a> = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/treeee.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `display`, `insert`, and `display_node` are never used [INFO] [stdout] --> src/treeee.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> Tree<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add(&mut self, value: &'a str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn insert(head: &mut Node<'a>, new_node : Box>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn display_node(node : &Node, depth: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collection` is never constructed [INFO] [stdout] --> src/four.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Collection<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elem` is never constructed [INFO] [stdout] --> src/four.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Elem<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/four.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert<'a>(c : &mut Collection<'a>, e : Box>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a` is never used [INFO] [stdout] --> src/four.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn a<'a>() -> Collection<'a> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "63c1fabbaeff764461952c86b265d775baebe98fc02947be6678d9ea5b6e0c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63c1fabbaeff764461952c86b265d775baebe98fc02947be6678d9ea5b6e0c99", kill_on_drop: false }` [INFO] [stdout] 63c1fabbaeff764461952c86b265d775baebe98fc02947be6678d9ea5b6e0c99