[INFO] fetching crate libusb-native 0.1.0... [INFO] testing libusb-native-0.1.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate libusb-native 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate libusb-native 0.1.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libusb-native 0.1.0 [INFO] finished tweaking crates.io crate libusb-native 0.1.0 [INFO] tweaked toml for crates.io crate libusb-native 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 53a8b6a57aafeb022ded2f2ee9abcd31bb1e4bbdb2fc909a42fccb2fbb36b2ca [INFO] running `Command { std: "docker" "start" "-a" "53a8b6a57aafeb022ded2f2ee9abcd31bb1e4bbdb2fc909a42fccb2fbb36b2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53a8b6a57aafeb022ded2f2ee9abcd31bb1e4bbdb2fc909a42fccb2fbb36b2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a8b6a57aafeb022ded2f2ee9abcd31bb1e4bbdb2fc909a42fccb2fbb36b2ca", kill_on_drop: false }` [INFO] [stdout] 53a8b6a57aafeb022ded2f2ee9abcd31bb1e4bbdb2fc909a42fccb2fbb36b2ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96b6df44b9feb7b32ded3c2295301179adb3215e68bf6d68aa19d48810204b84 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "96b6df44b9feb7b32ded3c2295301179adb3215e68bf6d68aa19d48810204b84", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling libusb-native v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1218:18 [INFO] [stdout] | [INFO] [stdout] 1218 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1425:34 [INFO] [stdout] | [INFO] [stdout] 1425 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1661:22 [INFO] [stdout] | [INFO] [stdout] 1661 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4813:13 [INFO] [stdout] | [INFO] [stdout] 4813 | urb.wrapping_offset_from((*tpriv).c2rust_unnamed.urbs) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4877:59 [INFO] [stdout] | [INFO] [stdout] 4877 | ((*urb).buffer as *mut libc::c_uchar).wrapping_offset_from((*transfer).buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4879:28 [INFO] [stdout] | [INFO] [stdout] 4879 | target.wrapping_offset_from((*transfer).buffer) as libc::c_long, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "96b6df44b9feb7b32ded3c2295301179adb3215e68bf6d68aa19d48810204b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b6df44b9feb7b32ded3c2295301179adb3215e68bf6d68aa19d48810204b84", kill_on_drop: false }` [INFO] [stdout] 96b6df44b9feb7b32ded3c2295301179adb3215e68bf6d68aa19d48810204b84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f40cb565c8ce70267516cec81dbe92d80913cf2f20897ccc60691f7db89fcc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "51f40cb565c8ce70267516cec81dbe92d80913cf2f20897ccc60691f7db89fcc", kill_on_drop: false }` [INFO] [stderr] Compiling libusb-native v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1218:18 [INFO] [stdout] | [INFO] [stdout] 1218 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1425:34 [INFO] [stdout] | [INFO] [stdout] 1425 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1661:22 [INFO] [stdout] | [INFO] [stdout] 1661 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4813:13 [INFO] [stdout] | [INFO] [stdout] 4813 | urb.wrapping_offset_from((*tpriv).c2rust_unnamed.urbs) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4877:59 [INFO] [stdout] | [INFO] [stdout] 4877 | ((*urb).buffer as *mut libc::c_uchar).wrapping_offset_from((*transfer).buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4879:28 [INFO] [stdout] | [INFO] [stdout] 4879 | target.wrapping_offset_from((*transfer).buffer) as libc::c_long, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1218:18 [INFO] [stdout] | [INFO] [stdout] 1218 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1425:34 [INFO] [stdout] | [INFO] [stdout] 1425 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/descriptor.rs:1661:22 [INFO] [stdout] | [INFO] [stdout] 1661 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4813:13 [INFO] [stdout] | [INFO] [stdout] 4813 | urb.wrapping_offset_from((*tpriv).c2rust_unnamed.urbs) as libc::c_long as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4877:59 [INFO] [stdout] | [INFO] [stdout] 4877 | ((*urb).buffer as *mut libc::c_uchar).wrapping_offset_from((*transfer).buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stdout] --> src/os/linux_usbfs.rs:4879:28 [INFO] [stdout] | [INFO] [stdout] 4879 | target.wrapping_offset_from((*transfer).buffer) as libc::c_long, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "51f40cb565c8ce70267516cec81dbe92d80913cf2f20897ccc60691f7db89fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f40cb565c8ce70267516cec81dbe92d80913cf2f20897ccc60691f7db89fcc", kill_on_drop: false }` [INFO] [stdout] 51f40cb565c8ce70267516cec81dbe92d80913cf2f20897ccc60691f7db89fcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59a889d77fe2bae662263208d65a8c0e689e45080e4e57a69961963f87bd126b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "59a889d77fe2bae662263208d65a8c0e689e45080e4e57a69961963f87bd126b", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/descriptor.rs:1218:18 [INFO] [stderr] | [INFO] [stderr] 1218 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/descriptor.rs:1425:34 [INFO] [stderr] | [INFO] [stderr] 1425 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/descriptor.rs:1661:22 [INFO] [stderr] | [INFO] [stderr] 1661 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/os/linux_usbfs.rs:4813:13 [INFO] [stderr] | [INFO] [stderr] 4813 | urb.wrapping_offset_from((*tpriv).c2rust_unnamed.urbs) as libc::c_long as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/os/linux_usbfs.rs:4877:59 [INFO] [stderr] | [INFO] [stderr] 4877 | ((*urb).buffer as *mut libc::c_uchar).wrapping_offset_from((*transfer).buffer) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/os/linux_usbfs.rs:4879:28 [INFO] [stderr] | [INFO] [stderr] 4879 | target.wrapping_offset_from((*transfer).buffer) as libc::c_long, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/descriptor.rs:1218:18 [INFO] [stderr] | [INFO] [stderr] 1218 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/descriptor.rs:1425:34 [INFO] [stderr] | [INFO] [stderr] 1425 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/descriptor.rs:1661:22 [INFO] [stderr] | [INFO] [stderr] 1661 | len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/os/linux_usbfs.rs:4813:13 [INFO] [stderr] | [INFO] [stderr] 4813 | urb.wrapping_offset_from((*tpriv).c2rust_unnamed.urbs) as libc::c_long as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/os/linux_usbfs.rs:4877:59 [INFO] [stderr] | [INFO] [stderr] 4877 | ((*urb).buffer as *mut libc::c_uchar).wrapping_offset_from((*transfer).buffer) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ptr::mut_ptr::::wrapping_offset_from': Pointer distances across allocation boundaries are not typically meaningful. Use integer subtraction if you really need this. [INFO] [stderr] --> src/os/linux_usbfs.rs:4879:28 [INFO] [stderr] | [INFO] [stderr] 4879 | target.wrapping_offset_from((*transfer).buffer) as libc::c_long, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/libusb_native-65edca739f63c5a6 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests libusb-native [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59a889d77fe2bae662263208d65a8c0e689e45080e4e57a69961963f87bd126b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a889d77fe2bae662263208d65a8c0e689e45080e4e57a69961963f87bd126b", kill_on_drop: false }` [INFO] [stdout] 59a889d77fe2bae662263208d65a8c0e689e45080e4e57a69961963f87bd126b