[INFO] fetching crate c-closures 0.3.1... [INFO] checking c-closures-0.3.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate c-closures 0.3.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate c-closures 0.3.1 [INFO] finished tweaking crates.io crate c-closures 0.3.1 [INFO] tweaked toml for crates.io crate c-closures 0.3.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate c-closures 0.3.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.53.3 (available: v0.72.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v0.29.3 [INFO] [stderr] Downloaded bindgen v0.53.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be3f71fadbe6ba8791e6de3346ba7c923c741563dbc49b3b3bdc1b70b4f88685 [INFO] running `Command { std: "docker" "start" "-a" "be3f71fadbe6ba8791e6de3346ba7c923c741563dbc49b3b3bdc1b70b4f88685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be3f71fadbe6ba8791e6de3346ba7c923c741563dbc49b3b3bdc1b70b4f88685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3f71fadbe6ba8791e6de3346ba7c923c741563dbc49b3b3bdc1b70b4f88685", kill_on_drop: false }` [INFO] [stdout] be3f71fadbe6ba8791e6de3346ba7c923c741563dbc49b3b3bdc1b70b4f88685 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adf1fbe2c6dec3dbeb7661e5172427f9c9b94cb215b2889f5308cdac8ddf69ce [INFO] running `Command { std: "docker" "start" "-a" "adf1fbe2c6dec3dbeb7661e5172427f9c9b94cb215b2889f5308cdac8ddf69ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling c-closures v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/c-closures-47648062f5ab06a8/out/bindings.rs:3:1284 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_eq ! (unsafe { & (* (:: std :: ptr :: null :: < Closure > ())) . function as * const _ as usize } , 0usize , concat ! ("Offset of fi... [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/c-closures-47648062f5ab06a8/out/bindings.rs:3:1490 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_eq ! (unsafe { & (* (:: std :: ptr :: null :: < Closure > ())) . data 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/c-closures-47648062f5ab06a8/out/bindings.rs:3:1688 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_eq ! (unsafe { & (* (:: std :: ptr :: null :: < Closure > ())) . delete_data as * const _ as usize } , 16usize , concat ! ("Offset o... [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/c-closures-47648062f5ab06a8/out/bindings.rs:3:1901 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_eq ! (unsafe { & (* (:: std :: ptr :: null :: < Closure > ())) . delete_ret as * const _ as usize } , 24usize , concat ! ("Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | Box::from_raw(t as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = Box::from_raw(t as *mut T); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | Box::from_raw(t as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = Box::from_raw(t as *mut T); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.93s [INFO] running `Command { std: "docker" "inspect" "adf1fbe2c6dec3dbeb7661e5172427f9c9b94cb215b2889f5308cdac8ddf69ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf1fbe2c6dec3dbeb7661e5172427f9c9b94cb215b2889f5308cdac8ddf69ce", kill_on_drop: false }` [INFO] [stdout] adf1fbe2c6dec3dbeb7661e5172427f9c9b94cb215b2889f5308cdac8ddf69ce