[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] checking dariuswiles/rust-computer-graphics-from-scratch against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdariuswiles%2Frust-computer-graphics-from-scratch" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dariuswiles/rust-computer-graphics-from-scratch on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-13/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8ccd88e7d69c7f60728bf4283b9e805b2b0bdbdbe869bdab18ef2b56cff530d [INFO] running `Command { std: "docker" "start" "-a" "b8ccd88e7d69c7f60728bf4283b9e805b2b0bdbdbe869bdab18ef2b56cff530d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8ccd88e7d69c7f60728bf4283b9e805b2b0bdbdbe869bdab18ef2b56cff530d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ccd88e7d69c7f60728bf4283b9e805b2b0bdbdbe869bdab18ef2b56cff530d", kill_on_drop: false }` [INFO] [stdout] b8ccd88e7d69c7f60728bf4283b9e805b2b0bdbdbe869bdab18ef2b56cff530d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de040dd864ee0baecf8e8be38301a35aaeea60aef0691e9652126e13f79533f2 [INFO] running `Command { std: "docker" "start" "-a" "de040dd864ee0baecf8e8be38301a35aaeea60aef0691e9652126e13f79533f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [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] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rust-computer-graphics-from-scratch v0.1.0 (/opt/rustwide/workdir) [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] 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] warning: 1 warning emitted [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] [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!("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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de040dd864ee0baecf8e8be38301a35aaeea60aef0691e9652126e13f79533f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de040dd864ee0baecf8e8be38301a35aaeea60aef0691e9652126e13f79533f2", kill_on_drop: false }` [INFO] [stdout] de040dd864ee0baecf8e8be38301a35aaeea60aef0691e9652126e13f79533f2