******************************************************************************** conan test cci-111cab92/recipes/cmaes/all/test_package/conanfile.py cmaes/0.10.0@#5dd8cee0a1a5d081694f63cafbc62a23 -pr /Users/jenkins/workspace/prod-v1/bsr/69549/ebaeb/profile_osx_130_libcpp_apple-clang_release_armv8.cmaes-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True -c tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Configuration: [settings] arch=armv8 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] cmaes:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk cmaes/0.10.0 (test package): Installing package Requirements cmaes/0.10.0 from local cache - Cache eigen/3.4.0 from 'conan-center' - Cache llvm-openmp/17.0.6 from 'conan-center' - Cache Packages cmaes/0.10.0:a74055275b8d6ebaaeaece0cd229d891dffc6482 - Cache eigen/3.4.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache llvm-openmp/17.0.6:f1a36a2aea2da1148eb4bddd758d8db183c6db83 - Cache Installing (downloading, building) binaries... eigen/3.4.0: Already installed! llvm-openmp/17.0.6: Already installed! cmaes/0.10.0: Already installed! cmaes/0.10.0 (test package): Generator 'CMakeDeps' calling 'generate()' cmaes/0.10.0 (test package): Generator 'CMakeToolchain' calling 'generate()' cmaes/0.10.0 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' cmaes/0.10.0 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' cmaes/0.10.0 (test package): Generator txt created conanbuildinfo.txt cmaes/0.10.0 (test package): Aggregating env generators cmaes/0.10.0 (test package): Generated conaninfo.txt cmaes/0.10.0 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release/generators/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK cmaes/0.10.0 (test package): Calling build() cmaes/0.10.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/." ----------------- -- Using Conan toolchain: /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is AppleClang 13.0.0.13000029 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'libcmaes::cmaes' -- Conan: Component target declared 'Eigen3::Eigen' -- Conan: Target declared 'OpenMP::OpenMP' -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release cmaes/0.10.0 (test package): CMake command: cmake --build "/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release" '--' '-j8' ----Running------ > cmake --build "/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release" '--' '-j8' ----------------- [ 50%] Building CXX object CMakeFiles/example.dir/src/example.cpp.o CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:25: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/esoptimizer.h:28: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/esostrategy.h:26: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/candidate.h:26: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaparameters.h:331:55: error: non-aggregate type 'std::map' (aka 'map, int>') cannot be initialized with an initializer list std::map Parameters::_algos = {{"cmaes",0},{"ipop",1},{"bipop",2},{"acmaes",3},{"aipop",4},{"abipop",5},{"sepcmaes",6},{"sepipop",7},{"sepbipop",8},{"sepacmaes",9},{"sepipop",10},{"sepbipop",11},{"vdcma",12},{"vdipopcma",13},{"vdbipopcma",14}}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:25: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/esoptimizer.h:28: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/esostrategy.h:27: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/eigenmvn.h:64:3: error: expected member name or ';' after declaration specifiers { ^ /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/eigenmvn.h:63:9: error: expected '(' : norm{other.norm} ^ /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/eigenmvn.h:63:20: error: expected ';' after expression : norm{other.norm} ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:25: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/esoptimizer.h:29: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmasolutions.h:79:3: error: expected expression [](Candidate const &c1, Candidate const &c2){return c1.get_fvalue() < c2.get_fvalue();}); ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:26: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmastrategy.h:44:79: error: a space is required between consecutive right angle brackets (use '> >') template > ^ /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmastrategy.h:112:111: error: a space is required between consecutive right angle brackets (use '> >') return optimize(std::bind(&ESOStrategy,CMASolutions,CMAStopCriteria>::eval,this,std::placeholders::_1,std::placeholders::_2), ^ /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmastrategy.h:112:28: error: no member named 'bind' in namespace 'std'; did you mean 'find'? return optimize(std::bind(&ESOStrategy,CMASolutions,CMAStopCriteria>::eval,this,std::placeholders::_1,std::placeholders::_2), ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:26: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmastrategy.h:113:14: error: no member named 'bind' in namespace 'std'; did you mean 'find'? std::bind(&CMAStrategy::ask,this), ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:26: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmastrategy.h:114:14: error: no member named 'bind' in namespace 'std'; did you mean 'find'? std::bind(&CMAStrategy::tell,this)); ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:27: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/ipopcmastrategy.h:84:28: error: no member named 'bind' in namespace 'std'; did you mean 'find'? return optimize(std::bind(&IPOPCMAStrategy::eval,this,std::placeholders::_1,std::placeholders::_2), ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:27: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/ipopcmastrategy.h:85:14: error: no member named 'bind' in namespace 'std'; did you mean 'find'? std::bind(&IPOPCMAStrategy::ask,this), ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:27: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/ipopcmastrategy.h:86:14: error: no member named 'bind' in namespace 'std'; did you mean 'find'? std::bind(&IPOPCMAStrategy::tell,this)); ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:28: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/bipopcmastrategy.h:86:28: error: no member named 'bind' in namespace 'std'; did you mean 'find'? return optimize(std::bind(&BIPOPCMAStrategy::eval,this,std::placeholders::_1,std::placeholders::_2), ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:28: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/bipopcmastrategy.h:87:14: error: no member named 'bind' in namespace 'std'; did you mean 'find'? std::bind(&BIPOPCMAStrategy::ask,this), ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: In file included from /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:28: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/bipopcmastrategy.h:88:14: error: no member named 'bind' in namespace 'std'; did you mean 'find'? std::bind(&BIPOPCMAStrategy::tell,this)); ~~~~~^ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/algorithm:916:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^ In file included from /Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/src/example.cpp:1: /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:34:55: error: a space is required between consecutive right angle brackets (use '> >') template > ^ /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:333:76: error: a space is required between consecutive right angle brackets (use '> >') ESOptimizer,CMAParameters> vdcma(func,parameters); ^ /Users/jenkins/workspace/prod-v1/bsr/69549/fbfdb/.conan/data/cmaes/0.10.0/_/_/package/a74055275b8d6ebaaeaece0cd229d891dffc6482/include/libcmaes/cmaes.h:345:80: error: a space is required between consecutive right angle brackets (use '> >') ESOptimizer,CMAParameters> ipop(func,parameters); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [CMakeFiles/example.dir/src/example.cpp.o] Error 1 make[1]: *** [CMakeFiles/example.dir/all] Error 2 make: *** [all] Error 2 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** cmaes/0.10.0 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior cmaes/0.10.0 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: cmaes/0.10.0 (test package): Error in build() method, line 18 cmake.build() ConanException: Error 2 while executing cmake --build "/Users/jenkins/workspace/prod-v1/bsr/cci-111cab92/recipes/cmaes/all/test_package/build/Release" '--' '-j8'