[INFO] fetching crate rio-window 0.4.7... [INFO] checking rio-window-0.4.7 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate rio-window 0.4.7 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rio-window 0.4.7 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rio-window 0.4.7 [INFO] tweaked toml for crates.io crate rio-window 0.4.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rio-window 0.4.7 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rio-window 0.4.7 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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 20e901b8aaa2960ee64ad6490af68c5580e606dd6f1c22e86457ab11ef5926de [INFO] running `Command { std: "docker" "start" "20e901b8aaa2960ee64ad6490af68c5580e606dd6f1c22e86457ab11ef5926de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "20e901b8aaa2960ee64ad6490af68c5580e606dd6f1c22e86457ab11ef5926de" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e901b8aaa2960ee64ad6490af68c5580e606dd6f1c22e86457ab11ef5926de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "20e901b8aaa2960ee64ad6490af68c5580e606dd6f1c22e86457ab11ef5926de" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Checking log v0.4.32 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling rio-window v0.4.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling tiny-xlib v0.2.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking ctor v0.10.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking smol_str v0.3.6 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking softbuffer v0.4.8 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stdout] error: useless conversion to the same type: `u32` [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | root_window_wm_check.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u32` [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | root_window_wm_check.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u32` [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | root_window_wm_check.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/platform_impl/linux/x11/ime/context.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | >(preedit_start_callback as usize) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 178 | >(preedit_start_callback as *const () as usize) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u32` [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | root_window_wm_check.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u32` [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | root_window_wm_check.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u32` [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | root_window_wm_check.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/platform_impl/linux/x11/ime/context.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | >(preedit_start_callback as usize) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 178 | >(preedit_start_callback as *const () as usize) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rio-window` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rio-window` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "20e901b8aaa2960ee64ad6490af68c5580e606dd6f1c22e86457ab11ef5926de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e901b8aaa2960ee64ad6490af68c5580e606dd6f1c22e86457ab11ef5926de", kill_on_drop: false }` [INFO] [stdout] 20e901b8aaa2960ee64ad6490af68c5580e606dd6f1c22e86457ab11ef5926de