[INFO] cloning repository https://github.com/jestarray/raylib_sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jestarray/raylib_sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fraylib_sandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fraylib_sandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcf06d8579e4630358332da24a56cecca487df6a [INFO] checking jestarray/raylib_sandbox against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fraylib_sandbox" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jestarray/raylib_sandbox on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jestarray/raylib_sandbox [INFO] finished tweaking git repo https://github.com/jestarray/raylib_sandbox [INFO] tweaked toml for git repo https://github.com/jestarray/raylib_sandbox written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jestarray/raylib_sandbox already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f71bea7f07c2b7f325257d6d1aa84e80e47eb088a829a22ca87ab0b30fc69f8 [INFO] running `Command { std: "docker" "start" "-a" "5f71bea7f07c2b7f325257d6d1aa84e80e47eb088a829a22ca87ab0b30fc69f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f71bea7f07c2b7f325257d6d1aa84e80e47eb088a829a22ca87ab0b30fc69f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f71bea7f07c2b7f325257d6d1aa84e80e47eb088a829a22ca87ab0b30fc69f8", kill_on_drop: false }` [INFO] [stdout] 5f71bea7f07c2b7f325257d6d1aa84e80e47eb088a829a22ca87ab0b30fc69f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baabfc0b9a598d7dae0eedfd5e232adb32953ba34270fbe8f422fba14ae4f107 [INFO] running `Command { std: "docker" "start" "-a" "baabfc0b9a598d7dae0eedfd5e232adb32953ba34270fbe8f422fba14ae4f107", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling raylib_sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling raylib-sys v4.5.0 (/opt/rustwide/workdir/raylib-sys) [INFO] [stdout] warning: unused import: `cmake::build` [INFO] [stdout] --> raylib-sys/build.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use cmake::build; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking raylib v4.5.0 (/opt/rustwide/workdir/raylib) [INFO] [stdout] warning: unused import: `crate::core::models::Model` [INFO] [stdout] --> raylib/src/core/collision.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::models::Model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> raylib/src/core/drawing.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 67 | fn begin_texture_mode<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 71 | ) -> RaylibTextureMode { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> raylib/src/core/drawing.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 103 | fn begin_vr_stereo_mode<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> RaylibVRMode { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> raylib/src/core/drawing.rs:203:88 [INFO] [stdout] | [INFO] [stdout] 203 | fn begin_shader_mode<'a>(&'a mut self, shader: &'a ffi::Shader) -> RaylibShaderMode { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::file::*` [INFO] [stdout] --> raylib/src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub use crate::core::file::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> raylib/src/core/window.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | let mut state = WindowState::default(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `bool` to `bool` [INFO] [stdout] --> raylib/src/core/math.rs:2057:18 [INFO] [stdout] | [INFO] [stdout] 2057 | hit: self.hit.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f32` to `f32` [INFO] [stdout] --> raylib/src/core/math.rs:2058:23 [INFO] [stdout] | [INFO] [stdout] 2058 | distance: self.distance.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f32` to `f32` [INFO] [stdout] --> raylib/src/rgui/safe.rs:588:18 [INFO] [stdout] | [INFO] [stdout] 588 | unsafe { ffi::GuiColorBarAlpha(bounds.into(), text.as_cstr_ptr(), alpha).into() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raylib` (lib) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "baabfc0b9a598d7dae0eedfd5e232adb32953ba34270fbe8f422fba14ae4f107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baabfc0b9a598d7dae0eedfd5e232adb32953ba34270fbe8f422fba14ae4f107", kill_on_drop: false }` [INFO] [stdout] baabfc0b9a598d7dae0eedfd5e232adb32953ba34270fbe8f422fba14ae4f107