[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] testing acomminos/rasterust against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facomminos%2Frasterust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/acomminos/rasterust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60a23650f71a82ce8edc95572120309a6107a6b31d680cc14e94c6b60e18b46a [INFO] running `Command { std: "docker" "start" "-a" "60a23650f71a82ce8edc95572120309a6107a6b31d680cc14e94c6b60e18b46a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60a23650f71a82ce8edc95572120309a6107a6b31d680cc14e94c6b60e18b46a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a23650f71a82ce8edc95572120309a6107a6b31d680cc14e94c6b60e18b46a", kill_on_drop: false }` [INFO] [stdout] 60a23650f71a82ce8edc95572120309a6107a6b31d680cc14e94c6b60e18b46a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71d0c66a23771b729e99de6749fd37269f7f7775280dd695ce1511dce5f10189 [INFO] running `Command { std: "docker" "start" "-a" "71d0c66a23771b729e99de6749fd37269f7f7775280dd695ce1511dce5f10189", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rasterust v0.0.1 (/opt/rustwide/workdir) [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `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: `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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `SourceOver` [INFO] [stdout] | [INFO] [stdout] 434 | rasterust::CompositeMode::SourceOver => dest.multiply(1. - src.a) + *src [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 434 | _SourceOver => dest.multiply(1. - src.a) + *src [INFO] [stdout] | + [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)]` (part of `#[warn(unused)]`) 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: struct `TriColorShader` is never constructed [INFO] [stdout] --> src/rasterust/shader.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TriColorShader(Color, Color, 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)]` (part of `#[warn(nonstandard_style)]`) on by default [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 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "71d0c66a23771b729e99de6749fd37269f7f7775280dd695ce1511dce5f10189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71d0c66a23771b729e99de6749fd37269f7f7775280dd695ce1511dce5f10189", kill_on_drop: false }` [INFO] [stdout] 71d0c66a23771b729e99de6749fd37269f7f7775280dd695ce1511dce5f10189