Skip to content

Build failure: fastcov #432152

@ghost

Description

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

build fastcov

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/303351097

Relevant log output

Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Running phase: unpackPhase
unpacking source archive /nix/store/6hdh4iabjjncqh83kw1z4xk5cbhr9yvn-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/utils/fastcov_to_sonarqube.py"
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
Executing pypaBuildPhase
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
<string>:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
/nix/store/jmwzwlfxngxjb7d15wdajh1ffl0bcjsn-python3.13-setuptools-80.7.1/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running egg_info
creating fastcov.egg-info
writing fastcov.egg-info/PKG-INFO
writing dependency_links to fastcov.egg-info/dependency_links.txt
writing top-level names to fastcov.egg-info/top_level.txt
writing manifest file 'fastcov.egg-info/SOURCES.txt'
reading manifest file 'fastcov.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'fastcov.egg-info/SOURCES.txt'
* Building wheel...
<string>:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
/nix/store/jmwzwlfxngxjb7d15wdajh1ffl0bcjsn-python3.13-setuptools-80.7.1/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
/nix/store/jmwzwlfxngxjb7d15wdajh1ffl0bcjsn-python3.13-setuptools-80.7.1/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!

        ********************************************************************************
        With Python 2.7 end-of-life, support for building universal wheels
        (i.e., wheels that support both Python 2 and Python 3)
        is being obviated.
        Please discontinue using this option, or if you still need it,
        file an issue with pypa/setuptools describing your use case.

        By 2025-Aug-30, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.
        ********************************************************************************

!!
  self.finalize_options()
running build
running build_py
creating build/lib
copying fastcov.py -> build/lib
running build_scripts
creating build/scripts-3.13
copying and adjusting dist_scripts/fastcov -> build/scripts-3.13
copying and adjusting dist_scripts/fastcov_summary -> build/scripts-3.13
copying and adjusting dist_scripts/fastcov_to_sonarqube -> build/scripts-3.13
changing mode of build/scripts-3.13/fastcov from 644 to 755
changing mode of build/scripts-3.13/fastcov_summary from 644 to 755
changing mode of build/scripts-3.13/fastcov_to_sonarqube from 644 to 755
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
copying build/lib/fastcov.py -> build/bdist.linux-x86_64/wheel/.
running install_egg_info
running egg_info
writing fastcov.egg-info/PKG-INFO
writing dependency_links to fastcov.egg-info/dependency_links.txt
writing top-level names to fastcov.egg-info/top_level.txt
reading manifest file 'fastcov.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'fastcov.egg-info/SOURCES.txt'
Copying fastcov.egg-info to build/bdist.linux-x86_64/wheel/./fastcov-1.16-py3.13.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/fastcov-1.16.data/scripts
copying build/scripts-3.13/fastcov_to_sonarqube -> build/bdist.linux-x86_64/wheel/fastcov-1.16.data/scripts
copying build/scripts-3.13/fastcov_summary -> build/bdist.linux-x86_64/wheel/fastcov-1.16.data/scripts
copying build/scripts-3.13/fastcov -> build/bdist.linux-x86_64/wheel/fastcov-1.16.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/fastcov-1.16.data/scripts/fastcov_to_sonarqube to 755
changing mode of build/bdist.linux-x86_64/wheel/fastcov-1.16.data/scripts/fastcov_summary to 755
changing mode of build/bdist.linux-x86_64/wheel/fastcov-1.16.data/scripts/fastcov to 755
creating build/bdist.linux-x86_64/wheel/fastcov-1.16.dist-info/WHEEL
creating '/build/source/dist/.tmp-nojivn5v/fastcov-1.16-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'fastcov.py'
adding 'fastcov-1.16.data/scripts/fastcov'
adding 'fastcov-1.16.data/scripts/fastcov_summary'
adding 'fastcov-1.16.data/scripts/fastcov_to_sonarqube'
adding 'fastcov-1.16.dist-info/licenses/LICENSE'
adding 'fastcov-1.16.dist-info/METADATA'
adding 'fastcov-1.16.dist-info/WHEEL'
adding 'fastcov-1.16.dist-info/top_level.txt'
adding 'fastcov-1.16.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built fastcov-1.16-py2.py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for fastcov-1.16-py2.py3-none-any.whl
Finished executing pythonRuntimeDepsCheck
Running phase: installPhase
Executing pypaInstallPhase
Successfully installed fastcov-1.16-py2.py3-none-any.whl
Finished executing pypaInstallPhase
Running phase: pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/asiv38kwr1dng9c4bn1jb1yx3ajgjiam-python3.13-fastcov-1.16
checking for references to /build/ in /nix/store/asiv38kwr1dng9c4bn1jb1yx3ajgjiam-python3.13-fastcov-1.16...
patching script interpreter paths in /nix/store/asiv38kwr1dng9c4bn1jb1yx3ajgjiam-python3.13-fastcov-1.16
stripping (with command strip and flags -S -p) in  /nix/store/asiv38kwr1dng9c4bn1jb1yx3ajgjiam-python3.13-fastcov-1.16/lib /nix/store/asiv38kwr1dng9c4bn1jb1yx3ajgjiam-python3.13-fastcov-1.16/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/p11vy0kr8maqd49cpkp5znyx679nz4hc-python3.13-fastcov-1.16-dist
checking for references to /build/ in /nix/store/p11vy0kr8maqd49cpkp5znyx679nz4hc-python3.13-fastcov-1.16-dist...
patching script interpreter paths in /nix/store/p11vy0kr8maqd49cpkp5znyx679nz4hc-python3.13-fastcov-1.16-dist
Rewriting #!/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3.13 to #!/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5
wrapping `/nix/store/asiv38kwr1dng9c4bn1jb1yx3ajgjiam-python3.13-fastcov-1.16/bin/fastcov_summary'...
Rewriting #!/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3.13 to #!/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5
wrapping `/nix/store/asiv38kwr1dng9c4bn1jb1yx3ajgjiam-python3.13-fastcov-1.16/bin/fastcov'...
Rewriting #!/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3.13 to #!/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5
wrapping `/nix/store/asiv38kwr1dng9c4bn1jb1yx3ajgjiam-python3.13-fastcov-1.16/bin/fastcov_to_sonarqube'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: installCheckPhase
patching script interpreter paths in .
./build/scripts-3.13/fastcov_to_sonarqube: interpreter directive changed from "#!python" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python"
./build/scripts-3.13/fastcov_summary: interpreter directive changed from "#!python" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python"
./build/scripts-3.13/fastcov: interpreter directive changed from "#!python" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python"
./utils/fastcov_to_sonarqube.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3"
./utils/fastcov_summary.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3"
./test/unit/test_diff_parser.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3"
./test/unit/test_diff_filter.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3"
./test/unit/run_all.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash"
./test/run_tests.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash"
./test/functional/run_all.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash"
./test/functional/json_cmp.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3"
./test/functional/fake-gcov.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash"
./test/functional/bad-gcov.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash"
./fastcov.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/bin/python3"
./example/build.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash"
+ set -e
+ cd ../example
+ ./build.sh
+ BASE_DIR=/build/source/example
+ cd cmake_project
+ rm -rf build/
+ mkdir build
+ cd build
+ cmake .. -G Ninja
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/67x7pknz0qa2j16x02idf0x98lpcspah-gcc-wrapper-14.3.0/bin/gcc - 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: /nix/store/67x7pknz0qa2j16x02idf0x98lpcspah-gcc-wrapper-14.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
++ Enabling GCOV Code Coverage
-- Configuring done (1.3s)
-- Generating done (0.0s)
-- Build files have been written to: /build/source/example/cmake_project/build
+ ninja
[3/16] Building CXX object test/CMakeFiles/multitest.dir/test1_2.cpp.opp.o[K
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/test/test1_2.cpp:2:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[4/16] Building CXX object test/CMakeFiles/test1.dir/__/src/source1.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/src/source1.cpp:1:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[5/16] Building CXX object test/CMakeFiles/latin1_test.dir/latin1_test.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/test/latin1_test.cpp:2:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[6/16] Building CXX object test/CMakeFiles/latin1_test.dir/__/src/latin1_enc.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/src/latin1_enc.cpp:4:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[7/16] Building CXX object test/CMakeFiles/multitest.dir/__/src/source2.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/src/source2.cpp:1:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[8/16] Building CXX object test/CMakeFiles/multitest.dir/__/src/source1.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/src/source1.cpp:1:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[9/16] Building CXX object test/CMakeFiles/test1.dir/__/src/source2.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/src/source2.cpp:1:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[11/16] Building CXX object test/CMakeFiles/test1.dir/test1.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/test/test1.cpp:2:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[12/16] Building CXX object test/CMakeFiles/branch_test.dir/__/src/branches.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/src/branches.cpp:1:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[13/16] Building CXX object test/CMakeFiles/branch_test.dir/branch_test.cpp.o
In file included from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:683,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/requires_hosted.h:31,
                 from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/string:38,
                 from /build/source/example/cmake_project/test/../src/foobar.h:4,
                 from /build/source/example/cmake_project/test/branch_test.cpp:2:
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  422 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[16/16] Linking CXX executable bin/branch_test
+ ctest
Test project /build/source/example/cmake_project/build
    Start 1: ctest_1
1/4 Test #1: ctest_1 ..........................   Passed    0.01 sec
    Start 2: ctest_2
2/4 Test #2: ctest_2 ..........................   Passed    0.01 sec
    Start 3: ctest_3
3/4 Test #3: ctest_3 ..........................   Passed    0.01 sec
    Start 4: ctest_4
4/4 Test #4: ctest_4 ..........................   Passed    0.01 sec

100% tests passed, 0 tests failed out of 4

Total Test time (real) =   0.03 sec
+ /build/source/example/fastcov.py -t ExampleTest --gcov gcov --branch-coverage --exclude /usr/include cmake_project/test/ --verbose --lcov -o example.info
[0.072s] [info]: Found 10 coverage files (.gcda)
[0.000s] [debug]: Coverage files found:
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/multitest.dir/test1_2.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/multitest.dir/__/src/source1.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/multitest.dir/__/src/source2.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/branch_test.dir/branch_test.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/branch_test.dir/__/src/branches.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/latin1_test.dir/latin1_test.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/latin1_test.dir/__/src/latin1_enc.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/test1.dir/test1.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/test1.dir/__/src/source1.cpp.gcda
    /build/source/test/functional/cmake_project/build/test/CMakeFiles/test1.dir/__/src/source2.cpp.gcda
[0.052s] [info]: Spawned 2 gcov processes, each processing at most 5 coverage files
[0.057s] [debug]: Filtering coverage for '/build/source/example/cmake_project/test/test1_2.cpp' due to option '--exclude cmake_project/test/'
[0.000s] [debug]: Accepted coverage for '/build/source/example/cmake_project/src/source1.cpp'
[0.061s] [debug]: Filtering coverage for '/build/source/example/cmake_project/test/latin1_test.cpp' due to option '--exclude cmake_project/test/'
[0.000s] [debug]: Accepted coverage for '/build/source/example/cmake_project/src/latin1_enc.cpp'
[0.000s] [debug]: Filtering coverage for '/build/source/example/cmake_project/test/test1.cpp' due to option '--exclude cmake_project/test/'
[0.004s] [debug]: Accepted coverage for '/build/source/example/cmake_project/src/source2.cpp'
[0.000s] [debug]: Accepted coverage for '/build/source/example/cmake_project/src/source1.cpp'
[0.003s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/initializer_list'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/basic_string.tcc'
[0.003s] [debug]: Accepted coverage for '/build/source/example/cmake_project/src/source2.cpp'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_iterator_base_types.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_iterator_base_funcs.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/basic_string.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/new_allocator.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/allocator.h'
[0.000s] [debug]: Filtering coverage for '/build/source/example/cmake_project/test/branch_test.cpp' due to option '--exclude cmake_project/test/'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/char_traits.h'
[0.009s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/move.h'
[0.001s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_construct.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/new_allocator.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/allocator.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_algobase.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_uninitialized.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_iterator_base_funcs.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/cpp_type_traits.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_vector.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/alloc_traits.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/initializer_list'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/vector.tcc'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_iterator_base_types.h'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/basic_string.tcc'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/basic_string.h'
[0.000s] [debug]: Accepted coverage for '/build/source/example/cmake_project/src/branches.cpp'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/new'
[0.000s] [debug]: Accepted coverage for '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/char_traits.h'
[0.030s] [info]: Processed 31 .gcov files (35 total, 4 skipped)
[0.000s] [debug]: Final report will contain coverage for the following 21 source files:
    /build/source/example/cmake_project/src/source1.cpp
    /build/source/example/cmake_project/src/source2.cpp
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/initializer_list
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/basic_string.tcc
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_iterator_base_types.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_iterator_base_funcs.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/basic_string.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/new_allocator.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/allocator.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/char_traits.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/move.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_construct.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_algobase.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_uninitialized.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/cpp_type_traits.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_vector.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/alloc_traits.h
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/vector.tcc
    /build/source/example/cmake_project/src/branches.cpp
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/new
    /build/source/example/cmake_project/src/latin1_enc.cpp
[0.004s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_iterator_base_funcs.h' to scan for exclusion markers...
[0.006s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/move.h' to scan for exclusion markers...
[0.006s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/initializer_list' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/basic_string.tcc' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_iterator_base_types.h' to scan for exclusion markers...
[0.005s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/basic_string.h' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/new_allocator.h' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/allocator.h' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/char_traits.h' to scan for exclusion markers...
[0.004s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_construct.h' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_algobase.h' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_uninitialized.h' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/cpp_type_traits.h' to scan for exclusion markers...
[0.022s] [info]: Spawned 5 exclusion marker scanning processes, each processing at most 5 source files
[0.023s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/stl_vector.h' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/alloc_traits.h' to scan for exclusion markers...
[0.001s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/bits/vector.tcc' to scan for exclusion markers...
[0.000s] [error]: Could not find '/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gcc-14.3.0/include/c++/14.3.0/new' to scan for exclusion markers...
[0.025s] [warning]: Could not decode '/build/source/example/cmake_project/src/latin1_enc.cpp' with utf-8 or fallback encodings (); ignoring errors
[0.012s] [info]: Scanned 21 source files for exclusion markers
[0.001s] [info]: Created lcov info file 'example.info'

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.9.9, NixOS, 24.05 (Uakari)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.21.1
  • channels(root): "nixos-24.05"
  • channels(user): "unstable-2025-08-01"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Notify maintainers

@Bot-wxt1221


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions