[INFO] fetching crate linux-aio-sys 0.1.0... [INFO] checking linux-aio-sys-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate linux-aio-sys 0.1.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate linux-aio-sys 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linux-aio-sys 0.1.0 [INFO] finished tweaking crates.io crate linux-aio-sys 0.1.0 [INFO] tweaked toml for crates.io crate linux-aio-sys 0.1.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9bfe9af8db3e54cbaa56e3bf0efe0f60799fcc9d724345d2bc3cc271d71a4aa [INFO] running `Command { std: "docker" "start" "-a" "f9bfe9af8db3e54cbaa56e3bf0efe0f60799fcc9d724345d2bc3cc271d71a4aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9bfe9af8db3e54cbaa56e3bf0efe0f60799fcc9d724345d2bc3cc271d71a4aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9bfe9af8db3e54cbaa56e3bf0efe0f60799fcc9d724345d2bc3cc271d71a4aa", kill_on_drop: false }` [INFO] [stdout] f9bfe9af8db3e54cbaa56e3bf0efe0f60799fcc9d724345d2bc3cc271d71a4aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be8075cd3c3f56a38f3cd3d39e2931470d1a80155d9819db796a3a973f4de243 [INFO] running `Command { std: "docker" "start" "-a" "be8075cd3c3f56a38f3cd3d39e2931470d1a80155d9819db796a3a973f4de243", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling bindgen v0.47.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling linux-aio-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | let mut buf: [u8; 4096] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | let mut events = [unsafe { std::mem::uninitialized::() }]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:1325 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < io_event > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:1538 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < io_event > ( ) ) ) . obj as * const _ as usize } , 8usize , concat ! ( "Offset of fie... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:1749 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < io_event > ( ) ) ) . res as * const _ as usize } , 16usize , concat ! ( "Offset of fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:1961 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < io_event > ( ) ) ) . res2 as * const _ as usize } , 24usize , concat ! ( "Offset of f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:2858 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_data as * const _ as usize } , 0usize , concat ! ( "Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:3071 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_key as * const _ as usize } , 8usize , concat ! ( "Offset of f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:3282 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_rw_flags as * const _ as usize } , 12usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:3504 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_lio_opcode as * const _ as usize } , 16usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:3730 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_reqprio as * const _ as usize } , 18usize , concat ! ( "Offset... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:3950 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_fildes as * const _ as usize } , 20usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:4168 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_buf as * const _ as usize } , 24usize , concat ! ( "Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:4380 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_nbytes as * const _ as usize } , 32usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:4598 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_offset as * const _ as usize } , 40usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:4816 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_reserved2 as * const _ as usize } , 48usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:5040 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_flags as * const _ as usize } , 56usize , concat ! ( "Offset o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-95c9bad60eebed57/out/bindings.rs:3:5256 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_resfd as * const _ as usize } , 60usize , concat ! ( "Offset o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.69s [INFO] running `Command { std: "docker" "inspect" "be8075cd3c3f56a38f3cd3d39e2931470d1a80155d9819db796a3a973f4de243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8075cd3c3f56a38f3cd3d39e2931470d1a80155d9819db796a3a973f4de243", kill_on_drop: false }` [INFO] [stdout] be8075cd3c3f56a38f3cd3d39e2931470d1a80155d9819db796a3a973f4de243