Skip to content

[fruit] build error on arm64-osx #49046

@Royna2544

Description

@Royna2544

Package: fruit:arm64-osx@3.7.1

Host Environment

  • Host: arm64-osx
    CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
  • Compiler: Clang 21.1.7
    Error: vcpkg install failed. See logs for more information:
  • CMake Version: 0
    /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/build/vcpkg-manifest-install.log
  • vcpkg-tool version: 2025-12-05-d84fb805651077f4ed3a97b61fbad2b513462f8b
    Call Stack (most recent call first):
    vcpkg-scripts version: ee12231 2025-12-12 (11 days ago)
    /opt/homebrew/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)

To Reproduce

vcpkg install
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Failure logs
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

Downloading https://github.com/google/fruit/archive/v3.7.1.tar.gz -> google-fruit-v3.7.1.tar.gz
Successfully downloaded google-fruit-v3.7.1.tar.gz
-- Extracting source /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/downloads/google-fruit-v3.7.1.tar.gz
-- Using source at /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean
-- Configuring arm64-osx
-- Building arm64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Error:     Command failed: /opt/homebrew/bin/cmake --build . --config Debug --target install -- -v -j4
    Working Directory: /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg
    See logs for more information:
      /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/install-arm64-osx-dbg-out.log

Call Stack (most recent call first):
  /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/build/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/build/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  buildtrees/versioning_/versions/fruit/f727757ffc9579175eb3e80ae6fee2bf176779b2/portfile.cmake:18 (vcpkg_cmake_install)
  scripts/ports.cmake:206 (include)



/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/install-arm64-osx-dbg-out.log
Change Dir: '/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg'

Run Build Command(s): /opt/homebrew/bin/ninja -v -v -j4 install
[1/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/demangle_type_name.cpp.o -MF src/CMakeFiles/fruit.dir/demangle_type_name.cpp.o.d -o src/CMakeFiles/fruit.dir/demangle_type_name.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/demangle_type_name.cpp
[2/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/memory_pool.cpp.o -MF src/CMakeFiles/fruit.dir/memory_pool.cpp.o.d -o src/CMakeFiles/fruit.dir/memory_pool.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/memory_pool.cpp
[3/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/component.cpp.o -MF src/CMakeFiles/fruit.dir/component.cpp.o.d -o src/CMakeFiles/fruit.dir/component.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/component.cpp
[4/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/fixed_size_allocator.cpp.o -MF src/CMakeFiles/fruit.dir/fixed_size_allocator.cpp.o.d -o src/CMakeFiles/fruit.dir/fixed_size_allocator.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/fixed_size_allocator.cpp
[5/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/injector_storage.cpp.o -MF src/CMakeFiles/fruit.dir/injector_storage.cpp.o.d -o src/CMakeFiles/fruit.dir/injector_storage.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/injector_storage.cpp
[6/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/normalized_component_storage_holder.cpp.o -MF src/CMakeFiles/fruit.dir/normalized_component_storage_holder.cpp.o.d -o src/CMakeFiles/fruit.dir/normalized_component_storage_holder.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/normalized_component_storage_holder.cpp
[7/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/binding_normalization.cpp.o -MF src/CMakeFiles/fruit.dir/binding_normalization.cpp.o.d -o src/CMakeFiles/fruit.dir/binding_normalization.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/binding_normalization.cpp
[8/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/semistatic_map.cpp.o -MF src/CMakeFiles/fruit.dir/semistatic_map.cpp.o.d -o src/CMakeFiles/fruit.dir/semistatic_map.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/semistatic_map.cpp
[9/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/normalized_component_storage.cpp.o -MF src/CMakeFiles/fruit.dir/normalized_component_storage.cpp.o.d -o src/CMakeFiles/fruit.dir/normalized_component_storage.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/normalized_component_storage.cpp
[10/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT src/CMakeFiles/fruit.dir/semistatic_graph.cpp.o -MF src/CMakeFiles/fruit.dir/semistatic_graph.cpp.o.d -o src/CMakeFiles/fruit.dir/semistatic_graph.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/src/semistatic_graph.cpp
[11/55] : && /opt/homebrew/bin/cmake -E rm -f src/libfruit.a && /usr/bin/ar qc src/libfruit.a  src/CMakeFiles/fruit.dir/memory_pool.cpp.o src/CMakeFiles/fruit.dir/binding_normalization.cpp.o src/CMakeFiles/fruit.dir/demangle_type_name.cpp.o src/CMakeFiles/fruit.dir/component.cpp.o src/CMakeFiles/fruit.dir/fixed_size_allocator.cpp.o src/CMakeFiles/fruit.dir/injector_storage.cpp.o src/CMakeFiles/fruit.dir/normalized_component_storage.cpp.o src/CMakeFiles/fruit.dir/normalized_component_storage_holder.cpp.o src/CMakeFiles/fruit.dir/semistatic_map.cpp.o src/CMakeFiles/fruit.dir/semistatic_graph.cpp.o && /opt/homebrew/opt/llvm/bin/llvm-ranlib src/libfruit.a && /opt/homebrew/bin/cmake -E touch src/libfruit.a && :
[12/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_adder.cpp.o -MF examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_adder.cpp.o.d -o examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_adder.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/checked_adder.cpp
FAILED: [code=1] examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_adder.cpp.o 
/opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_adder.cpp.o -MF examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_adder.cpp.o.d -o examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_adder.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/checked_adder.cpp
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/checked_adder.cpp:17:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/checked_adder.h:21:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/fruit.h:30:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/injector.h:24:
Error: /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/normalized_component.h:116:65: error: call to implicitly-deleted copy constructor of 'fruit::impl::NormalizedComponentStorageHolder'
  116 |   NormalizedComponent(NormalizedComponent&& storage) noexcept : storage(std::move(storage.storage)) {}
      |                                                                 ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/impl/normalized_component_storage/normalized_component_storage_holder.h:61:37: note: copy constructor is implicitly deleted because 'NormalizedComponentStorageHolder' has a user-declared move assignment operator
   61 |   NormalizedComponentStorageHolder& operator=(NormalizedComponentStorageHolder&&) = delete;
      |                                     ^
1 error generated.
[13/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_impl.cpp.o -MF examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_impl.cpp.o.d -o examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_impl.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/incrementer_impl.cpp
FAILED: [code=1] examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_impl.cpp.o 
/opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_impl.cpp.o -MF examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_impl.cpp.o.d -o examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_impl.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/incrementer_impl.cpp
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/incrementer_impl.cpp:17:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/incrementer_impl.h:22:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/fruit.h:30:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/injector.h:24:
Error: /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/normalized_component.h:116:65: error: call to implicitly-deleted copy constructor of 'fruit::impl::NormalizedComponentStorageHolder'
  116 |   NormalizedComponent(NormalizedComponent&& storage) noexcept : storage(std::move(storage.storage)) {}
      |                                                                 ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/impl/normalized_component_storage/normalized_component_storage_holder.h:61:37: note: copy constructor is implicitly deleted because 'NormalizedComponentStorageHolder' has a user-declared move assignment operator
   61 |   NormalizedComponentStorageHolder& operator=(NormalizedComponentStorageHolder&&) = delete;
      |                                     ^
1 error generated.
[14/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_incrementer.cpp.o -MF examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_incrementer.cpp.o.d -o examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_incrementer.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/checked_incrementer.cpp
FAILED: [code=1] examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_incrementer.cpp.o 
/opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_incrementer.cpp.o -MF examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_incrementer.cpp.o.d -o examples/simple_injection/CMakeFiles/incrementer_v1.dir/checked_incrementer.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/checked_incrementer.cpp
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/checked_incrementer.cpp:17:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/checked_incrementer.h:21:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/fruit.h:30:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/injector.h:24:
Error: /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/normalized_component.h:116:65: error: call to implicitly-deleted copy constructor of 'fruit::impl::NormalizedComponentStorageHolder'
  116 |   NormalizedComponent(NormalizedComponent&& storage) noexcept : storage(std::move(storage.storage)) {}
      |                                                                 ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/impl/normalized_component_storage/normalized_component_storage_holder.h:61:37: note: copy constructor is implicitly deleted because 'NormalizedComponentStorageHolder' has a user-declared move assignment operator
   61 |   NormalizedComponentStorageHolder& operator=(NormalizedComponentStorageHolder&&) = delete;
      |                                     ^
1 error generated.
[15/55] /opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_component.cpp.o -MF examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_component.cpp.o.d -o examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_component.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/incrementer_component.cpp
FAILED: [code=1] examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_component.cpp.o 
/opt/homebrew/opt/llvm/bin/clang++  -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include -I/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/arm64-osx-dbg/include -fPIC -g -std=gnu++11 -arch arm64    -std=c++11 -W -Wall -Wno-missing-braces -Wno-unknown-warning-option -MD -MT examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_component.cpp.o -MF examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_component.cpp.o.d -o examples/simple_injection/CMakeFiles/incrementer_v1.dir/incrementer_component.cpp.o -c /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/incrementer_component.cpp
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/incrementer_component.cpp:17:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/examples/simple_injection/incrementer_component.h:22:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/fruit.h:30:
In file included from /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/injector.h:24:
Error: /Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/normalized_component.h:116:65: error: call to implicitly-deleted copy constructor of 'fruit::impl::NormalizedComponentStorageHolder'
  116 |   NormalizedComponent(NormalizedComponent&& storage) noexcept : storage(std::move(storage.storage)) {}
      |                                                                 ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/c_cpp_telegrambot/c_cpp_telegrambot/vcpkg/buildtrees/fruit/src/v3.7.1-b712e99c79.clean/include/fruit/impl/normalized_component_storage/normalized_component_storage_holder.h:61:37: note: copy constructor is implicitly deleted because 'NormalizedComponentStorageHolder' has a user-declared move assignment operator
   61 |   NormalizedComponentStorageHolder& operator=(NormalizedComponentStorageHolder&&) = delete;
      |                                     ^
1 error generated.
ninja: build stopped: subcommand failed.

Additional context

vcpkg.json
{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
  "name": "telegram-bot-cpp",
  "version-string": "1.0.0",
  "builtin-baseline": "ee12231b20c95013c6638d845d04c91559a1d1ff",
  "dependencies": [
    {
      "name": "dlfcn-win32",
      "platform": "windows"
    },
    "boost-asio",
    "boost-system",
    "boost-program-options",
    "boost-units",
    "curl",
    "libxml2",
    "libgit2",
    "libpng",
    "libwebp",
    "libjpeg-turbo",
    "opencv4",
    "fmt",
    "sqlite3",
    "jsoncpp",
    "openssl",
    "zlib",
    "cpp-httplib",
    "fruit",
    "cpptrace",
    "abseil",
    "protobuf",
    "gtest",
    "sol2",
    "libarchive"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions