******************************************************************************** conan test cci-53197fc1/recipes/cunit/all/test_package/conanfile.py cunit/2.1-3@#de0644e5d52bcd97742346b1d4c7aa12 -pr /Users/jenkins/w/prod/BuildSingleReference@2/264247/f2dfe504-69cf-47fd-b10b-bb7030cad6dc/profile_osx_130_libcpp_apple-clang_debug_64.cunit-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 ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/Users/jenkins/w/prod/BuildSingleReference@2/.conan/profiles/default) Found apple-clang 13.0 apple-clang>=13, using the major as version Default settings os=Macos os_build=Macos arch=x86_64 arch_build=x86_64 compiler=apple-clang compiler.version=13 compiler.libcxx=libc++ build_type=Release *** You can change them in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] cunit: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 cunit/2.1-3 (test package): Installing package Requirements cunit/2.1-3 from local cache - Cache Packages cunit/2.1-3:a82c35fa2a2404bae615d4c045f9a7c5ff88e6ed - Download Installing (downloading, building) binaries... cunit/2.1-3: Retrieving package a82c35fa2a2404bae615d4c045f9a7c5ff88e6ed from remote 'c3i_PR-16095' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cunit/2.1-3: Package installed a82c35fa2a2404bae615d4c045f9a7c5ff88e6ed cunit/2.1-3: Downloaded package revision 42d0dd0061297479c956a8ea27701820 cunit/2.1-3 (test package): Generator txt created conanbuildinfo.txt cunit/2.1-3 (test package): Generator 'VirtualBuildEnv' calling 'generate()' cunit/2.1-3 (test package): Generator 'CMakeDeps' calling 'generate()' cunit/2.1-3 (test package): Generator 'CMakeToolchain' calling 'generate()' cunit/2.1-3 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' cunit/2.1-3 (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/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' cunit/2.1-3 (test package): Aggregating env generators cunit/2.1-3 (test package): Generated conaninfo.txt cunit/2.1-3 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug/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 cunit/2.1-3 (test package): Calling build() cunit/2.1-3 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/." ----Running------ > . "/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/." ----------------- -- Using Conan toolchain: /Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is AppleClang 13.0.0.13000029 -- The CXX compiler identification is AppleClang 13.0.0.13000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 'cunit::cunit' -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug cunit/2.1-3 (test package): CMake command: cmake --build "/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug" '--' '-j4' ----Running------ > . "/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug/generators/conanbuild.sh" && cmake --build "/Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/build/Debug" '--' '-j4' ----------------- [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable test_package [100%] Built target test_package cunit/2.1-3 (test package): Running test() ----Running------ > ./test_package ----------------- CUnit - A unit testing framework for C - Version 2.1-3 http://cunit.sourceforge.net/ Suite: test_package suite Test: fprintf() ...passed Test: fread() ...passed Run Summary: Type Total Ran Passed Failed Inactive suites 1 1 n/a 0 0 tests 2 2 2 0 0 asserts 5 5 5 0 n/a Elapsed time = 0.000 seconds /Users/jenkins/w/prod/BuildSingleReference@2/cci-53197fc1/recipes/cunit/all/test_package/test_package.c:91:30: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CU_ASSERT(0 == strncmp(buffer, "Q\ni1 = 10", 9)); ^~~~~~ /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/cunit/2.1-3/_/_/package/a82c35fa2a2404bae615d4c045f9a7c5ff88e6ed/include/CUnit/CUnit.h:123:30: note: expanded from macro 'CU_ASSERT' { CU_assertImplementation((value), __LINE__, #value, __FILE__, "", CU_FALSE); } ^~~~~ /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ 1 warning generated. cunit/2.1-3 (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 cunit/2.1-3 (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