[INFO] fetching crate libusb-native 0.1.0... [INFO] testing libusb-native-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate libusb-native 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate libusb-native 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c99ac07b1ab7abb000037d72ad9b69f37e0748e66dd8337d26adb96ddaa4664 [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" "0c99ac07b1ab7abb000037d72ad9b69f37e0748e66dd8337d26adb96ddaa4664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c99ac07b1ab7abb000037d72ad9b69f37e0748e66dd8337d26adb96ddaa4664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c99ac07b1ab7abb000037d72ad9b69f37e0748e66dd8337d26adb96ddaa4664", kill_on_drop: false }` [INFO] [stdout] 0c99ac07b1ab7abb000037d72ad9b69f37e0748e66dd8337d26adb96ddaa4664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df2bdcbf18c3f6f3d9d9934978f983dc1b283d4fe861ca333cc481207ff087e9 [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" "df2bdcbf18c3f6f3d9d9934978f983dc1b283d4fe861ca333cc481207ff087e9", 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "df2bdcbf18c3f6f3d9d9934978f983dc1b283d4fe861ca333cc481207ff087e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2bdcbf18c3f6f3d9d9934978f983dc1b283d4fe861ca333cc481207ff087e9", kill_on_drop: false }` [INFO] [stdout] df2bdcbf18c3f6f3d9d9934978f983dc1b283d4fe861ca333cc481207ff087e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 746c15434cd49d70ed6c939cb6aaa273fe94313de9400d116e9ab9ce94ba67bc [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" "746c15434cd49d70ed6c939cb6aaa273fe94313de9400d116e9ab9ce94ba67bc", 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.60s [INFO] running `Command { std: "docker" "inspect" "746c15434cd49d70ed6c939cb6aaa273fe94313de9400d116e9ab9ce94ba67bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "746c15434cd49d70ed6c939cb6aaa273fe94313de9400d116e9ab9ce94ba67bc", kill_on_drop: false }` [INFO] [stdout] 746c15434cd49d70ed6c939cb6aaa273fe94313de9400d116e9ab9ce94ba67bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", 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] 59af4528032a012ab4087e93e4dd0764ed12a88e727241e2cf49e69ec3700c0e [INFO] running `Command { std: "docker" "start" "-a" "59af4528032a012ab4087e93e4dd0764ed12a88e727241e2cf49e69ec3700c0e", 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.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/libusb_native-65edca739f63c5a6 [INFO] [stdout] [INFO] [stdout] running 1 test [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] [stderr] Doc-tests libusb-native [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" "59af4528032a012ab4087e93e4dd0764ed12a88e727241e2cf49e69ec3700c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59af4528032a012ab4087e93e4dd0764ed12a88e727241e2cf49e69ec3700c0e", kill_on_drop: false }` [INFO] [stdout] 59af4528032a012ab4087e93e4dd0764ed12a88e727241e2cf49e69ec3700c0e