[INFO] cloning repository https://github.com/acomminos/rasterust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acomminos/rasterust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facomminos%2Frasterust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facomminos%2Frasterust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1cd24fc237bbfa8fd8818aff4dd5d4482123db9e [INFO] checking acomminos/rasterust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facomminos%2Frasterust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acomminos/rasterust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/acomminos/rasterust [INFO] finished tweaking git repo https://github.com/acomminos/rasterust [INFO] tweaked toml for git repo https://github.com/acomminos/rasterust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/acomminos/rasterust 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf419876ecab0c33ed095e958df699962d8cba1fd83de6397bace155bc9090c3 [INFO] running `Command { std: "docker" "start" "-a" "cf419876ecab0c33ed095e958df699962d8cba1fd83de6397bace155bc9090c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf419876ecab0c33ed095e958df699962d8cba1fd83de6397bace155bc9090c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf419876ecab0c33ed095e958df699962d8cba1fd83de6397bace155bc9090c3", kill_on_drop: false }` [INFO] [stdout] cf419876ecab0c33ed095e958df699962d8cba1fd83de6397bace155bc9090c3 [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=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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e3010324d4ae2bc0a476ad3d57ac7b725e3940d8deb0708600ec3865b63ed80 [INFO] running `Command { std: "docker" "start" "-a" "9e3010324d4ae2bc0a476ad3d57ac7b725e3940d8deb0708600ec3865b63ed80", kill_on_drop: false }` [INFO] [stderr] Checking rasterust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `shader` is imported redundantly [INFO] [stdout] --> src/rasterust/raster.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rasterust::*; [INFO] [stdout] | ------------ the item `shader` is already imported here [INFO] [stdout] 2 | use rasterust::shader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `samplers` is imported redundantly [INFO] [stdout] --> src/rasterust/raster.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rasterust::*; [INFO] [stdout] | ------------ the item `samplers` is already imported here [INFO] [stdout] 2 | use rasterust::shader; [INFO] [stdout] 3 | use rasterust::samplers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `shader` is imported redundantly [INFO] [stdout] --> src/rasterust/raster.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rasterust::*; [INFO] [stdout] | ------------ the item `shader` is already imported here [INFO] [stdout] 2 | use rasterust::shader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `samplers` is imported redundantly [INFO] [stdout] --> src/rasterust/raster.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rasterust::*; [INFO] [stdout] | ------------ the item `samplers` is already imported here [INFO] [stdout] 2 | use rasterust::shader; [INFO] [stdout] 3 | use rasterust::samplers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rasterust/mod.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | (&Vector(ref data), 0...3) => Some(data[idx]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/rasterust/mod.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | match (self) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - match (self) { [INFO] [stdout] 116 + match self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rasterust/mod.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | (&Vector(ref data), 0...3) => Some(data[idx]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/rasterust/mod.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | match (self) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - match (self) { [INFO] [stdout] 116 + match self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bary` [INFO] [stdout] --> src/rasterust/shader.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | fn shade(&self, bary: (f32, f32, f32)) -> Color { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bary` [INFO] [stdout] --> src/rasterust/shader.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | fn shade(&self, bary: (f32, f32, f32)) -> Color { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/rasterust/mod.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | fn rotate(&mut self, rotation: &Vector) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `translation` [INFO] [stdout] --> src/rasterust/mod.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | fn translate(&mut self, translation: &Vector) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_translation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/rasterust/mod.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | fn rotate(&mut self, rotation: &Vector) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/rasterust/mod.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | fn scale(&mut self, scale: &Vector) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `translation` [INFO] [stdout] --> src/rasterust/mod.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | fn translate(&mut self, translation: &Vector) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_translation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/rasterust/mod.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | fn scale(&mut self, scale: &Vector) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_transform` [INFO] [stdout] --> src/rasterust/mod.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | let model_transform = &m.get_transform(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_transform` [INFO] [stdout] --> src/rasterust/mod.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | let model_transform = &m.get_transform(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rasterust/mod.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | for i in 0..(width * height) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rasterust/mod.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | for i in 0..(width * height) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `SourceOver` is named the same as one of the variants of the type `rasterust::CompositeMode` [INFO] [stdout] --> src/rasterust/mod.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | SourceOver => dest.multiply(1. - src.a) + *src [INFO] [stdout] | ^^^^^^^^^^ help: to match on the variant, qualify the path: `rasterust::CompositeMode::SourceOver` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SourceOver` [INFO] [stdout] --> src/rasterust/mod.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | SourceOver => dest.multiply(1. - src.a) + *src [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_SourceOver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `SourceOver` is named the same as one of the variants of the type `rasterust::CompositeMode` [INFO] [stdout] --> src/rasterust/mod.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | SourceOver => dest.multiply(1. - src.a) + *src [INFO] [stdout] | ^^^^^^^^^^ help: to match on the variant, qualify the path: `rasterust::CompositeMode::SourceOver` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SourceOver` [INFO] [stdout] --> src/rasterust/mod.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | SourceOver => dest.multiply(1. - src.a) + *src [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_SourceOver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `identity`, `scale`, and `apply` are never used [INFO] [stdout] --> src/rasterust/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 75 | fn identity() -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn scale(scale: &Vector) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn apply(&self, vec: &Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/rasterust/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vertices` and `bounds` are never used [INFO] [stdout] --> src/rasterust/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl Triangle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn vertices(&self) -> Vec<&Vector> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn bounds(&self) -> Rect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scale` and `rot` are never read [INFO] [stdout] --> src/rasterust/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | scale: Vector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 194 | rot: Vector, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate`, `translate`, and `scale` are never used [INFO] [stdout] --> src/rasterust/mod.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl Model { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | fn rotate(&mut self, rotation: &Vector) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn translate(&mut self, translation: &Vector) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn scale(&mut self, scale: &Vector) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `rot` are never read [INFO] [stdout] --> src/rasterust/mod.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 228 | pos: Vector, [INFO] [stdout] | ^^^ [INFO] [stdout] 229 | rot: Vector, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `camera` is never used [INFO] [stdout] --> src/rasterust/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl Scene { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn camera<'a>(&'a self) -> &'a Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unpremultiply` is never used [INFO] [stdout] --> src/rasterust/mod.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 357 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 387 | fn unpremultiply(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SourceOver` should have a snake case name [INFO] [stdout] --> src/rasterust/mod.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | SourceOver => dest.multiply(1. - src.a) + *src [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `source_over` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `identity`, `scale`, and `apply` are never used [INFO] [stdout] --> src/rasterust/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 75 | fn identity() -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn scale(scale: &Vector) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn apply(&self, vec: &Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/rasterust/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vertices` and `bounds` are never used [INFO] [stdout] --> src/rasterust/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl Triangle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn vertices(&self) -> Vec<&Vector> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn bounds(&self) -> Rect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scale` and `rot` are never read [INFO] [stdout] --> src/rasterust/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | scale: Vector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 194 | rot: Vector, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate`, `translate`, and `scale` are never used [INFO] [stdout] --> src/rasterust/mod.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl Model { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | fn rotate(&mut self, rotation: &Vector) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn translate(&mut self, translation: &Vector) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn scale(&mut self, scale: &Vector) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `rot` are never read [INFO] [stdout] --> src/rasterust/mod.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 228 | pos: Vector, [INFO] [stdout] | ^^^ [INFO] [stdout] 229 | rot: Vector, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `camera` is never used [INFO] [stdout] --> src/rasterust/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl Scene { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn camera<'a>(&'a self) -> &'a Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unpremultiply` is never used [INFO] [stdout] --> src/rasterust/mod.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 357 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 387 | fn unpremultiply(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SourceOver` should have a snake case name [INFO] [stdout] --> src/rasterust/mod.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | SourceOver => dest.multiply(1. - src.a) + *src [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `source_over` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rasterust` (bin "rasterust") due to 2 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rasterust` (bin "rasterust" test) due to 2 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e3010324d4ae2bc0a476ad3d57ac7b725e3940d8deb0708600ec3865b63ed80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e3010324d4ae2bc0a476ad3d57ac7b725e3940d8deb0708600ec3865b63ed80", kill_on_drop: false }` [INFO] [stdout] 9e3010324d4ae2bc0a476ad3d57ac7b725e3940d8deb0708600ec3865b63ed80