Source: ms-gsl
Version: 4.0.0-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: sramac...@debian.org

https://ci.debian.net/packages/m/ms-gsl/testing/amd64/53188527/

/usr/bin/clang++  -isystem 
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/googletest/googletest/include
 -std=c++14 -stdlib=libc++ -O3 -DNDEBUG -fno-strict-aliasing -Wall -Wcast-align 
-Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow 
-Wsign-conversion -Wno-deprecated-declarations -Weverything -Wno-c++98-compat 
-Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default 
-Wno-global-constructors -Wno-missing-prototypes -Wno-padded 
-Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables 
-Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD 
-MT CMakeFiles/gsl_tests.dir/utils_tests.cpp.o -MF 
CMakeFiles/gsl_tests.dir/utils_tests.cpp.o.d -o 
CMakeFiles/gsl_tests.dir/utils_tests.cpp.o -c 
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/utils_tests.cpp
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/notnull_tests.cpp:178:9:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  178 |         EXPECT_DEATH((not_null<decltype(pi)>(pi)), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/notnull_tests.cpp:235:9:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  235 |         EXPECT_DEATH(helper(return_pointer()), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/notnull_tests.cpp:236:9:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  236 |         EXPECT_DEATH(helper_const(return_pointer()), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/notnull_tests.cpp:307:5:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  307 |     EXPECT_DEATH(p = not_null<int*>(q), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:48:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   48 |     EXPECT_DEATH(gsl::at(a, -1), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:49:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   49 |     EXPECT_DEATH(gsl::at(a, 4), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:50:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   50 |     EXPECT_DEATH(gsl::at(c_a, -1), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:51:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   51 |     EXPECT_DEATH(gsl::at(c_a, 4), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:71:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   71 |     EXPECT_DEATH(gsl::at(a, -1), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
[ 93%] Linking CXX executable gsl_noexcept_tests
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:72:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   72 |     EXPECT_DEATH(gsl::at(a, 4), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:/usr/bin/cmake -E cmake_link_script 
CMakeFiles/gsl_noexcept_tests.dir/link.txt --verbose=1
179:3: note: expanded from macro 'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:73:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   73 |     EXPECT_DEATH(gsl::at(c_a, -1), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:74:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   74 |     EXPECT_DEATH(gsl::at(c_a, 4), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:94:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   94 |     EXPECT_DEATH(gsl::at(a, -1), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:95:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   95 |     EXPECT_DEATH(gsl::at(a, 4), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:/usr/bin/clang++ -std=c++14 
-stdlib=libc++ -O3 -DNDEBUG 
-L/tmp/autopkgtest-lxc.8ydsgog3/downtmp/autopkgtest_tmp/googletest/lib 
CMakeFiles/gsl_noexcept_tests.dir/no_exception_ensure_tests.cpp.o -o 
gsl_noexcept_tests
190:3: note: expanded from macro 'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:96:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   96 |     EXPECT_DEATH(gsl::at(c_a, -1), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:97:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   97 |     EXPECT_DEATH(gsl::at(c_a, 4), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   
EXPECT_EXIT(statemen/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/algorithm_tests.cpp:217:5:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
t,   217 |     EXPECT_DEATH(copy(src_span_dyn, dst_span_dyn), expected);
      |     ^
::/usr/include/gtest/gtest-death-test.htesting::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
:190:3: note: expanded from macro 'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/algorithm_tests.cpp:218:5:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  218 |     EXPECT_DEATH(copy(src_span_dyn, dst_span_static), 
expecte/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cppd);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  :116:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  116 |     EXPECT_DEATH(gsl::at(a, -1), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
233 |       switch (gtest_dt->AssumeRole()) {                                   
     \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:117:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  117 |     EXPECT_DEATH(gsl::at(a, 4), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTES/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/notnull_tests.cppT_:N541O:N9F:A
 Terror: AL'switch' missing 'default' label [-Werror,-Wswitch-default]_
FAILURE_)
      |     ^541
 |  /usr/include/gtest/internal/gtest-death-test-internal.h :233 : 7  :   
Enote: Xexpanded from macro 'GTEST_DEATH_TEST_'P
ECT_DEA  T233H | ( w o r k a rsowuintdch_ m(agctreos(t)_,d te-x>pAescstuemde)R;o
l      e(| )        ^)
 {     /usr/include/gtest/gtest-death-test.h : 190 : 3 :   note:  expanded from 
macro 'EXPECT_DEATH' 
           190  |      E X  P E C T _ E X I T ( s\t
a      t| e      ^m
ent, ::testing::internal::ExitedUnsuccessfully, matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:118:5: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  118 |     EXPECT_DEATH(gsl::at({1, 2, 3, 4}, -1), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, 
:/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/notnull_tests.cpp:550:9:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  550 |         EXPECT_DEATH(workaround_macro(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
:testing::internal::ExitedUnsuccessfully, matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   
GTEST_DEATH_T/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/notnull_tests.cpp:556:9:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  EST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/algorithm_tests.cpp:233::7:219
 :note: 5expanded from macro 'GTEST_DEATH_TEST_':
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  233 |       switch   219( | g t e s tE_XdPtE-C>TAs_sDuEmeARToHl(e(c)o)p y{( s 
 r c _ s  p a n _ s t  a  t i c  ,   d s t  _ s p a  n _  d y n )  ,\ 
e      |       ^x
pected);
      |     ^
/usr/include/gtest/gtest-death-test.h556 |         
EXPECT_DEATH(helper(make_not_null(p)), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
:190:3: note: expanded from macro 'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, 
::testing::inte/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/at_tests.cpp:119:5:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  119 |     EXPECT_DEATH(gsl::at({1, 2, 3, 4}, 4), expected);
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
rnal::ExitedUn/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/notnull_tests.cpp:557:9:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  557 |         EXPECT_DEATH(helper_const(make_not_null(p)), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_sNONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
uccessfully, matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
make[2]: Leaving directory 
'/tmp/autopkgtest-lxc.8ydsgog3/downtmp/autopkgtest_tmp/ms-gsl'
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_tests.cpp:133:9: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  133 |         EXPECT_DEATH(workaround_macro(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_tests.cpp:137:9: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  137 |         EXPECT_DEATH([ 93%] Built target gsl_noexcept_tests
workaround_macro(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_tests.cpp:140:9: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  140 |         EXPECT_DEATH(const_workaround_macro(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_tests.cpp:144:9: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  144 |         EXPECT_DEATH(workaround_macro(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_tests.cpp:147:9: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  147 |         EXPECT_DEATH(const_workaround_macro(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_ext_tests.cpp:59:9:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   59 |         EXPECT_DEATH(workaround_macro(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_tests.cpp:210:9: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  210 |         EXPECT_DEATH(workaround_macro(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/assertion_tests.cpp:48:5:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   48 |     EXPECT_DEATH(f(10), GetExpectedDeathString(terminateHandler));
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/assertion_tests.cpp:59:5:
 error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
   59 |     EXPECT_DEATH(g(9), GetExpectedDeathString(terminateHandler));
      |     ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_tests.cpp:740:9: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  740 |         EXPECT_DEATH(av.first(6).size(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
16 errors generated.
/tmp/autopkgtest-lxc.8ydsgog3/downtmp/build.aB4/src/tests/span_tests.cpp:783:9: 
error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
  783 |         EXPECT_DEATH(av.last(6).size(), expected);
      |         ^
/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 
'EXPECT_DEATH'
  190 |   EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, 
matcher)
      |   ^
/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 
'EXPECT_EXIT'
  179 |   GTEST_DEATH_TEST_(statement, predicate, matcher, 
GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/internal/gtest-death-test-internal.h:233:7: note: expanded 
from macro 'GTEST_DEATH_TEST_'
  233 |       switch (gtest_dt->AssumeRole()) {                                 
       \
      |       ^
make[2]: *** [CMakeFiles/gsl_tests.dir/build.make:107: 
CMakeFiles/gsl_tests.dir/at_tests.cpp.o] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to