[INFO] fetching crate raylib 5.5.1... [INFO] checking raylib-5.5.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate raylib 5.5.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate raylib 5.5.1 [INFO] finished tweaking crates.io crate raylib 5.5.1 [INFO] tweaked toml for crates.io crate raylib 5.5.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate raylib 5.5.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate raylib 5.5.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6c805338355846c41b7bfae33909285e78fda2291cb57ef1d3c80d62e950fe7 [INFO] running `Command { std: "docker" "start" "-a" "a6c805338355846c41b7bfae33909285e78fda2291cb57ef1d3c80d62e950fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6c805338355846c41b7bfae33909285e78fda2291cb57ef1d3c80d62e950fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c805338355846c41b7bfae33909285e78fda2291cb57ef1d3c80d62e950fe7", kill_on_drop: false }` [INFO] [stdout] a6c805338355846c41b7bfae33909285e78fda2291cb57ef1d3c80d62e950fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb074d6d4cc18f706b48656c396ea306517cb4c80543cb09c636ede5b43bc3d9 [INFO] running `Command { std: "docker" "start" "-a" "bb074d6d4cc18f706b48656c396ea306517cb4c80543cb09c636ede5b43bc3d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Checking raylib v5.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nalgebra_interop` [INFO] [stdout] --> src/lib.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "nalgebra_interop")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bindgen`, `convert_mint`, `custom_frame_control`, `default`, `imgui`, `mint`, `nightly`, `nobuild`, `nogif`, `noscreenshot`, `opengl_21`, `opengl_33`, `opengl_es_20`, `opengl_es_30`, `sdl`, `serde`, `serde_json`, `wayland`, and `with_serde` [INFO] [stdout] = help: consider adding `nalgebra_interop` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/core/color.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorIsEqual`, `GetPixelColor`, and `PixelFormat` [INFO] [stdout] --> src/core/color.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use raylib_sys::{ColorIsEqual, GetPixelColor, PixelFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::RaylibHandle` [INFO] [stdout] --> src/core/color.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::RaylibHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mesh` [INFO] [stdout] --> src/core/drawing.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::{Mesh, WeakMaterial}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::Codepoints` [INFO] [stdout] --> src/core/drawing.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::text::Codepoints; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShaderV` [INFO] [stdout] --> src/core/drawing.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | use super::shaders::{Shader, ShaderV}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GamepadButton` [INFO] [stdout] --> src/core/input.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use raylib_sys::{GamepadButton, TraceLogLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/core/shaders.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib_sys::LoadUTF8` [INFO] [stdout] --> src/core/text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use raylib_sys::LoadUTF8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/core/text.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/core/texture.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/core/texture.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::logging::*` [INFO] [stdout] --> src/prelude.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub use crate::core::logging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::logging::*` [INFO] [stdout] --> src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub use crate::core::logging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nalgebra_interop` [INFO] [stdout] --> src/lib.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "nalgebra_interop")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bindgen`, `convert_mint`, `custom_frame_control`, `default`, `imgui`, `mint`, `nightly`, `nobuild`, `nogif`, `noscreenshot`, `opengl_21`, `opengl_33`, `opengl_es_20`, `opengl_es_30`, `sdl`, `serde`, `serde_json`, `wayland`, and `with_serde` [INFO] [stdout] = help: consider adding `nalgebra_interop` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/core/color.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorIsEqual`, `GetPixelColor`, and `PixelFormat` [INFO] [stdout] --> src/core/color.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use raylib_sys::{ColorIsEqual, GetPixelColor, PixelFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::RaylibHandle` [INFO] [stdout] --> src/core/color.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::RaylibHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mesh` [INFO] [stdout] --> src/core/drawing.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::{Mesh, WeakMaterial}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::Codepoints` [INFO] [stdout] --> src/core/drawing.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::text::Codepoints; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GamepadButton` [INFO] [stdout] --> src/core/input.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use raylib_sys::{GamepadButton, TraceLogLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/core/shaders.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib_sys::LoadUTF8` [INFO] [stdout] --> src/core/text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use raylib_sys::LoadUTF8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/core/text.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/core/texture.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/core/texture.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::logging::*` [INFO] [stdout] --> src/prelude.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub use crate::core::logging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::logging::*` [INFO] [stdout] --> src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub use crate::core::logging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShaderV` [INFO] [stdout] --> src/core/drawing.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | use super::shaders::{Shader, ShaderV}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/core/callbacks.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 254 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 257 | let data = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/core/callbacks.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 254 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 257 | let data = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/rgui/safe.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | let result = unsafe { ffi::GuiColorPicker(bounds.into(), c_text.as_ptr(), &mut out) }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/audio.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | pub(crate) fn copy(&self) -> Wave { [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] 241 | pub(crate) fn copy(&self) -> Wave<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 317 | cb: fn(TraceLogLevel, &str), [INFO] [stdout] 318 | ) -> Result<(), SetLogError> { [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] 318 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 325 | cb: fn(&str, &[u8]) -> bool, [INFO] [stdout] 326 | ) -> Result<(), SetLogError> { [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] 326 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 335 | cb: fn(&str) -> Vec, [INFO] [stdout] 336 | ) -> Result<(), SetLogError> { [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] 336 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 343 | cb: fn(&str, &str) -> bool, [INFO] [stdout] 344 | ) -> Result<(), SetLogError> { [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] 344 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 353 | cb: fn(&str) -> String, [INFO] [stdout] 354 | ) -> Result<(), SetLogError> { [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] 354 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 364 | ) -> Result<(), SetLogError> { [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] 364 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/core/callbacks/stream_processor_with_user_data_wrapper.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | if (*guard).callback == None { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | generate_functions!( 0#(,I)* ); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `generate_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/core/callbacks/stream_processor_with_user_data_wrapper.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | if (*guard).callback == None { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | generate_functions!( 0#(,I)* ); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `generate_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn begin_drawing(&mut self, _: &RaylibThread) -> RaylibDrawHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | 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] --> src/core/drawing.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | &'a mut self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 116 | _: &RaylibThread, [INFO] [stdout] 117 | framebuffer: &'a mut ffi::RenderTexture2D, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 118 | ) -> 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] 118 | ) -> RaylibTextureMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | &'a mut self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 164 | _: &RaylibThread, [INFO] [stdout] 165 | vr_config: &'a mut VrStereoConfig, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 166 | ) -> 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] 166 | ) -> RaylibVRMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 213 | 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] --> src/core/drawing.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | 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] 268 | 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] --> src/core/drawing.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | fn begin_shader_mode<'a>(&'a mut self, shader: &'a mut 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] 324 | fn begin_shader_mode<'a>(&'a mut self, shader: &'a mut Shader) -> RaylibShaderMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | 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] 371 | 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] --> src/core/drawing.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 424 | ) -> 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] 424 | ) -> RaylibScissorMode<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/rgui/safe.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | let result = unsafe { ffi::GuiColorPicker(bounds.into(), c_text.as_ptr(), &mut out) }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/core/drawing.rs:1668:14 [INFO] [stdout] | [INFO] [stdout] 1664 | let tr = transforms [INFO] [stdout] | __________________- [INFO] [stdout] 1665 | | .iter() [INFO] [stdout] 1666 | | .map(|f| f.into()) [INFO] [stdout] 1667 | | .collect::>() [INFO] [stdout] | |__________________________________________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 1668 | .as_ptr(); [INFO] [stdout] | ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mouseCell` should have a snake case name [INFO] [stdout] --> src/rgui/safe.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | let mut mouseCell = ffi::Vector2 { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `mouse_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/audio.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | pub(crate) fn copy(&self) -> Wave { [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] 241 | pub(crate) fn copy(&self) -> Wave<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 317 | cb: fn(TraceLogLevel, &str), [INFO] [stdout] 318 | ) -> Result<(), SetLogError> { [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] 318 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 325 | cb: fn(&str, &[u8]) -> bool, [INFO] [stdout] 326 | ) -> Result<(), SetLogError> { [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] 326 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 335 | cb: fn(&str) -> Vec, [INFO] [stdout] 336 | ) -> Result<(), SetLogError> { [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] 336 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 343 | cb: fn(&str, &str) -> bool, [INFO] [stdout] 344 | ) -> Result<(), SetLogError> { [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] 344 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 353 | cb: fn(&str) -> String, [INFO] [stdout] 354 | ) -> Result<(), SetLogError> { [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] 354 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/callbacks.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 364 | ) -> Result<(), SetLogError> { [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] 364 | ) -> Result<(), SetLogError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/core/callbacks/stream_processor_with_user_data_wrapper.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | if (*guard).callback == None { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | generate_functions!( 0#(,I)* ); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `generate_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/core/callbacks/stream_processor_with_user_data_wrapper.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | if (*guard).callback == None { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | generate_functions!( 0#(,I)* ); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `generate_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn begin_drawing(&mut self, _: &RaylibThread) -> RaylibDrawHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | 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] --> src/core/drawing.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | &'a mut self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 116 | _: &RaylibThread, [INFO] [stdout] 117 | framebuffer: &'a mut ffi::RenderTexture2D, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 118 | ) -> 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] 118 | ) -> RaylibTextureMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | &'a mut self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 164 | _: &RaylibThread, [INFO] [stdout] 165 | vr_config: &'a mut VrStereoConfig, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 166 | ) -> 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] 166 | ) -> RaylibVRMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 213 | 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] --> src/core/drawing.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | 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] 268 | 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] --> src/core/drawing.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | fn begin_shader_mode<'a>(&'a mut self, shader: &'a mut 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] 324 | fn begin_shader_mode<'a>(&'a mut self, shader: &'a mut Shader) -> RaylibShaderMode<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/drawing.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | 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] 371 | 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] --> src/core/drawing.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 424 | ) -> 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] 424 | ) -> RaylibScissorMode<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/core/drawing.rs:1668:14 [INFO] [stdout] | [INFO] [stdout] 1664 | let tr = transforms [INFO] [stdout] | __________________- [INFO] [stdout] 1665 | | .iter() [INFO] [stdout] 1666 | | .map(|f| f.into()) [INFO] [stdout] 1667 | | .collect::>() [INFO] [stdout] | |__________________________________________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 1668 | .as_ptr(); [INFO] [stdout] | ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mouseCell` should have a snake case name [INFO] [stdout] --> src/rgui/safe.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | let mut mouseCell = ffi::Vector2 { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `mouse_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.99s [INFO] running `Command { std: "docker" "inspect" "bb074d6d4cc18f706b48656c396ea306517cb4c80543cb09c636ede5b43bc3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb074d6d4cc18f706b48656c396ea306517cb4c80543cb09c636ede5b43bc3d9", kill_on_drop: false }` [INFO] [stdout] bb074d6d4cc18f706b48656c396ea306517cb4c80543cb09c636ede5b43bc3d9