[INFO] cloning repository https://github.com/ted-dokos/win-swap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ted-dokos/win-swap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-dokos%2Fwin-swap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-dokos%2Fwin-swap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a613e70766ad6a3376c01b6330453d8c19ca448d [INFO] testing ted-dokos/win-swap against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-dokos%2Fwin-swap" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-dokos/win-swap on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ted-dokos/win-swap [INFO] finished tweaking git repo https://github.com/ted-dokos/win-swap [INFO] tweaked toml for git repo https://github.com/ted-dokos/win-swap written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ted-dokos/win-swap 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6fd4ac2a328ac43beda4b8ad144db7b295f4b81f30320a40d12226586027e69 [INFO] running `Command { std: "docker" "start" "-a" "e6fd4ac2a328ac43beda4b8ad144db7b295f4b81f30320a40d12226586027e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6fd4ac2a328ac43beda4b8ad144db7b295f4b81f30320a40d12226586027e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6fd4ac2a328ac43beda4b8ad144db7b295f4b81f30320a40d12226586027e69", kill_on_drop: false }` [INFO] [stdout] e6fd4ac2a328ac43beda4b8ad144db7b295f4b81f30320a40d12226586027e69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd441bbfaa7b076d7f3d57b0a514e0988770414bfebb8c821aed6068eb5ff491 [INFO] running `Command { std: "docker" "start" "-a" "fd441bbfaa7b076d7f3d57b0a514e0988770414bfebb8c821aed6068eb5ff491", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling windows-targets v0.52.5 [INFO] [stderr] Compiling windows-result v0.1.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling windows-implement v0.56.0 [INFO] [stderr] Compiling windows-interface v0.56.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling windows-core v0.56.0 [INFO] [stderr] Compiling windows v0.56.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling swappy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let args = Args::parse(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate` is never used [INFO] [stdout] --> src/swap.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Rect { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 9 | pub fn translate(self: &Self, x: i32, y: i32) -> Rect { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_swap_coords` is never used [INFO] [stdout] --> src/swap.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn calculate_swap_coords( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window_overlap` is never used [INFO] [stdout] --> src/swap.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn window_overlap(window: Rect, region: Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp_to_region` is never used [INFO] [stdout] --> src/swap.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn clamp_to_region(rect: Rect, region: Rect) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoOverlapError` is never constructed [INFO] [stdout] --> src/swap.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | struct NoOverlapError {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `are_same_size` is never used [INFO] [stdout] --> src/swap.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn are_same_size(rect_1: &Rect, rect_2: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.54s [INFO] running `Command { std: "docker" "inspect" "fd441bbfaa7b076d7f3d57b0a514e0988770414bfebb8c821aed6068eb5ff491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd441bbfaa7b076d7f3d57b0a514e0988770414bfebb8c821aed6068eb5ff491", kill_on_drop: false }` [INFO] [stdout] fd441bbfaa7b076d7f3d57b0a514e0988770414bfebb8c821aed6068eb5ff491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3342034168fecda485bcb8ffc5a9ff7ae0041c3b414b195bd1de2726d80f141a [INFO] running `Command { std: "docker" "start" "-a" "3342034168fecda485bcb8ffc5a9ff7ae0041c3b414b195bd1de2726d80f141a", kill_on_drop: false }` [INFO] [stderr] Compiling swappy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let args = Args::parse(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "3342034168fecda485bcb8ffc5a9ff7ae0041c3b414b195bd1de2726d80f141a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3342034168fecda485bcb8ffc5a9ff7ae0041c3b414b195bd1de2726d80f141a", kill_on_drop: false }` [INFO] [stdout] 3342034168fecda485bcb8ffc5a9ff7ae0041c3b414b195bd1de2726d80f141a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcc0c8c8def257c459bec56f5e7f96420d3e95fe9a43d200d2b7388faa52fa05 [INFO] running `Command { std: "docker" "start" "-a" "fcc0c8c8def257c459bec56f5e7f96420d3e95fe9a43d200d2b7388faa52fa05", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let args = Args::parse(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `swappy` (bin "swappy" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/swappy-528bd9a55ebcad42) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test swap::tests::test_qhd_left_third_to_right_two_thirds ... ok [INFO] [stdout] test swap::tests::test_calculate_swap_coords_hd_to_4k ... ok [INFO] [stdout] test swap::tests::test_calculate_swap_coords_qhd_pair ... 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] running `Command { std: "docker" "inspect" "fcc0c8c8def257c459bec56f5e7f96420d3e95fe9a43d200d2b7388faa52fa05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc0c8c8def257c459bec56f5e7f96420d3e95fe9a43d200d2b7388faa52fa05", kill_on_drop: false }` [INFO] [stdout] fcc0c8c8def257c459bec56f5e7f96420d3e95fe9a43d200d2b7388faa52fa05