[INFO] cloning repository https://github.com/LucaXiang/ektox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucaXiang/ektox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucaXiang%2Fektox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucaXiang%2Fektox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 072ed2be9d249a3a1d1efb8717cc6258eaa64d49 [INFO] checking LucaXiang/ektox against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucaXiang%2Fektox" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LucaXiang/ektox [INFO] finished tweaking git repo https://github.com/LucaXiang/ektox [INFO] tweaked toml for git repo https://github.com/LucaXiang/ektox written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LucaXiang/ektox on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LucaXiang/ektox 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking LucaXiang/ektox against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucaXiang%2Fektox" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LucaXiang/ektox [INFO] finished tweaking git repo https://github.com/LucaXiang/ektox [INFO] tweaked toml for git repo https://github.com/LucaXiang/ektox written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LucaXiang/ektox on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LucaXiang/ektox 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_x86_64_msvc v0.35.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.35.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.35.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.35.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.35.0 [INFO] [stderr] Downloaded windows v0.35.0 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bd6c8787b067af43da767259954a9a5dd5e3e7e866d3aaf75b24e3a14e3948b [INFO] running `Command { std: "docker" "start" "-a" "9bd6c8787b067af43da767259954a9a5dd5e3e7e866d3aaf75b24e3a14e3948b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bd6c8787b067af43da767259954a9a5dd5e3e7e866d3aaf75b24e3a14e3948b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd6c8787b067af43da767259954a9a5dd5e3e7e866d3aaf75b24e3a14e3948b", kill_on_drop: false }` [INFO] [stdout] 9bd6c8787b067af43da767259954a9a5dd5e3e7e866d3aaf75b24e3a14e3948b [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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1169cadd18e92ee0f071398dc7724042775a6e0f88f40ebdcacb02b25033ef43 [INFO] running `Command { std: "docker" "start" "-a" "1169cadd18e92ee0f071398dc7724042775a6e0f88f40ebdcacb02b25033ef43", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking windows v0.35.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking ektox v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SW_RESTORE` [INFO] [stdout] --> src/common/app.rs:8:75 [INFO] [stdout] | [INFO] [stdout] 8 | GetMessageW, SetForegroundWindow, ShowWindow, MSG, SW_NORMAL, SW_RESTORE, WM_HOTKEY, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SW_RESTORE` [INFO] [stdout] --> src/common/app.rs:8:75 [INFO] [stdout] | [INFO] [stdout] 8 | GetMessageW, SetForegroundWindow, ShowWindow, MSG, SW_NORMAL, SW_RESTORE, WM_HOTKEY, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/utils/window_finder.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | let enum_window_param: &mut EnumWindowParam = std::mem::transmute(lparam.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 46 - let enum_window_param: &mut EnumWindowParam = std::mem::transmute(lparam.0); [INFO] [stdout] 46 + let enum_window_param: &mut EnumWindowParam = &mut *std::ptr::with_exposed_provenance_mut::(lparam.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/window_finder.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | let len = GetWindowTextW(hwnd, &mut BUFFER) as usize; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | let len = GetWindowTextW(hwnd, &raw mut BUFFER) as usize; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/window_finder.rs:103:69 [INFO] [stdout] | [INFO] [stdout] 103 | len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &mut BUFFER) as usize; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 103 | len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &raw mut BUFFER) as usize; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/utils/window_finder.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | let enum_window_param: &mut EnumWindowParam = std::mem::transmute(lparam.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 46 - let enum_window_param: &mut EnumWindowParam = std::mem::transmute(lparam.0); [INFO] [stdout] 46 + let enum_window_param: &mut EnumWindowParam = &mut *std::ptr::with_exposed_provenance_mut::(lparam.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/window_finder.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | let len = GetWindowTextW(hwnd, &mut BUFFER) as usize; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | let len = GetWindowTextW(hwnd, &raw mut BUFFER) as usize; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/window_finder.rs:103:69 [INFO] [stdout] | [INFO] [stdout] 103 | len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &mut BUFFER) as usize; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 103 | len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &raw mut BUFFER) as usize; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.40s [INFO] running `Command { std: "docker" "inspect" "1169cadd18e92ee0f071398dc7724042775a6e0f88f40ebdcacb02b25033ef43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1169cadd18e92ee0f071398dc7724042775a6e0f88f40ebdcacb02b25033ef43", kill_on_drop: false }` [INFO] [stdout] 1169cadd18e92ee0f071398dc7724042775a6e0f88f40ebdcacb02b25033ef43