[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] checking KeKsBoTer/disco against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeKsBoTer%2Fdisco" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KeKsBoTer/disco on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.16.3 [INFO] [stderr] Downloaded tobj v1.0.0 [INFO] [stderr] Downloaded image v0.23.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9f7eb436e8a457e4333ba2eb570c2092a3bcade0e50890810f2a89162098c73 [INFO] running `Command { std: "docker" "start" "-a" "e9f7eb436e8a457e4333ba2eb570c2092a3bcade0e50890810f2a89162098c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9f7eb436e8a457e4333ba2eb570c2092a3bcade0e50890810f2a89162098c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f7eb436e8a457e4333ba2eb570c2092a3bcade0e50890810f2a89162098c73", kill_on_drop: false }` [INFO] [stdout] e9f7eb436e8a457e4333ba2eb570c2092a3bcade0e50890810f2a89162098c73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 810c16a3298a7641a13e066aa4d6c7d32f3adcb6614d3c089b8bc19a1df54f1f [INFO] running `Command { std: "docker" "start" "-a" "810c16a3298a7641a13e066aa4d6c7d32f3adcb6614d3c089b8bc19a1df54f1f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking tobj v1.0.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Checking 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 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: `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] = note: `#[warn(unused_variables)]` 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] [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 `connect_lines` is never used [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 `main_slice` is never used [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 `to_polygon` is never used [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 `to_line` is never used [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 `Slice` is never used [INFO] [stdout] --> src/model.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Slice = Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Model { [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] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `slice` are never used [INFO] [stdout] --> src/model.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | // loads model from file [INFO] [stdout] 22 | pub fn load(file: &str) -> Model { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn slice(&self, y: f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_indices` and `union` are never used [INFO] [stdout] --> src/polygons.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 44 | pub fn to_indices(&self, vertices: &mut Vec) -> IndexPolygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn union(&self, other: Polygon) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IndexPolygon` is never used [INFO] [stdout] --> src/polygons.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub type IndexPolygon = AbstractPolygon; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_polygon` and `join` are never used [INFO] [stdout] --> src/polygons.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl IndexPolygon { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 116 | pub fn to_polygon(&self, vertices: Vec) -> Polygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn join(&self, l2: IndexPolygon) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [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] = note: `#[warn(unused_variables)]` 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] [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 `connect_lines` is never used [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 `main_slice` is never used [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 `to_polygon` is never used [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 `to_line` is never used [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 `Slice` is never used [INFO] [stdout] --> src/model.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Slice = Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Model { [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] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `slice` are never used [INFO] [stdout] --> src/model.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | // loads model from file [INFO] [stdout] 22 | pub fn load(file: &str) -> Model { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn slice(&self, y: f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_indices` and `union` are never used [INFO] [stdout] --> src/polygons.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 44 | pub fn to_indices(&self, vertices: &mut Vec) -> IndexPolygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn union(&self, other: Polygon) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IndexPolygon` is never used [INFO] [stdout] --> src/polygons.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub type IndexPolygon = AbstractPolygon; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_polygon` and `join` are never used [INFO] [stdout] --> src/polygons.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl IndexPolygon { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 116 | pub fn to_polygon(&self, vertices: Vec) -> Polygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn join(&self, l2: IndexPolygon) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.85s [INFO] running `Command { std: "docker" "inspect" "810c16a3298a7641a13e066aa4d6c7d32f3adcb6614d3c089b8bc19a1df54f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810c16a3298a7641a13e066aa4d6c7d32f3adcb6614d3c089b8bc19a1df54f1f", kill_on_drop: false }` [INFO] [stdout] 810c16a3298a7641a13e066aa4d6c7d32f3adcb6614d3c089b8bc19a1df54f1f [INFO] checking KeKsBoTer/disco against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeKsBoTer%2Fdisco" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KeKsBoTer/disco on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbd0c51ee77da1fc766060550b766fbf44dfffab993a90904e9efbb160e1dec9 [INFO] running `Command { std: "docker" "start" "-a" "fbd0c51ee77da1fc766060550b766fbf44dfffab993a90904e9efbb160e1dec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbd0c51ee77da1fc766060550b766fbf44dfffab993a90904e9efbb160e1dec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd0c51ee77da1fc766060550b766fbf44dfffab993a90904e9efbb160e1dec9", kill_on_drop: false }` [INFO] [stdout] fbd0c51ee77da1fc766060550b766fbf44dfffab993a90904e9efbb160e1dec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c775c42152240d55e3b07322942f42e503194b63171ad8c20b73f0b2f290eba [INFO] running `Command { std: "docker" "start" "-a" "0c775c42152240d55e3b07322942f42e503194b63171ad8c20b73f0b2f290eba", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking tobj v1.0.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Checking 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 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: `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] = note: `#[warn(unused_variables)]` 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] [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 `connect_lines` is never used [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 `main_slice` is never used [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 `to_polygon` is never used [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 `to_line` is never used [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 `Slice` is never used [INFO] [stdout] --> src/model.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Slice = Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Model { [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] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `slice` are never used [INFO] [stdout] --> src/model.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | // loads model from file [INFO] [stdout] 22 | pub fn load(file: &str) -> Model { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn slice(&self, y: f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_indices` and `union` are never used [INFO] [stdout] --> src/polygons.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 44 | pub fn to_indices(&self, vertices: &mut Vec) -> IndexPolygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn union(&self, other: Polygon) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IndexPolygon` is never used [INFO] [stdout] --> src/polygons.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub type IndexPolygon = AbstractPolygon; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_polygon` and `join` are never used [INFO] [stdout] --> src/polygons.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl IndexPolygon { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 116 | pub fn to_polygon(&self, vertices: Vec) -> Polygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn join(&self, l2: IndexPolygon) -> Option { [INFO] [stdout] | ^^^^ [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] = note: `#[warn(unused_variables)]` 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] [INFO] [stdout] warning: 15 warnings emitted [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 `connect_lines` is never used [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 `main_slice` is never used [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 `to_polygon` is never used [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 `to_line` is never used [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 `Slice` is never used [INFO] [stdout] --> src/model.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Slice = Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Model { [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] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `slice` are never used [INFO] [stdout] --> src/model.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | // loads model from file [INFO] [stdout] 22 | pub fn load(file: &str) -> Model { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn slice(&self, y: f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_indices` and `union` are never used [INFO] [stdout] --> src/polygons.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 44 | pub fn to_indices(&self, vertices: &mut Vec) -> IndexPolygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn union(&self, other: Polygon) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IndexPolygon` is never used [INFO] [stdout] --> src/polygons.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub type IndexPolygon = AbstractPolygon; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_polygon` and `join` are never used [INFO] [stdout] --> src/polygons.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl IndexPolygon { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 116 | pub fn to_polygon(&self, vertices: Vec) -> Polygon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn join(&self, l2: IndexPolygon) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.33s [INFO] running `Command { std: "docker" "inspect" "0c775c42152240d55e3b07322942f42e503194b63171ad8c20b73f0b2f290eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c775c42152240d55e3b07322942f42e503194b63171ad8c20b73f0b2f290eba", kill_on_drop: false }` [INFO] [stdout] 0c775c42152240d55e3b07322942f42e503194b63171ad8c20b73f0b2f290eba