[INFO] cloning repository https://github.com/koutheir/binary-security-check [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koutheir/binary-security-check" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoutheir%2Fbinary-security-check", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoutheir%2Fbinary-security-check'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bd75942583fce95c920bab4f6d1a4ba8e33c514 [INFO] checking koutheir/binary-security-check against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoutheir%2Fbinary-security-check" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koutheir/binary-security-check 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] removed /workspace/builds/worker-0/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/koutheir/binary-security-check [INFO] finished tweaking git repo https://github.com/koutheir/binary-security-check [INFO] tweaked toml for git repo https://github.com/koutheir/binary-security-check written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/koutheir/binary-security-check already has a lockfile, it will not be regenerated [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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] e774dd3ca57b832c9f38b2ec676832b2d5fb083496d37afee5dc21e3df4d3c75 [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" "e774dd3ca57b832c9f38b2ec676832b2d5fb083496d37afee5dc21e3df4d3c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e774dd3ca57b832c9f38b2ec676832b2d5fb083496d37afee5dc21e3df4d3c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e774dd3ca57b832c9f38b2ec676832b2d5fb083496d37afee5dc21e3df4d3c75", kill_on_drop: false }` [INFO] [stdout] e774dd3ca57b832c9f38b2ec676832b2d5fb083496d37afee5dc21e3df4d3c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] db6e0a63070b1eee759d0f738c91a8119a058d1aa573b46061fbbb23358bffb8 [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" "db6e0a63070b1eee759d0f738c91a8119a058d1aa573b46061fbbb23358bffb8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking termcolor v1.1.2 [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] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking simplelog v0.10.0 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking goblin v0.4.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking docopt v1.1.1 [INFO] [stderr] Checking 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: 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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.95s [INFO] running `Command { std: "docker" "inspect" "db6e0a63070b1eee759d0f738c91a8119a058d1aa573b46061fbbb23358bffb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db6e0a63070b1eee759d0f738c91a8119a058d1aa573b46061fbbb23358bffb8", kill_on_drop: false }` [INFO] [stdout] db6e0a63070b1eee759d0f738c91a8119a058d1aa573b46061fbbb23358bffb8