[INFO] cloning repository https://github.com/Jvanrhijn/rustyrenderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jvanrhijn/rustyrenderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJvanrhijn%2Frustyrenderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJvanrhijn%2Frustyrenderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22db30a4ecbb48001e984cc3dddc77fcf343eb07 [INFO] checking Jvanrhijn/rustyrenderer against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJvanrhijn%2Frustyrenderer" "/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/Jvanrhijn/rustyrenderer on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jvanrhijn/rustyrenderer [INFO] finished tweaking git repo https://github.com/Jvanrhijn/rustyrenderer [INFO] tweaked toml for git repo https://github.com/Jvanrhijn/rustyrenderer written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Jvanrhijn/rustyrenderer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 8802a3ee6814365e27f54fac0fe7487ed0df4ca2f3905535be338e8b2bc77102 [INFO] running `Command { std: "docker" "start" "-a" "8802a3ee6814365e27f54fac0fe7487ed0df4ca2f3905535be338e8b2bc77102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8802a3ee6814365e27f54fac0fe7487ed0df4ca2f3905535be338e8b2bc77102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8802a3ee6814365e27f54fac0fe7487ed0df4ca2f3905535be338e8b2bc77102", kill_on_drop: false }` [INFO] [stdout] 8802a3ee6814365e27f54fac0fe7487ed0df4ca2f3905535be338e8b2bc77102 [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" "RUSTFLAGS=--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--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] 8f63170bd25a1a8a4c90c18004eb01eb24e92d4a8a2689f9844835306f343474 [INFO] running `Command { std: "docker" "start" "-a" "8f63170bd25a1a8a4c90c18004eb01eb24e92d4a8a2689f9844835306f343474", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking inflate v0.4.2 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.5.3 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rayon-core v1.4.0 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking rustyrenderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/geo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::Vector` [INFO] [stdout] --> src/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use geo::Vector; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/model.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | let dx = (x1 as i32 - x0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/model.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let dy = (y1 as i32 - y0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::Vector` [INFO] [stdout] --> src/obj.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use geo::Vector; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/geo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::Vector` [INFO] [stdout] --> src/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use geo::Vector; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/model.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | let dx = (x1 as i32 - x0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/model.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let dy = (y1 as i32 - y0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::Vector` [INFO] [stdout] --> src/obj.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use geo::Vector; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/model.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | _ => unreachable!() [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zbuf` [INFO] [stdout] --> src/model.rs:61:71 [INFO] [stdout] | [INFO] [stdout] 61 | fn draw_filled(&self, img: &mut image::RgbImage, color: &[u8; 3], zbuf: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zbuf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/model.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | _ => unreachable!() [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zbuf` [INFO] [stdout] --> src/model.rs:61:71 [INFO] [stdout] | [INFO] [stdout] 61 | fn draw_filled(&self, img: &mut image::RgbImage, color: &[u8; 3], zbuf: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zbuf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/model.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let triangle = Triangle::new(a, b, c); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/model.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let triangle = Triangle::new(a, b, c); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/model.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let image = image::RgbImage::new(10, 20); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_iter` [INFO] [stdout] --> src/model.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let line_iter = LineIterator::new(&line); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/model.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let mut x = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/model.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut y = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec2f` [INFO] [stdout] --> src/geo.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | pub type Vec2f = Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec2i` [INFO] [stdout] --> src/geo.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | pub type Vec2i = Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rasterize` [INFO] [stdout] --> src/model.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn rasterize(&self, xdim: u32, ydim: u32) -> Line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vertices` [INFO] [stdout] --> src/model.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn vertices(&self) -> [&geo::Vec3; 2] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `face` [INFO] [stdout] --> src/obj.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn face(&self, i: usize) -> geo::Vec3i { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vert` [INFO] [stdout] --> src/obj.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn vert(&self, i: usize) -> geo::Vec3f { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/model.rs:237:52 [INFO] [stdout] | [INFO] [stdout] 237 | for (i, vertex) in self.vertices().into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/model.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | for vertex in rast.vertices().into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let mut x = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut y = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec2i` [INFO] [stdout] --> src/geo.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | pub type Vec2i = Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rasterize` [INFO] [stdout] --> src/model.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn rasterize(&self, xdim: u32, ydim: u32) -> Line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/model.rs:237:52 [INFO] [stdout] | [INFO] [stdout] 237 | for (i, vertex) in self.vertices().into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/model.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | for vertex in rast.vertices().into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.64s [INFO] running `Command { std: "docker" "inspect" "8f63170bd25a1a8a4c90c18004eb01eb24e92d4a8a2689f9844835306f343474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f63170bd25a1a8a4c90c18004eb01eb24e92d4a8a2689f9844835306f343474", kill_on_drop: false }` [INFO] [stdout] 8f63170bd25a1a8a4c90c18004eb01eb24e92d4a8a2689f9844835306f343474