[INFO] cloning repository https://github.com/pkptzx/xcgui-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pkptzx/xcgui-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkptzx%2Fxcgui-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkptzx%2Fxcgui-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3984ebbe266aefa006ec2765bf67b7342f966f2 [INFO] building pkptzx/xcgui-rs against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkptzx%2Fxcgui-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pkptzx/xcgui-rs [INFO] finished tweaking git repo https://github.com/pkptzx/xcgui-rs [INFO] tweaked toml for git repo https://github.com/pkptzx/xcgui-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pkptzx/xcgui-rs on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pkptzx/xcgui-rs 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.98 [INFO] [stderr] Downloaded widestring v1.2.0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b19d5d1ae51725518ca15a6f39f9e91013b139d9fc6b8f28fbd345405eb21b1 [INFO] running `Command { std: "docker" "start" "-a" "1b19d5d1ae51725518ca15a6f39f9e91013b139d9fc6b8f28fbd345405eb21b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b19d5d1ae51725518ca15a6f39f9e91013b139d9fc6b8f28fbd345405eb21b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b19d5d1ae51725518ca15a6f39f9e91013b139d9fc6b8f28fbd345405eb21b1", kill_on_drop: false }` [INFO] [stdout] 1b19d5d1ae51725518ca15a6f39f9e91013b139d9fc6b8f28fbd345405eb21b1 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b63470208b7ed9d8ffe63c1ef0f1b9a9698991c94a1f819f88f50f990dbfb8b0 [INFO] running `Command { std: "docker" "start" "-a" "b63470208b7ed9d8ffe63c1ef0f1b9a9698991c94a1f819f88f50f990dbfb8b0", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling widestring v1.2.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling xcgui-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `XC_itow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn XC_itow(&self, nValue: i32) -> Result> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xc_itow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nValue` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn XC_itow(&self, nValue: i32) -> Result> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `n_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XInitXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn XInitXCGUI(&self , bD2D:bool)->Result>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `xinit_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bD2D` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn XInitXCGUI(&self , bD2D:bool)->Result>{ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `b_d2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bD2D` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | bD2D: std::os::raw::c_int, // BOOL 类型(对应 C 的 int) [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `b_d2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_XInitXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let _XInitXCGUI: Symbol = unsafe { self.xclib.get(b"XInitXCGUI") }?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_xinit_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XWnd_Create` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn XWnd_Create(&self,x:i32,y:i32,cx:i32,cy:i32,title:&str)-> Result>{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xwnd_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pTitle` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | pTitle: *const u16, // 对应 const wchar_t* [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWndParent` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | hWndParent: isize, // HWND 类型 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `h_wnd_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `XCStyle` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | XCStyle: std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xcstyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_XWnd_Create` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let _XWnd_Create: Symbol = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_xwnd_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XWnd_Show` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xwnd_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWindow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bShow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWindow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | hWindow: isize, // HWINDOW 类型(句柄) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bShow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | bShow: std::os::raw::c_int, // BOOL 类型(对应 C 的 int) [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XRunXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn XRunXCGUI(&self )->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xrun_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xRunXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let xRunXCGUI: Symbol = unsafe { self.xclib.get(b"XRunXCGUI") }?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `x_run_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.95s [INFO] running `Command { std: "docker" "inspect" "b63470208b7ed9d8ffe63c1ef0f1b9a9698991c94a1f819f88f50f990dbfb8b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63470208b7ed9d8ffe63c1ef0f1b9a9698991c94a1f819f88f50f990dbfb8b0", kill_on_drop: false }` [INFO] [stdout] b63470208b7ed9d8ffe63c1ef0f1b9a9698991c94a1f819f88f50f990dbfb8b0 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 947b4d2fb3e28b90779d0f6cb63e2247cc896e581a8ba463144b44add454f070 [INFO] running `Command { std: "docker" "start" "-a" "947b4d2fb3e28b90779d0f6cb63e2247cc896e581a8ba463144b44add454f070", kill_on_drop: false }` [INFO] [stderr] Compiling xcgui-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `XC_itow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn XC_itow(&self, nValue: i32) -> Result> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xc_itow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nValue` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn XC_itow(&self, nValue: i32) -> Result> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `n_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XInitXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn XInitXCGUI(&self , bD2D:bool)->Result>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `xinit_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bD2D` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn XInitXCGUI(&self , bD2D:bool)->Result>{ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `b_d2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bD2D` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | bD2D: std::os::raw::c_int, // BOOL 类型(对应 C 的 int) [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `b_d2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_XInitXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let _XInitXCGUI: Symbol = unsafe { self.xclib.get(b"XInitXCGUI") }?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_xinit_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XWnd_Create` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn XWnd_Create(&self,x:i32,y:i32,cx:i32,cy:i32,title:&str)-> Result>{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xwnd_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pTitle` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | pTitle: *const u16, // 对应 const wchar_t* [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWndParent` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | hWndParent: isize, // HWND 类型 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `h_wnd_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `XCStyle` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | XCStyle: std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xcstyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_XWnd_Create` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let _XWnd_Create: Symbol = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_xwnd_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XWnd_Show` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xwnd_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWindow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bShow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWindow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | hWindow: isize, // HWINDOW 类型(句柄) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bShow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | bShow: std::os::raw::c_int, // BOOL 类型(对应 C 的 int) [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XRunXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn XRunXCGUI(&self )->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xrun_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xRunXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let xRunXCGUI: Symbol = unsafe { self.xclib.get(b"XRunXCGUI") }?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `x_run_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XC_itow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn XC_itow(&self, nValue: i32) -> Result> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xc_itow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nValue` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn XC_itow(&self, nValue: i32) -> Result> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `n_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XInitXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn XInitXCGUI(&self , bD2D:bool)->Result>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `xinit_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bD2D` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn XInitXCGUI(&self , bD2D:bool)->Result>{ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `b_d2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bD2D` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | bD2D: std::os::raw::c_int, // BOOL 类型(对应 C 的 int) [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `b_d2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_XInitXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let _XInitXCGUI: Symbol = unsafe { self.xclib.get(b"XInitXCGUI") }?; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_xinit_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XWnd_Create` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn XWnd_Create(&self,x:i32,y:i32,cx:i32,cy:i32,title:&str)-> Result>{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xwnd_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pTitle` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | pTitle: *const u16, // 对应 const wchar_t* [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWndParent` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | hWndParent: isize, // HWND 类型 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `h_wnd_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `XCStyle` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | XCStyle: std::os::raw::c_int, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xcstyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_XWnd_Create` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let _XWnd_Create: Symbol = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_xwnd_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XWnd_Show` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `xwnd_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWindow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bShow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn XWnd_Show(&self , hWindow: isize,bShow:bool)->Result<(), Box>{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hWindow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | hWindow: isize, // HWINDOW 类型(句柄) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bShow` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | bShow: std::os::raw::c_int, // BOOL 类型(对应 C 的 int) [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `b_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `XRunXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn XRunXCGUI(&self )->Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `xrun_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xRunXCGUI` should have a snake case name [INFO] [stdout] --> src/xcgui.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let xRunXCGUI: Symbol = unsafe { self.xclib.get(b"XRunXCGUI") }?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `x_run_xcgui` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "947b4d2fb3e28b90779d0f6cb63e2247cc896e581a8ba463144b44add454f070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947b4d2fb3e28b90779d0f6cb63e2247cc896e581a8ba463144b44add454f070", kill_on_drop: false }` [INFO] [stdout] 947b4d2fb3e28b90779d0f6cb63e2247cc896e581a8ba463144b44add454f070