[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] checking rkanati/union-find against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Funion-find" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rkanati/union-find on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/rkanati/union-find already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4b72416b09480d8c0b7dd8083ef1ecbf584fe46c074087e5199496f6e61d0d0 [INFO] running `Command { std: "docker" "start" "-a" "e4b72416b09480d8c0b7dd8083ef1ecbf584fe46c074087e5199496f6e61d0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4b72416b09480d8c0b7dd8083ef1ecbf584fe46c074087e5199496f6e61d0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b72416b09480d8c0b7dd8083ef1ecbf584fe46c074087e5199496f6e61d0d0", kill_on_drop: false }` [INFO] [stdout] e4b72416b09480d8c0b7dd8083ef1ecbf584fe46c074087e5199496f6e61d0d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6ff695ca11b263963896a65219cad31c538319523697f2ba8d19529c7003e1ca [INFO] running `Command { std: "docker" "start" "-a" "6ff695ca11b263963896a65219cad31c538319523697f2ba8d19529c7003e1ca", kill_on_drop: false }` [INFO] [stderr] Checking union-find v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Repr` [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: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [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 is never used: `Node` [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_repr` [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | fn to_repr(self) -> Repr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repr` [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | fn repr(&mut self) -> &mut Repr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> src/main.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn rank(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | fn update(&mut self, absorb: Node, merge: impl FnOnce(T, T) -> T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_repr` [INFO] [stdout] --> src/main.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn new_repr(data: T) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UF` [INFO] [stdout] --> src/main.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct UF { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new() -> UF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_point` [INFO] [stdout] --> src/main.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn make_point(&mut self, data: T) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node` [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn node(&self, index: usize) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node_mut` [INFO] [stdout] --> src/main.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | fn node_mut(&mut self, index: usize) -> &mut Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parent` [INFO] [stdout] --> src/main.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn parent(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/main.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn find(&mut self, mut point: Point) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/main.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get(&mut self, point: Point) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_and_get` [INFO] [stdout] --> src/main.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn find_and_get(&mut self, point: Point) -> (Point, &T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/main.rs:117:16 [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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Repr` [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: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [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 is never used: `Node` [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_repr` [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | fn to_repr(self) -> Repr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repr` [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | fn repr(&mut self) -> &mut Repr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> src/main.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn rank(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | fn update(&mut self, absorb: Node, merge: impl FnOnce(T, T) -> T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_repr` [INFO] [stdout] --> src/main.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn new_repr(data: T) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UF` [INFO] [stdout] --> src/main.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct UF { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new() -> UF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_point` [INFO] [stdout] --> src/main.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn make_point(&mut self, data: T) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node` [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn node(&self, index: usize) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node_mut` [INFO] [stdout] --> src/main.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | fn node_mut(&mut self, index: usize) -> &mut Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parent` [INFO] [stdout] --> src/main.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn parent(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/main.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn find(&mut self, mut point: Point) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/main.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get(&mut self, point: Point) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_and_get` [INFO] [stdout] --> src/main.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn find_and_get(&mut self, point: Point) -> (Point, &T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/main.rs:117:16 [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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "6ff695ca11b263963896a65219cad31c538319523697f2ba8d19529c7003e1ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff695ca11b263963896a65219cad31c538319523697f2ba8d19529c7003e1ca", kill_on_drop: false }` [INFO] [stdout] 6ff695ca11b263963896a65219cad31c538319523697f2ba8d19529c7003e1ca