[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#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoutheir%2Fbinary-security-check" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koutheir/binary-security-check 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-2/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-2/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" "+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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scroll_derive v0.10.5 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded scroll v0.10.2 [INFO] [stderr] Downloaded simplelog v0.10.0 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded goblin v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 56e70fdef25bd744ae91f7a435011841566da866110f51dff40818ced4f6b442 [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" "56e70fdef25bd744ae91f7a435011841566da866110f51dff40818ced4f6b442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56e70fdef25bd744ae91f7a435011841566da866110f51dff40818ced4f6b442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e70fdef25bd744ae91f7a435011841566da866110f51dff40818ced4f6b442", kill_on_drop: false }` [INFO] [stdout] 56e70fdef25bd744ae91f7a435011841566da866110f51dff40818ced4f6b442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 4c087a9aa64f9811f5fafc5640b89d6e7b9c10201ba1ab541886311f78e6231c [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" "4c087a9aa64f9811f5fafc5640b89d6e7b9c10201ba1ab541886311f78e6231c", 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 plain v0.2.3 [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 time v0.1.44 [INFO] [stderr] Compiling memmap v0.7.0 [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 serde_derive v1.0.125 [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 thiserror v1.0.24 [INFO] [stderr] Compiling goblin v0.4.0 [INFO] [stderr] Compiling serde v1.0.125 [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 28.05s [INFO] running `Command { std: "docker" "inspect" "4c087a9aa64f9811f5fafc5640b89d6e7b9c10201ba1ab541886311f78e6231c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c087a9aa64f9811f5fafc5640b89d6e7b9c10201ba1ab541886311f78e6231c", kill_on_drop: false }` [INFO] [stdout] 4c087a9aa64f9811f5fafc5640b89d6e7b9c10201ba1ab541886311f78e6231c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 584c3a66812e7704b7f95cbbf643d6c0f49384fe763149abf0c9d896d1306fdb [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" "584c3a66812e7704b7f95cbbf643d6c0f49384fe763149abf0c9d896d1306fdb", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.60s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "584c3a66812e7704b7f95cbbf643d6c0f49384fe763149abf0c9d896d1306fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584c3a66812e7704b7f95cbbf643d6c0f49384fe763149abf0c9d896d1306fdb", kill_on_drop: false }` [INFO] [stdout] 584c3a66812e7704b7f95cbbf643d6c0f49384fe763149abf0c9d896d1306fdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] fdeec5ecdf371e8bb858d204f4f05acfffc0fc6067e5cf9d3a5606fa62623cb1 [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" "fdeec5ecdf371e8bb858d204f4f05acfffc0fc6067e5cf9d3a5606fa62623cb1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.62s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/binary_security_check-8e5d2665f60cfcf4) [INFO] running `Command { std: "docker" "inspect" "fdeec5ecdf371e8bb858d204f4f05acfffc0fc6067e5cf9d3a5606fa62623cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdeec5ecdf371e8bb858d204f4f05acfffc0fc6067e5cf9d3a5606fa62623cb1", kill_on_drop: false }` [INFO] [stdout] fdeec5ecdf371e8bb858d204f4f05acfffc0fc6067e5cf9d3a5606fa62623cb1