[INFO] cloning repository https://github.com/Faneter/ControllerEvent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Faneter/ControllerEvent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaneter%2FControllerEvent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaneter%2FControllerEvent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abc9039b194381923f646c6dd91e6ad303fc8272 [INFO] checking Faneter/ControllerEvent against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaneter%2FControllerEvent" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Faneter/ControllerEvent [INFO] finished tweaking git repo https://github.com/Faneter/ControllerEvent [INFO] tweaked toml for git repo https://github.com/Faneter/ControllerEvent written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Faneter/ControllerEvent on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Faneter/ControllerEvent 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "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 memmap2 v0.9.8 [INFO] [stderr] Downloaded rusty-xinput v1.3.0 [INFO] [stderr] Downloaded core-graphics v0.25.0 [INFO] [stderr] Downloaded enigo v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7963590a164e327dcccae5039c8cc5386d0f12924ec1797ca3ef4ddecad948f3 [INFO] running `Command { std: "docker" "start" "-a" "7963590a164e327dcccae5039c8cc5386d0f12924ec1797ca3ef4ddecad948f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7963590a164e327dcccae5039c8cc5386d0f12924ec1797ca3ef4ddecad948f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7963590a164e327dcccae5039c8cc5386d0f12924ec1797ca3ef4ddecad948f3", kill_on_drop: false }` [INFO] [stdout] 7963590a164e327dcccae5039c8cc5386d0f12924ec1797ca3ef4ddecad948f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b119a14f8b41148ae7e3f494698de9e0ffa193bba19a85a05e95d314da1ceda [INFO] running `Command { std: "docker" "start" "-a" "0b119a14f8b41148ae7e3f494698de9e0ffa193bba19a85a05e95d314da1ceda", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking xkbcommon v0.9.0 [INFO] [stderr] Checking gilrs-core v0.6.6 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking enigo v0.6.1 [INFO] [stderr] Checking ControllerEvent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `KeyClick`, `MouseClick`, `MouseMoveRel`, `MouseMoveAbs`, `MouseScroll`, and `Other` are never constructed [INFO] [stdout] --> src/event.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 15 | KeyClick(Key), // 按下并释放单个按键 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | MouseClick(Button), // 鼠标点击 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | MouseMoveRel(i32, i32), // 相对移动鼠标 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | MouseMoveAbs(i32, i32), // 绝对移动鼠标 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | MouseScroll(i32, i32), // 滚动鼠标滚轮 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | Other(fn() -> Event), // 其他自定义事件 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_combo_mapping` is never used [INFO] [stdout] --> src/event.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Binder { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_combo_mapping(&mut self, inputs: (Input, Input), event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/event.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 26 | fn(key_state: KeyState, last_key_state: KeyState) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/event.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 29 | Other(fn() -> Event), // 其他自定义事件 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KeyClick`, `MouseClick`, `MouseMoveRel`, `MouseMoveAbs`, `MouseScroll`, and `Other` are never constructed [INFO] [stdout] --> src/event.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 15 | KeyClick(Key), // 按下并释放单个按键 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | MouseClick(Button), // 鼠标点击 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | MouseMoveRel(i32, i32), // 相对移动鼠标 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | MouseMoveAbs(i32, i32), // 绝对移动鼠标 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | MouseScroll(i32, i32), // 滚动鼠标滚轮 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | Other(fn() -> Event), // 其他自定义事件 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_combo_mapping` is never used [INFO] [stdout] --> src/event.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Binder { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_combo_mapping(&mut self, inputs: (Input, Input), event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/event.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 26 | fn(key_state: KeyState, last_key_state: KeyState) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/event.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 29 | Other(fn() -> Event), // 其他自定义事件 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.19s [INFO] running `Command { std: "docker" "inspect" "0b119a14f8b41148ae7e3f494698de9e0ffa193bba19a85a05e95d314da1ceda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b119a14f8b41148ae7e3f494698de9e0ffa193bba19a85a05e95d314da1ceda", kill_on_drop: false }` [INFO] [stdout] 0b119a14f8b41148ae7e3f494698de9e0ffa193bba19a85a05e95d314da1ceda