[INFO] fetching crate linux-aio-sys 0.1.0... [INFO] checking linux-aio-sys-0.1.0 against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [INFO] extracting crate linux-aio-sys 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate linux-aio-sys 0.1.0 on toolchain 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.47.4 (available: v0.71.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0e81de55f61aaf9418b9c0ed743fbc5e2fa5546b78459d23172386c6aad1a6d [INFO] running `Command { std: "docker" "start" "-a" "e0e81de55f61aaf9418b9c0ed743fbc5e2fa5546b78459d23172386c6aad1a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0e81de55f61aaf9418b9c0ed743fbc5e2fa5546b78459d23172386c6aad1a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0e81de55f61aaf9418b9c0ed743fbc5e2fa5546b78459d23172386c6aad1a6d", kill_on_drop: false }` [INFO] [stdout] e0e81de55f61aaf9418b9c0ed743fbc5e2fa5546b78459d23172386c6aad1a6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47d1fa6c91d3294df8cbe285075642a8c18dcacf97168ff830ec6c4994039285 [INFO] running `Command { std: "docker" "start" "-a" "47d1fa6c91d3294df8cbe285075642a8c18dcacf97168ff830ec6c4994039285", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.47.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.6.2 [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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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-b0d764ab2fa19a70/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: the type `[u8; 4096]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | let mut buf: [u8; 4096] = unsafe { std::mem::uninitialized() }; [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] [stdout] warning: the type `io_event` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | let mut events = [unsafe { std::mem::uninitialized::() }]; [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 (in this struct field) [INFO] [stdout] --> /opt/rustwide/target/debug/build/linux-aio-sys-b0d764ab2fa19a70/out/bindings.rs:3:917 [INFO] [stdout] | [INFO] [stdout] 3 | ...( Debug , Default , Copy , Clone ) ] pub struct io_event { pub data : __u64 , pub obj : __u64 , pub res : __s64 , pub res2 : __s64 , }... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "47d1fa6c91d3294df8cbe285075642a8c18dcacf97168ff830ec6c4994039285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d1fa6c91d3294df8cbe285075642a8c18dcacf97168ff830ec6c4994039285", kill_on_drop: false }` [INFO] [stdout] 47d1fa6c91d3294df8cbe285075642a8c18dcacf97168ff830ec6c4994039285