[INFO] fetching crate binary-security-check 1.2.3... [INFO] testing binary-security-check-1.2.3 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate binary-security-check 1.2.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate binary-security-check 1.2.3 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config.toml [INFO] started tweaking crates.io crate binary-security-check 1.2.3 [INFO] finished tweaking crates.io crate binary-security-check 1.2.3 [INFO] tweaked toml for crates.io crate binary-security-check 1.2.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate binary-security-check 1.2.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fadafe13a846159ee0a4252e39e3060dc4df8defcf2694f4e52b1a9b6dd47340 [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" "fadafe13a846159ee0a4252e39e3060dc4df8defcf2694f4e52b1a9b6dd47340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fadafe13a846159ee0a4252e39e3060dc4df8defcf2694f4e52b1a9b6dd47340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fadafe13a846159ee0a4252e39e3060dc4df8defcf2694f4e52b1a9b6dd47340", kill_on_drop: false }` [INFO] [stdout] fadafe13a846159ee0a4252e39e3060dc4df8defcf2694f4e52b1a9b6dd47340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf015f23a7ca013c50e0551d50dce7c052da3d30c0771b121977cec266fe2af2 [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" "bf015f23a7ca013c50e0551d50dce7c052da3d30c0771b121977cec266fe2af2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling goblin v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling binary-security-check v1.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/pe/mod.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { &(*ptr::null::<$ty>()).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 382 | offset_of!(ImageLoadConfigDirectory64, SEHandlerCount), [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/pe/mod.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { &(*ptr::null::<$ty>()).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 387 | offset_of!(ImageLoadConfigDirectory32, SEHandlerCount), [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.10s [INFO] running `Command { std: "docker" "inspect" "bf015f23a7ca013c50e0551d50dce7c052da3d30c0771b121977cec266fe2af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf015f23a7ca013c50e0551d50dce7c052da3d30c0771b121977cec266fe2af2", kill_on_drop: false }` [INFO] [stdout] bf015f23a7ca013c50e0551d50dce7c052da3d30c0771b121977cec266fe2af2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bfdcc9b65b76090227b07c1efd99c4f93995cb72747a76b9c041fd40baaa49c [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" "0bfdcc9b65b76090227b07c1efd99c4f93995cb72747a76b9c041fd40baaa49c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling binary-security-check v1.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/pe/mod.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { &(*ptr::null::<$ty>()).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 382 | offset_of!(ImageLoadConfigDirectory64, SEHandlerCount), [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/pe/mod.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { &(*ptr::null::<$ty>()).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 387 | offset_of!(ImageLoadConfigDirectory32, SEHandlerCount), [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `Command { std: "docker" "inspect" "0bfdcc9b65b76090227b07c1efd99c4f93995cb72747a76b9c041fd40baaa49c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfdcc9b65b76090227b07c1efd99c4f93995cb72747a76b9c041fd40baaa49c", kill_on_drop: false }` [INFO] [stdout] 0bfdcc9b65b76090227b07c1efd99c4f93995cb72747a76b9c041fd40baaa49c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b89b81e9e435033c66d46f47ffed8fd1e5ef4656c08ab0f232589349361fd924 [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" "b89b81e9e435033c66d46f47ffed8fd1e5ef4656c08ab0f232589349361fd924", kill_on_drop: false }` [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/pe/mod.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | unsafe { &(*ptr::null::<$ty>()).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] ... [INFO] [stderr] 382 | offset_of!(ImageLoadConfigDirectory64, SEHandlerCount), [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/pe/mod.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | unsafe { &(*ptr::null::<$ty>()).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] ... [INFO] [stderr] 387 | offset_of!(ImageLoadConfigDirectory32, SEHandlerCount), [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/binary_security_check-8e5d2665f60cfcf4) [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" "b89b81e9e435033c66d46f47ffed8fd1e5ef4656c08ab0f232589349361fd924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89b81e9e435033c66d46f47ffed8fd1e5ef4656c08ab0f232589349361fd924", kill_on_drop: false }` [INFO] [stdout] b89b81e9e435033c66d46f47ffed8fd1e5ef4656c08ab0f232589349361fd924