[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 try#ecabaf78506b7a4668d42dc20268c086b93f0fad 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-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 ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5f66115d457b88c8c339b9b25715333200850c1ae09f376d2c07e6cbd7b1050 [INFO] running `Command { std: "docker" "start" "-a" "e5f66115d457b88c8c339b9b25715333200850c1ae09f376d2c07e6cbd7b1050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5f66115d457b88c8c339b9b25715333200850c1ae09f376d2c07e6cbd7b1050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f66115d457b88c8c339b9b25715333200850c1ae09f376d2c07e6cbd7b1050", kill_on_drop: false }` [INFO] [stdout] e5f66115d457b88c8c339b9b25715333200850c1ae09f376d2c07e6cbd7b1050 [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 765ba466c2b00243b3a3493f486fdf83b6bfa1204dbde9bf6d09b9217a67b08f [INFO] running `Command { std: "docker" "start" "-a" "765ba466c2b00243b3a3493f486fdf83b6bfa1204dbde9bf6d09b9217a67b08f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [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 regex-syntax v0.6.23 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.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 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 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 53.44s [INFO] running `Command { std: "docker" "inspect" "765ba466c2b00243b3a3493f486fdf83b6bfa1204dbde9bf6d09b9217a67b08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765ba466c2b00243b3a3493f486fdf83b6bfa1204dbde9bf6d09b9217a67b08f", kill_on_drop: false }` [INFO] [stdout] 765ba466c2b00243b3a3493f486fdf83b6bfa1204dbde9bf6d09b9217a67b08f [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ba803e75d2fd9a2bc9136d92c17a12ff1a522a4c33baf793f4acba02df5b9fa [INFO] running `Command { std: "docker" "start" "-a" "1ba803e75d2fd9a2bc9136d92c17a12ff1a522a4c33baf793f4acba02df5b9fa", 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.71s [INFO] running `Command { std: "docker" "inspect" "1ba803e75d2fd9a2bc9136d92c17a12ff1a522a4c33baf793f4acba02df5b9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba803e75d2fd9a2bc9136d92c17a12ff1a522a4c33baf793f4acba02df5b9fa", kill_on_drop: false }` [INFO] [stdout] 1ba803e75d2fd9a2bc9136d92c17a12ff1a522a4c33baf793f4acba02df5b9fa [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8afe24f6ece4145f6c246883a5f6944366d7561e3d56b96b0240737e59283f55 [INFO] running `Command { std: "docker" "start" "-a" "8afe24f6ece4145f6c246883a5f6944366d7561e3d56b96b0240737e59283f55", 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.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/binary_security_check-f8a01b5109d171d7) [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" "8afe24f6ece4145f6c246883a5f6944366d7561e3d56b96b0240737e59283f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8afe24f6ece4145f6c246883a5f6944366d7561e3d56b96b0240737e59283f55", kill_on_drop: false }` [INFO] [stdout] 8afe24f6ece4145f6c246883a5f6944366d7561e3d56b96b0240737e59283f55