opusic-sys 0.5.2

Bindings to libopus
Documentation
Build #1561639 2024-11-23T12:33:07.989630+00:00
# rustc version
rustc 1.85.0-nightly (a47555110 2024-11-22)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/opusic-sys-0.5.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/opusic-sys-0.5.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241122-1.85.0-nightly-a47555110\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 97ba7ea8dfc5b7b86a1b9640963240bfb89861460a8dfaa18a1b070bcc3ad3a6
[INFO] running `Command { std: "docker" "start" "-a" "97ba7ea8dfc5b7b86a1b9640963240bfb89861460a8dfaa18a1b070bcc3ad3a6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling opusic-sys v0.5.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: opusic-sys@0.5.2: macOS deployment target (10.7) too low, it will be increased
[INFO] [stderr] error: failed to run custom build command for `opusic-sys v0.5.2 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/opusic-sys-996b23363aefdd01/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=OPUS_LIB_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=ANDROID_NDK_HOME
[INFO] [stderr]   1.10.1
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE_x86_64-apple-darwin = None
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE_x86_64_apple_darwin = None
[INFO] [stderr]   TARGET_CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr]   cargo:warning=macOS deployment target (10.7) too low, it will be increased
[INFO] [stderr]   CMAKE_PREFIX_PATH_x86_64-apple-darwin = None
[INFO] [stderr]   CMAKE_PREFIX_PATH_x86_64_apple_darwin = None
[INFO] [stderr]   TARGET_CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_x86_64-apple-darwin = None
[INFO] [stderr]   CMAKE_x86_64_apple_darwin = None
[INFO] [stderr]   TARGET_CMAKE = None
[INFO] [stderr]   CMAKE = None
[INFO] [stderr]   running: cd "/opt/rustwide/target/x86_64-apple-darwin/debug/build/opusic-sys-3c63905a5036547a/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/workdir/opus" "-DCMAKE_OSX_ARCHITECTURES=x86_64" "-G" "Ninja" "-DOPUS_INSTALL_PKG_CONFIG_MODULE=OFF" "-DOPUS_INSTALL_CMAKE_CONFIG_MODULE=OFF" "-DCMAKE_INSTALL_BINDIR=bin" "-DCMAKE_INSTALL_MANDIR=man" "-DCMAKE_INSTALL_INCLUDEDIR=include" "-DCMAKE_INSTALL_OLDINCLUDEDIR=include" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY" "-DCMAKE_SYSTEM_NAME=Darwin" "-DCMAKE_SYSTEM_PROCESSOR=x86_64" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/x86_64-apple-darwin/debug/build/opusic-sys-3c63905a5036547a/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -mmacosx-version-min=10.7" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -mmacosx-version-min=10.7" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -mmacosx-version-min=10.7" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
[INFO] [stderr]   -- Opus package version from package_version file: 1.5.2
[INFO] [stderr]   -- Opus project version: 1.5.2
[INFO] [stderr]   -- The C compiler identification is GNU 11.4.0
[INFO] [stderr]   -- Checking whether C compiler has -isysroot
[INFO] [stderr]   -- Checking whether C compiler has -isysroot - yes
[INFO] [stderr]   -- Checking whether C compiler supports OSX deployment target flag
[INFO] [stderr]   -- Checking whether C compiler supports OSX deployment target flag - no
[INFO] [stderr]   -- Detecting C compiler ABI info
[INFO] [stderr]   -- Detecting C compiler ABI info - failed
[INFO] [stderr]   -- Check for working C compiler: /usr/bin/cc
[INFO] [stderr]   -- Check for working C compiler: /usr/bin/cc - broken
[INFO] [stderr]   -- Configuring incomplete, errors occurred!
[INFO] [stderr]   See also "/opt/rustwide/target/x86_64-apple-darwin/debug/build/opusic-sys-3c63905a5036547a/out/build/CMakeFiles/CMakeOutput.log".
[INFO] [stderr]   See also "/opt/rustwide/target/x86_64-apple-darwin/debug/build/opusic-sys-3c63905a5036547a/out/build/CMakeFiles/CMakeError.log".
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
[INFO] [stderr]     The C compiler
[INFO] [stderr] 
[INFO] [stderr]       "/usr/bin/cc"
[INFO] [stderr] 
[INFO] [stderr]     is not able to compile a simple test program.
[INFO] [stderr] 
[INFO] [stderr]     It fails with the following output:
[INFO] [stderr] 
[INFO] [stderr]       Change Dir: /opt/rustwide/target/x86_64-apple-darwin/debug/build/opusic-sys-3c63905a5036547a/out/build/CMakeFiles/CMakeTmp
[INFO] [stderr]       
[INFO] [stderr]       Run Build Command(s):/usr/bin/ninja cmTC_905b4 && [1/2] Building C object CMakeFiles/cmTC_905b4.dir/testCCompiler.c.o
[INFO] [stderr]       FAILED: CMakeFiles/cmTC_905b4.dir/testCCompiler.c.o 
[INFO] [stderr]       /usr/bin/cc   -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -mmacosx-version-min=10.7  -arch x86_64 -o CMakeFiles/cmTC_905b4.dir/testCCompiler.c.o -c /opt/rustwide/target/x86_64-apple-darwin/debug/build/opusic-sys-3c63905a5036547a/out/build/CMakeFiles/CMakeTmp/testCCompiler.c
[INFO] [stderr]       cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]       cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]       cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]       ninja: build stopped: subcommand failed.
[INFO] [stderr]       
[INFO] [stderr]       
[INFO] [stderr] 
[INFO] [stderr]     
[INFO] [stderr] 
[INFO] [stderr]     CMake will not be able to correctly generate this project.
[INFO] [stderr]   Call Stack (most recent call first):
[INFO] [stderr]     CMakeLists.txt:7 (project)
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.51/src/lib.rs:1100:5:
[INFO] [stderr] 
[INFO] [stderr]   command did not execute successfully, got: exit status: 1
[INFO] [stderr] 
[INFO] [stderr]   build script failed, must exit now
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "97ba7ea8dfc5b7b86a1b9640963240bfb89861460a8dfaa18a1b070bcc3ad3a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97ba7ea8dfc5b7b86a1b9640963240bfb89861460a8dfaa18a1b070bcc3ad3a6", kill_on_drop: false }`
[INFO] [stdout] 97ba7ea8dfc5b7b86a1b9640963240bfb89861460a8dfaa18a1b070bcc3ad3a6