[INFO] cloning repository https://github.com/KeKsBoTer/disco [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KeKsBoTer/disco" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeKsBoTer%2Fdisco", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeKsBoTer%2Fdisco'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 616a3ee688c3436feff299b555f1adb64db13901 [INFO] testing KeKsBoTer/disco against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeKsBoTer%2Fdisco" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KeKsBoTer/disco on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KeKsBoTer/disco [INFO] finished tweaking git repo https://github.com/KeKsBoTer/disco [INFO] tweaked toml for git repo https://github.com/KeKsBoTer/disco written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/KeKsBoTer/disco already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] e462dfe9ceb3e06141b69170c5768ebb0e9318700b0246197bfb65a64767d3ca [INFO] running `Command { std: "docker" "start" "-a" "e462dfe9ceb3e06141b69170c5768ebb0e9318700b0246197bfb65a64767d3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e462dfe9ceb3e06141b69170c5768ebb0e9318700b0246197bfb65a64767d3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e462dfe9ceb3e06141b69170c5768ebb0e9318700b0246197bfb65a64767d3ca", kill_on_drop: false }` [INFO] [stdout] e462dfe9ceb3e06141b69170c5768ebb0e9318700b0246197bfb65a64767d3ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f0bcca987aafe547d52a254baea03530b5db3983494251b747e8fa943c2b4a6 [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" "5f0bcca987aafe547d52a254baea03530b5db3983494251b747e8fa943c2b4a6", kill_on_drop: false }` [INFO] [stderr] Compiling tobj v1.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling disco v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:285:6 [INFO] [stdout] | [INFO] [stdout] 285 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | .min_by_key(|(p, n)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | for i in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n1` [INFO] [stdout] --> src/main.rs:291:57 [INFO] [stdout] | [INFO] [stdout] 291 | v.iter().enumerate().map(move |(i, (p1, n1))| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect_lines` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn connect_lines(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_slice` [INFO] [stdout] --> src/main.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn main_slice() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_polygon` [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn to_polygon(points: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_line` [INFO] [stdout] --> src/main.rs:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | fn to_line(p: Vertex, v: Normal) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Slice` [INFO] [stdout] --> src/model.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Slice = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vertices` [INFO] [stdout] --> src/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | vertices: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normals` [INFO] [stdout] --> src/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | normals: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `faces` [INFO] [stdout] --> src/model.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | faces: Vec<[u32; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/model.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load(file: &str) -> Model { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slice` [INFO] [stdout] --> src/model.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn slice(&self, y: f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_indices` [INFO] [stdout] --> src/polygons.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn to_indices(&self, vertices: &mut Vec) -> IndexPolygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/polygons.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn union(&self, other: Polygon) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `IndexPolygon` [INFO] [stdout] --> src/polygons.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub type IndexPolygon = AbstractPolygon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_polygon` [INFO] [stdout] --> src/polygons.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn to_polygon(&self, vertices: Vec) -> Polygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `join` [INFO] [stdout] --> src/polygons.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn join(&self, l2: IndexPolygon) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.55s [INFO] running `Command { std: "docker" "inspect" "5f0bcca987aafe547d52a254baea03530b5db3983494251b747e8fa943c2b4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0bcca987aafe547d52a254baea03530b5db3983494251b747e8fa943c2b4a6", kill_on_drop: false }` [INFO] [stdout] 5f0bcca987aafe547d52a254baea03530b5db3983494251b747e8fa943c2b4a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] 2527090f85d7c22b9e4c63c6190bff88a72e2640e41014b455c4dfdc4eb6cb11 [INFO] running `Command { std: "docker" "start" "-a" "2527090f85d7c22b9e4c63c6190bff88a72e2640e41014b455c4dfdc4eb6cb11", kill_on_drop: false }` [INFO] [stderr] Compiling disco v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:285:6 [INFO] [stdout] | [INFO] [stdout] 285 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | .min_by_key(|(p, n)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | for i in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n1` [INFO] [stdout] --> src/main.rs:291:57 [INFO] [stdout] | [INFO] [stdout] 291 | v.iter().enumerate().map(move |(i, (p1, n1))| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect_lines` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn connect_lines(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_slice` [INFO] [stdout] --> src/main.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn main_slice() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_polygon` [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn to_polygon(points: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_line` [INFO] [stdout] --> src/main.rs:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | fn to_line(p: Vertex, v: Normal) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Slice` [INFO] [stdout] --> src/model.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Slice = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vertices` [INFO] [stdout] --> src/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | vertices: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normals` [INFO] [stdout] --> src/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | normals: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `faces` [INFO] [stdout] --> src/model.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | faces: Vec<[u32; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/model.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load(file: &str) -> Model { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slice` [INFO] [stdout] --> src/model.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn slice(&self, y: f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_indices` [INFO] [stdout] --> src/polygons.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn to_indices(&self, vertices: &mut Vec) -> IndexPolygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/polygons.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn union(&self, other: Polygon) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `IndexPolygon` [INFO] [stdout] --> src/polygons.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub type IndexPolygon = AbstractPolygon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_polygon` [INFO] [stdout] --> src/polygons.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn to_polygon(&self, vertices: Vec) -> Polygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `join` [INFO] [stdout] --> src/polygons.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn join(&self, l2: IndexPolygon) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.60s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/disco-add570bbda001280) [INFO] running `Command { std: "docker" "inspect" "2527090f85d7c22b9e4c63c6190bff88a72e2640e41014b455c4dfdc4eb6cb11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2527090f85d7c22b9e4c63c6190bff88a72e2640e41014b455c4dfdc4eb6cb11", kill_on_drop: false }` [INFO] [stdout] 2527090f85d7c22b9e4c63c6190bff88a72e2640e41014b455c4dfdc4eb6cb11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] 71fec8c4e6420ea7646986e8f73f19b393ad2e7f20c835cd124d9c3d08b62e53 [INFO] running `Command { std: "docker" "start" "-a" "71fec8c4e6420ea7646986e8f73f19b393ad2e7f20c835cd124d9c3d08b62e53", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::cmp::Ordering` [INFO] [stderr] --> src/model.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::cmp::Ordering; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/main.rs:285:6 [INFO] [stderr] | [INFO] [stderr] 285 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/main.rs:154:34 [INFO] [stderr] | [INFO] [stderr] 154 | .min_by_key(|(p, n)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | for i in 0..8 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n1` [INFO] [stderr] --> src/main.rs:291:57 [INFO] [stderr] | [INFO] [stderr] 291 | v.iter().enumerate().map(move |(i, (p1, n1))| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `connect_lines` [INFO] [stderr] --> src/main.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn connect_lines(lines: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `main_slice` [INFO] [stderr] --> src/main.rs:309:4 [INFO] [stderr] | [INFO] [stderr] 309 | fn main_slice() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_polygon` [INFO] [stderr] --> src/main.rs:378:4 [INFO] [stderr] | [INFO] [stderr] 378 | fn to_polygon(points: &Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_line` [INFO] [stderr] --> src/main.rs:386:4 [INFO] [stderr] | [INFO] [stderr] 386 | fn to_line(p: Vertex, v: Normal) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Slice` [INFO] [stderr] --> src/model.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub type Slice = Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `vertices` [INFO] [stderr] --> src/model.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | vertices: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `normals` [INFO] [stderr] --> src/model.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | normals: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `faces` [INFO] [stderr] --> src/model.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | faces: Vec<[u32; 3]>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load` [INFO] [stderr] --> src/model.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn load(file: &str) -> Model { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `slice` [INFO] [stderr] --> src/model.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn slice(&self, y: f32) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_indices` [INFO] [stderr] --> src/polygons.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn to_indices(&self, vertices: &mut Vec) -> IndexPolygon { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `union` [INFO] [stderr] --> src/polygons.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn union(&self, other: Polygon) -> Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `IndexPolygon` [INFO] [stderr] --> src/polygons.rs:113:1 [INFO] [stderr] | [INFO] [stderr] 113 | pub type IndexPolygon = AbstractPolygon; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_polygon` [INFO] [stderr] --> src/polygons.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn to_polygon(&self, vertices: Vec) -> Polygon { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `join` [INFO] [stderr] --> src/polygons.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn join(&self, l2: IndexPolygon) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `disco` (bin "disco" test) generated 20 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/disco-add570bbda001280) [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" "71fec8c4e6420ea7646986e8f73f19b393ad2e7f20c835cd124d9c3d08b62e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71fec8c4e6420ea7646986e8f73f19b393ad2e7f20c835cd124d9c3d08b62e53", kill_on_drop: false }` [INFO] [stdout] 71fec8c4e6420ea7646986e8f73f19b393ad2e7f20c835cd124d9c3d08b62e53