Build #1203709 2024-04-27T15:44:20.190928+00:00
# rustc version
rustc 1.79.0-nightly (4d570eea0 2024-04-26)# docs.rs version
docsrs 0.6.0 (bc86a4d3 2024-04-17)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libusb1-sys-0.7.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libusb1-sys-0.7.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240426-1.79.0-nightly-4d570eea0\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", kill_on_drop: false }`
[INFO] [stdout] cb070694aded7e183c240db2f9c020831c5c29c117ae1d1dd26d4aac28fd9823
[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" "cb070694aded7e183c240db2f9c020831c5c29c117ae1d1dd26d4aac28fd9823", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling libusb1-sys v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr]
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/darwin_usb.c:33:10: fatal error: sys/sysctl.h: No such file or directory
[INFO] [stderr] warning: libusb1-sys@0.7.0: 33 | #include <sys/sysctl.h>
[INFO] [stderr] warning: libusb1-sys@0.7.0: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: compilation terminated.
[INFO] [stderr]
[INFO] [stderr] error: failed to run custom build command for `libusb1-sys v0.7.0 (/opt/rustwide/workdir)`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/libusb1-sys-67c05b8c5dfd5528/build-script-build` (exit status: 1)
[INFO] [stderr] --- stdout
[INFO] [stderr] cargo:rerun-if-env-changed=LIBUSB_STATIC
[INFO] [stderr] Can't find libusb pkg: CrossCompilation
[INFO] [stderr] cargo:vendored=1
[INFO] [stderr] cargo:static=1
[INFO] [stderr] cargo:include=/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-ecec09ea8e86f96f/out/include
[INFO] [stderr] cargo:rustc-link-lib=framework=CoreFoundation
[INFO] [stderr] cargo:rustc-link-lib=framework=IOKit
[INFO] [stderr] cargo:rustc-link-lib=framework=Security
[INFO] [stderr] Including posix!
[INFO] [stderr] TARGET = Some("x86_64-apple-darwin")
[INFO] [stderr] OPT_LEVEL = Some("0")
[INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr] CC_x86_64-apple-darwin = None
[INFO] [stderr] CC_x86_64_apple_darwin = None
[INFO] [stderr] TARGET_CC = None
[INFO] [stderr] CC = None
[INFO] [stderr] CROSS_COMPILE = None
[INFO] [stderr] CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr] CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr] TARGET_CFLAGS = None
[INFO] [stderr] CFLAGS = None
[INFO] [stderr] CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr] DEBUG = Some("true")
[INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3")
[INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-ecec09ea8e86f96f/out/include" "-I" "libusb/libusb" "-Wall" "-Wextra" "-DPRINTF_FORMAT(a, b)=" "-DENABLE_LOGGING=1" "-DOS_DARWIN=1" "-DTARGET_OS_OSX=1" "-DHAVE_SYS_TIME_H=1" "-DHAVE_NFDS_T=1" "-DPLATFORM_POSIX=1" "-DHAVE_CLOCK_GETTIME=1" "-DDEFAULT_VISIBILITY=__attribute__((visibility(\"default\")))" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-ecec09ea8e86f96f/out/libusb/libusb/os/darwin_usb.o" "-c" "libusb/libusb/os/darwin_usb.c"
[INFO] [stderr] cargo:warning=libusb/libusb/os/darwin_usb.c:33:10: fatal error: sys/sysctl.h: No such file or directory
[INFO] [stderr] cargo:warning= 33 | #include <sys/sysctl.h>
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=compilation terminated.
[INFO] [stderr] exit status: 1
[INFO] [stderr]
[INFO] [stderr] --- stderr
[INFO] [stderr]
[INFO] [stderr]
[INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-ecec09ea8e86f96f/out/include" "-I" "libusb/libusb" "-Wall" "-Wextra" "-DPRINTF_FORMAT(a, b)=" "-DENABLE_LOGGING=1" "-DOS_DARWIN=1" "-DTARGET_OS_OSX=1" "-DHAVE_SYS_TIME_H=1" "-DHAVE_NFDS_T=1" "-DPLATFORM_POSIX=1" "-DHAVE_CLOCK_GETTIME=1" "-DDEFAULT_VISIBILITY=__attribute__((visibility(\"default\")))" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-ecec09ea8e86f96f/out/libusb/libusb/os/darwin_usb.o" "-c" "libusb/libusb/os/darwin_usb.c" with args "cc" did not execute successfully (status code exit status: 1).
[INFO] [stderr]
[INFO] [stderr]
[INFO] running `Command { std: "docker" "inspect" "cb070694aded7e183c240db2f9c020831c5c29c117ae1d1dd26d4aac28fd9823", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb070694aded7e183c240db2f9c020831c5c29c117ae1d1dd26d4aac28fd9823", kill_on_drop: false }`
[INFO] [stdout] cb070694aded7e183c240db2f9c020831c5c29c117ae1d1dd26d4aac28fd9823