[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] ae12b8b4b031edafc6d5f7e1ec8a4f9254544323 [INFO] testing dariuswiles/rust-computer-graphics-from-scratch against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [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 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tar v0.4.35 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f43f5aaaffcfb0d4fed5c452b236695b1271ded3a129a50d0744507b9d391d2 [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" "4f43f5aaaffcfb0d4fed5c452b236695b1271ded3a129a50d0744507b9d391d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f43f5aaaffcfb0d4fed5c452b236695b1271ded3a129a50d0744507b9d391d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f43f5aaaffcfb0d4fed5c452b236695b1271ded3a129a50d0744507b9d391d2", kill_on_drop: false }` [INFO] [stdout] 4f43f5aaaffcfb0d4fed5c452b236695b1271ded3a129a50d0744507b9d391d2 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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] ea7afb17b2bb2f49669c8472f8020491d21827f0ff2d1bd00f227ea95a565fe7 [INFO] running `Command { std: "docker" "start" "-a" "ea7afb17b2bb2f49669c8472f8020491d21827f0ff2d1bd00f227ea95a565fe7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling textwrap v0.11.0 [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 crossbeam-channel v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 v0.8.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [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 2m 18s [INFO] running `Command { std: "docker" "inspect" "ea7afb17b2bb2f49669c8472f8020491d21827f0ff2d1bd00f227ea95a565fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7afb17b2bb2f49669c8472f8020491d21827f0ff2d1bd00f227ea95a565fe7", kill_on_drop: false }` [INFO] [stdout] ea7afb17b2bb2f49669c8472f8020491d21827f0ff2d1bd00f227ea95a565fe7 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca83d44b156e1bd288427ddce035c7d73243121fc03c60067a849eae027ae6c1 [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" "ca83d44b156e1bd288427ddce035c7d73243121fc03c60067a849eae027ae6c1", kill_on_drop: false }` [INFO] [stderr] Compiling rust-computer-graphics-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `viewport_width` [INFO] [stdout] --> examples/raytracer_01.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | viewport_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> examples/raytracer_01.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_width` [INFO] [stdout] --> examples/raytracer_05.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | viewport_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> examples/raytracer_05.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_width` [INFO] [stdout] --> examples/raytracer_04.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | viewport_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_width` [INFO] [stdout] --> examples/raytracer_06.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | viewport_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> examples/raytracer_06.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> examples/raytracer_04.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/raster_12.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | panic!(format!("Expected {} texels of texture data, but only {} found in texture file", [INFO] [stdout] | ____________________^ [INFO] [stdout] 265 | | width * height, texels.len() [INFO] [stdout] 266 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 264 ~ panic!("Expected {} texels of texture data, but only {} found in texture file", [INFO] [stdout] 265 | width * height, texels.len() [INFO] [stdout] 266 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/raster_12_bilinear_mipmap.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | panic!(format!("Texture {} was not in the expected RGB24 format", filename)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 315 - panic!(format!("Texture {} was not in the expected RGB24 format", filename)); [INFO] [stdout] 315 + panic!("Texture {} was not in the expected RGB24 format", filename); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/raster_12_bilinear_mipmap.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 327 | | "{} texels were read from texture file {}, but {} were expected", [INFO] [stdout] 328 | | texels.len(), filename, metadata.width * metadata.height [INFO] [stdout] 329 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 326 ~ panic!( [INFO] [stdout] 327 | "{} texels were read from texture file {}, but {} were expected", [INFO] [stdout] 328 | texels.len(), filename, metadata.width * metadata.height [INFO] [stdout] 329 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/raster_12_bilinear_mipmap.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 337 | panic!(format!("Only square textures are supported, but a mipmap in texture {} is not [INFO] [stdout] | ____________________^ [INFO] [stdout] 338 | | square", filename)); [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 337 ~ panic!("Only square textures are supported, but a mipmap in texture {} is not [INFO] [stdout] 338 ~ square", filename); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/raster_12_bilinear.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | panic!(format!("Expected {} texels of texture data, but only {} found in texture file", [INFO] [stdout] | ____________________^ [INFO] [stdout] 272 | | width * height, texels.len() [INFO] [stdout] 273 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 271 ~ panic!("Expected {} texels of texture data, but only {} found in texture file", [INFO] [stdout] 272 | width * height, texels.len() [INFO] [stdout] 273 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/raytracer_triangle.rs:546:5 [INFO] [stdout] | [INFO] [stdout] 546 | assert_eq!(intersect_point, Result::Ok(Vector3::new(3.0, 1.0, 4.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `Vector3` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(Vector3, f64), ()>` [INFO] [stdout] found enum `Result` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-computer-graphics-from-scratch` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ca83d44b156e1bd288427ddce035c7d73243121fc03c60067a849eae027ae6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca83d44b156e1bd288427ddce035c7d73243121fc03c60067a849eae027ae6c1", kill_on_drop: false }` [INFO] [stdout] ca83d44b156e1bd288427ddce035c7d73243121fc03c60067a849eae027ae6c1