[INFO] fetching crate ad9361-rs 0.1.0... [INFO] checking ad9361-rs-0.1.0 against try#6d565b71a096078f59574161a2a382ec4a1eb751 for pr-132325 [INFO] extracting crate ad9361-rs 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ad9361-rs 0.1.0 on toolchain 6d565b71a096078f59574161a2a382ec4a1eb751 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ad9361-rs 0.1.0 [INFO] finished tweaking crates.io crate ad9361-rs 0.1.0 [INFO] tweaked toml for crates.io crate ad9361-rs 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 110 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.59.2 (available: v0.70.1) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.5) [INFO] [stderr] Adding linux-embedded-hal v0.3.2 (available: v0.4.0) [INFO] [stderr] Adding serial_test v0.6.0 (available: v3.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b65060ecb57c055c67e450ac08dde580f970df65718f9b508661aa6366376031 [INFO] running `Command { std: "docker" "start" "-a" "b65060ecb57c055c67e450ac08dde580f970df65718f9b508661aa6366376031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b65060ecb57c055c67e450ac08dde580f970df65718f9b508661aa6366376031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65060ecb57c055c67e450ac08dde580f970df65718f9b508661aa6366376031", kill_on_drop: false }` [INFO] [stdout] b65060ecb57c055c67e450ac08dde580f970df65718f9b508661aa6366376031 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 321c5bb3cd6969e1fe30cf5deb806c7db57f0f0eda2ea88c74eddfcf5fe3ceb1 [INFO] running `Command { std: "docker" "start" "-a" "321c5bb3cd6969e1fe30cf5deb806c7db57f0f0eda2ea88c74eddfcf5fe3ceb1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking managed v0.8.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serial_test v0.6.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Checking gpio-cdev v0.5.1 [INFO] [stderr] Checking spidev v0.5.2 [INFO] [stderr] Checking i2cdev v0.5.1 [INFO] [stderr] Checking sysfs_gpio v0.6.2 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Checking linux-embedded-hal v0.3.2 [INFO] [stderr] Checking cpp v0.5.9 [INFO] [stderr] Compiling ad9361-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: references are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/interop/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | if (slf as *mut ()).is_null() { [INFO] [stdout] | ^---^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `&mut ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/interop/alloc.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | SCRATCHPAD.as_mut_ptr() as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/interop/alloc.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | } else if ptr == SCRATCHPAD.as_mut_ptr() as *mut _ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: references are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/interop/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | if (slf as *mut ()).is_null() { [INFO] [stdout] | ^---^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `&mut ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/interop/alloc.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | SCRATCHPAD.as_mut_ptr() as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/interop/alloc.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | } else if ptr == SCRATCHPAD.as_mut_ptr() as *mut _ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.95s [INFO] running `Command { std: "docker" "inspect" "321c5bb3cd6969e1fe30cf5deb806c7db57f0f0eda2ea88c74eddfcf5fe3ceb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321c5bb3cd6969e1fe30cf5deb806c7db57f0f0eda2ea88c74eddfcf5fe3ceb1", kill_on_drop: false }` [INFO] [stdout] 321c5bb3cd6969e1fe30cf5deb806c7db57f0f0eda2ea88c74eddfcf5fe3ceb1