[INFO] cloning repository https://github.com/Emtrixx/rasterizer-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emtrixx/rasterizer-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmtrixx%2Frasterizer-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmtrixx%2Frasterizer-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 905789e44ce6dbd2c2bf16b8fbd480b709645332 [INFO] documenting Emtrixx/rasterizer-rust against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmtrixx%2Frasterizer-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Emtrixx/rasterizer-rust on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Emtrixx/rasterizer-rust [INFO] finished tweaking git repo https://github.com/Emtrixx/rasterizer-rust [INFO] tweaked toml for git repo https://github.com/Emtrixx/rasterizer-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Emtrixx/rasterizer-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 551c865aa8f09cd99644579960244f332e1e44a4e5f083739d69102643d41cfc [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" "551c865aa8f09cd99644579960244f332e1e44a4e5f083739d69102643d41cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "551c865aa8f09cd99644579960244f332e1e44a4e5f083739d69102643d41cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551c865aa8f09cd99644579960244f332e1e44a4e5f083739d69102643d41cfc", kill_on_drop: false }` [INFO] [stdout] 551c865aa8f09cd99644579960244f332e1e44a4e5f083739d69102643d41cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7d264639f51608543c6b51131015eb351647fa9223f52f1a1710754e15d1055 [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" "f7d264639f51608543c6b51131015eb351647fa9223f52f1a1710754e15d1055", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bytemuck v1.8.0 [INFO] [stderr] Checking chlorine v1.0.10 [INFO] [stderr] Checking glam v0.19.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling fermium v20016.1.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rasterizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting rasterizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `scene` in this scope [INFO] [stdout] --> src/lib.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | render_3d(scene); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `prelude::*`, `video::*` [INFO] [stdout] --> src/perspective.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | video::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | *, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `video::*` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | video::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | *, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/lib.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | self.viewport_to_canvas(v.x * self.d / v.z, (v.y * self.d / v.z)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 236 - self.viewport_to_canvas(v.x * self.d / v.z, (v.y * self.d / v.z)) [INFO] [stdout] 236 + self.viewport_to_canvas(v.x * self.d / v.z, v.y * self.d / v.z) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | let mut x01 = interpolate(p0.y, p0.x as f32, p1.y, p1.x as f32); [INFO] [stdout] | ^^^^^^^^^^^ ---- ---- expected `u32`, found `f32` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn interpolate(i0: u32, d0: f32, i1: u32, d1: f32)-> Vec { [INFO] [stdout] | ^^^^^^^^^^^ ------- ------- ------- ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | let mut a01 = interpolate(p0.y, v0.color.a as f32, p1.y, v1.color.a as f32); [INFO] [stdout] | ^^^^^^^^^^^ ---- ---- expected `u32`, found `f32` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn interpolate(i0: u32, d0: f32, i1: u32, d1: f32)-> Vec { [INFO] [stdout] | ^^^^^^^^^^^ ------- ------- ------- ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | let x02 = interpolate(p0.y, p0.x as f32, p2.y, p2.x as f32); [INFO] [stdout] | ^^^^^^^^^^^ ---- ---- expected `u32`, found `f32` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn interpolate(i0: u32, d0: f32, i1: u32, d1: f32)-> Vec { [INFO] [stdout] | ^^^^^^^^^^^ ------- ------- ------- ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | let a02 = interpolate(p0.y, v0.color.a as f32, p2.y, v2.color.a as f32); [INFO] [stdout] | ^^^^^^^^^^^ ---- ---- expected `u32`, found `f32` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn interpolate(i0: u32, d0: f32, i1: u32, d1: f32)-> Vec { [INFO] [stdout] | ^^^^^^^^^^^ ------- ------- ------- ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | let mut x12 = interpolate(p1.y, p1.x as f32, p2.y, p2.x as f32); [INFO] [stdout] | ^^^^^^^^^^^ ---- ---- expected `u32`, found `f32` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn interpolate(i0: u32, d0: f32, i1: u32, d1: f32)-> Vec { [INFO] [stdout] | ^^^^^^^^^^^ ------- ------- ------- ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | let mut a12 = interpolate(p1.y, v1.color.a as f32, p2.y, v2.color.a as f32); [INFO] [stdout] | ^^^^^^^^^^^ ---- ---- expected `u32`, found `f32` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn interpolate(i0: u32, d0: f32, i1: u32, d1: f32)-> Vec { [INFO] [stdout] | ^^^^^^^^^^^ ------- ------- ------- ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: Step` is not satisfied [INFO] [stdout] --> src/lib.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | for y in p0.y..p2.y { [INFO] [stdout] | ^^^^^^^^^^ the trait `Step` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Step`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] = note: required because of the requirements on the impl of `Iterator` for `std::ops::Range` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `std::ops::Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rasterizer` due to 9 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/lib.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | self.viewport_to_canvas(v.x * self.d / v.z, (v.y * self.d / v.z)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 236 - self.viewport_to_canvas(v.x * self.d / v.z, (v.y * self.d / v.z)) [INFO] [stdout] 236 + self.viewport_to_canvas(v.x * self.d / v.z, v.y * self.d / v.z) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7d264639f51608543c6b51131015eb351647fa9223f52f1a1710754e15d1055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d264639f51608543c6b51131015eb351647fa9223f52f1a1710754e15d1055", kill_on_drop: false }` [INFO] [stdout] f7d264639f51608543c6b51131015eb351647fa9223f52f1a1710754e15d1055