[INFO] cloning repository https://github.com/MatthewJohnHeath/ArrayTree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatthewJohnHeath/ArrayTree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewJohnHeath%2FArrayTree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewJohnHeath%2FArrayTree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c7ef1dc85cb607a064c0f9b703ab599477a9726 [INFO] checking MatthewJohnHeath/ArrayTree against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewJohnHeath%2FArrayTree" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatthewJohnHeath/ArrayTree on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MatthewJohnHeath/ArrayTree [INFO] finished tweaking git repo https://github.com/MatthewJohnHeath/ArrayTree [INFO] tweaked toml for git repo https://github.com/MatthewJohnHeath/ArrayTree written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MatthewJohnHeath/ArrayTree 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e730f607db25c2382c5ac6792b5ee7b4549d1be619acb1b2b36a038317b7805 [INFO] running `Command { std: "docker" "start" "-a" "0e730f607db25c2382c5ac6792b5ee7b4549d1be619acb1b2b36a038317b7805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e730f607db25c2382c5ac6792b5ee7b4549d1be619acb1b2b36a038317b7805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e730f607db25c2382c5ac6792b5ee7b4549d1be619acb1b2b36a038317b7805", kill_on_drop: false }` [INFO] [stdout] 0e730f607db25c2382c5ac6792b5ee7b4549d1be619acb1b2b36a038317b7805 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 576a0f7dec616afff60d9f2b813f458eae1dad8bdcfb73f5858235b456a05eec [INFO] running `Command { std: "docker" "start" "-a" "576a0f7dec616afff60d9f2b813f458eae1dad8bdcfb73f5858235b456a05eec", kill_on_drop: false }` [INFO] [stderr] Checking tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Red` and `Black` are never constructed [INFO] [stdout] --> src/arraytree.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | enum NodeColour{Red, Black} [INFO] [stdout] | ---------- ^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `NodeColour` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Node` and `NextInList` are never constructed [INFO] [stdout] --> src/arraytree.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum RBTreeArrayElement{ [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | NextInList( usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RBTreeArrayElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RBTreeNode` is never constructed [INFO] [stdout] --> src/arraytree.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct RBTreeNode<'a, ContentType, const N:usize>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RBTreeNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SearchResult` is never used [INFO] [stdout] --> src/arraytree.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum SearchResult<'a, ContentType>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `left_child`, `right_child`, `parent`, `value`, `colour`, and `successor` are never used [INFO] [stdout] --> src/arraytree.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a, ContentType, const N:usize> RBTreeNode<'a, ContentType, N> { [INFO] [stdout] | --------------------------------------------------------------------- methods in this implementation [INFO] [stdout] 52 | fn left_child(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn right_child(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn parent(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn value(&self) -> Option<&ContentType>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn colour(&self) -> Option{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn successor(&self)-> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root` and `add` are never used [INFO] [stdout] --> src/arraytree.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 130 | impl ArrayTree< ContentType, N>{ [INFO] [stdout] | ------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn root(&self)->RBTreeNode{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn add(& mut self, val: ContentType ){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/arraytree.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | fn root(&self)->RBTreeNode{ [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] 140 | fn root(&self)->RBTreeNode<'_, ContentType, N>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Black` are never constructed [INFO] [stdout] --> src/arraytree.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | enum NodeColour{Red, Black} [INFO] [stdout] | ---------- ^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `NodeColour` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Node` and `NextInList` are never constructed [INFO] [stdout] --> src/arraytree.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum RBTreeArrayElement{ [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | NextInList( usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RBTreeArrayElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RBTreeNode` is never constructed [INFO] [stdout] --> src/arraytree.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct RBTreeNode<'a, ContentType, const N:usize>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RBTreeNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SearchResult` is never used [INFO] [stdout] --> src/arraytree.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum SearchResult<'a, ContentType>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `left_child`, `right_child`, `parent`, `value`, `colour`, and `successor` are never used [INFO] [stdout] --> src/arraytree.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a, ContentType, const N:usize> RBTreeNode<'a, ContentType, N> { [INFO] [stdout] | --------------------------------------------------------------------- methods in this implementation [INFO] [stdout] 52 | fn left_child(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn right_child(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn parent(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn value(&self) -> Option<&ContentType>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn colour(&self) -> Option{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn successor(&self)-> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root` and `add` are never used [INFO] [stdout] --> src/arraytree.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 130 | impl ArrayTree< ContentType, N>{ [INFO] [stdout] | ------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn root(&self)->RBTreeNode{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn add(& mut self, val: ContentType ){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/arraytree.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | fn root(&self)->RBTreeNode{ [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] 140 | fn root(&self)->RBTreeNode<'_, ContentType, N>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let tree = array_tree::libb::ArrayTree::::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let tree = array_tree::libb::ArrayTree::::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "576a0f7dec616afff60d9f2b813f458eae1dad8bdcfb73f5858235b456a05eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "576a0f7dec616afff60d9f2b813f458eae1dad8bdcfb73f5858235b456a05eec", kill_on_drop: false }` [INFO] [stdout] 576a0f7dec616afff60d9f2b813f458eae1dad8bdcfb73f5858235b456a05eec