[INFO] fetching crate libusb-sys 0.2.3... [INFO] checking libusb-sys-0.2.3 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate libusb-sys 0.2.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate libusb-sys 0.2.3 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libusb-sys 0.2.3 [INFO] finished tweaking crates.io crate libusb-sys 0.2.3 [INFO] tweaked toml for crates.io crate libusb-sys 0.2.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1734d76785cedf1b6cd065e30ba01ad0786fe2416f7feb88e82f06d77959ef1c [INFO] running `Command { std: "docker" "start" "-a" "1734d76785cedf1b6cd065e30ba01ad0786fe2416f7feb88e82f06d77959ef1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1734d76785cedf1b6cd065e30ba01ad0786fe2416f7feb88e82f06d77959ef1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1734d76785cedf1b6cd065e30ba01ad0786fe2416f7feb88e82f06d77959ef1c", kill_on_drop: false }` [INFO] [stdout] 1734d76785cedf1b6cd065e30ba01ad0786fe2416f7feb88e82f06d77959ef1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6071ae58875c13bb3f52fab2e92662e7c074125f52dbd95939131161538a5a4a [INFO] running `Command { std: "docker" "start" "-a" "6071ae58875c13bb3f52fab2e92662e7c074125f52dbd95939131161538a5a4a", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling libusb-sys v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/libusb_info.rs:24:63 [INFO] [stdout] | [INFO] [stdout] 24 | let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/read_device.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 31 | let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/read_device.rs:32:73 [INFO] [stdout] | [INFO] [stdout] 32 | let mut device_list: *const *mut ::ffi::libusb_device = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/read_device.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_config: c_int = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/read_device.rs:152:78 [INFO] [stdout] | [INFO] [stdout] 152 | let mut device_descriptor: ::ffi::libusb_device_descriptor = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/read_device.rs:157:84 [INFO] [stdout] | [INFO] [stdout] 157 | let mut config_ptr: *const ::ffi::libusb_config_descriptor = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/read_device.rs:230:58 [INFO] [stdout] | [INFO] [stdout] 230 | let mut transferred: c_int = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/list_devices.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/list_devices.rs:24:73 [INFO] [stdout] | [INFO] [stdout] 24 | let mut device_list: *const *mut ::ffi::libusb_device = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/list_devices.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | let mut descriptor: ::ffi::libusb_device_descriptor = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/list_devices.rs:97:82 [INFO] [stdout] | [INFO] [stdout] 97 | let mut descriptor: *const ::ffi::libusb_config_descriptor = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "6071ae58875c13bb3f52fab2e92662e7c074125f52dbd95939131161538a5a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6071ae58875c13bb3f52fab2e92662e7c074125f52dbd95939131161538a5a4a", kill_on_drop: false }` [INFO] [stdout] 6071ae58875c13bb3f52fab2e92662e7c074125f52dbd95939131161538a5a4a