[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdariuswiles%2Frust-computer-graphics-from-scratch" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dariuswiles/rust-computer-graphics-from-scratch on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-12/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78a7cf860cd93e25e8809b6fe989c425b0755f1ee034254701c1855c42974e7f [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" "78a7cf860cd93e25e8809b6fe989c425b0755f1ee034254701c1855c42974e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78a7cf860cd93e25e8809b6fe989c425b0755f1ee034254701c1855c42974e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a7cf860cd93e25e8809b6fe989c425b0755f1ee034254701c1855c42974e7f", kill_on_drop: false }` [INFO] [stdout] 78a7cf860cd93e25e8809b6fe989c425b0755f1ee034254701c1855c42974e7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 134131d6cffea400015c3461800f9dac5203b0ce6b4da45847c8c0efa2d3a52e [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" "134131d6cffea400015c3461800f9dac5203b0ce6b4da45847c8c0efa2d3a52e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling minifb v0.19.3 [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 x11-dl v2.18.5 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rayon v1.5.1 [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 20s [INFO] running `Command { std: "docker" "inspect" "134131d6cffea400015c3461800f9dac5203b0ce6b4da45847c8c0efa2d3a52e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134131d6cffea400015c3461800f9dac5203b0ce6b4da45847c8c0efa2d3a52e", kill_on_drop: false }` [INFO] [stdout] 134131d6cffea400015c3461800f9dac5203b0ce6b4da45847c8c0efa2d3a52e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1410ac5dfe7e024ab148a8956d17fce545215bbc6ca6b2a6ee004289ed42ee4c [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" "1410ac5dfe7e024ab148a8956d17fce545215bbc6ca6b2a6ee004289ed42ee4c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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_bump.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] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_bump.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> examples/raytracer_bump.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_bump.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_width` [INFO] [stdout] --> examples/raytracer_02.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] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_02.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> examples/raytracer_02.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_02.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_width` [INFO] [stdout] --> examples/raytracer_03.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] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_03.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> examples/raytracer_03.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_03.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/raster_12_bilinear_normal.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | panic!(format!("Expected {} texels of texture data, but only {} found in texture file", [INFO] [stdout] | ____________________^ [INFO] [stdout] 278 | | width * height, texels.len() [INFO] [stdout] 279 | | )); [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] 277 ~ panic!("Expected {} texels of texture data, but only {} found in texture file", [INFO] [stdout] 278 | width * height, texels.len() [INFO] [stdout] 279 ~ ); [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: 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] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_05.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_05.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_01.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Scene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/raytracer_01.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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] [stderr] error: could not compile `rust-computer-graphics-from-scratch`; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name raster_12_bilinear_mipmap --edition=2018 examples/raster_12_bilinear_mipmap.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=2f3dceb7511d101e -C extra-filename=-2f3dceb7511d101e --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern jpeg_decoder=/opt/rustwide/target/debug/deps/libjpeg_decoder-0ef2e60c37bbccbc.rlib --extern minifb=/opt/rustwide/target/debug/deps/libminifb-5298018d97dea823.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-5c805ed6494e1f75.rlib --extern rust_computer_graphics_from_scratch=/opt/rustwide/target/debug/deps/librust_computer_graphics_from_scratch-d1b76ded3f469e9f.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/minifb-09ec92707eb5e177/out -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `rust-computer-graphics-from-scratch`; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name raster_12_bilinear --edition=2018 examples/raster_12_bilinear.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=2240b7c07f1d72e6 -C extra-filename=-2240b7c07f1d72e6 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern jpeg_decoder=/opt/rustwide/target/debug/deps/libjpeg_decoder-0ef2e60c37bbccbc.rlib --extern minifb=/opt/rustwide/target/debug/deps/libminifb-5298018d97dea823.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-5c805ed6494e1f75.rlib --extern rust_computer_graphics_from_scratch=/opt/rustwide/target/debug/deps/librust_computer_graphics_from_scratch-d1b76ded3f469e9f.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/minifb-09ec92707eb5e177/out -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `rust-computer-graphics-from-scratch`; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name raster_12_bilinear_normal --edition=2018 examples/raster_12_bilinear_normal.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=a3596d77c9f3be46 -C extra-filename=-a3596d77c9f3be46 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern jpeg_decoder=/opt/rustwide/target/debug/deps/libjpeg_decoder-0ef2e60c37bbccbc.rlib --extern minifb=/opt/rustwide/target/debug/deps/libminifb-5298018d97dea823.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-5c805ed6494e1f75.rlib --extern rust_computer_graphics_from_scratch=/opt/rustwide/target/debug/deps/librust_computer_graphics_from_scratch-d1b76ded3f469e9f.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/minifb-09ec92707eb5e177/out -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [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_11 --edition=2018 examples/raster_11.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=52dc12ff9ab7135c -C extra-filename=-52dc12ff9ab7135c --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern jpeg_decoder=/opt/rustwide/target/debug/deps/libjpeg_decoder-0ef2e60c37bbccbc.rlib --extern minifb=/opt/rustwide/target/debug/deps/libminifb-5298018d97dea823.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-5c805ed6494e1f75.rlib --extern rust_computer_graphics_from_scratch=/opt/rustwide/target/debug/deps/librust_computer_graphics_from_scratch-d1b76ded3f469e9f.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/minifb-09ec92707eb5e177/out -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.raytracer_bump.7bae1cee-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2.1nr88kna030ezug3.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/minifb-09ec92707eb5e177/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librust_computer_graphics_from_scratch-d1b76ded3f469e9f.rlib" "/opt/rustwide/target/debug/deps/libminifb-5298018d97dea823.rlib" "/opt/rustwide/target/debug/deps/libwayland_cursor-08f008d61712e63c.rlib" "/opt/rustwide/target/debug/deps/libxcursor-49e8bf78535245c5.rlib" "/opt/rustwide/target/debug/deps/libnom-637c10820f4b74c4.rlib" "/opt/rustwide/target/debug/deps/libmemchr-5778b0c3602687a8.rlib" "/opt/rustwide/target/debug/deps/libtempfile-caac3c55d566d8cd.rlib" "/opt/rustwide/target/debug/deps/librand-d51003428c55b5bd.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-e43f39cc78db032a.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-4b4e10d54e032e24.rlib" "/opt/rustwide/target/debug/deps/librand_core-ff51fd252b84a7b3.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-b91b77bb6ee8fd23.rlib" "/opt/rustwide/target/debug/deps/libremove_dir_all-428e6ddc575f6574.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-c144f3eb91e99777.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-6da8ac6dfb59ea6e.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libxkb-1b9ce37bb2cbbef0.rlib" "/opt/rustwide/target/debug/deps/libxkbcommon_sys-cc46798ea76e5722.rlib" "/opt/rustwide/target/debug/deps/libwayland_protocols-d25f966f0fa7d0fd.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-433c9e9fa31542a0.rlib" "/opt/rustwide/target/debug/deps/libwayland_commons-0c8476fae67916c9.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-0e12401d3f654579.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-00ebd81f75d94599.rlib" "/opt/rustwide/target/debug/deps/libnix-4563e82e947f81a7.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-76634adbfeb969ac.rlib" "/opt/rustwide/target/debug/deps/libdowncast_rs-1687a6df89d4d06a.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6d9dc90f7379932.rlib" "/opt/rustwide/target/debug/deps/libraw_window_handle-8d0cc1f9518c985c.rlib" "/opt/rustwide/target/debug/deps/liblibc-ca782f4cd98affdf.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-ldl" "-lxkbcommon" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/raytracer_bump-10d8a407c3b7f9c2" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-computer-graphics-from-scratch` due to 2 previous errors; 2 warnings emitted [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] running `Command { std: "docker" "inspect" "1410ac5dfe7e024ab148a8956d17fce545215bbc6ca6b2a6ee004289ed42ee4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1410ac5dfe7e024ab148a8956d17fce545215bbc6ca6b2a6ee004289ed42ee4c", kill_on_drop: false }` [INFO] [stdout] 1410ac5dfe7e024ab148a8956d17fce545215bbc6ca6b2a6ee004289ed42ee4c