[INFO] fetching crate dear-imgui 0.2.0... [INFO] testing dear-imgui-0.2.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate dear-imgui 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate dear-imgui 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dear-imgui 0.2.0 [INFO] tweaked toml for crates.io crate dear-imgui 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dear-imgui 0.2.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dear-imgui 0.2.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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ab62275d9e8179f57e7ed252264f66d35af02edfb779de1a592857327e35c4c [INFO] running `Command { std: "docker" "start" "-a" "5ab62275d9e8179f57e7ed252264f66d35af02edfb779de1a592857327e35c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ab62275d9e8179f57e7ed252264f66d35af02edfb779de1a592857327e35c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ab62275d9e8179f57e7ed252264f66d35af02edfb779de1a592857327e35c4c", kill_on_drop: false }` [INFO] [stdout] 5ab62275d9e8179f57e7ed252264f66d35af02edfb779de1a592857327e35c4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 768cf83594de419ef5ad23968fefe7207a613373f7de0049492ed40ee603ed64 [INFO] running `Command { std: "docker" "start" "-a" "768cf83594de419ef5ad23968fefe7207a613373f7de0049492ed40ee603ed64", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde_core v1.0.227 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde v1.0.227 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling xshell-macros v0.2.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling xshell v0.2.7 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.227 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.26.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling dear-imgui-build-support v0.1.0 [INFO] [stderr] Compiling dear-imgui-sys v0.2.0 [INFO] [stderr] Compiling dear-imgui v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1283:24 [INFO] [stdout] | [INFO] [stdout] 1283 | let cmd = &mut *(cmd as *mut sys::ImDrawCmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1278:5 [INFO] [stdout] | [INFO] [stdout] 1278 | / unsafe extern "C" fn run_callback( [INFO] [stdout] 1279 | | _parent_list: *const sys::ImDrawList, [INFO] [stdout] 1280 | | cmd: *const sys::ImDrawCmd, [INFO] [stdout] 1281 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1286:13 [INFO] [stdout] | [INFO] [stdout] 1286 | (cmd.UserCallbackData as *mut u8).add(cmd.UserCallbackDataOffset as usize) as *mut F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1294:18 [INFO] [stdout] | [INFO] [stdout] 1294 | let cb = Box::from_raw(data_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimReserve` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1312:9 [INFO] [stdout] | [INFO] [stdout] 1312 | sys::ImDrawList_PrimReserve(self.draw_list, idx_count, vtx_count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1311:5 [INFO] [stdout] | [INFO] [stdout] 1311 | pub unsafe fn prim_reserve(&self, idx_count: i32, vtx_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimUnreserve` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1319:9 [INFO] [stdout] | [INFO] [stdout] 1319 | sys::ImDrawList_PrimUnreserve(self.draw_list, idx_count, vtx_count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1318:5 [INFO] [stdout] | [INFO] [stdout] 1318 | pub unsafe fn prim_unreserve(&self, idx_count: i32, vtx_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimRect` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1331:9 [INFO] [stdout] | [INFO] [stdout] 1331 | sys::ImDrawList_PrimRect(self.draw_list, a.into(), b.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1325:5 [INFO] [stdout] | [INFO] [stdout] 1325 | / pub unsafe fn prim_rect( [INFO] [stdout] 1326 | | &self, [INFO] [stdout] 1327 | | a: impl Into, [INFO] [stdout] 1328 | | b: impl Into, [INFO] [stdout] 1329 | | col: impl Into, [INFO] [stdout] 1330 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimRectUV` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1345:9 [INFO] [stdout] | [INFO] [stdout] 1345 | / sys::ImDrawList_PrimRectUV( [INFO] [stdout] 1346 | | self.draw_list, [INFO] [stdout] 1347 | | a.into(), [INFO] [stdout] 1348 | | b.into(), [INFO] [stdout] ... | [INFO] [stdout] 1351 | | col.into().into(), [INFO] [stdout] 1352 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1337:5 [INFO] [stdout] | [INFO] [stdout] 1337 | / pub unsafe fn prim_rect_uv( [INFO] [stdout] 1338 | | &self, [INFO] [stdout] 1339 | | a: impl Into, [INFO] [stdout] 1340 | | b: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 1343 | | col: impl Into, [INFO] [stdout] 1344 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimQuadUV` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1370:9 [INFO] [stdout] | [INFO] [stdout] 1370 | / sys::ImDrawList_PrimQuadUV( [INFO] [stdout] 1371 | | self.draw_list, [INFO] [stdout] 1372 | | a.into(), [INFO] [stdout] 1373 | | b.into(), [INFO] [stdout] ... | [INFO] [stdout] 1380 | | col.into().into(), [INFO] [stdout] 1381 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1358 | / pub unsafe fn prim_quad_uv( [INFO] [stdout] 1359 | | &self, [INFO] [stdout] 1360 | | a: impl Into, [INFO] [stdout] 1361 | | b: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 1368 | | col: impl Into, [INFO] [stdout] 1369 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimWriteVtx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1393:9 [INFO] [stdout] | [INFO] [stdout] 1393 | sys::ImDrawList_PrimWriteVtx(self.draw_list, pos.into(), uv.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1387:5 [INFO] [stdout] | [INFO] [stdout] 1387 | / pub unsafe fn prim_write_vtx( [INFO] [stdout] 1388 | | &self, [INFO] [stdout] 1389 | | pos: impl Into, [INFO] [stdout] 1390 | | uv: impl Into, [INFO] [stdout] 1391 | | col: impl Into, [INFO] [stdout] 1392 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimWriteIdx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1400:9 [INFO] [stdout] | [INFO] [stdout] 1400 | sys::ImDrawList_PrimWriteIdx(self.draw_list, idx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1399:5 [INFO] [stdout] | [INFO] [stdout] 1399 | pub unsafe fn prim_write_idx(&self, idx: sys::ImDrawIdx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimVtx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1412:9 [INFO] [stdout] | [INFO] [stdout] 1412 | sys::ImDrawList_PrimVtx(self.draw_list, pos.into(), uv.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1406:5 [INFO] [stdout] | [INFO] [stdout] 1406 | / pub unsafe fn prim_vtx( [INFO] [stdout] 1407 | | &self, [INFO] [stdout] 1408 | | pos: impl Into, [INFO] [stdout] 1409 | | uv: impl Into, [INFO] [stdout] 1410 | | col: impl Into, [INFO] [stdout] 1411 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_imgui_cond` is never used [INFO] [stdout] --> src/dock_space.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 407 | impl crate::Condition { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 408 | /// Converts the condition to ImGui's internal representation [INFO] [stdout] 409 | pub(crate) fn as_imgui_cond(self) -> sys::ImGuiCond { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/draw.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 145 | impl DrawList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) unsafe fn from_raw(ptr: *mut sys::ImDrawList) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/fonts/atlas.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct FontLoader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | raw: sys::ImFontLoader, [INFO] [stdout] 40 | name: CString, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/fonts/atlas.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 113 | impl SharedFontAtlas { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn as_ptr(&self) -> *const sys::ImFontAtlas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/io.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 100 | impl Io { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 101 | /// Creates a new Io instance from the current context [INFO] [stdout] 102 | pub(crate) fn from_raw() -> &'static mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/platform_io.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 197 | impl PlatformIo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub(crate) unsafe fn from_raw(raw: *const sys::ImGuiPlatformIO) -> &'static Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/combo.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct ComboBoxToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 200 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/image.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Image<'ui> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 63 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/widget/input.rs:980:15 [INFO] [stdout] | [INFO] [stdout] 978 | impl TextCallbackData { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 979 | /// Creates the buffer. [INFO] [stdout] 980 | unsafe fn new(data: *mut sys::ImGuiInputTextCallbackData) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callback` is never used [INFO] [stdout] --> src/widget/input.rs:1145:15 [INFO] [stdout] | [INFO] [stdout] 1145 | extern "C" fn callback(data: *mut sys::ImGuiInputTextCallbackData) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/list_box.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ListBoxToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 66 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct MainMenuBarToken<'ui> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 155 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct MenuBarToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 181 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct MenuToken<'ui> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 207 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct PopupToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 289 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct ModalPopupToken<'ui> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 315 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct TabBarToken<'ui> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 126 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TabBarToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct TabItemToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 203 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TabItemToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/table.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct TableToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 479 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tooltip.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct TooltipToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 198 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tree.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct TreeNodeToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 263 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/window/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Window<'ui> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 73 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.27s [INFO] running `Command { std: "docker" "inspect" "768cf83594de419ef5ad23968fefe7207a613373f7de0049492ed40ee603ed64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768cf83594de419ef5ad23968fefe7207a613373f7de0049492ed40ee603ed64", kill_on_drop: false }` [INFO] [stdout] 768cf83594de419ef5ad23968fefe7207a613373f7de0049492ed40ee603ed64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebc74a56831409b578fd99d93714088b0aaed5b0e3846e8f5addfeb622d21431 [INFO] running `Command { std: "docker" "start" "-a" "ebc74a56831409b578fd99d93714088b0aaed5b0e3846e8f5addfeb622d21431", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1283:24 [INFO] [stdout] | [INFO] [stdout] 1283 | let cmd = &mut *(cmd as *mut sys::ImDrawCmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1278:5 [INFO] [stdout] | [INFO] [stdout] 1278 | / unsafe extern "C" fn run_callback( [INFO] [stdout] 1279 | | _parent_list: *const sys::ImDrawList, [INFO] [stdout] 1280 | | cmd: *const sys::ImDrawCmd, [INFO] [stdout] 1281 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1286:13 [INFO] [stdout] | [INFO] [stdout] 1286 | (cmd.UserCallbackData as *mut u8).add(cmd.UserCallbackDataOffset as usize) as *mut F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1294:18 [INFO] [stdout] | [INFO] [stdout] 1294 | let cb = Box::from_raw(data_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimReserve` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1312:9 [INFO] [stdout] | [INFO] [stdout] 1312 | sys::ImDrawList_PrimReserve(self.draw_list, idx_count, vtx_count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1311:5 [INFO] [stdout] | [INFO] [stdout] 1311 | pub unsafe fn prim_reserve(&self, idx_count: i32, vtx_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimUnreserve` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1319:9 [INFO] [stdout] | [INFO] [stdout] 1319 | sys::ImDrawList_PrimUnreserve(self.draw_list, idx_count, vtx_count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1318:5 [INFO] [stdout] | [INFO] [stdout] 1318 | pub unsafe fn prim_unreserve(&self, idx_count: i32, vtx_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimRect` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1331:9 [INFO] [stdout] | [INFO] [stdout] 1331 | sys::ImDrawList_PrimRect(self.draw_list, a.into(), b.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1325:5 [INFO] [stdout] | [INFO] [stdout] 1325 | / pub unsafe fn prim_rect( [INFO] [stdout] 1326 | | &self, [INFO] [stdout] 1327 | | a: impl Into, [INFO] [stdout] 1328 | | b: impl Into, [INFO] [stdout] 1329 | | col: impl Into, [INFO] [stdout] 1330 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimRectUV` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1345:9 [INFO] [stdout] | [INFO] [stdout] 1345 | / sys::ImDrawList_PrimRectUV( [INFO] [stdout] 1346 | | self.draw_list, [INFO] [stdout] 1347 | | a.into(), [INFO] [stdout] 1348 | | b.into(), [INFO] [stdout] ... | [INFO] [stdout] 1351 | | col.into().into(), [INFO] [stdout] 1352 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1337:5 [INFO] [stdout] | [INFO] [stdout] 1337 | / pub unsafe fn prim_rect_uv( [INFO] [stdout] 1338 | | &self, [INFO] [stdout] 1339 | | a: impl Into, [INFO] [stdout] 1340 | | b: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 1343 | | col: impl Into, [INFO] [stdout] 1344 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimQuadUV` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1370:9 [INFO] [stdout] | [INFO] [stdout] 1370 | / sys::ImDrawList_PrimQuadUV( [INFO] [stdout] 1371 | | self.draw_list, [INFO] [stdout] 1372 | | a.into(), [INFO] [stdout] 1373 | | b.into(), [INFO] [stdout] ... | [INFO] [stdout] 1380 | | col.into().into(), [INFO] [stdout] 1381 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1358 | / pub unsafe fn prim_quad_uv( [INFO] [stdout] 1359 | | &self, [INFO] [stdout] 1360 | | a: impl Into, [INFO] [stdout] 1361 | | b: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 1368 | | col: impl Into, [INFO] [stdout] 1369 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimWriteVtx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1393:9 [INFO] [stdout] | [INFO] [stdout] 1393 | sys::ImDrawList_PrimWriteVtx(self.draw_list, pos.into(), uv.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1387:5 [INFO] [stdout] | [INFO] [stdout] 1387 | / pub unsafe fn prim_write_vtx( [INFO] [stdout] 1388 | | &self, [INFO] [stdout] 1389 | | pos: impl Into, [INFO] [stdout] 1390 | | uv: impl Into, [INFO] [stdout] 1391 | | col: impl Into, [INFO] [stdout] 1392 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimWriteIdx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1400:9 [INFO] [stdout] | [INFO] [stdout] 1400 | sys::ImDrawList_PrimWriteIdx(self.draw_list, idx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1399:5 [INFO] [stdout] | [INFO] [stdout] 1399 | pub unsafe fn prim_write_idx(&self, idx: sys::ImDrawIdx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimVtx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1412:9 [INFO] [stdout] | [INFO] [stdout] 1412 | sys::ImDrawList_PrimVtx(self.draw_list, pos.into(), uv.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1406:5 [INFO] [stdout] | [INFO] [stdout] 1406 | / pub unsafe fn prim_vtx( [INFO] [stdout] 1407 | | &self, [INFO] [stdout] 1408 | | pos: impl Into, [INFO] [stdout] 1409 | | uv: impl Into, [INFO] [stdout] 1410 | | col: impl Into, [INFO] [stdout] 1411 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_imgui_cond` is never used [INFO] [stdout] --> src/dock_space.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 407 | impl crate::Condition { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 408 | /// Converts the condition to ImGui's internal representation [INFO] [stdout] 409 | pub(crate) fn as_imgui_cond(self) -> sys::ImGuiCond { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/draw.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 145 | impl DrawList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) unsafe fn from_raw(ptr: *mut sys::ImDrawList) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/fonts/atlas.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct FontLoader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | raw: sys::ImFontLoader, [INFO] [stdout] 40 | name: CString, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/fonts/atlas.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 113 | impl SharedFontAtlas { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn as_ptr(&self) -> *const sys::ImFontAtlas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/io.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 100 | impl Io { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 101 | /// Creates a new Io instance from the current context [INFO] [stdout] 102 | pub(crate) fn from_raw() -> &'static mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/platform_io.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 197 | impl PlatformIo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub(crate) unsafe fn from_raw(raw: *const sys::ImGuiPlatformIO) -> &'static Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/combo.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct ComboBoxToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 200 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/image.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Image<'ui> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 63 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/widget/input.rs:980:15 [INFO] [stdout] | [INFO] [stdout] 978 | impl TextCallbackData { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 979 | /// Creates the buffer. [INFO] [stdout] 980 | unsafe fn new(data: *mut sys::ImGuiInputTextCallbackData) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callback` is never used [INFO] [stdout] --> src/widget/input.rs:1145:15 [INFO] [stdout] | [INFO] [stdout] 1145 | extern "C" fn callback(data: *mut sys::ImGuiInputTextCallbackData) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/list_box.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ListBoxToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 66 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct MainMenuBarToken<'ui> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 155 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct MenuBarToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 181 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct MenuToken<'ui> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 207 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct PopupToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 289 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct ModalPopupToken<'ui> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 315 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct TabBarToken<'ui> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 126 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TabBarToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct TabItemToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 203 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TabItemToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/table.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct TableToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 479 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tooltip.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct TooltipToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 198 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tree.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct TreeNodeToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 263 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/window/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Window<'ui> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 73 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling dear-imgui v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1283:24 [INFO] [stdout] | [INFO] [stdout] 1283 | let cmd = &mut *(cmd as *mut sys::ImDrawCmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1278:5 [INFO] [stdout] | [INFO] [stdout] 1278 | / unsafe extern "C" fn run_callback( [INFO] [stdout] 1279 | | _parent_list: *const sys::ImDrawList, [INFO] [stdout] 1280 | | cmd: *const sys::ImDrawCmd, [INFO] [stdout] 1281 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1286:13 [INFO] [stdout] | [INFO] [stdout] 1286 | (cmd.UserCallbackData as *mut u8).add(cmd.UserCallbackDataOffset as usize) as *mut F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1294:18 [INFO] [stdout] | [INFO] [stdout] 1294 | let cb = Box::from_raw(data_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimReserve` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1312:9 [INFO] [stdout] | [INFO] [stdout] 1312 | sys::ImDrawList_PrimReserve(self.draw_list, idx_count, vtx_count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1311:5 [INFO] [stdout] | [INFO] [stdout] 1311 | pub unsafe fn prim_reserve(&self, idx_count: i32, vtx_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimUnreserve` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1319:9 [INFO] [stdout] | [INFO] [stdout] 1319 | sys::ImDrawList_PrimUnreserve(self.draw_list, idx_count, vtx_count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1318:5 [INFO] [stdout] | [INFO] [stdout] 1318 | pub unsafe fn prim_unreserve(&self, idx_count: i32, vtx_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimRect` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1331:9 [INFO] [stdout] | [INFO] [stdout] 1331 | sys::ImDrawList_PrimRect(self.draw_list, a.into(), b.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1325:5 [INFO] [stdout] | [INFO] [stdout] 1325 | / pub unsafe fn prim_rect( [INFO] [stdout] 1326 | | &self, [INFO] [stdout] 1327 | | a: impl Into, [INFO] [stdout] 1328 | | b: impl Into, [INFO] [stdout] 1329 | | col: impl Into, [INFO] [stdout] 1330 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimRectUV` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1345:9 [INFO] [stdout] | [INFO] [stdout] 1345 | / sys::ImDrawList_PrimRectUV( [INFO] [stdout] 1346 | | self.draw_list, [INFO] [stdout] 1347 | | a.into(), [INFO] [stdout] 1348 | | b.into(), [INFO] [stdout] ... | [INFO] [stdout] 1351 | | col.into().into(), [INFO] [stdout] 1352 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1337:5 [INFO] [stdout] | [INFO] [stdout] 1337 | / pub unsafe fn prim_rect_uv( [INFO] [stdout] 1338 | | &self, [INFO] [stdout] 1339 | | a: impl Into, [INFO] [stdout] 1340 | | b: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 1343 | | col: impl Into, [INFO] [stdout] 1344 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimQuadUV` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1370:9 [INFO] [stdout] | [INFO] [stdout] 1370 | / sys::ImDrawList_PrimQuadUV( [INFO] [stdout] 1371 | | self.draw_list, [INFO] [stdout] 1372 | | a.into(), [INFO] [stdout] 1373 | | b.into(), [INFO] [stdout] ... | [INFO] [stdout] 1380 | | col.into().into(), [INFO] [stdout] 1381 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1358 | / pub unsafe fn prim_quad_uv( [INFO] [stdout] 1359 | | &self, [INFO] [stdout] 1360 | | a: impl Into, [INFO] [stdout] 1361 | | b: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 1368 | | col: impl Into, [INFO] [stdout] 1369 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimWriteVtx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1393:9 [INFO] [stdout] | [INFO] [stdout] 1393 | sys::ImDrawList_PrimWriteVtx(self.draw_list, pos.into(), uv.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1387:5 [INFO] [stdout] | [INFO] [stdout] 1387 | / pub unsafe fn prim_write_vtx( [INFO] [stdout] 1388 | | &self, [INFO] [stdout] 1389 | | pos: impl Into, [INFO] [stdout] 1390 | | uv: impl Into, [INFO] [stdout] 1391 | | col: impl Into, [INFO] [stdout] 1392 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimWriteIdx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1400:9 [INFO] [stdout] | [INFO] [stdout] 1400 | sys::ImDrawList_PrimWriteIdx(self.draw_list, idx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1399:5 [INFO] [stdout] | [INFO] [stdout] 1399 | pub unsafe fn prim_write_idx(&self, idx: sys::ImDrawIdx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimVtx` is unsafe and requires unsafe block [INFO] [stdout] --> src/draw.rs:1412:9 [INFO] [stdout] | [INFO] [stdout] 1412 | sys::ImDrawList_PrimVtx(self.draw_list, pos.into(), uv.into(), col.into().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/draw.rs:1406:5 [INFO] [stdout] | [INFO] [stdout] 1406 | / pub unsafe fn prim_vtx( [INFO] [stdout] 1407 | | &self, [INFO] [stdout] 1408 | | pos: impl Into, [INFO] [stdout] 1409 | | uv: impl Into, [INFO] [stdout] 1410 | | col: impl Into, [INFO] [stdout] 1411 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_imgui_cond` is never used [INFO] [stdout] --> src/dock_space.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 407 | impl crate::Condition { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 408 | /// Converts the condition to ImGui's internal representation [INFO] [stdout] 409 | pub(crate) fn as_imgui_cond(self) -> sys::ImGuiCond { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/draw.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 145 | impl DrawList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) unsafe fn from_raw(ptr: *mut sys::ImDrawList) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/fonts/atlas.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct FontLoader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | raw: sys::ImFontLoader, [INFO] [stdout] 40 | name: CString, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/fonts/atlas.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 113 | impl SharedFontAtlas { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn as_ptr(&self) -> *const sys::ImFontAtlas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/io.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 100 | impl Io { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 101 | /// Creates a new Io instance from the current context [INFO] [stdout] 102 | pub(crate) fn from_raw() -> &'static mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/platform_io.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 197 | impl PlatformIo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub(crate) unsafe fn from_raw(raw: *const sys::ImGuiPlatformIO) -> &'static Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/combo.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct ComboBoxToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 200 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/image.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Image<'ui> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 63 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/widget/input.rs:980:15 [INFO] [stdout] | [INFO] [stdout] 978 | impl TextCallbackData { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 979 | /// Creates the buffer. [INFO] [stdout] 980 | unsafe fn new(data: *mut sys::ImGuiInputTextCallbackData) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callback` is never used [INFO] [stdout] --> src/widget/input.rs:1145:15 [INFO] [stdout] | [INFO] [stdout] 1145 | extern "C" fn callback(data: *mut sys::ImGuiInputTextCallbackData) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/list_box.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ListBoxToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 66 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct MainMenuBarToken<'ui> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 155 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct MenuBarToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 181 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct MenuToken<'ui> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 207 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct PopupToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 289 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct ModalPopupToken<'ui> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 315 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct TabBarToken<'ui> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 126 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TabBarToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct TabItemToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 203 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TabItemToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/table.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct TableToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 479 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tooltip.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct TooltipToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 198 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tree.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct TreeNodeToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 263 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/window/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Window<'ui> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 73 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "ebc74a56831409b578fd99d93714088b0aaed5b0e3846e8f5addfeb622d21431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc74a56831409b578fd99d93714088b0aaed5b0e3846e8f5addfeb622d21431", kill_on_drop: false }` [INFO] [stdout] ebc74a56831409b578fd99d93714088b0aaed5b0e3846e8f5addfeb622d21431 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ebf5b7fbf4e24cd44a17423ede7313a5da60b40da3aae7d6ab2f26cf45fc0c3 [INFO] running `Command { std: "docker" "start" "-a" "8ebf5b7fbf4e24cd44a17423ede7313a5da60b40da3aae7d6ab2f26cf45fc0c3", kill_on_drop: false }` [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1283:24 [INFO] [stderr] | [INFO] [stderr] 1283 | let cmd = &mut *(cmd as *mut sys::ImDrawCmd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1278:5 [INFO] [stderr] | [INFO] [stderr] 1278 | / unsafe extern "C" fn run_callback( [INFO] [stderr] 1279 | | _parent_list: *const sys::ImDrawList, [INFO] [stderr] 1280 | | cmd: *const sys::ImDrawCmd, [INFO] [stderr] 1281 | | ) { [INFO] [stderr] | |_____^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1286:13 [INFO] [stderr] | [INFO] [stderr] 1286 | (cmd.UserCallbackData as *mut u8).add(cmd.UserCallbackDataOffset as usize) as *mut F; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1294:18 [INFO] [stderr] | [INFO] [stderr] 1294 | let cb = Box::from_raw(data_ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimReserve` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1312:9 [INFO] [stderr] | [INFO] [stderr] 1312 | sys::ImDrawList_PrimReserve(self.draw_list, idx_count, vtx_count) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1311:5 [INFO] [stderr] | [INFO] [stderr] 1311 | pub unsafe fn prim_reserve(&self, idx_count: i32, vtx_count: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimUnreserve` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1319:9 [INFO] [stderr] | [INFO] [stderr] 1319 | sys::ImDrawList_PrimUnreserve(self.draw_list, idx_count, vtx_count) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1318:5 [INFO] [stderr] | [INFO] [stderr] 1318 | pub unsafe fn prim_unreserve(&self, idx_count: i32, vtx_count: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimRect` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1331:9 [INFO] [stderr] | [INFO] [stderr] 1331 | sys::ImDrawList_PrimRect(self.draw_list, a.into(), b.into(), col.into().into()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1325:5 [INFO] [stderr] | [INFO] [stderr] 1325 | / pub unsafe fn prim_rect( [INFO] [stderr] 1326 | | &self, [INFO] [stderr] 1327 | | a: impl Into, [INFO] [stderr] 1328 | | b: impl Into, [INFO] [stderr] 1329 | | col: impl Into, [INFO] [stderr] 1330 | | ) { [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimRectUV` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1345:9 [INFO] [stderr] | [INFO] [stderr] 1345 | / sys::ImDrawList_PrimRectUV( [INFO] [stderr] 1346 | | self.draw_list, [INFO] [stderr] 1347 | | a.into(), [INFO] [stderr] 1348 | | b.into(), [INFO] [stderr] ... | [INFO] [stderr] 1351 | | col.into().into(), [INFO] [stderr] 1352 | | ) [INFO] [stderr] | |_________^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1337:5 [INFO] [stderr] | [INFO] [stderr] 1337 | / pub unsafe fn prim_rect_uv( [INFO] [stderr] 1338 | | &self, [INFO] [stderr] 1339 | | a: impl Into, [INFO] [stderr] 1340 | | b: impl Into, [INFO] [stderr] ... | [INFO] [stderr] 1343 | | col: impl Into, [INFO] [stderr] 1344 | | ) { [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimQuadUV` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1370:9 [INFO] [stderr] | [INFO] [stderr] 1370 | / sys::ImDrawList_PrimQuadUV( [INFO] [stderr] 1371 | | self.draw_list, [INFO] [stderr] 1372 | | a.into(), [INFO] [stderr] 1373 | | b.into(), [INFO] [stderr] ... | [INFO] [stderr] 1380 | | col.into().into(), [INFO] [stderr] 1381 | | ) [INFO] [stderr] | |_________^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1358:5 [INFO] [stderr] | [INFO] [stderr] 1358 | / pub unsafe fn prim_quad_uv( [INFO] [stderr] 1359 | | &self, [INFO] [stderr] 1360 | | a: impl Into, [INFO] [stderr] 1361 | | b: impl Into, [INFO] [stderr] ... | [INFO] [stderr] 1368 | | col: impl Into, [INFO] [stderr] 1369 | | ) { [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimWriteVtx` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1393:9 [INFO] [stderr] | [INFO] [stderr] 1393 | sys::ImDrawList_PrimWriteVtx(self.draw_list, pos.into(), uv.into(), col.into().into()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1387:5 [INFO] [stderr] | [INFO] [stderr] 1387 | / pub unsafe fn prim_write_vtx( [INFO] [stderr] 1388 | | &self, [INFO] [stderr] 1389 | | pos: impl Into, [INFO] [stderr] 1390 | | uv: impl Into, [INFO] [stderr] 1391 | | col: impl Into, [INFO] [stderr] 1392 | | ) { [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimWriteIdx` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1400:9 [INFO] [stderr] | [INFO] [stderr] 1400 | sys::ImDrawList_PrimWriteIdx(self.draw_list, idx) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1399:5 [INFO] [stderr] | [INFO] [stderr] 1399 | pub unsafe fn prim_write_idx(&self, idx: sys::ImDrawIdx) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `sys::ImDrawList_PrimVtx` is unsafe and requires unsafe block [INFO] [stderr] --> src/draw.rs:1412:9 [INFO] [stderr] | [INFO] [stderr] 1412 | sys::ImDrawList_PrimVtx(self.draw_list, pos.into(), uv.into(), col.into().into()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/draw.rs:1406:5 [INFO] [stderr] | [INFO] [stderr] 1406 | / pub unsafe fn prim_vtx( [INFO] [stderr] 1407 | | &self, [INFO] [stderr] 1408 | | pos: impl Into, [INFO] [stderr] 1409 | | uv: impl Into, [INFO] [stderr] 1410 | | col: impl Into, [INFO] [stderr] 1411 | | ) { [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: method `as_imgui_cond` is never used [INFO] [stderr] --> src/dock_space.rs:409:19 [INFO] [stderr] | [INFO] [stderr] 407 | impl crate::Condition { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 408 | /// Converts the condition to ImGui's internal representation [INFO] [stderr] 409 | pub(crate) fn as_imgui_cond(self) -> sys::ImGuiCond { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `from_raw` is never used [INFO] [stderr] --> src/draw.rs:149:26 [INFO] [stderr] | [INFO] [stderr] 145 | impl DrawList { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 149 | pub(crate) unsafe fn from_raw(ptr: *mut sys::ImDrawList) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/fonts/atlas.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct FontLoader { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 39 | raw: sys::ImFontLoader, [INFO] [stderr] 40 | name: CString, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_ptr` is never used [INFO] [stderr] --> src/fonts/atlas.rs:123:19 [INFO] [stderr] | [INFO] [stderr] 113 | impl SharedFontAtlas { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 123 | pub(crate) fn as_ptr(&self) -> *const sys::ImFontAtlas { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_raw` is never used [INFO] [stderr] --> src/io.rs:102:19 [INFO] [stderr] | [INFO] [stderr] 100 | impl Io { [INFO] [stderr] | ------- associated function in this implementation [INFO] [stderr] 101 | /// Creates a new Io instance from the current context [INFO] [stderr] 102 | pub(crate) fn from_raw() -> &'static mut Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_raw` is never used [INFO] [stderr] --> src/platform_io.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 197 | impl PlatformIo { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 204 | pub(crate) unsafe fn from_raw(raw: *const sys::ImGuiPlatformIO) -> &'static Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/combo.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 199 | pub struct ComboBoxToken<'ui> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 200 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/image.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct Image<'ui> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 63 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Image` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/widget/input.rs:980:15 [INFO] [stderr] | [INFO] [stderr] 978 | impl TextCallbackData { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 979 | /// Creates the buffer. [INFO] [stderr] 980 | unsafe fn new(data: *mut sys::ImGuiInputTextCallbackData) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `callback` is never used [INFO] [stderr] --> src/widget/input.rs:1145:15 [INFO] [stderr] | [INFO] [stderr] 1145 | extern "C" fn callback(data: *mut sys::ImGuiInputTextCallbackData) -> c_int { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/list_box.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct ListBoxToken<'ui> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 66 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/menu.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 154 | pub struct MainMenuBarToken<'ui> { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 155 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/menu.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 180 | pub struct MenuBarToken<'ui> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 181 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/menu.rs:207:5 [INFO] [stderr] | [INFO] [stderr] 206 | pub struct MenuToken<'ui> { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 207 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/popup.rs:289:5 [INFO] [stderr] | [INFO] [stderr] 288 | pub struct PopupToken<'ui> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 289 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/popup.rs:315:5 [INFO] [stderr] | [INFO] [stderr] 314 | pub struct ModalPopupToken<'ui> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 315 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/tab.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 125 | pub struct TabBarToken<'ui> { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 126 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `TabBarToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/tab.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 202 | pub struct TabItemToken<'ui> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 203 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `TabItemToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/table.rs:479:5 [INFO] [stderr] | [INFO] [stderr] 478 | pub struct TableToken<'ui> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 479 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/tooltip.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 197 | pub struct TooltipToken<'ui> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 198 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/tree.rs:263:5 [INFO] [stderr] | [INFO] [stderr] 262 | pub struct TreeNodeToken<'ui> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 263 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/window/mod.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 72 | pub struct Window<'ui> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 73 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `dear-imgui` (lib) generated 33 warnings (run `cargo fix --lib -p dear-imgui` to apply 9 suggestions) [INFO] [stderr] warning: `dear-imgui` (lib test) generated 33 warnings (33 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dear_imgui-fcad7c58c572fb76) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test error::tests::test_error_creation ... ok [INFO] [stdout] test render::renderer::tests::test_texture_id_memory_layout ... ok [INFO] [stdout] test logging::tests::test_logging_macros ... ok [INFO] [stdout] test error::tests::test_error_chain ... ok [INFO] [stdout] test render::renderer::tests::test_texture_id_conversions ... ok [INFO] [stdout] test render::renderer::tests::test_null_texture_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/input_widgets.rs (/opt/rustwide/target/debug/deps/input_widgets-b24aab1c0d9e14ff) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test input_scalars_build_no_panic ... ok [INFO] [stdout] test input_text_multiline_growable_buffer_no_panic ... ok [INFO] [stdout] test input_text_growable_buffer_no_panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/owned_draw_data.rs (/opt/rustwide/target/debug/deps/owned_draw_data-f93bb086b9a17a1b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test owned_draw_data_survives_context_drop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_docking.rs (/opt/rustwide/target/debug/deps/test_docking-a61bb96b899afc23) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_dock_builder_basic ... ok [INFO] [stdout] test test_docking_basic_functions ... ok [INFO] [stdout] test test_window_class ... ok [INFO] [stdout] test test_docking_integration ... ok [INFO] [stdout] test test_dock_node_flags ... ok [INFO] [stderr] Running tests/test_second_priority_widgets.rs (/opt/rustwide/target/debug/deps/test_second_priority_widgets-c9ade4266cfd1a3a) [INFO] [stdout] test test_split_direction_enum ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_builder_patterns ... ok [INFO] [stdout] test test_second_priority_widgets_compile ... ok [INFO] [stdout] test test_api_types_exist ... ok [INFO] [stderr] Running tests/thread_safety.rs (/opt/rustwide/target/debug/deps/thread_safety-cbcf3b5abd0e01e3) [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test context_and_fonts_thread_markers ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests dear_imgui [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 64 tests [INFO] [stdout] test src/dock_builder.rs - dock_builder (line 13) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::set_node_pos (line 166) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::dockspace_over_main_viewport (line 189) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::finish (line 278) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::remove_node_child_nodes (line 148) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::remove_node_docked_windows (line 131) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::dock_window (line 257) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::dock_space_with_class (line 215) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::set_next_window_dock_id_with_cond (line 284) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space (line 17) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::remove_node (line 113) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 105) ... ignored [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::add_node (line 96) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::dockspace_over_main_viewport_with_flags (line 153) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::set_node_size (line 190) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::is_window_docked (line 389) - compile ... ok [INFO] [stdout] test src/drag_drop.rs - drag_drop (line 16) - compile ... ok [INFO] [stdout] test src/drag_drop.rs - drag_drop::Ui::drag_drop_target (line 108) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::split_node (line 220) - compile ... ok [INFO] [stdout] test src/draw.rs - draw::DrawListMut<'ui>::push_texture (line 793) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 17) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 40) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::set_next_window_dock_id (line 312) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::dock_space (line 262) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 137) - compile ... FAILED [INFO] [stdout] test src/text_filter.rs - text_filter (line 9) - compile ... ok [INFO] [stdout] test src/drag_drop.rs - drag_drop::Ui::drag_drop_source_config (line 81) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_style_color (line 50) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter (line 42) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_font (line 23) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::set_next_window_class (line 337) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::draw (line 135) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 158) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::draw_with_size (line 158) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_id (line 341) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::get_window_dock_id (line 363) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 56) - compile ... FAILED [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::build (line 110) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_id (line 329) - compile ... ok [INFO] [stdout] test src/widget/image.rs - widget::image::Ui (line 9) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::pass_filter (line 211) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::new (line 70) - compile ... ok [INFO] [stdout] test src/texture.rs - texture::TextureRef (line 114) - compile ... ok [INFO] [stdout] test src/context.rs - context::Context (line 34) ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::is_active (line 185) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::new_with_filter (line 86) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::VerticalSlider::new (line 162) - compile ... ok [INFO] [stdout] test src/widget/input.rs - widget::input::Ui::input_text (line 21) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::Ui::text_filter (line 301) - compile ... ok [INFO] [stdout] test src/widget/input.rs - widget::input::Ui::input_text_multiline (line 52) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::clear (line 271) - compile ... ok [INFO] [stdout] test src/texture.rs - texture::TextureRef (line 122) - compile ... FAILED [INFO] [stdout] test src/context.rs - context::Context (line 26) ... ok [INFO] [stdout] test src/widget/image.rs - widget::image::Ui (line 17) - compile ... FAILED [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_style_var (line 87) - compile ... ok [INFO] [stdout] test src/widget/tooltip.rs - widget::tooltip::Ui::tooltip (line 18) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::pass_filter_with_end (line 243) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::Ui::text_filter_with_filter (line 321) - compile ... ok [INFO] [stdout] test src/widget/progress.rs - widget::progress::ProgressBar (line 29) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::Slider<'ui,Label,Data,Format>::range (line 52) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::VerticalSlider::range (line 195) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::AngleSlider::range_degrees (line 294) - compile ... ok [INFO] [stdout] test src/widget/table.rs - widget::table::Ui::table (line 56) - compile ... FAILED [INFO] [stdout] test src/widget/tooltip.rs - widget::tooltip::Ui::tooltip_text (line 52) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `colors` [INFO] [stdout] --> src/lib.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 8 | let abgr = colors::Color::rgb(1.0, 0.0, 0.0).to_imgui_u32(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `colors` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/colors.rs, use `mod colors` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod colors; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use dear_imgui::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use dear_imgui_sys::Color; [INFO] [stdout] | [INFO] [stdout] help: if you import `Color`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let abgr = colors::Color::rgb(1.0, 0.0, 0.0).to_imgui_u32(); [INFO] [stdout] 8 + let abgr = Color::rgb(1.0, 0.0, 0.0).to_imgui_u32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `widget` [INFO] [stdout] --> src/lib.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 9 | ui.table_set_bg_color_u32(widget::TableBgTarget::CellBg, abgr, -1); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `widget` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/widget/mod.rs, use `mod widget` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod widget; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use dear_imgui::TableBgTarget; [INFO] [stdout] | [INFO] [stdout] help: if you import `TableBgTarget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - ui.table_set_bg_color_u32(widget::TableBgTarget::CellBg, abgr, -1); [INFO] [stdout] 9 + ui.table_set_bg_color_u32(TableBgTarget::CellBg, abgr, -1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 56) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `TextureRef: From<&mut Box>` is not satisfied [INFO] [stdout] --> src/lib.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 15 | ui.image(&mut tex, [256.0, 256.0]); [INFO] [stdout] | ----- ^^^^^^^^ the trait `From<&mut Box>` is not implemented for `TextureRef` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `TextureRef` implements `From<&TextureData>` [INFO] [stdout] `TextureRef` implements `From<&mut TextureData>` [INFO] [stdout] `TextureRef` implements `From` [INFO] [stdout] `TextureRef` implements `From` [INFO] [stdout] = note: required for `&mut Box` to implement `Into` [INFO] [stdout] note: required by a bound in `image::::image` [INFO] [stdout] --> /opt/rustwide/workdir/src/widget/image.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn image(&self, texture: impl Into, size: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `image::::image` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/texture.rs - texture::TextureRef (line 122) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `TextureRef: From<&mut Box>` is not satisfied [INFO] [stdout] --> src/texture.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 10 | ui.image(&mut tex, [256.0, 256.0]); [INFO] [stdout] | ----- ^^^^^^^^ the trait `From<&mut Box>` is not implemented for `TextureRef` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `TextureRef` implements `From<&TextureData>` [INFO] [stdout] `TextureRef` implements `From<&mut TextureData>` [INFO] [stdout] `TextureRef` implements `From` [INFO] [stdout] `TextureRef` implements `From` [INFO] [stdout] = note: required for `&mut Box` to implement `Into` [INFO] [stdout] note: required by a bound in `image::::image` [INFO] [stdout] --> /opt/rustwide/workdir/src/widget/image.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn image(&self, texture: impl Into, size: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `image::::image` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/widget/image.rs - widget::image::Ui (line 17) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `TextureRef: From<&mut Box>` is not satisfied [INFO] [stdout] --> src/widget/image.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 9 | ui.image(&mut tex, [64.0, 64.0]); [INFO] [stdout] | ----- ^^^^^^^^ the trait `From<&mut Box>` is not implemented for `TextureRef` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `TextureRef` implements `From<&TextureData>` [INFO] [stdout] `TextureRef` implements `From<&mut TextureData>` [INFO] [stdout] `TextureRef` implements `From` [INFO] [stdout] `TextureRef` implements `From` [INFO] [stdout] = note: required for `&mut Box` to implement `Into` [INFO] [stdout] note: required by a bound in `image::::image` [INFO] [stdout] --> /opt/rustwide/workdir/src/widget/image.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn image(&self, texture: impl Into, size: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `image::::image` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/widget/table.rs - widget::table::Ui::table (line 56) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `widget` [INFO] [stdout] --> src/widget/table.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 8 | .flags(widget::TableFlags::RESIZABLE | widget::TableFlags::SORTABLE) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `widget` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `widget`, use `cargo add widget` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dear_imgui::TableFlags; [INFO] [stdout] | [INFO] [stdout] help: if you import `TableFlags`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - .flags(widget::TableFlags::RESIZABLE | widget::TableFlags::SORTABLE) [INFO] [stdout] 8 + .flags(TableFlags::RESIZABLE | widget::TableFlags::SORTABLE) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `widget` [INFO] [stdout] --> src/widget/table.rs:61:44 [INFO] [stdout] | [INFO] [stdout] 8 | .flags(widget::TableFlags::RESIZABLE | widget::TableFlags::SORTABLE) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `widget` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `widget`, use `cargo add widget` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dear_imgui::TableFlags; [INFO] [stdout] | [INFO] [stdout] help: if you import `TableFlags`, refer to it directly [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 8 - .flags(widget::TableFlags::RESIZABLE | widget::TableFlags::SORTABLE) [INFO] [stdout] 8 + .flags(widget::TableFlags::RESIZABLE | TableFlags::SORTABLE) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 137) [INFO] [stdout] src/lib.rs - (line 56) [INFO] [stdout] src/texture.rs - texture::TextureRef (line 122) [INFO] [stdout] src/widget/image.rs - widget::image::Ui (line 17) [INFO] [stdout] src/widget/table.rs - widget::table::Ui::table (line 56) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 58 passed; 5 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.77s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.93s; merged doctests compilation took 0.16s [INFO] running `Command { std: "docker" "inspect" "8ebf5b7fbf4e24cd44a17423ede7313a5da60b40da3aae7d6ab2f26cf45fc0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ebf5b7fbf4e24cd44a17423ede7313a5da60b40da3aae7d6ab2f26cf45fc0c3", kill_on_drop: false }` [INFO] [stdout] 8ebf5b7fbf4e24cd44a17423ede7313a5da60b40da3aae7d6ab2f26cf45fc0c3