[INFO] fetching crate x11-dl 2.21.0... [INFO] checking x11-dl-2.21.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate x11-dl 2.21.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate x11-dl 2.21.0 [INFO] finished tweaking crates.io crate x11-dl 2.21.0 [INFO] tweaked toml for crates.io crate x11-dl 2.21.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate x11-dl 2.21.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate x11-dl 2.21.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebe149002b833d221623952cd2b4f8f4ef29156583464e1e4e18cb187b7eb150 [INFO] running `Command { std: "docker" "start" "-a" "ebe149002b833d221623952cd2b4f8f4ef29156583464e1e4e18cb187b7eb150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebe149002b833d221623952cd2b4f8f4ef29156583464e1e4e18cb187b7eb150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe149002b833d221623952cd2b4f8f4ef29156583464e1e4e18cb187b7eb150", kill_on_drop: false }` [INFO] [stdout] ebe149002b833d221623952cd2b4f8f4ef29156583464e1e4e18cb187b7eb150 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9614577679dd15124060f6eb712ea991c70d664b977be76ccde3e5c3efb953ea [INFO] running `Command { std: "docker" "start" "-a" "9614577679dd15124060f6eb712ea991c70d664b977be76ccde3e5c3efb953ea", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling x11-dl v2.21.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `xlib` [INFO] [stdout] --> src/xlib.rs:3564:7 [INFO] [stdout] | [INFO] [stdout] 3564 | #[cfg(feature = "xlib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `xlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `xlib` [INFO] [stdout] --> src/xlib.rs:3564:7 [INFO] [stdout] | [INFO] [stdout] 3564 | #[cfg(feature = "xlib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `xlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `XEventQueueOwner`, which is not FFI-safe [INFO] [stdout] --> src/link.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | $(pub $fn_name: unsafe extern "C" fn ($($param_type),*) -> $ret_type,)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/xlib_xcb.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum XEventQueueOwner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `XEventQueueOwner`, which is not FFI-safe [INFO] [stdout] --> src/link.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | $(pub $fn_name: unsafe extern "C" fn ($($param_type),*) -> $ret_type,)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/xlib_xcb.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, [INFO] [stdout] 5 | | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, [INFO] [stdout] 6 | | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), [INFO] [stdout] 7 | | variadic: [INFO] [stdout] 8 | | globals: [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/xlib_xcb.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum XEventQueueOwner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XSetWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> examples/hello-world-dl.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | let mut attributes: xlib::XSetWindowAttributes = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.92s [INFO] running `Command { std: "docker" "inspect" "9614577679dd15124060f6eb712ea991c70d664b977be76ccde3e5c3efb953ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9614577679dd15124060f6eb712ea991c70d664b977be76ccde3e5c3efb953ea", kill_on_drop: false }` [INFO] [stdout] 9614577679dd15124060f6eb712ea991c70d664b977be76ccde3e5c3efb953ea