[INFO] cloning repository https://github.com/dariuswiles/rust-computer-graphics-from-scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dariuswiles/rust-computer-graphics-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdariuswiles%2Frust-computer-graphics-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdariuswiles%2Frust-computer-graphics-from-scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf7b0d824dae4cb7dc3564be49628c9e70cb8308 [INFO] testing dariuswiles/rust-computer-graphics-from-scratch against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdariuswiles%2Frust-computer-graphics-from-scratch" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dariuswiles/rust-computer-graphics-from-scratch on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dariuswiles/rust-computer-graphics-from-scratch [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/dariuswiles/rust-computer-graphics-from-scratch [INFO] tweaked toml for git repo https://github.com/dariuswiles/rust-computer-graphics-from-scratch written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/dariuswiles/rust-computer-graphics-from-scratch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b805c4fcacbe2583922f93022d4d07962b6bd562bf4fcb5b17878f62fe91f06 [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" "0b805c4fcacbe2583922f93022d4d07962b6bd562bf4fcb5b17878f62fe91f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b805c4fcacbe2583922f93022d4d07962b6bd562bf4fcb5b17878f62fe91f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b805c4fcacbe2583922f93022d4d07962b6bd562bf4fcb5b17878f62fe91f06", kill_on_drop: false }` [INFO] [stdout] 0b805c4fcacbe2583922f93022d4d07962b6bd562bf4fcb5b17878f62fe91f06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--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] 489de36d1b45d0f6ba1b456bbb18a1102f8c0eaeb08f0670caea3967b50e33b1 [INFO] running `Command { std: "docker" "start" "-a" "489de36d1b45d0f6ba1b456bbb18a1102f8c0eaeb08f0670caea3967b50e33b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rust-computer-graphics-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "489de36d1b45d0f6ba1b456bbb18a1102f8c0eaeb08f0670caea3967b50e33b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489de36d1b45d0f6ba1b456bbb18a1102f8c0eaeb08f0670caea3967b50e33b1", kill_on_drop: false }` [INFO] [stdout] 489de36d1b45d0f6ba1b456bbb18a1102f8c0eaeb08f0670caea3967b50e33b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58200478f53acabb7a05e8af0089a446feaa866b7baef41c4f1b21d3fa4a8c33 [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" "58200478f53acabb7a05e8af0089a446feaa866b7baef41c4f1b21d3fa4a8c33", kill_on_drop: false }` [INFO] [stderr] Compiling rust-computer-graphics-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `indexes` [INFO] [stdout] --> examples/raster_11.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | let indexes = [i0, i1, i2]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v0` [INFO] [stdout] --> examples/raster_11.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | let v0 = &vertexes.get(triangle.indexes[i0]).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> examples/raster_11.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | let v1 = &vertexes.get(triangle.indexes[i1]).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> examples/raster_11.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | let v2 = &vertexes.get(triangle.indexes[i2]).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normal0` is assigned to, but never used [INFO] [stdout] --> examples/raster_11.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | let normal0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_normal0` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normal1` is assigned to, but never used [INFO] [stdout] --> examples/raster_11.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | let normal1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_normal1` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normal2` is assigned to, but never used [INFO] [stdout] --> examples/raster_11.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | let normal2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_normal2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal0` is never read [INFO] [stdout] --> examples/raster_11.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | normal0 = transform.multiply_vector(&triangle.normals[i0]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal1` is never read [INFO] [stdout] --> examples/raster_11.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | normal1 = transform.multiply_vector(&triangle.normals[i1]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal2` is never read [INFO] [stdout] --> examples/raster_11.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | normal2 = transform.multiply_vector(&triangle.normals[i2]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal0` is never read [INFO] [stdout] --> examples/raster_11.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | normal0 = normal.clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal1` is never read [INFO] [stdout] --> examples/raster_11.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | normal1 = normal.clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal2` is never read [INFO] [stdout] --> examples/raster_11.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | normal2 = normal.clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> examples/raster_11.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | position: Vector4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> examples/raster_11.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | scale: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `canvas_to_viewport` [INFO] [stdout] --> examples/raster_11.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn canvas_to_viewport (p2d: Point) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unproject_vertex` [INFO] [stdout] --> examples/raster_11.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn unproject_vertex(x: f64, y: f64, inv_z: f64) -> PointWithDepth { // TODOMaybe take: PointWithDepth [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_illumination` [INFO] [stdout] --> examples/raster_11.rs:525:4 [INFO] [stdout] | [INFO] [stdout] 525 | fn compute_illumination(vertex: &Vector4, normal: &Vector4, camera: &Camera, lights: &[Light], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/raster_11.rs:463:16 [INFO] [stdout] | [INFO] [stdout] 463 | panic!(format!("edge_interpolate called with y0={}, d0={}\t\ty1={}, d1={}\t\ty2={}, d2={}", y0, d0, y1, d1, y2, d2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 463 | panic!("edge_interpolate called with y0={}, d0={}\t\ty1={}, d1={}\t\ty2={}, d2={}", y0, d0, y1, d1, y2, d2); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/raster_11.rs:654:16 [INFO] [stdout] | [INFO] [stdout] 654 | panic!(format!("In render_triangle with p0.y, p1.y, p2.y = {}, {}, {}", p0.y, p1.y, p2.y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 654 | panic!("In render_triangle with p0.y, p1.y, p2.y = {}, {}, {}", p0.y, p1.y, p2.y); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-computer-graphics-from-scratch` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name raster_09 --edition=2018 examples/raster_09.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=c66c8fb31e4aa02e -C extra-filename=-c66c8fb31e4aa02e --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern minifb=/opt/rustwide/target/debug/deps/libminifb-ff810f67df68948b.rlib --extern rust_computer_graphics_from_scratch=/opt/rustwide/target/debug/deps/librust_computer_graphics_from_scratch-606ee11fdf1375a5.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/minifb-c00053e757246cdf/out -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "58200478f53acabb7a05e8af0089a446feaa866b7baef41c4f1b21d3fa4a8c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58200478f53acabb7a05e8af0089a446feaa866b7baef41c4f1b21d3fa4a8c33", kill_on_drop: false }` [INFO] [stdout] 58200478f53acabb7a05e8af0089a446feaa866b7baef41c4f1b21d3fa4a8c33