[INFO] fetching crate dear-imgui-rs 0.4.1... [INFO] testing dear-imgui-rs-0.4.1 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate dear-imgui-rs 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate dear-imgui-rs 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dear-imgui-rs 0.4.1 [INFO] tweaked toml for crates.io crate dear-imgui-rs 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dear-imgui-rs 0.4.1 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dear-imgui-rs 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9e841f85dc442766ed478a84af521c6ec59b61eba57cf92ff1d09139ed1e41a [INFO] running `Command { std: "docker" "start" "-a" "e9e841f85dc442766ed478a84af521c6ec59b61eba57cf92ff1d09139ed1e41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9e841f85dc442766ed478a84af521c6ec59b61eba57cf92ff1d09139ed1e41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e841f85dc442766ed478a84af521c6ec59b61eba57cf92ff1d09139ed1e41a", kill_on_drop: false }` [INFO] [stdout] e9e841f85dc442766ed478a84af521c6ec59b61eba57cf92ff1d09139ed1e41a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 192ef784423a2e2b6c9a90223387cf59bba8dd91d718d2e991b8a6798c3afdd0 [INFO] running `Command { std: "docker" "start" "-a" "192ef784423a2e2b6c9a90223387cf59bba8dd91d718d2e991b8a6798c3afdd0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling xshell-macros v0.2.7 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling xshell v0.2.7 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.14 [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 parking_lot v0.12.5 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling ring v0.17.14 [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 h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [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.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.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.4.0 [INFO] [stderr] Compiling dear-imgui-rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_imgui_cond` is never used [INFO] [stdout] --> src/dock_space.rs:418:19 [INFO] [stdout] | [INFO] [stdout] 416 | impl crate::Condition { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 417 | /// Converts the condition to ImGui's internal representation [INFO] [stdout] 418 | pub(crate) fn as_imgui_cond(self) -> sys::ImGuiCond { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/draw.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 163 | impl DrawList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | 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:129:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl SharedFontAtlas { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | 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:119:19 [INFO] [stdout] | [INFO] [stdout] 117 | impl Io { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 118 | /// Creates a new Io instance from the current context [INFO] [stdout] 119 | 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:205:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct ComboBoxToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 205 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/image.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Image<'ui> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 79 | 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: function `callback` is never used [INFO] [stdout] --> src/widget/input.rs:1378:15 [INFO] [stdout] | [INFO] [stdout] 1378 | 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:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ListBoxToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 70 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct MainMenuBarToken<'ui> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 160 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct MenuBarToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 186 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct MenuToken<'ui> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 212 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct PopupToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 294 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 319 | pub struct ModalPopupToken<'ui> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 320 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct TabBarToken<'ui> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 131 | 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:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct TabItemToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 208 | 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:513:5 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct TableToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 513 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tooltip.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct TooltipToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 203 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tree.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct TreeNodeToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 268 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/window/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Window<'ui> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 117 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 59s [INFO] running `Command { std: "docker" "inspect" "192ef784423a2e2b6c9a90223387cf59bba8dd91d718d2e991b8a6798c3afdd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192ef784423a2e2b6c9a90223387cf59bba8dd91d718d2e991b8a6798c3afdd0", kill_on_drop: false }` [INFO] [stdout] 192ef784423a2e2b6c9a90223387cf59bba8dd91d718d2e991b8a6798c3afdd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e9cac54a31923718f49d38c92f781fd45a1d2238798c100628fee2742d72661 [INFO] running `Command { std: "docker" "start" "-a" "5e9cac54a31923718f49d38c92f781fd45a1d2238798c100628fee2742d72661", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stdout] warning: method `as_imgui_cond` is never used [INFO] [stdout] --> src/dock_space.rs:418:19 [INFO] [stdout] | [INFO] [stdout] 416 | impl crate::Condition { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 417 | /// Converts the condition to ImGui's internal representation [INFO] [stdout] 418 | pub(crate) fn as_imgui_cond(self) -> sys::ImGuiCond { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/draw.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 163 | impl DrawList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | 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:129:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl SharedFontAtlas { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | 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:119:19 [INFO] [stdout] | [INFO] [stdout] 117 | impl Io { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 118 | /// Creates a new Io instance from the current context [INFO] [stdout] 119 | 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:205:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct ComboBoxToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 205 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/image.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Image<'ui> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 79 | 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: function `callback` is never used [INFO] [stdout] --> src/widget/input.rs:1378:15 [INFO] [stdout] | [INFO] [stdout] 1378 | 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:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ListBoxToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 70 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct MainMenuBarToken<'ui> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 160 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct MenuBarToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 186 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct MenuToken<'ui> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 212 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct PopupToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 294 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 319 | pub struct ModalPopupToken<'ui> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 320 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct TabBarToken<'ui> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 131 | 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:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct TabItemToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 208 | 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:513:5 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct TableToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 513 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tooltip.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct TooltipToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 203 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tree.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct TreeNodeToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 268 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/window/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Window<'ui> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 117 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling dear-imgui-rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_imgui_cond` is never used [INFO] [stdout] --> src/dock_space.rs:418:19 [INFO] [stdout] | [INFO] [stdout] 416 | impl crate::Condition { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 417 | /// Converts the condition to ImGui's internal representation [INFO] [stdout] 418 | pub(crate) fn as_imgui_cond(self) -> sys::ImGuiCond { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/draw.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 163 | impl DrawList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | 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:129:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl SharedFontAtlas { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | 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:119:19 [INFO] [stdout] | [INFO] [stdout] 117 | impl Io { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 118 | /// Creates a new Io instance from the current context [INFO] [stdout] 119 | 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:205:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct ComboBoxToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 205 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/image.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Image<'ui> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 79 | 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: function `callback` is never used [INFO] [stdout] --> src/widget/input.rs:1378:15 [INFO] [stdout] | [INFO] [stdout] 1378 | 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:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ListBoxToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 70 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct MainMenuBarToken<'ui> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 160 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct MenuBarToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 186 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/menu.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct MenuToken<'ui> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 212 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct PopupToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 294 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/popup.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 319 | pub struct ModalPopupToken<'ui> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 320 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tab.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct TabBarToken<'ui> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 131 | 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:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct TabItemToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 208 | 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:513:5 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct TableToken<'ui> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 513 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tooltip.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct TooltipToken<'ui> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 203 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/widget/tree.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct TreeNodeToken<'ui> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 268 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui` is never read [INFO] [stdout] --> src/window/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Window<'ui> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 117 | ui: &'ui Ui, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] running `Command { std: "docker" "inspect" "5e9cac54a31923718f49d38c92f781fd45a1d2238798c100628fee2742d72661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e9cac54a31923718f49d38c92f781fd45a1d2238798c100628fee2742d72661", kill_on_drop: false }` [INFO] [stdout] 5e9cac54a31923718f49d38c92f781fd45a1d2238798c100628fee2742d72661 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1878fcdbf3178a0b9d0d5c0f57f3ff780104f27d7b078ca3e9955b344b0012aa [INFO] running `Command { std: "docker" "start" "-a" "1878fcdbf3178a0b9d0d5c0f57f3ff780104f27d7b078ca3e9955b344b0012aa", kill_on_drop: false }` [INFO] [stderr] warning: method `as_imgui_cond` is never used [INFO] [stderr] --> src/dock_space.rs:418:19 [INFO] [stderr] | [INFO] [stderr] 416 | impl crate::Condition { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 417 | /// Converts the condition to ImGui's internal representation [INFO] [stderr] 418 | pub(crate) fn as_imgui_cond(self) -> sys::ImGuiCond { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `from_raw` is never used [INFO] [stderr] --> src/draw.rs:167:26 [INFO] [stderr] | [INFO] [stderr] 163 | impl DrawList { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 167 | 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:129:19 [INFO] [stderr] | [INFO] [stderr] 119 | impl SharedFontAtlas { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 129 | 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:119:19 [INFO] [stderr] | [INFO] [stderr] 117 | impl Io { [INFO] [stderr] | ------- associated function in this implementation [INFO] [stderr] 118 | /// Creates a new Io instance from the current context [INFO] [stderr] 119 | 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:205:5 [INFO] [stderr] | [INFO] [stderr] 204 | pub struct ComboBoxToken<'ui> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 205 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/image.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 78 | pub struct Image<'ui> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 79 | 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: function `callback` is never used [INFO] [stderr] --> src/widget/input.rs:1378:15 [INFO] [stderr] | [INFO] [stderr] 1378 | 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:70:5 [INFO] [stderr] | [INFO] [stderr] 69 | pub struct ListBoxToken<'ui> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 70 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/menu.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 159 | pub struct MainMenuBarToken<'ui> { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 160 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/menu.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 185 | pub struct MenuBarToken<'ui> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 186 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/menu.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 211 | pub struct MenuToken<'ui> { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 212 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/popup.rs:294:5 [INFO] [stderr] | [INFO] [stderr] 293 | pub struct PopupToken<'ui> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 294 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/popup.rs:320:5 [INFO] [stderr] | [INFO] [stderr] 319 | pub struct ModalPopupToken<'ui> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 320 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/tab.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 130 | pub struct TabBarToken<'ui> { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 131 | 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:208:5 [INFO] [stderr] | [INFO] [stderr] 207 | pub struct TabItemToken<'ui> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 208 | 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:513:5 [INFO] [stderr] | [INFO] [stderr] 512 | pub struct TableToken<'ui> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 513 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/tooltip.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 202 | pub struct TooltipToken<'ui> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 203 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/widget/tree.rs:268:5 [INFO] [stderr] | [INFO] [stderr] 267 | pub struct TreeNodeToken<'ui> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 268 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `ui` is never read [INFO] [stderr] --> src/window/mod.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 116 | pub struct Window<'ui> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 117 | ui: &'ui Ui, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: `dear-imgui-rs` (lib) generated 21 warnings [INFO] [stderr] warning: `dear-imgui-rs` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dear_imgui_rs-181bb4edab9303de) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test error::tests::test_error_chain ... ok [INFO] [stdout] test render::renderer::tests::test_null_texture_id ... ok [INFO] [stdout] test render::renderer::tests::test_texture_id_conversions ... ok [INFO] [stdout] test logging::tests::test_logging_macros ... ok [INFO] [stdout] test render::renderer::tests::test_texture_id_memory_layout ... ok [INFO] [stdout] test error::tests::test_error_creation ... ok [INFO] [stdout] [INFO] [stderr] Running tests/input_widgets.rs (/opt/rustwide/target/debug/deps/input_widgets-7ec5c3ebed53d5cb) [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [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-b6fa6dabd1f06829) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/test_docking.rs (/opt/rustwide/target/debug/deps/test_docking-76ede5fe2220c5a0) [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.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_dock_builder_basic ... ok [INFO] [stdout] test test_dock_node_flags ... ok [INFO] [stdout] test test_docking_basic_functions ... ok [INFO] [stdout] test test_window_class ... ok [INFO] [stdout] test test_split_direction_enum ... ok [INFO] [stdout] test test_docking_integration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/test_second_priority_widgets.rs (/opt/rustwide/target/debug/deps/test_second_priority_widgets-6f48859af91cac69) [INFO] [stdout] running 3 tests [INFO] [stderr] Running tests/thread_safety.rs (/opt/rustwide/target/debug/deps/thread_safety-79708da981184295) [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] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test context_and_fonts_thread_markers ... 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] Doc-tests dear_imgui_rs [INFO] [stdout] [INFO] [stdout] running 85 tests [INFO] [stdout] test src/colors.rs - colors (line 7) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::dockspace_over_main_viewport (line 190) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::remove_node_docked_windows (line 266) - compile ... FAILED [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_child_nodes (line 283) - compile ... FAILED [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::split_node (line 359) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::remove_node (line 248) - compile ... FAILED [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::dock_space_with_class (line 219) - compile ... FAILED [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::is_window_docked (line 398) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::set_node_size (line 325) - compile ... FAILED [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::set_next_window_dock_id (line 321) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder (line 13) - compile ... ok [INFO] [stdout] test src/drag_drop.rs - drag_drop::Ui::drag_drop_target (line 108) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::get_window_dock_id (line 372) - compile ... FAILED [INFO] [stdout] test src/io.rs - io (line 8) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 105) ... ignored [INFO] [stdout] test src/draw.rs - draw (line 8) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::dock_window (line 421) - compile ... FAILED [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::add_node (line 231) - compile ... FAILED [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::set_next_window_dock_id_with_cond (line 293) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 158) - compile ... ok [INFO] [stdout] test src/layout.rs - layout (line 8) - 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/drag_drop.rs - drag_drop (line 16) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 137) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 56) - compile ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::set_node_pos (line 301) - compile ... FAILED [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_id (line 334) - compile ... ok [INFO] [stdout] test src/context.rs - context::Context (line 33) ... ok [INFO] [stdout] test src/dock_builder.rs - dock_builder::DockBuilder::finish (line 540) - compile ... FAILED [INFO] [stdout] test src/style.rs - style (line 23) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_style_var (line 92) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_style_color (line 55) - compile ... ok [INFO] [stdout] test src/draw.rs - draw::DrawListMut<'ui>::push_texture (line 811) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::build (line 110) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_font (line 28) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::is_active (line 185) - compile ... ok [INFO] [stdout] test src/drag_drop.rs - drag_drop::Ui::drag_drop_source_config (line 81) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::draw (line 135) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::dockspace_over_main_viewport_with_flags (line 154) - compile ... FAILED [INFO] [stdout] test src/text_filter.rs - text_filter (line 9) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::new_with_filter (line 86) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::new (line 70) - compile ... ok [INFO] [stdout] test src/style.rs - style (line 8) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter (line 42) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::Ui::text_filter (line 301) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::set_next_window_class (line 346) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_id (line 346) - compile ... ok [INFO] [stdout] test src/ui.rs - ui (line 8) - compile ... ok [INFO] [stdout] test src/widget/image.rs - widget::image::Ui (line 33) - compile ... ok [INFO] [stdout] test src/widget/image.rs - widget::image (line 7) - compile ... ok [INFO] [stdout] test src/string.rs - string (line 13) - compile ... ok [INFO] [stdout] test src/widget/image.rs - widget::image::Ui (line 25) - compile ... ok [INFO] [stdout] test src/texture.rs - texture::TextureRef (line 114) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::pass_filter (line 211) - compile ... ok [INFO] [stdout] test src/widget/input.rs - widget::input (line 8) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::VerticalSlider::range (line 200) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::Ui::text_filter_with_filter (line 321) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::pass_filter_with_end (line 243) - compile ... ok [INFO] [stdout] test src/tokens.rs - tokens (line 9) - compile ... ok [INFO] [stdout] test src/texture.rs - texture::TextureRef (line 122) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::VerticalSlider::new (line 167) - compile ... ok [INFO] [stdout] test src/context.rs - context::Context (line 41) ... ok [INFO] [stdout] test src/widget/table.rs - widget::table (line 24) - compile ... ok [INFO] [stdout] test src/widget/input.rs - widget::input::Ui::input_text (line 47) - compile ... ok [INFO] [stdout] test src/widget/table.rs - widget::table::Ui::table (line 90) - compile ... ok [INFO] [stdout] test src/widget/progress.rs - widget::progress::ProgressBar (line 33) - compile ... ok [INFO] [stdout] test src/widget/input.rs - widget::input::Ui::input_text_multiline (line 78) - compile ... ok [INFO] [stdout] test src/widget/mod.rs - widget (line 8) - compile ... ok [INFO] [stdout] test src/dock_space.rs - dock_space::Ui::dock_space (line 271) - compile ... FAILED [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::draw_with_size (line 158) - compile ... ok [INFO] [stdout] test src/text_filter.rs - text_filter::TextFilter::clear (line 271) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::AngleSlider::range_degrees (line 299) - compile ... ok [INFO] [stdout] test src/tokens.rs - tokens (line 19) - compile ... ok [INFO] [stdout] test src/widget/table.rs - widget::table (line 7) - compile ... ok [INFO] [stdout] test src/widget/text.rs - widget::text (line 7) - compile ... ok [INFO] [stdout] test src/widget/text.rs - widget::text::Ui::text_disabled (line 56) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::Slider<'ui,Label,Data,Format>::range (line 57) - compile ... ok [INFO] [stdout] test src/widget/text.rs - widget::text::Ui::text_colored (line 28) - compile ... ok [INFO] [stdout] test src/window/mod.rs - window (line 8) - compile ... ok [INFO] [stdout] test src/widget/tooltip.rs - widget::tooltip::Ui::tooltip_text (line 57) - compile ... ok [INFO] [stdout] test src/window/mod.rs - window (line 26) - compile ... ok [INFO] [stdout] test src/widget/tooltip.rs - widget::tooltip::Ui::tooltip (line 23) - compile ... ok [INFO] [stdout] test src/window/child_window.rs - window::child_window (line 7) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/dock_builder.rs - dock_builder::DockBuilder::remove_node_docked_windows (line 266) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_builder.rs:269:41 [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::remove_node_docked_windows(123, true); [INFO] [stdout] | --------------------------------------- ^^^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_builder.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn remove_node_docked_windows(node_id: Id, clear_settings_refs: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::remove_node_docked_windows(123.into(), true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_builder.rs - dock_builder::DockBuilder::remove_node_child_nodes (line 283) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_builder.rs:286:38 [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::remove_node_child_nodes(123); [INFO] [stdout] | ------------------------------------ ^^^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_builder.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn remove_node_child_nodes(node_id: Id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::remove_node_child_nodes(123.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_builder.rs - dock_builder::DockBuilder::remove_node (line 248) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_builder.rs:251:26 [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::remove_node(123); [INFO] [stdout] | ------------------------ ^^^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_builder.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn remove_node(node_id: Id) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::remove_node(123.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_space.rs - dock_space::Ui::dock_space_with_class (line 219) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_space.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 8 | let dockspace_id = ui.dock_space_with_class( [INFO] [stdout] | --------------------- arguments to this method are incorrect [INFO] [stdout] 9 | 0, [INFO] [stdout] | ^ expected `Id`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_space.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn dock_space_with_class( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 9 | 0.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_builder.rs - dock_builder::DockBuilder::set_node_size (line 325) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_builder.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::set_node_size(123, [800.0, 600.0]); [INFO] [stdout] | -------------------------- ^^^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_builder.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn set_node_size(node_id: Id, size: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::set_node_size(123.into(), [800.0, 600.0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_space.rs - dock_space::Ui::get_window_dock_id (line 372) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_space.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 10 | if dock_id != 0 { [INFO] [stdout] | ------- ^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected because this is `Id` [INFO] [stdout] | [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 10 | if dock_id != 0.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: `Id` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/dock_space.rs:380:62 [INFO] [stdout] | [INFO] [stdout] 11 | ui.text(format!("This window is docked with ID: {}", dock_id)); [INFO] [stdout] | -- ^^^^^^^ `Id` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Id` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_builder.rs - dock_builder::DockBuilder::dock_window (line 421) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_builder.rs:424:37 [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::dock_window("My Tool", 123); [INFO] [stdout] | ------------------------ ^^^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_builder.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn dock_window(window_name: &str, node_id: Id) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::dock_window("My Tool", 123.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_builder.rs - dock_builder::DockBuilder::add_node (line 231) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_builder.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 6 | let node_id = DockBuilder::add_node(0, DockNodeFlags::NO_RESIZE); [INFO] [stdout] | --------------------- ^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_builder.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn add_node(node_id: Id, flags: crate::DockNodeFlags) -> Id { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 6 | let node_id = DockBuilder::add_node(0.into(), DockNodeFlags::NO_RESIZE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_builder.rs - dock_builder::DockBuilder::set_node_pos (line 301) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_builder.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::set_node_pos(123, [100.0, 50.0]); [INFO] [stdout] | ------------------------- ^^^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_builder.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn set_node_pos(node_id: Id, pos: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 6 | DockBuilder::set_node_pos(123.into(), [100.0, 50.0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_builder.rs - dock_builder::DockBuilder::finish (line 540) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_builder.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 8 | DockBuilder::finish(dockspace_id); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_builder.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn finish(node_id: Id) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 8 | DockBuilder::finish(dockspace_id.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_space.rs - dock_space::Ui::dockspace_over_main_viewport_with_flags (line 154) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_space.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 8 | let dockspace_id = ui.dockspace_over_main_viewport_with_flags( [INFO] [stdout] | --------------------------------------- arguments to this method are incorrect [INFO] [stdout] 9 | 0, [INFO] [stdout] | ^ expected `Id`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_space.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn dockspace_over_main_viewport_with_flags( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 9 | 0.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dock_space.rs - dock_space::Ui::dock_space (line 271) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dock_space.rs:276:34 [INFO] [stdout] | [INFO] [stdout] 8 | let dockspace_id = ui.dock_space(0, [800.0, 600.0]); [INFO] [stdout] | ---------- ^ expected `Id`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dock_space.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn dock_space(&self, id: Id, size: [f32; 2]) -> Id { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Id` [INFO] [stdout] | [INFO] [stdout] 8 | let dockspace_id = ui.dock_space(0.into(), [800.0, 600.0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/dock_builder.rs - dock_builder::DockBuilder::add_node (line 231) [INFO] [stdout] src/dock_builder.rs - dock_builder::DockBuilder::dock_window (line 421) [INFO] [stdout] src/dock_builder.rs - dock_builder::DockBuilder::finish (line 540) [INFO] [stdout] src/dock_builder.rs - dock_builder::DockBuilder::remove_node (line 248) [INFO] [stdout] src/dock_builder.rs - dock_builder::DockBuilder::remove_node_child_nodes (line 283) [INFO] [stdout] src/dock_builder.rs - dock_builder::DockBuilder::remove_node_docked_windows (line 266) [INFO] [stdout] src/dock_builder.rs - dock_builder::DockBuilder::set_node_pos (line 301) [INFO] [stdout] src/dock_builder.rs - dock_builder::DockBuilder::set_node_size (line 325) [INFO] [stdout] src/dock_space.rs - dock_space::Ui::dock_space (line 271) [INFO] [stdout] src/dock_space.rs - dock_space::Ui::dock_space_with_class (line 219) [INFO] [stdout] src/dock_space.rs - dock_space::Ui::dockspace_over_main_viewport_with_flags (line 154) [INFO] [stdout] src/dock_space.rs - dock_space::Ui::get_window_dock_id (line 372) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 72 passed; 12 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.57s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1878fcdbf3178a0b9d0d5c0f57f3ff780104f27d7b078ca3e9955b344b0012aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1878fcdbf3178a0b9d0d5c0f57f3ff780104f27d7b078ca3e9955b344b0012aa", kill_on_drop: false }` [INFO] [stdout] 1878fcdbf3178a0b9d0d5c0f57f3ff780104f27d7b078ca3e9955b344b0012aa