[INFO] fetching crate libusb-sys 0.2.3... [INFO] testing libusb-sys-0.2.3 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate libusb-sys 0.2.3 into /workspace/builds/worker-32/source [INFO] validating manifest of crates.io crate libusb-sys 0.2.3 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-32/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff4c55b7a9c8cc247aaa56554c1ad3c8816da38f36247a4598a389aa3b71c226 [INFO] running `Command { std: "docker" "start" "-a" "ff4c55b7a9c8cc247aaa56554c1ad3c8816da38f36247a4598a389aa3b71c226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff4c55b7a9c8cc247aaa56554c1ad3c8816da38f36247a4598a389aa3b71c226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4c55b7a9c8cc247aaa56554c1ad3c8816da38f36247a4598a389aa3b71c226", kill_on_drop: false }` [INFO] [stdout] ff4c55b7a9c8cc247aaa56554c1ad3c8816da38f36247a4598a389aa3b71c226 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fff711f57c7a4cd2ceccbe34b817db5915d0eb7a17a3ae66d354a54cacbd6f0f [INFO] running `Command { std: "docker" "start" "-a" "fff711f57c7a4cd2ceccbe34b817db5915d0eb7a17a3ae66d354a54cacbd6f0f", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling libusb-sys v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "fff711f57c7a4cd2ceccbe34b817db5915d0eb7a17a3ae66d354a54cacbd6f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff711f57c7a4cd2ceccbe34b817db5915d0eb7a17a3ae66d354a54cacbd6f0f", kill_on_drop: false }` [INFO] [stdout] fff711f57c7a4cd2ceccbe34b817db5915d0eb7a17a3ae66d354a54cacbd6f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dde26c76572087fe9a6331dc897aee983f04726c43571d1ee0081d87e5bf1fa [INFO] running `Command { std: "docker" "start" "-a" "8dde26c76572087fe9a6331dc897aee983f04726c43571d1ee0081d87e5bf1fa", kill_on_drop: false }` [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/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: 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "8dde26c76572087fe9a6331dc897aee983f04726c43571d1ee0081d87e5bf1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dde26c76572087fe9a6331dc897aee983f04726c43571d1ee0081d87e5bf1fa", kill_on_drop: false }` [INFO] [stdout] 8dde26c76572087fe9a6331dc897aee983f04726c43571d1ee0081d87e5bf1fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f02c309375e9e24ae82aa0917e5f426fad03a1a3d8c9185091b30055d6bb6e38 [INFO] running `Command { std: "docker" "start" "-a" "f02c309375e9e24ae82aa0917e5f426fad03a1a3d8c9185091b30055d6bb6e38", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/read_device.rs:31:63 [INFO] [stderr] | [INFO] [stderr] 31 | let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/read_device.rs:32:73 [INFO] [stderr] | [INFO] [stderr] 32 | let mut device_list: *const *mut ::ffi::libusb_device = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/read_device.rs:59:54 [INFO] [stderr] | [INFO] [stderr] 59 | let mut active_config: c_int = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/read_device.rs:152:78 [INFO] [stderr] | [INFO] [stderr] 152 | let mut device_descriptor: ::ffi::libusb_device_descriptor = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/read_device.rs:157:84 [INFO] [stderr] | [INFO] [stderr] 157 | let mut config_ptr: *const ::ffi::libusb_config_descriptor = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/read_device.rs:230:58 [INFO] [stderr] | [INFO] [stderr] 230 | let mut transferred: c_int = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/libusb_info.rs:24:63 [INFO] [stderr] | [INFO] [stderr] 24 | let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/list_devices.rs:11:63 [INFO] [stderr] | [INFO] [stderr] 11 | let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/list_devices.rs:24:73 [INFO] [stderr] | [INFO] [stderr] 24 | let mut device_list: *const *mut ::ffi::libusb_device = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/list_devices.rs:43:71 [INFO] [stderr] | [INFO] [stderr] 43 | let mut descriptor: ::ffi::libusb_device_descriptor = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/list_devices.rs:97:82 [INFO] [stderr] | [INFO] [stderr] 97 | let mut descriptor: *const ::ffi::libusb_config_descriptor = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libusb-sys` (example "read_device") generated 6 warnings [INFO] [stderr] warning: `libusb-sys` (example "libusb_info") generated 1 warning [INFO] [stderr] warning: `libusb-sys` (example "list_devices") generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libusb_sys-5e5d184d67b95d57) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libusb-sys [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f02c309375e9e24ae82aa0917e5f426fad03a1a3d8c9185091b30055d6bb6e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f02c309375e9e24ae82aa0917e5f426fad03a1a3d8c9185091b30055d6bb6e38", kill_on_drop: false }` [INFO] [stdout] f02c309375e9e24ae82aa0917e5f426fad03a1a3d8c9185091b30055d6bb6e38