glsl-optimizer-sys 0.1.0

An FFI interface to glsl-optimizer.
Build #1409894 2024-10-26T02:02:24.726356+00:00
# rustc version
rustc 1.84.0-nightly (c1db4dc24 2024-10-25)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/glsl-optimizer-sys-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/glsl-optimizer-sys-0.1.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: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\", \"-20241025-1.84.0-nightly-c1db4dc24\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 310c625536806413edfbe2fa0afdc0104fbe987e2296b7e04e1672eb5dd1356b
[INFO] running `Command { std: "docker" "start" "-a" "310c625536806413edfbe2fa0afdc0104fbe987e2296b7e04e1672eb5dd1356b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling glsl-optimizer-sys v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `glsl-optimizer-sys v0.1.0 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/glsl-optimizer-sys-28ca2931211530de/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]   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/glsl-optimizer-sys-97749588949a18dc/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/workdir/glsl-optimizer" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/glsl-optimizer-sys-97749588949a18dc/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]   -- Configuring done
[INFO] [stderr]   -- Generating done
[INFO] [stderr]   -- Build files have been written to: /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/glsl-optimizer-sys-97749588949a18dc/out/build
[INFO] [stderr]   running: cd "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/glsl-optimizer-sys-97749588949a18dc/out/build" && MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" "cmake" "--build" "." "--target" "" "--config" "Debug"
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   CMake Warning (dev) in CMakeLists.txt:
[INFO] [stderr]     No project() command is present.  The top-level CMakeLists.txt file must
[INFO] [stderr]     contain a literal, direct call to the project() command.  Add a line of
[INFO] [stderr]     code such as
[INFO] [stderr] 
[INFO] [stderr]       project(ProjectName)
[INFO] [stderr] 
[INFO] [stderr]     near the top of the file, but after cmake_minimum_required().
[INFO] [stderr] 
[INFO] [stderr]     CMake is pretending there is a "project(Project)" command on the first
[INFO] [stderr]     line.
[INFO] [stderr]   This warning is for project developers.  Use -Wno-dev to suppress it.
[INFO] [stderr] 
[INFO] [stderr]   CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
[INFO] [stderr]     Compatibility with CMake < 2.8.12 will be removed from a future version of
[INFO] [stderr]     CMake.
[INFO] [stderr] 
[INFO] [stderr]     Update the VERSION argument <min> value or use a ...<max> suffix to tell
[INFO] [stderr]     CMake that the project does not need compatibility with older versions.
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   Usage: cmake --build <dir>             [options] [-- [native-options]]
[INFO] [stderr]          cmake --build --preset <preset> [options] [-- [native-options]]
[INFO] [stderr]   Options:
[INFO] [stderr]     <dir>          = Project binary directory to be built.
[INFO] [stderr]     --preset <preset>, --preset=<preset>
[INFO] [stderr]                    = Specify a build preset.
[INFO] [stderr]     --list-presets
[INFO] [stderr]                    = List available build presets.
[INFO] [stderr]     --parallel [<jobs>], -j [<jobs>]
[INFO] [stderr]                    = Build in parallel using the given number of jobs. 
[INFO] [stderr]                      If <jobs> is omitted the native build tool's 
[INFO] [stderr]                      default number is used.
[INFO] [stderr]                      The CMAKE_BUILD_PARALLEL_LEVEL environment variable
[INFO] [stderr]                      specifies a default parallel level when this option
[INFO] [stderr]                      is not given.
[INFO] [stderr]     --target <tgt>..., -t <tgt>... 
[INFO] [stderr]                    = Build <tgt> instead of default targets.
[INFO] [stderr]     --config <cfg> = For multi-configuration tools, choose <cfg>.
[INFO] [stderr]     --clean-first  = Build target 'clean' first, then build.
[INFO] [stderr]                      (To clean only, use --target 'clean'.)
[INFO] [stderr]     --verbose, -v  = Enable verbose output - if supported - including
[INFO] [stderr]                      the build commands to be executed. 
[INFO] [stderr]     --             = Pass remaining options to the native tool.
[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" "310c625536806413edfbe2fa0afdc0104fbe987e2296b7e04e1672eb5dd1356b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "310c625536806413edfbe2fa0afdc0104fbe987e2296b7e04e1672eb5dd1356b", kill_on_drop: false }`
[INFO] [stdout] 310c625536806413edfbe2fa0afdc0104fbe987e2296b7e04e1672eb5dd1356b