[INFO] fetching crate easy-imgui 0.15.0... [INFO] checking easy-imgui-0.15.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate easy-imgui 0.15.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate easy-imgui 0.15.0 [INFO] finished tweaking crates.io crate easy-imgui 0.15.0 [INFO] tweaked toml for crates.io crate easy-imgui 0.15.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate easy-imgui 0.15.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate easy-imgui 0.15.0 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b066eb384ca98320412698f963a85deb0500ddc20b37ae9ffadb19f4fb6a2cb [INFO] running `Command { std: "docker" "start" "-a" "1b066eb384ca98320412698f963a85deb0500ddc20b37ae9ffadb19f4fb6a2cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b066eb384ca98320412698f963a85deb0500ddc20b37ae9ffadb19f4fb6a2cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b066eb384ca98320412698f963a85deb0500ddc20b37ae9ffadb19f4fb6a2cb", kill_on_drop: false }` [INFO] [stdout] 1b066eb384ca98320412698f963a85deb0500ddc20b37ae9ffadb19f4fb6a2cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88670d488809597f44f15a307bcf04c399e07b487ea11b4626863a7703762ca2 [INFO] running `Command { std: "docker" "start" "-a" "88670d488809597f44f15a307bcf04c399e07b487ea11b4626863a7703762ca2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [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 libc v0.2.171 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling xshell-macros v0.2.7 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling xshell v0.2.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling easy-imgui-sys v0.15.0 [INFO] [stderr] Checking easy-imgui v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1140:43 [INFO] [stdout] | [INFO] [stdout] 1140 | pub fn window_config(&self, name: LblId) -> Window { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1140 | pub fn window_config(&self, name: LblId) -> Window<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1175:46 [INFO] [stdout] | [INFO] [stdout] 1175 | pub fn menu_item_config(&self, label: LblId) -> MenuItem { [INFO] [stdout] | ^^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1175 | pub fn menu_item_config(&self, label: LblId) -> MenuItem<'_, S, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1215:49 [INFO] [stdout] | [INFO] [stdout] 1215 | pub fn small_button_config(&self, label: LblId) -> SmallButton { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1215 | pub fn small_button_config(&self, label: LblId) -> SmallButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1238:53 [INFO] [stdout] | [INFO] [stdout] 1238 | pub fn invisible_button_config(&self, id: S) -> InvisibleButton { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1238 | pub fn invisible_button_config(&self, id: S) -> InvisibleButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1256:49 [INFO] [stdout] | [INFO] [stdout] 1256 | pub fn arrow_button_config(&self, id: S, dir: Dir) -> ArrowButton { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1256 | pub fn arrow_button_config(&self, id: S, dir: Dir) -> ArrowButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1296:49 [INFO] [stdout] | [INFO] [stdout] 1296 | pub fn radio_button_config(&self, label: LblId, active: bool) -> RadioButton { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1296 | pub fn radio_button_config(&self, label: LblId, active: bool) -> RadioButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1324:40 [INFO] [stdout] | [INFO] [stdout] 1324 | pub fn progress_bar_config<'a>(&self, fraction: f32) -> ProgressBar<&'a str> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1324 | pub fn progress_bar_config<'a>(&self, fraction: f32) -> ProgressBar<'_, &'a str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1347:29 [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn image_config(&self, user_texture_id: TextureId, size: Vector2) -> Image { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn image_config(&self, user_texture_id: TextureId, size: Vector2) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1356:46 [INFO] [stdout] | [INFO] [stdout] 1356 | pub fn image_with_custom_rect_config(&self, ridx: CustomRectIndex, scale: f32) -> Image { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1356 | pub fn image_with_custom_rect_config(&self, ridx: CustomRectIndex, scale: f32) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1390:37 [INFO] [stdout] | [INFO] [stdout] 1390 | pub fn image_with_bg_config(&self, user_texture_id: TextureId, size: Vector2) -> ImageWithBg { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1390 | pub fn image_with_bg_config(&self, user_texture_id: TextureId, size: Vector2) -> ImageWithBg<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1401:53 [INFO] [stdout] | [INFO] [stdout] 1401 | pub fn image_wth_bg_with_custom_rect_config(&self, ridx: CustomRectIndex, scale: f32) -> ImageWithBg { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1401 | pub fn image_wth_bg_with_custom_rect_config(&self, ridx: CustomRectIndex, scale: f32) -> ImageWithBg<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1436:49 [INFO] [stdout] | [INFO] [stdout] 1436 | pub fn image_button_config(&self, str_id: Id, user_texture_id: TextureId, size: Vector2) -> ImageButton { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1436 | pub fn image_button_config(&self, str_id: Id, user_texture_id: TextureId, size: Vector2) -> ImageButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1448:66 [INFO] [stdout] | [INFO] [stdout] 1448 | ...: IntoCStr>(&self, str_id: Id, ridx: CustomRectIndex, scale: f32) -> ImageButton { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1448 | pub fn image_button_with_custom_rect_config(&self, str_id: Id, ridx: CustomRectIndex, scale: f32) -> ImageButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1478:47 [INFO] [stdout] | [INFO] [stdout] 1478 | pub fn selectable_config(&self, label: LblId) -> Selectable { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1478 | pub fn selectable_config(&self, label: LblId) -> Selectable<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:2394:45 [INFO] [stdout] | [INFO] [stdout] 2394 | pub fn tab_item_config(&self, str_id: LblId) -> TabItem { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2394 | pub fn tab_item_config(&self, str_id: LblId) -> TabItem<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:3434:20 [INFO] [stdout] | [INFO] [stdout] 3434 | FontId((*(*io).Fonts).Fonts.len() - 1) [INFO] [stdout] | ^^-----------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut easy_imgui_sys::ImFontAtlas` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut easy_imgui_sys::ImFont]` [INFO] [stdout] --> src/lib.rs:3434:20 [INFO] [stdout] | [INFO] [stdout] 3434 | FontId((*(*io).Fonts).Fonts.len() - 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 3434 | FontId((&(*(*io).Fonts).Fonts).len() - 1) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:3522:33 [INFO] [stdout] | [INFO] [stdout] 3522 | let rect = &(*(*io).Fonts).CustomRects[idx]; [INFO] [stdout] | ^^-----------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut easy_imgui_sys::ImFontAtlas` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&ImVector` [INFO] [stdout] --> src/lib.rs:3522:33 [INFO] [stdout] | [INFO] [stdout] 3522 | let rect = &(*(*io).Fonts).CustomRects[idx]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 3522 | let rect = &(&(*(*io).Fonts).CustomRects)[idx]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `easy-imgui` (lib) due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1140:43 [INFO] [stdout] | [INFO] [stdout] 1140 | pub fn window_config(&self, name: LblId) -> Window { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1140 | pub fn window_config(&self, name: LblId) -> Window<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1175:46 [INFO] [stdout] | [INFO] [stdout] 1175 | pub fn menu_item_config(&self, label: LblId) -> MenuItem { [INFO] [stdout] | ^^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1175 | pub fn menu_item_config(&self, label: LblId) -> MenuItem<'_, S, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1215:49 [INFO] [stdout] | [INFO] [stdout] 1215 | pub fn small_button_config(&self, label: LblId) -> SmallButton { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1215 | pub fn small_button_config(&self, label: LblId) -> SmallButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1238:53 [INFO] [stdout] | [INFO] [stdout] 1238 | pub fn invisible_button_config(&self, id: S) -> InvisibleButton { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1238 | pub fn invisible_button_config(&self, id: S) -> InvisibleButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1256:49 [INFO] [stdout] | [INFO] [stdout] 1256 | pub fn arrow_button_config(&self, id: S, dir: Dir) -> ArrowButton { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1256 | pub fn arrow_button_config(&self, id: S, dir: Dir) -> ArrowButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1296:49 [INFO] [stdout] | [INFO] [stdout] 1296 | pub fn radio_button_config(&self, label: LblId, active: bool) -> RadioButton { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1296 | pub fn radio_button_config(&self, label: LblId, active: bool) -> RadioButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1324:40 [INFO] [stdout] | [INFO] [stdout] 1324 | pub fn progress_bar_config<'a>(&self, fraction: f32) -> ProgressBar<&'a str> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1324 | pub fn progress_bar_config<'a>(&self, fraction: f32) -> ProgressBar<'_, &'a str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1347:29 [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn image_config(&self, user_texture_id: TextureId, size: Vector2) -> Image { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn image_config(&self, user_texture_id: TextureId, size: Vector2) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1356:46 [INFO] [stdout] | [INFO] [stdout] 1356 | pub fn image_with_custom_rect_config(&self, ridx: CustomRectIndex, scale: f32) -> Image { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1356 | pub fn image_with_custom_rect_config(&self, ridx: CustomRectIndex, scale: f32) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1390:37 [INFO] [stdout] | [INFO] [stdout] 1390 | pub fn image_with_bg_config(&self, user_texture_id: TextureId, size: Vector2) -> ImageWithBg { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1390 | pub fn image_with_bg_config(&self, user_texture_id: TextureId, size: Vector2) -> ImageWithBg<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1401:53 [INFO] [stdout] | [INFO] [stdout] 1401 | pub fn image_wth_bg_with_custom_rect_config(&self, ridx: CustomRectIndex, scale: f32) -> ImageWithBg { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1401 | pub fn image_wth_bg_with_custom_rect_config(&self, ridx: CustomRectIndex, scale: f32) -> ImageWithBg<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1436:49 [INFO] [stdout] | [INFO] [stdout] 1436 | pub fn image_button_config(&self, str_id: Id, user_texture_id: TextureId, size: Vector2) -> ImageButton { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1436 | pub fn image_button_config(&self, str_id: Id, user_texture_id: TextureId, size: Vector2) -> ImageButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1448:66 [INFO] [stdout] | [INFO] [stdout] 1448 | ...: IntoCStr>(&self, str_id: Id, ridx: CustomRectIndex, scale: f32) -> ImageButton { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1448 | pub fn image_button_with_custom_rect_config(&self, str_id: Id, ridx: CustomRectIndex, scale: f32) -> ImageButton<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:1478:47 [INFO] [stdout] | [INFO] [stdout] 1478 | pub fn selectable_config(&self, label: LblId) -> Selectable { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1478 | pub fn selectable_config(&self, label: LblId) -> Selectable<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:2394:45 [INFO] [stdout] | [INFO] [stdout] 2394 | pub fn tab_item_config(&self, str_id: LblId) -> TabItem { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2394 | pub fn tab_item_config(&self, str_id: LblId) -> TabItem<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:3434:20 [INFO] [stdout] | [INFO] [stdout] 3434 | FontId((*(*io).Fonts).Fonts.len() - 1) [INFO] [stdout] | ^^-----------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut easy_imgui_sys::ImFontAtlas` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut easy_imgui_sys::ImFont]` [INFO] [stdout] --> src/lib.rs:3434:20 [INFO] [stdout] | [INFO] [stdout] 3434 | FontId((*(*io).Fonts).Fonts.len() - 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 3434 | FontId((&(*(*io).Fonts).Fonts).len() - 1) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:3522:33 [INFO] [stdout] | [INFO] [stdout] 3522 | let rect = &(*(*io).Fonts).CustomRects[idx]; [INFO] [stdout] | ^^-----------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut easy_imgui_sys::ImFontAtlas` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&ImVector` [INFO] [stdout] --> src/lib.rs:3522:33 [INFO] [stdout] | [INFO] [stdout] 3522 | let rect = &(*(*io).Fonts).CustomRects[idx]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 3522 | let rect = &(&(*(*io).Fonts).CustomRects)[idx]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `easy-imgui` (lib test) due to 2 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88670d488809597f44f15a307bcf04c399e07b487ea11b4626863a7703762ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88670d488809597f44f15a307bcf04c399e07b487ea11b4626863a7703762ca2", kill_on_drop: false }` [INFO] [stdout] 88670d488809597f44f15a307bcf04c399e07b487ea11b4626863a7703762ca2