[INFO] fetching crate linux-aio-sys 0.1.0... [INFO] testing linux-aio-sys-0.1.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate linux-aio-sys 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate linux-aio-sys 0.1.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.47.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79fdf0408fde66e5b05ceda157761d3f9a5e83bd1598471f9ef68f24d8b180dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "79fdf0408fde66e5b05ceda157761d3f9a5e83bd1598471f9ef68f24d8b180dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79fdf0408fde66e5b05ceda157761d3f9a5e83bd1598471f9ef68f24d8b180dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79fdf0408fde66e5b05ceda157761d3f9a5e83bd1598471f9ef68f24d8b180dd", kill_on_drop: false }` [INFO] [stdout] 79fdf0408fde66e5b05ceda157761d3f9a5e83bd1598471f9ef68f24d8b180dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01fe90c18d6598432cba0f5a9709e794437bcf7dd4f989b50becac63f40ad2b9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "01fe90c18d6598432cba0f5a9709e794437bcf7dd4f989b50becac63f40ad2b9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.47.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling env_logger v0.6.2 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "01fe90c18d6598432cba0f5a9709e794437bcf7dd4f989b50becac63f40ad2b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01fe90c18d6598432cba0f5a9709e794437bcf7dd4f989b50becac63f40ad2b9", kill_on_drop: false }` [INFO] [stdout] 01fe90c18d6598432cba0f5a9709e794437bcf7dd4f989b50becac63f40ad2b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74deaba08a1e523afa341b1e5f6c6467044abb8d64256386938906446c0c56b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "74deaba08a1e523afa341b1e5f6c6467044abb8d64256386938906446c0c56b2", kill_on_drop: false }` [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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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-9364d63d1ee9a2dc/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 test [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "74deaba08a1e523afa341b1e5f6c6467044abb8d64256386938906446c0c56b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74deaba08a1e523afa341b1e5f6c6467044abb8d64256386938906446c0c56b2", kill_on_drop: false }` [INFO] [stdout] 74deaba08a1e523afa341b1e5f6c6467044abb8d64256386938906446c0c56b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99c1afd22bc7a6c4f8e50afcef125b3e6fc0479672eb0d49a75524a29be9c610 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "99c1afd22bc7a6c4f8e50afcef125b3e6fc0479672eb0d49a75524a29be9c610", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:52:54 [INFO] [stderr] | [INFO] [stderr] 52 | let mut buf: [u8; 4096] = unsafe { std::mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:63:46 [INFO] [stderr] | [INFO] [stderr] 63 | let mut events = [unsafe { std::mem::uninitialized::() }]; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:1325 [INFO] [stderr] | [INFO] [stderr] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < io_event > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of fi... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:1538 [INFO] [stderr] | [INFO] [stderr] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < io_event > ( ) ) ) . obj as * const _ as usize } , 8usize , concat ! ( "Offset of fie... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:1749 [INFO] [stderr] | [INFO] [stderr] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < io_event > ( ) ) ) . res as * const _ as usize } , 16usize , concat ! ( "Offset of fi... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:1961 [INFO] [stderr] | [INFO] [stderr] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < io_event > ( ) ) ) . res2 as * const _ as usize } , 24usize , concat ! ( "Offset of f... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:2858 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_data as * const _ as usize } , 0usize , concat ! ( "Offset of ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:3071 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_key as * const _ as usize } , 8usize , concat ! ( "Offset of f... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:3282 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_rw_flags as * const _ as usize } , 12usize , concat ! ( "Offse... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:3504 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_lio_opcode as * const _ as usize } , 16usize , concat ! ( "Off... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:3730 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_reqprio as * const _ as usize } , 18usize , concat ! ( "Offset... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:3950 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_fildes as * const _ as usize } , 20usize , concat ! ( "Offset ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:4168 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_buf as * const _ as usize } , 24usize , concat ! ( "Offset of ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:4380 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_nbytes as * const _ as usize } , 32usize , concat ! ( "Offset ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:4598 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_offset as * const _ as usize } , 40usize , concat ! ( "Offset ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:4816 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_reserved2 as * const _ as usize } , 48usize , concat ! ( "Offs... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:5040 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_flags as * const _ as usize } , 56usize , concat ! ( "Offset o... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/linux-aio-sys-9364d63d1ee9a2dc/out/bindings.rs:3:5256 [INFO] [stderr] | [INFO] [stderr] 3 | ...eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iocb > ( ) ) ) . aio_resfd as * const _ as usize } , 60usize , concat ! ( "Offset o... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: `linux-aio-sys` (lib test) generated 18 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/linux_aio_sys-8803025e62a926c1) [INFO] [stdout] running 3 tests [INFO] [stdout] test bindgen_test_layout_io_event ... ok [INFO] [stdout] test bindgen_test_layout_iocb ... ok [INFO] [stderr] Doc-tests linux-aio-sys [INFO] [stdout] test test::read_passwd ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99c1afd22bc7a6c4f8e50afcef125b3e6fc0479672eb0d49a75524a29be9c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c1afd22bc7a6c4f8e50afcef125b3e6fc0479672eb0d49a75524a29be9c610", kill_on_drop: false }` [INFO] [stdout] 99c1afd22bc7a6c4f8e50afcef125b3e6fc0479672eb0d49a75524a29be9c610