binaryen-sys 0.13.0

Bindings to the binaryen library
Documentation
Build #1153426 2024-03-10T07:02:59.140727+00:00
# rustc version
rustc 1.78.0-nightly (2d24fe591 2024-03-09)# docs.rs version
docsrs 0.6.0 (85226605 2024-03-10)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/binaryen-sys-0.13.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/binaryen-sys-0.13.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240309-1.78.0-nightly-2d24fe591\", \"--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] e65d3ce350f2288baa626c221fe95248f3eef85f68be4db767171c67b6b8549f
[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" "e65d3ce350f2288baa626c221fe95248f3eef85f68be4db767171c67b6b8549f", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling binaryen-sys v0.13.0 (/opt/rustwide/workdir)
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: binaryen-sys@0.13.0: Compiler version doesn't include clang or GCC: "cc" "--version"
[INFO] [stderr] warning: binaryen-sys@0.13.0: Compiler version doesn't include clang or GCC: "c++" "--version"
[INFO] [stderr] warning: binaryen-sys@0.13.0: macOS deployment target (10.7) too low, it will be increased
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `binaryen-sys v0.13.0 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/binaryen-sys-9c9774ba9622d36b/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[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]   CMAKE_GENERATOR_x86_64-apple-darwin = None
[INFO] [stderr]   CMAKE_GENERATOR_x86_64_apple_darwin = None
[INFO] [stderr]   TARGET_CMAKE_GENERATOR = None
[INFO] [stderr]   CMAKE_GENERATOR = None
[INFO] [stderr]   cargo:warning=Compiler version doesn't include clang or GCC: "cc" "--version"
[INFO] [stderr]   cargo:warning=Compiler version doesn't include clang or GCC: "c++" "--version"
[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/binaryen-sys-fe0e1fb4c9d3f841/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/workdir/binaryen" "-DCMAKE_OSX_ARCHITECTURES=x86_64" "-DBUILD_STATIC_LIB=ON" "-DENABLE_WERROR=OFF" "-DBUILD_TESTS=OFF" "-DCMAKE_SYSTEM_NAME=Darwin" "-DCMAKE_SYSTEM_PROCESSOR=x86_64" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/x86_64-apple-darwin/debug/build/binaryen-sys-fe0e1fb4c9d3f841/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]   -- The C compiler identification is GNU 11.4.0
[INFO] [stderr]   -- The CXX 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/binaryen-sys-fe0e1fb4c9d3f841/out/build/CMakeFiles/CMakeOutput.log".
[INFO] [stderr]   See also "/opt/rustwide/target/x86_64-apple-darwin/debug/build/binaryen-sys-fe0e1fb4c9d3f841/out/build/CMakeFiles/CMakeError.log".
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   fatal: not a git repository (or any parent up to mount point /opt/rustwide)
[INFO] [stderr]   Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[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/binaryen-sys-fe0e1fb4c9d3f841/out/build/CMakeFiles/CMakeTmp
[INFO] [stderr]       
[INFO] [stderr]       Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a931b/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_a931b.dir/build.make CMakeFiles/cmTC_a931b.dir/build
[INFO] [stderr]       gmake[1]: Entering directory '/opt/rustwide/target/x86_64-apple-darwin/debug/build/binaryen-sys-fe0e1fb4c9d3f841/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr]       Building C object CMakeFiles/cmTC_a931b.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_a931b.dir/testCCompiler.c.o -c /opt/rustwide/target/x86_64-apple-darwin/debug/build/binaryen-sys-fe0e1fb4c9d3f841/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]       gmake[1]: *** [CMakeFiles/cmTC_a931b.dir/build.make:78: CMakeFiles/cmTC_a931b.dir/testCCompiler.c.o] Error 1
[INFO] [stderr]       gmake[1]: Leaving directory '/opt/rustwide/target/x86_64-apple-darwin/debug/build/binaryen-sys-fe0e1fb4c9d3f841/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr]       gmake: *** [Makefile:127: cmTC_a931b/fast] Error 2
[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:10 (project)
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098: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" "e65d3ce350f2288baa626c221fe95248f3eef85f68be4db767171c67b6b8549f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e65d3ce350f2288baa626c221fe95248f3eef85f68be4db767171c67b6b8549f", kill_on_drop: false }`
[INFO] [stdout] e65d3ce350f2288baa626c221fe95248f3eef85f68be4db767171c67b6b8549f