[INFO] fetching crate bchlib-sys 0.2.1... [INFO] checking bchlib-sys-0.2.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate bchlib-sys 0.2.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate bchlib-sys 0.2.1 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 bchlib-sys 0.2.1 [INFO] finished tweaking crates.io crate bchlib-sys 0.2.1 [INFO] tweaked toml for crates.io crate bchlib-sys 0.2.1 written to /workspace/builds/worker-10/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6fd88fdd3dc8d34f182ac08ba65f3d002d78ea1efa0f82dd323b191b57c36355 [INFO] running `Command { std: "docker" "start" "-a" "6fd88fdd3dc8d34f182ac08ba65f3d002d78ea1efa0f82dd323b191b57c36355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd88fdd3dc8d34f182ac08ba65f3d002d78ea1efa0f82dd323b191b57c36355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd88fdd3dc8d34f182ac08ba65f3d002d78ea1efa0f82dd323b191b57c36355", kill_on_drop: false }` [INFO] [stdout] 6fd88fdd3dc8d34f182ac08ba65f3d002d78ea1efa0f82dd323b191b57c36355 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e7a31abd7b482345f5b68f4545b7a97f93621f5411421f248bd7e84320f9df9 [INFO] running `Command { std: "docker" "start" "-a" "6e7a31abd7b482345f5b68f4545b7a97f93621f5411421f248bd7e84320f9df9", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.42.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling bchlib-sys v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: src/bch/bch.c: In function 'unpack_eccbits': [INFO] [stderr] warning: src/bch/bch.c:1410:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 1410 | for (k=0;kecc_bits;++k) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/bch/bch.c: In function 'pack_eccbits': [INFO] [stderr] warning: src/bch/bch.c:1422:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 1422 | for (k=0;kecc_bits;++k) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/bch/bch.c: In function 'correct_bch': [INFO] [stderr] warning: src/bch/bch.c:1503:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 1503 | if ( (bi>>3) < len) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/bch/bch.c:1498:38: warning: unused parameter 'bch' [-Wunused-parameter] [INFO] [stderr] warning: 1498 | void correct_bch(struct bch_control *bch, uint8_t *data, unsigned int len,unsigned int *errloc, int nerr) [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:3:5986 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of f... [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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:1025 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . m as * const _ as usize } , 0usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:1238 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . n as * const _ as usize } , 4usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:1451 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . t 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:1664 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . ecc_bits 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:1892 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . ecc_bytes as * const _ as usize } , 16usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:2122 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . a_pow_tab as * const _ as usize } , 24usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:2352 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . a_log_tab as * const _ as usize } , 32usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:2582 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . mod8_tab as * const _ as usize } , 40usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:2810 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . ecc_buf as * const _ as usize } , 48usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:3036 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . ecc_buf2 as * const _ as usize } , 56usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:3264 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . xi_tab as * const _ as usize } , 64usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:3488 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . syn as * const _ as usize } , 72usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:3706 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . cache as * const _ as usize } , 80usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:3928 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . elp as * const _ as usize } , 88usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:4146 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . poly_2t as * const _ as usize } , 96usize , 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/bchlib-sys-13cac18ccf0dc2e6/out/bindings.rs:20:4372 [INFO] [stdout] | [INFO] [stdout] 20 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < bch_control > ( ) ) ) . databuf as * const _ as usize } , 128usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.99s [INFO] running `Command { std: "docker" "inspect" "6e7a31abd7b482345f5b68f4545b7a97f93621f5411421f248bd7e84320f9df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7a31abd7b482345f5b68f4545b7a97f93621f5411421f248bd7e84320f9df9", kill_on_drop: false }` [INFO] [stdout] 6e7a31abd7b482345f5b68f4545b7a97f93621f5411421f248bd7e84320f9df9