[INFO] fetching crate libusb-native 0.1.0... [INFO] checking libusb-native-0.1.0 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] extracting crate libusb-native 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate libusb-native 0.1.0 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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] 71631fa785d95490d8a9ddd70c815714bfd054135b2e71a6bc72193268285f19 [INFO] running `Command { std: "docker" "start" "-a" "71631fa785d95490d8a9ddd70c815714bfd054135b2e71a6bc72193268285f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71631fa785d95490d8a9ddd70c815714bfd054135b2e71a6bc72193268285f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71631fa785d95490d8a9ddd70c815714bfd054135b2e71a6bc72193268285f19", kill_on_drop: false }` [INFO] [stdout] 71631fa785d95490d8a9ddd70c815714bfd054135b2e71a6bc72193268285f19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16f083fa41d783dea98f6c1cb63b302830daf016dae85b573ea19ec1bb68d800 [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" "16f083fa41d783dea98f6c1cb63b302830daf016dae85b573ea19ec1bb68d800", kill_on_drop: false }` [INFO] [stderr] Checking libusb-native v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: use of deprecated associated function `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 associated function `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 associated function `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] [stderr] [INFO] [stderr] thread 'rustc' has overflowed its stack [INFO] [stderr] fatal runtime error: stack overflow [INFO] [stderr] [INFO] [stderr] thread 'rustc' has overflowed its stack [INFO] [stderr] fatal runtime error: stack overflow [INFO] [stderr] error: could not compile `libusb-native`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name libusb_native --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata -Cembed-bitcode=no -C debuginfo=2 -C metadata=b488c09109eb6cd2 -C extra-filename=-b488c09109eb6cd2 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern libc=/opt/rustwide/target/debug/deps/liblibc-0fee10f4d9a520d9.rmeta --cap-lints=forbid` (signal: 6, SIGABRT: process abort signal) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "16f083fa41d783dea98f6c1cb63b302830daf016dae85b573ea19ec1bb68d800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f083fa41d783dea98f6c1cb63b302830daf016dae85b573ea19ec1bb68d800", kill_on_drop: false }` [INFO] [stdout] 16f083fa41d783dea98f6c1cb63b302830daf016dae85b573ea19ec1bb68d800