binaryen 0.13.0

Bindings to the binaryen library
Build #1153433 2024-03-10T07:07:05.932867+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-builder/builds/binaryen-0.13.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/binaryen-0.13.0/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: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-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 2467e906b94744d0a6ac2a077940f1c80713b32ccb619362dc92344b0ffcbe02
[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" "2467e906b94744d0a6ac2a077940f1c80713b32ccb619362dc92344b0ffcbe02", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: wasm_opt
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling binaryen-sys v0.13.0
[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] 
[INFO] [stderr] error: failed to run custom build command for `binaryen-sys v0.13.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/binaryen-sys-39bd0051032c3643/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr]   CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_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]   CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_CMAKE = None
[INFO] [stderr]   CMAKE = None
[INFO] [stderr]   running: cd "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/binaryen-sys-01dcbcd010768c17/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/binaryen-sys-0.13.0/binaryen" "-DBUILD_STATIC_LIB=ON" "-DENABLE_WERROR=OFF" "-DBUILD_TESTS=OFF" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/binaryen-sys-01dcbcd010768c17/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
[INFO] [stderr]   -- Building with -DBUILD_LLVM_DWARF
[INFO] [stderr]   -- Building with -Wall
[INFO] [stderr]   -- Building with -Wextra
[INFO] [stderr]   -- Building with -Wno-unused-parameter
[INFO] [stderr]   -- Building with -Wno-dangling-pointer
[INFO] [stderr]   -- Building with -fno-omit-frame-pointer
[INFO] [stderr]   -- Building with -fno-rtti
[INFO] [stderr]   -- Building with -Wno-implicit-int-float-conversion
[INFO] [stderr]   -- Building with -Wno-unknown-warning-option
[INFO] [stderr]   -- Building with -Wswitch
[INFO] [stderr]   -- Building with -Wimplicit-fallthrough
[INFO] [stderr]   -- Building with -Wnon-virtual-dtor
[INFO] [stderr]   -- Building with -fPIC
[INFO] [stderr]   -- Building with -g3
[INFO] [stderr]   -- Building libbinaryen as statically linked library.
[INFO] [stderr]   -- Configuring done
[INFO] [stderr]   -- Generating done
[INFO] [stderr]   -- Build files have been written to: /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/binaryen-sys-01dcbcd010768c17/out/build
[INFO] [stderr]   running: cd "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/binaryen-sys-01dcbcd010768c17/out/build" && MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" "cmake" "--build" "." "--target" "install" "--config" "Debug"
[INFO] [stderr]   Consolidate compiler generated dependencies of target cfg
[INFO] [stderr]   Consolidate compiler generated dependencies of target asmjs
[INFO] [stderr]   Consolidate compiler generated dependencies of target emscripten-optimizer
[INFO] [stderr]   [  1%] Built target asmjs
[INFO] [stderr]   [  1%] Built target cfg
[INFO] [stderr]   [  2%] Built target emscripten-optimizer
[INFO] [stderr]   Consolidate compiler generated dependencies of target parser
[INFO] [stderr]   Consolidate compiler generated dependencies of target ir
[INFO] [stderr]   [  3%] Built target parser
[INFO] [stderr]   Consolidate compiler generated dependencies of target support
[INFO] [stderr]   [ 10%] Built target ir
[INFO] [stderr]   [ 16%] Built target support
[INFO] [stderr]   Consolidate compiler generated dependencies of target analysis
[INFO] [stderr]   Consolidate compiler generated dependencies of target wasm
[INFO] [stderr]   [ 16%] Built target analysis
[INFO] [stderr]   [ 21%] Built target wasm
[INFO] [stderr]   Consolidate compiler generated dependencies of target llvm_dwarf
[INFO] [stderr]   [ 44%] Built target llvm_dwarf
[INFO] [stderr]   Consolidate compiler generated dependencies of target passes
[INFO] [stderr]   [ 85%] Built target passes
[INFO] [stderr]   Consolidate compiler generated dependencies of target binaryen
[INFO] [stderr]   [ 86%] Built target binaryen
[INFO] [stderr]   Consolidate compiler generated dependencies of target wasm-dis
[INFO] [stderr]   Consolidate compiler generated dependencies of target wasm2js
[INFO] [stderr]   Consolidate compiler generated dependencies of target wasm-as
[INFO] [stderr]   Consolidate compiler generated dependencies of target wasm-emscripten-finalize
[INFO] [stderr]   Consolidate compiler generated dependencies of target wasm-metadce
[INFO] [stderr]   Consolidate compiler generated dependencies of target wasm-opt
[INFO] [stderr]   [ 86%] Built target wasm-dis
[INFO] [stderr]   [ 87%] Built target wasm-emscripten-finalize
[INFO] [stderr]   [ 88%] Built target wasm2js
[INFO] [stderr]   [ 89%] Linking CXX executable ../../bin/wasm-as
[INFO] [stderr]   [ 89%] Linking CXX executable ../../bin/wasm-metadce
[INFO] [stderr]   [ 91%] Built target wasm-opt
[INFO] [stderr]   [ 91%] Building CXX object src/tools/CMakeFiles/wasm-ctor-eval.dir/wasm-ctor-eval.cpp.o
[INFO] [stderr]   [ 91%] Building CXX object src/tools/CMakeFiles/wasm-reduce.dir/wasm-reduce.cpp.o
[INFO] [stderr]   [ 91%] Building CXX object src/tools/CMakeFiles/wasm-shell.dir/wasm-shell.cpp.o
[INFO] [stderr]   [ 91%] Building CXX object src/tools/CMakeFiles/wasm-merge.dir/wasm-merge.cpp.o
[INFO] [stderr]   [ 91%] Linking CXX executable ../../bin/wasm-merge
[INFO] [stderr]   [ 91%] Linking CXX executable ../../bin/wasm-shell
[INFO] [stderr]   [ 92%] Linking CXX executable ../../bin/wasm-reduce
[INFO] [stderr]   [ 93%] Linking CXX executable ../../bin/wasm-ctor-eval
[INFO] [stderr]   [ 93%] Built target wasm-shell
[INFO] [stderr]   [ 93%] Built target wasm-reduce
[INFO] [stderr]   [ 93%] Built target wasm-ctor-eval
[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]   collect2: fatal error: ld terminated with signal 9 [Killed]
[INFO] [stderr]   compilation terminated.
[INFO] [stderr]   gmake[2]: *** [src/tools/CMakeFiles/wasm-metadce.dir/build.make:98: bin/wasm-metadce] Error 1
[INFO] [stderr]   gmake[2]: *** Deleting file 'bin/wasm-metadce'
[INFO] [stderr]   gmake[1]: *** [CMakeFiles/Makefile2:647: src/tools/CMakeFiles/wasm-metadce.dir/all] Error 2
[INFO] [stderr]   gmake[1]: *** Waiting for unfinished jobs....
[INFO] [stderr]   collect2: fatal error: ld terminated with signal 9 [Killed]
[INFO] [stderr]   compilation terminated.
[INFO] [stderr]   gmake[2]: *** [src/tools/CMakeFiles/wasm-as.dir/build.make:98: bin/wasm-as] Error 1
[INFO] [stderr]   gmake[2]: *** Deleting file 'bin/wasm-as'
[INFO] [stderr]   gmake[1]: *** [CMakeFiles/Makefile2:725: src/tools/CMakeFiles/wasm-as.dir/all] Error 2
[INFO] [stderr]   collect2: fatal error: ld terminated with signal 9 [Killed]
[INFO] [stderr]   compilation terminated.
[INFO] [stderr]   gmake[2]: *** [src/tools/CMakeFiles/wasm-merge.dir/build.make:98: bin/wasm-merge] Error 1
[INFO] [stderr]   gmake[2]: *** Deleting file 'bin/wasm-merge'
[INFO] [stderr]   gmake[1]: *** [CMakeFiles/Makefile2:855: src/tools/CMakeFiles/wasm-merge.dir/all] Error 2
[INFO] [stderr]   gmake: *** [Makefile:136: all] Error 2
[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: 2
[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" "2467e906b94744d0a6ac2a077940f1c80713b32ccb619362dc92344b0ffcbe02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2467e906b94744d0a6ac2a077940f1c80713b32ccb619362dc92344b0ffcbe02", kill_on_drop: false }`
[INFO] [stdout] 2467e906b94744d0a6ac2a077940f1c80713b32ccb619362dc92344b0ffcbe02