[INFO] cloning repository https://github.com/imWildCat/go-and-rust-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imWildCat/go-and-rust-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FimWildCat%2Fgo-and-rust-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FimWildCat%2Fgo-and-rust-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 515efd4f9d96037ab738b183217ff834db4b1519 [INFO] checking imWildCat/go-and-rust-example against master#69a5d2481e856a5a18885390b8cf6950b9ff8dd3 for pr-96376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FimWildCat%2Fgo-and-rust-example" "/workspace/builds/worker-93/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-93/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imWildCat/go-and-rust-example on toolchain 69a5d2481e856a5a18885390b8cf6950b9ff8dd3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imWildCat/go-and-rust-example [INFO] finished tweaking git repo https://github.com/imWildCat/go-and-rust-example [INFO] tweaked toml for git repo https://github.com/imWildCat/go-and-rust-example written to /workspace/builds/worker-93/source/Cargo.toml [INFO] crate git repo https://github.com/imWildCat/go-and-rust-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "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 unicode-width v0.1.9 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7be4934d3fc27bb5dca149639034efb78ad7118b766877f71a16931b96d24e9b [INFO] running `Command { std: "docker" "start" "-a" "7be4934d3fc27bb5dca149639034efb78ad7118b766877f71a16931b96d24e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7be4934d3fc27bb5dca149639034efb78ad7118b766877f71a16931b96d24e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be4934d3fc27bb5dca149639034efb78ad7118b766877f71a16931b96d24e9b", kill_on_drop: false }` [INFO] [stdout] 7be4934d3fc27bb5dca149639034efb78ad7118b766877f71a16931b96d24e9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 139e114dc21697577e0ae9984b91ffcc0b31f3a21abb36f826bcd2c786147d0e [INFO] running `Command { std: "docker" "start" "-a" "139e114dc21697577e0ae9984b91ffcc0b31f3a21abb36f826bcd2c786147d0e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling go-and-rust-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:803 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! (unsafe { & (* (:: std :: ptr :: null :: < max_align_t > ())) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , conca... [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/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:1049 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! (unsafe { & (* (:: std :: ptr :: null :: < max_align_t > ())) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , conc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:1735 [INFO] [stdout] | [INFO] [stdout] 3 | ..._eq ! (unsafe { & (* (:: std :: ptr :: null :: < _GoString_ > ())) . p as * const _ as usize } , 0usize , concat ! ("Offset of field: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:1933 [INFO] [stdout] | [INFO] [stdout] 3 | ..._eq ! (unsafe { & (* (:: std :: ptr :: null :: < _GoString_ > ())) . n 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: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:3531 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! (unsafe { & (* (:: std :: ptr :: null :: < GoInterface > ())) . t as * const _ as usize } , 0usize , concat ! ("Offset of field: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:3731 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! (unsafe { & (* (:: std :: ptr :: null :: < GoInterface > ())) . v 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: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:4373 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_eq ! (unsafe { & (* (:: std :: ptr :: null :: < GoSlice > ())) . data as * const _ as usize } , 0usize , concat ! ("Offset of field:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:4571 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_eq ! (unsafe { & (* (:: std :: ptr :: null :: < GoSlice > ())) . len 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: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/go-and-rust-example-e93e87a0caa2e9c5/out/bindings.rs:3:4767 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_eq ! (unsafe { & (* (:: std :: ptr :: null :: < GoSlice > ())) . cap as * const _ as usize } , 16usize , concat ! ("Offset of field:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "139e114dc21697577e0ae9984b91ffcc0b31f3a21abb36f826bcd2c786147d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "139e114dc21697577e0ae9984b91ffcc0b31f3a21abb36f826bcd2c786147d0e", kill_on_drop: false }` [INFO] [stdout] 139e114dc21697577e0ae9984b91ffcc0b31f3a21abb36f826bcd2c786147d0e