[INFO] updating cached repository https://github.com/tomafro/ray-tracer-challenge [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b4aab05c9676e132b70f60bdb98e30c0b6b08b8d [INFO] checking tomafro/ray-tracer-challenge against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomafro%2Fray-tracer-challenge" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomafro/ray-tracer-challenge on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tomafro/ray-tracer-challenge [INFO] finished tweaking git repo https://github.com/tomafro/ray-tracer-challenge [INFO] tweaked toml for git repo https://github.com/tomafro/ray-tracer-challenge written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/tomafro/ray-tracer-challenge already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01cedc0664f377ec920066166ace39c97f237375217cf43ffc7efd9ab371ccde [INFO] running `"docker" "start" "-a" "01cedc0664f377ec920066166ace39c97f237375217cf43ffc7efd9ab371ccde"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Compiling indoc-impl v0.2.8 [INFO] [stderr] Checking indoc v0.2.8 [INFO] [stderr] Checking tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/colour.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | (self * 255.0).min(255.0).max(0.0) as u8 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/colour.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | (self * 255.0).min(255.0).max(0.0) as u8 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/patterns.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | let t = point.x.floor() as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/patterns.rs:35:25 [INFO] [stderr] | [INFO] [stderr] 35 | let t = (point.x * point.x + point.z * point.z).sqrt().floor() as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/patterns.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | let t = (point.x.floor() + point.y.floor() + point.z.floor()) as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/patterns.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | let t = point.x.floor() as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/patterns.rs:35:25 [INFO] [stderr] | [INFO] [stderr] 35 | let t = (point.x * point.x + point.z * point.z).sqrt().floor() as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/patterns.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | let t = (point.x.floor() + point.y.floor() + point.z.floor()) as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `tracer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `tracer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "01cedc0664f377ec920066166ace39c97f237375217cf43ffc7efd9ab371ccde"` [INFO] running `"docker" "rm" "-f" "01cedc0664f377ec920066166ace39c97f237375217cf43ffc7efd9ab371ccde"` [INFO] [stdout] 01cedc0664f377ec920066166ace39c97f237375217cf43ffc7efd9ab371ccde