[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] testing koutheir/binary-security-check against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoutheir%2Fbinary-security-check" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koutheir/binary-security-check on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/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-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.10.0 [INFO] [stderr] Downloaded goblin v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3beff9d3382341797c23425303cd50291ac7dfd739f25dbcd605126d7a0f7dbb [INFO] running `Command { std: "docker" "start" "-a" "3beff9d3382341797c23425303cd50291ac7dfd739f25dbcd605126d7a0f7dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3beff9d3382341797c23425303cd50291ac7dfd739f25dbcd605126d7a0f7dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3beff9d3382341797c23425303cd50291ac7dfd739f25dbcd605126d7a0f7dbb", kill_on_drop: false }` [INFO] [stdout] 3beff9d3382341797c23425303cd50291ac7dfd739f25dbcd605126d7a0f7dbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4105a41a22f85149fa80420fb3ffa0e58d481454a527dad0b5168b60ab01d2c [INFO] running `Command { std: "docker" "start" "-a" "a4105a41a22f85149fa80420fb3ffa0e58d481454a527dad0b5168b60ab01d2c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.10.0 [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 num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling regex v1.4.5 [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 simplelog v0.10.0 [INFO] [stderr] Compiling scroll_derive v0.10.5 [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 37.27s [INFO] running `Command { std: "docker" "inspect" "a4105a41a22f85149fa80420fb3ffa0e58d481454a527dad0b5168b60ab01d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4105a41a22f85149fa80420fb3ffa0e58d481454a527dad0b5168b60ab01d2c", kill_on_drop: false }` [INFO] [stdout] a4105a41a22f85149fa80420fb3ffa0e58d481454a527dad0b5168b60ab01d2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4c228e8e2a7568dd42311cfcc5935f3510f65177ef333cae7e8d5afd7bc8124 [INFO] running `Command { std: "docker" "start" "-a" "e4c228e8e2a7568dd42311cfcc5935f3510f65177ef333cae7e8d5afd7bc8124", kill_on_drop: false }` [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 1.72s [INFO] running `Command { std: "docker" "inspect" "e4c228e8e2a7568dd42311cfcc5935f3510f65177ef333cae7e8d5afd7bc8124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c228e8e2a7568dd42311cfcc5935f3510f65177ef333cae7e8d5afd7bc8124", kill_on_drop: false }` [INFO] [stdout] e4c228e8e2a7568dd42311cfcc5935f3510f65177ef333cae7e8d5afd7bc8124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c477f94c6af6363ef2a76c6b69a38fb49a5c4342540ff22a96761dc31742b37e [INFO] running `Command { std: "docker" "start" "-a" "c477f94c6af6363ef2a76c6b69a38fb49a5c4342540ff22a96761dc31742b37e", kill_on_drop: false }` [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] [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.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/binary_security_check-f8a01b5109d171d7) [INFO] running `Command { std: "docker" "inspect" "c477f94c6af6363ef2a76c6b69a38fb49a5c4342540ff22a96761dc31742b37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c477f94c6af6363ef2a76c6b69a38fb49a5c4342540ff22a96761dc31742b37e", kill_on_drop: false }` [INFO] [stdout] c477f94c6af6363ef2a76c6b69a38fb49a5c4342540ff22a96761dc31742b37e