Build #1291011 2024-07-13T07:32:04.946939+00:00
# rustc version
rustc 1.81.0-nightly (c6727fc9b 2024-07-12)# docs.rs version
docsrs 0.6.0 (bd66f012 2024-07-12)# build log
[INFO] adding target aarch64-apple-darwin for toolchain nightly
[INFO] running `Command { std: CARGO_HOME="/home/cratesfyi/workspace-builder/cargo-home" RUSTUP_HOME="/home/cratesfyi/workspace-builder/rustup-home" "/home/cratesfyi/workspace-builder/cargo-home/bin/rustup" "target" "add" "--toolchain" "nightly" "aarch64-apple-darwin", kill_on_drop: false }`
[INFO] [stderr] info: component 'rust-std' for target 'aarch64-apple-darwin' is up to date
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/mlx-sys-0.0.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/mlx-sys-0.0.8/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240712-1.81.0-nightly-c6727fc9b\", \"--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}/aarch64-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "aarch64-apple-darwin", kill_on_drop: false }`
[INFO] [stdout] 8000c598790508c6da324e0b8bc7fb860ffb6ba70fd63f2fd9e535bece1f09f2
[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" "8000c598790508c6da324e0b8bc7fb860ffb6ba70fd63f2fd9e535bece1f09f2", kill_on_drop: false }`
[INFO] [stderr] Compiling mlx-sys v0.0.8 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `mlx-sys v0.0.8 (/opt/rustwide/workdir)`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/mlx-sys-c528062385725f21/build-script-build` (exit status: 101)
[INFO] [stderr] --- stdout
[INFO] [stderr] CMAKE_TOOLCHAIN_FILE_aarch64-apple-darwin = None
[INFO] [stderr] CMAKE_TOOLCHAIN_FILE_aarch64_apple_darwin = None
[INFO] [stderr] TARGET_CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr] CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr] CMAKE_GENERATOR_aarch64-apple-darwin = None
[INFO] [stderr] CMAKE_GENERATOR_aarch64_apple_darwin = None
[INFO] [stderr] TARGET_CMAKE_GENERATOR = None
[INFO] [stderr] CMAKE_GENERATOR = None
[INFO] [stderr] CMAKE_PREFIX_PATH_aarch64-apple-darwin = None
[INFO] [stderr] CMAKE_PREFIX_PATH_aarch64_apple_darwin = None
[INFO] [stderr] TARGET_CMAKE_PREFIX_PATH = None
[INFO] [stderr] CMAKE_PREFIX_PATH = None
[INFO] [stderr] CMAKE_aarch64-apple-darwin = None
[INFO] [stderr] CMAKE_aarch64_apple_darwin = None
[INFO] [stderr] TARGET_CMAKE = None
[INFO] [stderr] CMAKE = None
[INFO] [stderr] running: cd "/opt/rustwide/target/aarch64-apple-darwin/debug/build/mlx-sys-34f430c6765193e4/out/build" && CMAKE_PREFIX_PATH="" "cmake" "-Wdev" "--debug-output" "/opt/rustwide/workdir/src/mlx-c" "-DCMAKE_OSX_ARCHITECTURES=arm64" "-DCMAKE_INSTALL_PREFIX=." "-DCMAKE_BUILD_TYPE=Debug" "-DMLX_BUILD_METAL=OFF" "-DMLX_BUILD_ACCELERATE=OFF" "-DMLX_BUILD_METAL=ON" "-DMLX_BUILD_ACCELERATE=ON" "-DCMAKE_SYSTEM_NAME=Darwin" "-DCMAKE_SYSTEM_PROCESSOR=arm64" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -arch arm64 -mmacosx-version-min=11.0" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -arch arm64 -mmacosx-version-min=11.0" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -arch arm64 -mmacosx-version-min=11.0" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
[INFO] [stderr] Running with debug output on.
[INFO] [stderr] -- The CXX compiler identification is GNU 11.4.0
[INFO] [stderr] Called from: [3] /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- The C compiler identification is GNU 11.4.0
[INFO] [stderr] Called from: [3] /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Checking whether CXX compiler has -isysroot
[INFO] [stderr] Called from: [4] /usr/share/cmake-3.22/Modules/Platform/Apple-GNU.cmake
[INFO] [stderr] [3] /usr/share/cmake-3.22/Modules/Platform/Apple-GNU-CXX.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Checking whether CXX compiler has -isysroot - yes
[INFO] [stderr] Called from: [4] /usr/share/cmake-3.22/Modules/Platform/Apple-GNU.cmake
[INFO] [stderr] [3] /usr/share/cmake-3.22/Modules/Platform/Apple-GNU-CXX.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Checking whether CXX compiler supports OSX deployment target flag
[INFO] [stderr] Called from: [4] /usr/share/cmake-3.22/Modules/Platform/Apple-GNU.cmake
[INFO] [stderr] [3] /usr/share/cmake-3.22/Modules/Platform/Apple-GNU-CXX.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Checking whether CXX compiler supports OSX deployment target flag - no
[INFO] [stderr] Called from: [4] /usr/share/cmake-3.22/Modules/Platform/Apple-GNU.cmake
[INFO] [stderr] [3] /usr/share/cmake-3.22/Modules/Platform/Apple-GNU-CXX.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Detecting CXX compiler ABI info
[INFO] [stderr] Called from: [3] /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Detecting CXX compiler ABI info - failed
[INFO] [stderr] Called from: [3] /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++
[INFO] [stderr] Called from: [3] /usr/share/cmake-3.22/Modules/CMakeTestCompilerCommon.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ - broken
[INFO] [stderr] Called from: [3] /usr/share/cmake-3.22/Modules/CMakeTestCompilerCommon.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] -- Configuring incomplete, errors occurred!
[INFO] [stderr] See also "/opt/rustwide/target/aarch64-apple-darwin/debug/build/mlx-sys-34f430c6765193e4/out/build/CMakeFiles/CMakeOutput.log".
[INFO] [stderr] See also "/opt/rustwide/target/aarch64-apple-darwin/debug/build/mlx-sys-34f430c6765193e4/out/build/CMakeFiles/CMakeError.log".
[INFO] [stderr]
[INFO] [stderr] --- stderr
[INFO] [stderr] CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake:143 (set):
[INFO] [stderr] Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of
[INFO] [stderr] the same name. Run "cmake --help-policy CMP0126" for policy details. Use
[INFO] [stderr] the cmake_policy command to set the policy and suppress this warning.
[INFO] [stderr]
[INFO] [stderr] For compatibility with older versions of CMake, normal variable
[INFO] [stderr] "CMAKE_CXX_COMPILER" will be removed from the current scope.
[INFO] [stderr] Call Stack (most recent call first):
[INFO] [stderr] /usr/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake:66 (_cmake_find_compiler_path)
[INFO] [stderr] CMakeLists.txt:6 (project)
[INFO] [stderr] This warning is for project developers. Use -Wno-dev to suppress it.
[INFO] [stderr]
[INFO] [stderr] Called from: [3] /usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake:143 (set):
[INFO] [stderr] Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of
[INFO] [stderr] the same name. Run "cmake --help-policy CMP0126" for policy details. Use
[INFO] [stderr] the cmake_policy command to set the policy and suppress this warning.
[INFO] [stderr]
[INFO] [stderr] For compatibility with older versions of CMake, normal variable
[INFO] [stderr] "CMAKE_C_COMPILER" will be removed from the current scope.
[INFO] [stderr] Call Stack (most recent call first):
[INFO] [stderr] /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake:68 (_cmake_find_compiler_path)
[INFO] [stderr] CMakeLists.txt:6 (project)
[INFO] [stderr] This warning is for project developers. Use -Wno-dev to suppress it.
[INFO] [stderr]
[INFO] [stderr] Called from: [3] /usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake
[INFO] [stderr] [2] /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[INFO] [stderr] CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
[INFO] [stderr] The C++ compiler
[INFO] [stderr]
[INFO] [stderr] "/usr/bin/c++"
[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/aarch64-apple-darwin/debug/build/mlx-sys-34f430c6765193e4/out/build/CMakeFiles/CMakeTmp
[INFO] [stderr]
[INFO] [stderr] Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_9cedc/fast && /usr/bin/gmake -f CMakeFiles/cmTC_9cedc.dir/build.make CMakeFiles/cmTC_9cedc.dir/build
[INFO] [stderr] gmake[1]: Entering directory '/opt/rustwide/target/aarch64-apple-darwin/debug/build/mlx-sys-34f430c6765193e4/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr] Building CXX object CMakeFiles/cmTC_9cedc.dir/testCXXCompiler.cxx.o
[INFO] [stderr] /usr/bin/c++ -ffunction-sections -fdata-sections -fPIC -arch arm64 -mmacosx-version-min=11.0 -arch arm64 -o CMakeFiles/cmTC_9cedc.dir/testCXXCompiler.cxx.o -c /opt/rustwide/target/aarch64-apple-darwin/debug/build/mlx-sys-34f430c6765193e4/out/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
[INFO] [stderr] c++: error: unrecognized command-line option '-arch'
[INFO] [stderr] c++: error: unrecognized command-line option '-mmacosx-version-min=11.0'
[INFO] [stderr] c++: error: unrecognized command-line option '-arch'
[INFO] [stderr] gmake[1]: *** [CMakeFiles/cmTC_9cedc.dir/build.make:78: CMakeFiles/cmTC_9cedc.dir/testCXXCompiler.cxx.o] Error 1
[INFO] [stderr] gmake[1]: Leaving directory '/opt/rustwide/target/aarch64-apple-darwin/debug/build/mlx-sys-34f430c6765193e4/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr] gmake: *** [Makefile:127: cmTC_9cedc/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:6 (project)
[INFO] [stderr]
[INFO] [stderr]
[INFO] [stderr] Called from: [2] /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
[INFO] [stderr] [1] /opt/rustwide/workdir/src/mlx-c/CMakeLists.txt
[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" "8000c598790508c6da324e0b8bc7fb860ffb6ba70fd63f2fd9e535bece1f09f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8000c598790508c6da324e0b8bc7fb860ffb6ba70fd63f2fd9e535bece1f09f2", kill_on_drop: false }`
[INFO] [stdout] 8000c598790508c6da324e0b8bc7fb860ffb6ba70fd63f2fd9e535bece1f09f2