[INFO] cloning repository https://github.com/jcoglan/ray-tracer [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcoglan/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcoglan%2Fray-tracer"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcoglan%2Fray-tracer'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d6342dd01148b170197332add1c1b4c4f88c0c54 [INFO] checking jcoglan/ray-tracer against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcoglan%2Fray-tracer" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcoglan/ray-tracer 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/jcoglan/ray-tracer [INFO] finished tweaking git repo https://github.com/jcoglan/ray-tracer [INFO] tweaked toml for git repo https://github.com/jcoglan/ray-tracer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/jcoglan/ray-tracer 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 8508c8e6b73841134cc927593ab029c32cc160e74ba9f5b2eb9997097e7d7183 [INFO] running `"docker" "start" "-a" "8508c8e6b73841134cc927593ab029c32cc160e74ba9f5b2eb9997097e7d7183"` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.40 [INFO] [stderr] Compiling bumpalo v2.3.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.40 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking futures v0.1.26 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.40 [INFO] [stderr] Compiling weedle v0.8.0 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.40 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.40 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.40 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.40 [INFO] [stderr] Checking js-sys v0.3.17 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.17 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.17 [INFO] [stderr] Checking wasm-bindgen-test v0.2.40 [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/color.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | let r = ((r as f64) * amount) as u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/color.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | let r = ((r as f64) * amount) as u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/color.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | let g = ((g as f64) * amount) as u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/color.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | let b = ((b as f64) * amount) as u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/color.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | let g = ((g as f64) * amount) as u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/color.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | let b = ((b as f64) * amount) as u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `ray-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: could not compile `ray-tracer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8508c8e6b73841134cc927593ab029c32cc160e74ba9f5b2eb9997097e7d7183"` [INFO] running `"docker" "rm" "-f" "8508c8e6b73841134cc927593ab029c32cc160e74ba9f5b2eb9997097e7d7183"` [INFO] [stdout] 8508c8e6b73841134cc927593ab029c32cc160e74ba9f5b2eb9997097e7d7183