[INFO] cloning repository https://github.com/KrisChambers/rs-union-find
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KrisChambers/rs-union-find" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisChambers%2Frs-union-find", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisChambers%2Frs-union-find'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6455ead3f9dc0d4aed45c4af646656cd7d279054
[INFO] checking KrisChambers/rs-union-find against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisChambers%2Frs-union-find" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KrisChambers/rs-union-find
[INFO] finished tweaking git repo https://github.com/KrisChambers/rs-union-find
[INFO] tweaked toml for git repo https://github.com/KrisChambers/rs-union-find written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KrisChambers/rs-union-find on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KrisChambers/rs-union-find 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 705ac63c4bd7458666a2a66286478b511b3c8a1542795d0b1b77b1fbc6d506e8
[INFO] running `Command { std: "docker" "start" "705ac63c4bd7458666a2a66286478b511b3c8a1542795d0b1b77b1fbc6d506e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "705ac63c4bd7458666a2a66286478b511b3c8a1542795d0b1b77b1fbc6d506e8" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "705ac63c4bd7458666a2a66286478b511b3c8a1542795d0b1b77b1fbc6d506e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "705ac63c4bd7458666a2a66286478b511b3c8a1542795d0b1b77b1fbc6d506e8" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rs-union-find v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `nd`
[INFO] [stdout]   --> src/main.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |             .map(|(id, nd)| id)
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_nd`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_rank` is never used
[INFO] [stdout]   --> src/main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T: Eq + Clone> Node<T> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] 16 |     pub fn set_rank(&mut self, rank: usize) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_node_rank` is never used
[INFO] [stdout]   --> src/main.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl<T: Eq + Clone> UnionFind<T> {
[INFO] [stdout]    | -------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn get_node_rank(&self, id: NodeId) -> NodeId {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nd`
[INFO] [stdout]   --> src/main.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |             .map(|(id, nd)| id)
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_nd`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/main.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Node<T: Eq + Clone> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_rank` is never used
[INFO] [stdout]   --> src/main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T: Eq + Clone> Node<T> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] 16 |     pub fn set_rank(&mut self, rank: usize) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnionFind` is never constructed
[INFO] [stdout]   --> src/main.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct UnionFind<T: Eq + Clone> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/main.rs:27:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl<T: Eq + Clone> UnionFind<T> {
[INFO] [stdout]     | -------------------------------- associated items in this implementation
[INFO] [stdout]  27 |     pub fn new() -> UnionFind<T> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  35 |     pub fn make_set(&mut self, value: T) -> Option<NodeId> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn find(&self, id: NodeId) -> NodeId {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     fn set_parent(&self, node_idx: NodeId, parent_idx: NodeId) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     fn get_node_rank(&self, id: NodeId) -> NodeId {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     fn set_rank(&mut self, id: NodeId, rank: NodeId) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     fn rank(&self, id: NodeId) -> NodeId {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn union(&mut self, x_id: NodeId, y_id: NodeId) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn get(&self, id: NodeId) -> &T {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "705ac63c4bd7458666a2a66286478b511b3c8a1542795d0b1b77b1fbc6d506e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "705ac63c4bd7458666a2a66286478b511b3c8a1542795d0b1b77b1fbc6d506e8", kill_on_drop: false }`
[INFO] [stdout] 705ac63c4bd7458666a2a66286478b511b3c8a1542795d0b1b77b1fbc6d506e8
