[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiroyasha%2Frust-too-many-lists" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shiroyasha/rust-too-many-lists on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a46d5fb5453750b8cf0383010d4cfa4ace746617c4b8cfb7196a04df0b18849b [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" "a46d5fb5453750b8cf0383010d4cfa4ace746617c4b8cfb7196a04df0b18849b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a46d5fb5453750b8cf0383010d4cfa4ace746617c4b8cfb7196a04df0b18849b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46d5fb5453750b8cf0383010d4cfa4ace746617c4b8cfb7196a04df0b18849b", kill_on_drop: false }` [INFO] [stdout] a46d5fb5453750b8cf0383010d4cfa4ace746617c4b8cfb7196a04df0b18849b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d09c35a343b0b48a5fdfe3f34d85f77e9a8d67ebfb34764981137ae47168f89 [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" "6d09c35a343b0b48a5fdfe3f34d85f77e9a8d67ebfb34764981137ae47168f89", kill_on_drop: false }` [INFO] [stderr] Checking rust-too-many-lists v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `More` [INFO] [stdout] --> src/first.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | More(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elem` [INFO] [stdout] --> src/first.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | elem: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/first.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/first.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn push(&mut self, elem: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/first.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/second.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/second.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/second.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_mut` [INFO] [stdout] --> src/second.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_iter` [INFO] [stdout] --> src/second.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/second.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter<'a>(&'a self) -> Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tree` [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 is never used: `Link` [INFO] [stdout] --> src/treeee.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | type Link<'a> = Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [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 function is never used: `new` [INFO] [stdout] --> src/treeee.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/treeee.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add(&mut self, value: &'a str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display` [INFO] [stdout] --> src/treeee.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/treeee.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn insert(head: &mut Node<'a>, new_node : Box>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display_node` [INFO] [stdout] --> src/treeee.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn display_node(node : &Node, depth: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert` [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 is never used: `a` [INFO] [stdout] --> src/four.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn a<'a>() -> Collection<'a> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "6d09c35a343b0b48a5fdfe3f34d85f77e9a8d67ebfb34764981137ae47168f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d09c35a343b0b48a5fdfe3f34d85f77e9a8d67ebfb34764981137ae47168f89", kill_on_drop: false }` [INFO] [stdout] 6d09c35a343b0b48a5fdfe3f34d85f77e9a8d67ebfb34764981137ae47168f89