[INFO] cloning repository https://github.com/bokutotu/rust_c_ffi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bokutotu/rust_c_ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Frust_c_ffi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Frust_c_ffi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78dbacb4aeff0bb08ecfad753a9566e64543cb3d [INFO] checking bokutotu/rust_c_ffi against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Frust_c_ffi" "/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/bokutotu/rust_c_ffi on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bokutotu/rust_c_ffi [INFO] finished tweaking git repo https://github.com/bokutotu/rust_c_ffi [INFO] tweaked toml for git repo https://github.com/bokutotu/rust_c_ffi written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/bokutotu/rust_c_ffi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "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-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7a045bf406f846b4b30c7dc47ee1157c0f7b08131463bd20bf4f77e98a56c07 [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" "f7a045bf406f846b4b30c7dc47ee1157c0f7b08131463bd20bf4f77e98a56c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7a045bf406f846b4b30c7dc47ee1157c0f7b08131463bd20bf4f77e98a56c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7a045bf406f846b4b30c7dc47ee1157c0f7b08131463bd20bf4f77e98a56c07", kill_on_drop: false }` [INFO] [stdout] f7a045bf406f846b4b30c7dc47ee1157c0f7b08131463bd20bf4f77e98a56c07 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d5eefe141b8d15aa3d408870033fac4f66d9fad404cdf4255f1b6481f39e0dc [INFO] running `Command { std: "docker" "start" "-a" "0d5eefe141b8d15aa3d408870033fac4f66d9fad404cdf4255f1b6481f39e0dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling wrapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/wrapper-ca61a372ec0e2ad1/out/dog.rs:3:635 [INFO] [stdout] | [INFO] [stdout] 3 | ...ert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < Dog > ())) . _name as * const _ as usize } , 0usize , concat ! ("Offset of field: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/wrapper-ca61a372ec0e2ad1/out/dog.rs:3:827 [INFO] [stdout] | [INFO] [stdout] 3 | ...ert_eq ! (unsafe { & (* (:: std :: ptr :: null :: < Dog > ())) . _status as * const _ as usize } , 8usize , concat ! ("Offset of field... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.08s [INFO] running `Command { std: "docker" "inspect" "0d5eefe141b8d15aa3d408870033fac4f66d9fad404cdf4255f1b6481f39e0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5eefe141b8d15aa3d408870033fac4f66d9fad404cdf4255f1b6481f39e0dc", kill_on_drop: false }` [INFO] [stdout] 0d5eefe141b8d15aa3d408870033fac4f66d9fad404cdf4255f1b6481f39e0dc