[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#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fraylib_sandbox" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jestarray/raylib_sandbox on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 57bf475d97237ea9602e90bf042ef923e744491294775bde55270e449fd66312 [INFO] running `Command { std: "docker" "start" "57bf475d97237ea9602e90bf042ef923e744491294775bde55270e449fd66312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57bf475d97237ea9602e90bf042ef923e744491294775bde55270e449fd66312" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57bf475d97237ea9602e90bf042ef923e744491294775bde55270e449fd66312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57bf475d97237ea9602e90bf042ef923e744491294775bde55270e449fd66312" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling memchr v2.5.0 [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 clang-sys v1.6.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling raylib_sandbox v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `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: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `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] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `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] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> raylib/src/core/drawing.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn begin_drawing(&mut self, _: &RaylibThread) -> RaylibDrawHandle { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn begin_drawing(&mut self, _: &RaylibThread) -> RaylibDrawHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> raylib/src/core/drawing.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 69 | _: &RaylibThread, [INFO] [stdout] 70 | framebuffer: &'a mut ffi::RenderTexture2D, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 71 | ) -> RaylibTextureMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 71 | ) -> RaylibTextureMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> raylib/src/core/drawing.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 104 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 105 | vr_config: &'a mut VrStereoConfig, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 106 | ) -> RaylibVRMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 106 | ) -> RaylibVRMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> raylib/src/core/drawing.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin_mode2D(&mut self, camera: impl Into) -> RaylibMode2D { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn begin_mode2D(&mut self, camera: impl Into) -> RaylibMode2D<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> raylib/src/core/drawing.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | fn begin_mode3D(&mut self, camera: impl Into) -> RaylibMode3D { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn begin_mode3D(&mut self, camera: impl Into) -> RaylibMode3D<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> raylib/src/core/drawing.rs:203:72 [INFO] [stdout] | [INFO] [stdout] 203 | fn begin_shader_mode<'a>(&'a mut self, shader: &'a ffi::Shader) -> RaylibShaderMode { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 203 | fn begin_shader_mode<'a>(&'a mut self, shader: &'a ffi::Shader) -> RaylibShaderMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> raylib/src/core/drawing.rs:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | fn begin_blend_mode(&mut self, blend_mode: crate::consts::BlendMode) -> RaylibBlendMode { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | fn begin_blend_mode(&mut self, blend_mode: crate::consts::BlendMode) -> RaylibBlendMode<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> raylib/src/core/drawing.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 271 | ) -> RaylibScissorMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | ) -> RaylibScissorMode<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raylib` (lib) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57bf475d97237ea9602e90bf042ef923e744491294775bde55270e449fd66312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57bf475d97237ea9602e90bf042ef923e744491294775bde55270e449fd66312", kill_on_drop: false }` [INFO] [stdout] 57bf475d97237ea9602e90bf042ef923e744491294775bde55270e449fd66312