[INFO] cloning repository https://github.com/rkanati/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/rkanati/union-find" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Funion-find", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Funion-find'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2f6002ae785ab28766995c06e684b4a9f7dbf28 [INFO] testing rkanati/union-find against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Funion-find" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rkanati/union-find [INFO] finished tweaking git repo https://github.com/rkanati/union-find [INFO] tweaked toml for git repo https://github.com/rkanati/union-find written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rkanati/union-find on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rkanati/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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0e06e30f0f0fbfdb2cf704349c3da466a0693715aa99828569db4e7fc620e08 [INFO] running `Command { std: "docker" "start" "-a" "c0e06e30f0f0fbfdb2cf704349c3da466a0693715aa99828569db4e7fc620e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0e06e30f0f0fbfdb2cf704349c3da466a0693715aa99828569db4e7fc620e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e06e30f0f0fbfdb2cf704349c3da466a0693715aa99828569db4e7fc620e08", kill_on_drop: false }` [INFO] [stdout] c0e06e30f0f0fbfdb2cf704349c3da466a0693715aa99828569db4e7fc620e08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4acbbb8f00d46f22a2d3ca5de432aa999730e00c6f489b5e18a37f532895d83b [INFO] running `Command { std: "docker" "start" "-a" "4acbbb8f00d46f22a2d3ca5de432aa999730e00c6f489b5e18a37f532895d83b", kill_on_drop: false }` [INFO] [stderr] Compiling union-find v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/main.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Repr` is never constructed [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | struct Repr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Repr { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 9 | fn update(&mut self, mut other: Repr, merge: impl FnOnce(T, T) -> T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_repr`, `repr`, `rank`, `update`, and `new_repr` are never used [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Node { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 27 | fn to_repr(self) -> Repr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn repr(&mut self) -> &mut Repr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn rank(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn update(&mut self, absorb: Node, merge: impl FnOnce(T, T) -> T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn new_repr(data: T) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UF` is never constructed [INFO] [stdout] --> src/main.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct UF { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Point(usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 69 | impl UF { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 70 | pub fn new() -> UF { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn make_point(&mut self, data: T) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn node(&self, index: usize) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn node_mut(&mut self, index: usize) -> &mut Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn parent(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn find(&mut self, mut point: Point) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get(&mut self, point: Point) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn find_and_get(&mut self, point: Point) -> (Point, &T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn union(&mut self, a: Point, b: Point, merge: impl FnOnce(T, T) -> T) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "4acbbb8f00d46f22a2d3ca5de432aa999730e00c6f489b5e18a37f532895d83b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4acbbb8f00d46f22a2d3ca5de432aa999730e00c6f489b5e18a37f532895d83b", kill_on_drop: false }` [INFO] [stdout] 4acbbb8f00d46f22a2d3ca5de432aa999730e00c6f489b5e18a37f532895d83b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36303d4830b840b71a9df770adb101c5c1305ac6e79085eba59c5a13e9efb8ae [INFO] running `Command { std: "docker" "start" "-a" "36303d4830b840b71a9df770adb101c5c1305ac6e79085eba59c5a13e9efb8ae", kill_on_drop: false }` [INFO] [stderr] Compiling union-find v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/main.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Repr` is never constructed [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | struct Repr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Repr { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 9 | fn update(&mut self, mut other: Repr, merge: impl FnOnce(T, T) -> T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_repr`, `repr`, `rank`, `update`, and `new_repr` are never used [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Node { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 27 | fn to_repr(self) -> Repr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn repr(&mut self) -> &mut Repr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn rank(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn update(&mut self, absorb: Node, merge: impl FnOnce(T, T) -> T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn new_repr(data: T) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UF` is never constructed [INFO] [stdout] --> src/main.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct UF { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Point(usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 69 | impl UF { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 70 | pub fn new() -> UF { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn make_point(&mut self, data: T) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn node(&self, index: usize) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn node_mut(&mut self, index: usize) -> &mut Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn parent(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn find(&mut self, mut point: Point) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get(&mut self, point: Point) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn find_and_get(&mut self, point: Point) -> (Point, &T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn union(&mut self, a: Point, b: Point, merge: impl FnOnce(T, T) -> T) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "36303d4830b840b71a9df770adb101c5c1305ac6e79085eba59c5a13e9efb8ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36303d4830b840b71a9df770adb101c5c1305ac6e79085eba59c5a13e9efb8ae", kill_on_drop: false }` [INFO] [stdout] 36303d4830b840b71a9df770adb101c5c1305ac6e79085eba59c5a13e9efb8ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 551d791380437f2634b361e4d119ae4cfc58bdc557f271f2848014b40d3c08a9 [INFO] running `Command { std: "docker" "start" "-a" "551d791380437f2634b361e4d119ae4cfc58bdc557f271f2848014b40d3c08a9", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `tests` [INFO] [stderr] --> src/main.rs:142:11 [INFO] [stderr] | [INFO] [stderr] 142 | #[cfg(tests)] [INFO] [stderr] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Repr` is never constructed [INFO] [stderr] --> src/main.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | struct Repr { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `update` is never used [INFO] [stderr] --> src/main.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl Repr { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 9 | fn update(&mut self, mut other: Repr, merge: impl FnOnce(T, T) -> T) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Node` is never used [INFO] [stderr] --> src/main.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | enum Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `to_repr`, `repr`, `rank`, `update`, and `new_repr` are never used [INFO] [stderr] --> src/main.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl Node { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 27 | fn to_repr(self) -> Repr { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | fn repr(&mut self) -> &mut Repr { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | fn rank(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | fn update(&mut self, absorb: Node, merge: impl FnOnce(T, T) -> T) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | fn new_repr(data: T) -> Node { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UF` is never constructed [INFO] [stderr] --> src/main.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct UF { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Point` is never constructed [INFO] [stderr] --> src/main.rs:67:16 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct Point(usize); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/main.rs:70:16 [INFO] [stderr] | [INFO] [stderr] 69 | impl UF { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 70 | pub fn new() -> UF { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn make_point(&mut self, data: T) -> Point { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | fn node(&self, index: usize) -> &Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | fn node_mut(&mut self, index: usize) -> &mut Node { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | fn parent(&self, index: usize) -> usize { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn find(&mut self, mut point: Point) -> Point { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | pub fn get(&mut self, point: Point) -> &T { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn find_and_get(&mut self, point: Point) -> (Point, &T) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | pub fn union(&mut self, a: Point, b: Point, merge: impl FnOnce(T, T) -> T) -> Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `union-find` (bin "union-find" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/union_find-dbf21a16e0fc2a73) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "551d791380437f2634b361e4d119ae4cfc58bdc557f271f2848014b40d3c08a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551d791380437f2634b361e4d119ae4cfc58bdc557f271f2848014b40d3c08a9", kill_on_drop: false }` [INFO] [stdout] 551d791380437f2634b361e4d119ae4cfc58bdc557f271f2848014b40d3c08a9