Dear maintainer(s),
With a recent upload of gcc-defaults the autopkgtest of
howardhinnant-date fails in testing when that autopkgtest is run with
the binary packages of gcc-defaults from unstable. It passes when run
with only packages from testing. In tabular form:
pass fail
gcc-defaults from testing 1.233
howardhinnant-date from testing 3.0.3+ds-2
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of gcc-defaults to
testing [1]. Of course, gcc-defaults shouldn't just break your
autopkgtest (or even worse, your package), but it seems to me that the
change in gcc-defaults was intended and your package needs to update to
the new situation.
If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from gcc-defaults should
really add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=gcc-defaults
https://ci.debian.net/data/autopkgtest/testing/amd64/h/howardhinnant-date/74064718/log.gz
59s -- The C compiler identification is GNU 16.1.0
59s -- The CXX compiler identification is GNU 16.1.0
59s -- Detecting C compiler ABI info
59s -- Detecting C compiler ABI info - done
59s -- Check for working C compiler: /usr/bin/cc - skipped
59s -- Detecting C compile features
59s -- Detecting C compile features - done
59s -- Detecting CXX compiler ABI info
59s -- Detecting CXX compiler ABI info - done
59s -- Check for working CXX compiler: /usr/bin/c++ - skipped
59s -- Detecting CXX compile features
59s -- Detecting CXX compile features - done
59s -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
59s -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
59s -- Found Threads: TRUE
59s -- Configuring done (0.4s)
59s -- Generating done (0.0s)
59s -- Build files have been written to:
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build
59s Change Dir: '/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build'
59s 59s Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1
/usr/bin/gmake -f Makefile
59s /usr/bin/cmake -S/tmp/autopkgtest.FWbwHe/autopkgtest_tmp
-B/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build --check-build-system
CMakeFiles/Makefile.cmake 0
59s /usr/bin/cmake -E cmake_progress_start
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build/CMakeFiles
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build//CMakeFiles/progress.marks
59s /usr/bin/gmake -f CMakeFiles/Makefile2 all
59s gmake[1]: Entering directory
'/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build'
59s /usr/bin/gmake -f CMakeFiles/main.dir/build.make
CMakeFiles/main.dir/depend
59s gmake[2]: Entering directory
'/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build'
59s cd /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build && /usr/bin/cmake
-E cmake_depends "Unix Makefiles"
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build/CMakeFiles/main.dir/DependInfo.cmake
"--color=" main
59s gmake[2]: Leaving directory
'/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build'
59s /usr/bin/gmake -f CMakeFiles/main.dir/build.make
CMakeFiles/main.dir/build
59s gmake[2]: Entering directory
'/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build'
59s [ 50%] Building CXX object CMakeFiles/main.dir/main.cpp.o
59s /usr/bin/c++ -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -DUSE_OS_TZDB=1
-Wno-psabi -MD -MT CMakeFiles/main.dir/main.cpp.o -MF
CMakeFiles/main.dir/main.cpp.o.d -o CMakeFiles/main.dir/main.cpp.o -c
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp: In function ‘int
main()’:
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:112:57: error:
template argument 1 is invalid
60s 112 | static_assert(
is_nothrow_destructible<zoned_seconds>{}, "");
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:113:58: error:
template argument 1 is invalid
60s 113 | static_assert(
is_default_constructible<zoned_seconds>{}, "");
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:114:63: error:
template argument 1 is invalid
60s 114 | static_assert(
is_nothrow_copy_constructible<zoned_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:115:60: error:
template argument 1 is invalid
60s 115 | static_assert(
is_nothrow_copy_assignable<zoned_seconds>{}, "");
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:116:63: error:
template argument 1 is invalid
60s 116 | static_assert(
is_nothrow_move_constructible<zoned_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:117:60: error:
template argument 1 is invalid
60s 117 | static_assert(
is_nothrow_move_assignable<zoned_seconds>{}, "");
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:119:65: error:
wrong number of template arguments (1, should be 2)
60s 119 | static_assert(is_same<zoned_time<minutes>::duration,
seconds>{}, "");
60s |
^
60s In file included from /usr/include/c++/16/bits/cpp_type_traits.h:42,
60s from /usr/include/c++/16/bits/stl_algobase.h:60,
60s from /usr/include/c++/16/algorithm:62,
60s from /usr/include/date/date.h:44,
60s from /usr/include/date/tz.h:99,
60s from
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:100:
60s /usr/include/c++/16/type_traits:910:12: note: provided for
‘template<class, class> struct std::is_same’
60s 910 | struct is_same;
60s | ^~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:120:59: error:
wrong number of template arguments (1, should be 2)
60s 120 | static_assert(is_same<zoned_seconds::duration,
seconds>{}, "");
60s | ^
60s /usr/include/c++/16/type_traits:910:12: note: provided for
‘template<class, class> struct std::is_same’
60s 910 | struct is_same;
60s | ^~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:121:75: error:
wrong number of template arguments (1, should be 2)
60s 121 |
static_assert(is_same<zoned_time<milliseconds>::duration,
milliseconds>{}, "");
60s |
^
60s /usr/include/c++/16/type_traits:910:12: note: provided for
‘template<class, class> struct std::is_same’
60s 910 | struct is_same;
60s | ^~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:125:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 125 | zoned_seconds zt;
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s In file included from /usr/include/date/date.h:46:
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s In file included from /usr/include/c++/16/cassert:46,
60s from
/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:101:
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:126:16: error:
‘zt’ was not declared in this scope
60s 126 | assert(zt.get_sys_time() == sys_seconds{});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:132:62: error:
template argument 1 is invalid
60s 132 | static_assert(!is_convertible<sys_days,
zoned_seconds>{}, "");
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:132:62: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:133:64: error:
template argument 1 is invalid
60s 133 | static_assert( is_constructible<zoned_seconds,
sys_days>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:133:64: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:134:65: error:
template argument 2 is invalid
60s 134 | static_assert( is_convertible<sys_seconds,
zoned_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:135:76: error:
template argument 2 is invalid
60s 135 |
static_assert(!is_convertible<sys_time<milliseconds>, zoned_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:136:77: error:
template argument 1 is invalid
60s 136 | static_assert(!is_constructible<zoned_seconds,
sys_time<milliseconds>>{}, "");
60s |
^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:139:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 139 | zoned_seconds zt = now;
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:140:16: error:
‘zt’ was not declared in this scope
60s 140 | assert(zt.get_sys_time() == now);
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:146:45: error:
ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
60s 146 | static_assert(!is_convertible<const time_zone*,
zoned_seconds>{}, "");
60s | ^~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:146:70: error:
wrong number of template arguments (1, should be 2)
60s 146 | static_assert(!is_convertible<const time_zone*,
zoned_seconds>{}, "");
60s |
^
60s /usr/include/c++/16/type_traits:1657:12: note: provided for
‘template<class _From, class _To> struct std::is_convertible’
60s 1657 | struct is_convertible
60s | ^~~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:147:62: error:
ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
60s 147 | static_assert( is_constructible<zoned_seconds,
const time_zone*>{}, "");
60s |
^~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:147:72: error:
template argument 1 is invalid
60s 147 | static_assert( is_constructible<zoned_seconds,
const time_zone*>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:147:72: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:148:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 148 | zoned_seconds zt{locate_zone("America/New_York")};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:149:16: error:
‘zt’ was not declared in this scope
60s 149 | assert(zt.get_sys_time() == sys_seconds{});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:155:65: error:
template argument 2 is invalid
60s 155 | static_assert(!is_convertible<std::string,
zoned_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:156:67: error:
template argument 1 is invalid
60s 156 | static_assert( is_constructible<zoned_seconds,
std::string>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:157:67: error:
template argument 1 is invalid
60s 157 | static_assert( is_constructible<zoned_seconds,
const char*>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:158:69: error:
template argument 1 is invalid
60s 158 | static_assert( is_constructible<zoned_seconds,
const char[3]>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:159:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 159 | zoned_seconds zt{"America/New_York"};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:160:16: error:
‘zt’ was not declared in this scope
60s 160 | assert(zt.get_sys_time() == sys_seconds{});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:172:70: error:
wrong number of template arguments (1, should be 2)
60s 172 | static_assert( is_convertible<zoned_time<days>,
zoned_seconds>{}, "");
60s |
^
60s /usr/include/c++/16/type_traits:1657:12: note: provided for
‘template<class _From, class _To> struct std::is_convertible’
60s 1657 | struct is_convertible
60s | ^~~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:173:72: error:
template argument 1 is invalid
60s 173 | static_assert(!is_constructible<zoned_time<days>,
zoned_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:174:9: error:
reference to ‘zoned_time’ is ambiguous
60s 174 | zoned_time<days> zt1{"America/New_York",
sys_days{2017_y/jul/5}};
60s | ^~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘template<class _Duration, class _TimeZonePtr>
class std::chrono::zoned_time’
60s /usr/include/c++/16/chrono:2999:13:
60s 2999 | class zoned_time
60s | ^~~~~~~~~~
60s • candidate 2: ‘template<class Duration, class TimeZonePtr>
class date::zoned_time’
60s /usr/include/date/tz.h:335:7:
60s 335 | class zoned_time;
60s | ^~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:174:20: error:
reference to ‘days’ is ambiguous
60s 174 | zoned_time<days> zt1{"America/New_York",
sys_days{2017_y/jul/5}};
60s | ^~~~
60s • there are 2 candidates
60s In file included from /usr/include/c++/16/chrono:51:
60s • candidate 1: ‘using std::chrono::days = class
std::chrono::duration<long int, std::ratio<86400> >’
60s /usr/include/c++/16/bits/chrono.h:911:11:
60s 911 | using days =
duration<_GLIBCXX_CHRONO_INT64_T, ratio<86400>>;
60s | ^~~~
60s • candidate 2: ‘using date::days = class
std::chrono::duration<int, std::ratio<86400> >’
60s /usr/include/date/date.h:176:7:
60s 176 | using days = std::chrono::duration
60s | ^~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:174:26: error:
‘zt1’ was not declared in this scope
60s 174 | zoned_time<days> zt1{"America/New_York",
sys_days{2017_y/jul/5}};
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:175:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 175 | zoned_seconds zt2 = zt1;
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:176:16: error:
‘zt2’ was not declared in this scope
60s 176 | assert(zt2.get_sys_time() == sys_days{2017_y/jul/5});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:176:38: error:
reference to ‘sys_days’ is ambiguous
60s 176 | assert(zt2.get_sys_time() == sys_days{2017_y/jul/5});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:176:46: error:
expected ‘)’ before ‘{’ token
60s 176 | assert(zt2.get_sys_time() == sys_days{2017_y/jul/5});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:176:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:176:9: note: to
match this ‘(’
60s 176 | assert(zt2.get_sys_time() == sys_days{2017_y/jul/5});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:182:62: error:
ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
60s 182 | static_assert( is_constructible<zoned_seconds,
const time_zone*, local_days>{}, "");
60s |
^~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:182:84: error:
template argument 1 is invalid
60s 182 | static_assert( is_constructible<zoned_seconds,
const time_zone*, local_days>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:182:84: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:183:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 183 | zoned_seconds zt =
{locate_zone("America/New_York"), local_days{2017_y/jul/5}};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:184:16: error:
‘zt’ was not declared in this scope
60s 184 | assert(zt.get_local_time() ==
local_days{2017_y/jul/5});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:188:13: error:
reference to ‘zoned_seconds’ is ambiguous
60s 188 | zoned_seconds zt1 =
{locate_zone("America/New_York"),
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:192:21: error:
ISO C++ forbids declaration of ‘nonexistent_local_time’ with no type
[-fpermissive]
60s 192 | catch(const nonexistent_local_time&)
60s | ^~~~~~~~~~~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:192:43: error:
expected ‘)’ before ‘&’ token
60s 192 | catch(const nonexistent_local_time&)
60s | ~ ^
60s | )
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:192:43: error:
expected ‘{’ before ‘&’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:192:44: error:
expected primary-expression before ‘)’ token
60s 192 | catch(const nonexistent_local_time&)
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:197:13: error:
reference to ‘zoned_seconds’ is ambiguous
60s 197 | zoned_seconds zt1 =
{locate_zone("America/New_York"),
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:201:21: error:
ISO C++ forbids declaration of ‘ambiguous_local_time’ with no type
[-fpermissive]
60s 201 | catch(const ambiguous_local_time&)
60s | ^~~~~~~~~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:201:41: error:
expected ‘)’ before ‘&’ token
60s 201 | catch(const ambiguous_local_time&)
60s | ~ ^
60s | )
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:201:41: error:
expected ‘{’ before ‘&’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:201:42: error:
expected primary-expression before ‘)’ token
60s 201 | catch(const ambiguous_local_time&)
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:208:79: error:
template argument 1 is invalid
60s 208 | static_assert( is_constructible<zoned_seconds,
std::string, local_days>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:209:79: error:
template argument 1 is invalid
60s 209 | static_assert( is_constructible<zoned_seconds,
const char*, local_days>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:210:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 210 | zoned_seconds zt = {"America/New_York",
local_days{2017_y/jul/5}};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:211:16: error:
‘zt’ was not declared in this scope
60s 211 | assert(zt.get_local_time() ==
local_days{2017_y/jul/5});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:215:13: error:
reference to ‘zoned_seconds’ is ambiguous
60s 215 | zoned_seconds zt1 = {"America/New_York",
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:219:21: error:
ISO C++ forbids declaration of ‘nonexistent_local_time’ with no type
[-fpermissive]
60s 219 | catch(const nonexistent_local_time&)
60s | ^~~~~~~~~~~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:219:43: error:
expected ‘)’ before ‘&’ token
60s 219 | catch(const nonexistent_local_time&)
60s | ~ ^
60s | )
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:219:43: error:
expected ‘{’ before ‘&’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:219:44: error:
expected primary-expression before ‘)’ token
60s 219 | catch(const nonexistent_local_time&)
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:224:13: error:
reference to ‘zoned_seconds’ is ambiguous
60s 224 | zoned_seconds zt1 = {"America/New_York",
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:228:21: error:
ISO C++ forbids declaration of ‘ambiguous_local_time’ with no type
[-fpermissive]
60s 228 | catch(const ambiguous_local_time&)
60s | ^~~~~~~~~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:228:41: error:
expected ‘)’ before ‘&’ token
60s 228 | catch(const ambiguous_local_time&)
60s | ~ ^
60s | )
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:228:41: error:
expected ‘{’ before ‘&’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:228:42: error:
expected primary-expression before ‘)’ token
60s 228 | catch(const ambiguous_local_time&)
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:235:62: error:
ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
60s 235 | static_assert( is_constructible<zoned_seconds,
const time_zone*, local_days, choose>{}, "");
60s |
^~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:235:92: error:
template argument 1 is invalid
60s 235 | static_assert( is_constructible<zoned_seconds,
const time_zone*, local_days, choose>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:235:92: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:236:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 236 | zoned_seconds zt = {locate_zone("America/New_York"),
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:239:16: error:
‘zt’ was not declared in this scope
60s 239 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:239:37: error:
reference to ‘sys_days’ is ambiguous
60s 239 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:239:45: error:
expected ‘)’ before ‘{’ token
60s 239 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:239:45: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:239:9: note: to
match this ‘(’
60s 239 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:242:26: error:
call of overloaded ‘locate_zone(const char [17])’ is ambiguous
60s 242 | zt = {locate_zone("America/New_York"),
60s | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘const date::time_zone*
date::locate_zone(std::string_view)’
60s /usr/include/date/tz.h:284:27:
60s 284 | DATE_API const time_zone*
locate_zone(std::string_view tz_name);
60s | ^~~~~~~~~~~
60s • candidate 2: ‘const std::chrono::time_zone*
std::chrono::locate_zone(std::string_view)’
60s /usr/include/c++/16/chrono:2718:22:
60s 2718 | const time_zone* locate_zone(string_view __tz_name);
60s | ^~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:244:29: error:
reference to ‘choose’ is ambiguous
60s 244 | choose::latest};
60s | ^~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘enum class std::chrono::choose’
60s /usr/include/c++/16/chrono:2633:16:
60s 2633 | enum class choose { earliest, latest };
60s | ^~~~~~
60s • candidate 2: ‘enum class date::choose’
60s /usr/include/date/tz.h:140:12:
60s 140 | enum class choose {earliest, latest};
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:245:37: error:
reference to ‘sys_days’ is ambiguous
60s 245 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:245:45: error:
expected ‘)’ before ‘{’ token
60s 245 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:245:45: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:245:9: note: to
match this ‘(’
60s 245 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:248:62: error:
ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
60s 248 | static_assert( is_constructible<zoned_seconds,
const time_zone*, local_days, choose>{}, "");
60s |
^~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:248:92: error:
template argument 1 is invalid
60s 248 | static_assert( is_constructible<zoned_seconds,
const time_zone*, local_days, choose>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:248:92: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:249:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 249 | zoned_seconds zt1 = {locate_zone("America/New_York"),
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:252:16: error:
‘zt1’ was not declared in this scope
60s 252 | assert(zt1.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:252:38: error:
reference to ‘sys_days’ is ambiguous
60s 252 | assert(zt1.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:252:46: error:
expected ‘)’ before ‘{’ token
60s 252 | assert(zt1.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:252:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:252:9: note: to
match this ‘(’
60s 252 | assert(zt1.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:255:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 255 | zoned_seconds zt2 = {locate_zone("America/New_York"),
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:258:16: error:
‘zt2’ was not declared in this scope
60s 258 | assert(zt2.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:258:38: error:
reference to ‘sys_days’ is ambiguous
60s 258 | assert(zt2.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:258:46: error:
expected ‘)’ before ‘{’ token
60s 258 | assert(zt2.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:258:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:258:9: note: to
match this ‘(’
60s 258 | assert(zt2.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:261:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 261 | zoned_seconds zt3 = {locate_zone("America/New_York"),
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:264:16: error:
‘zt3’ was not declared in this scope
60s 264 | assert(zt3.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{5} + minutes{15});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:264:38: error:
reference to ‘sys_days’ is ambiguous
60s 264 | assert(zt3.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{5} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:264:46: error:
expected ‘)’ before ‘{’ token
60s 264 | assert(zt3.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{5} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:264:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:264:9: note: to
match this ‘(’
60s 264 | assert(zt3.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{5} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:267:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 267 | zoned_seconds zt4 = {locate_zone("America/New_York"),
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:270:16: error:
‘zt4’ was not declared in this scope
60s 270 | assert(zt4.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{6} + minutes{15});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:270:38: error:
reference to ‘sys_days’ is ambiguous
60s 270 | assert(zt4.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{6} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:270:46: error:
expected ‘)’ before ‘{’ token
60s 270 | assert(zt4.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{6} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:270:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:270:9: note: to
match this ‘(’
60s 270 | assert(zt4.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{6} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:276:87: error:
template argument 1 is invalid
60s 276 | static_assert( is_constructible<zoned_seconds,
std::string, local_days, choose>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:276:87: error:
template argument 4 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:277:87: error:
template argument 1 is invalid
60s 277 | static_assert( is_constructible<zoned_seconds,
const char*, local_days, choose>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:277:87: error:
template argument 4 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:278:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 278 | zoned_seconds zt = {"America/New_York",
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:281:16: error:
‘zt’ was not declared in this scope
60s 281 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:281:37: error:
reference to ‘sys_days’ is ambiguous
60s 281 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:281:45: error:
expected ‘)’ before ‘{’ token
60s 281 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:281:45: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:281:9: note: to
match this ‘(’
60s 281 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:286:29: error:
reference to ‘choose’ is ambiguous
60s 286 | choose::latest};
60s | ^~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘enum class std::chrono::choose’
60s /usr/include/c++/16/chrono:2633:16:
60s 2633 | enum class choose { earliest, latest };
60s | ^~~~~~
60s • candidate 2: ‘enum class date::choose’
60s /usr/include/date/tz.h:140:12:
60s 140 | enum class choose {earliest, latest};
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:287:37: error:
reference to ‘sys_days’ is ambiguous
60s 287 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:287:45: error:
expected ‘)’ before ‘{’ token
60s 287 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:287:45: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:287:9: note: to
match this ‘(’
60s 287 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{6} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:290:62: error:
ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
60s 290 | static_assert( is_constructible<zoned_seconds,
const time_zone*, local_days, choose>{}, "");
60s |
^~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:290:92: error:
template argument 1 is invalid
60s 290 | static_assert( is_constructible<zoned_seconds,
const time_zone*, local_days, choose>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:290:92: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:291:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 291 | zoned_seconds zt1 = {"America/New_York",
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:294:16: error:
‘zt1’ was not declared in this scope
60s 294 | assert(zt1.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:294:38: error:
reference to ‘sys_days’ is ambiguous
60s 294 | assert(zt1.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:294:46: error:
expected ‘)’ before ‘{’ token
60s 294 | assert(zt1.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:294:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:294:9: note: to
match this ‘(’
60s 294 | assert(zt1.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:297:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 297 | zoned_seconds zt2 = {"America/New_York",
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:300:16: error:
‘zt2’ was not declared in this scope
60s 300 | assert(zt2.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:300:38: error:
reference to ‘sys_days’ is ambiguous
60s 300 | assert(zt2.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:300:46: error:
expected ‘)’ before ‘{’ token
60s 300 | assert(zt2.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:300:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:300:9: note: to
match this ‘(’
60s 300 | assert(zt2.get_sys_time() ==
sys_days{2017_y/mar/12} + hours{7});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:303:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 303 | zoned_seconds zt3 = {"America/New_York",
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:306:16: error:
‘zt3’ was not declared in this scope
60s 306 | assert(zt3.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{5} + minutes{15});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:306:38: error:
reference to ‘sys_days’ is ambiguous
60s 306 | assert(zt3.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{5} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:306:46: error:
expected ‘)’ before ‘{’ token
60s 306 | assert(zt3.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{5} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:306:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:306:9: note: to
match this ‘(’
60s 306 | assert(zt3.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{5} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:309:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 309 | zoned_seconds zt4 = {"America/New_York",
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:312:16: error:
‘zt4’ was not declared in this scope
60s 312 | assert(zt4.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{6} + minutes{15});
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:312:38: error:
reference to ‘sys_days’ is ambiguous
60s 312 | assert(zt4.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{6} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:312:46: error:
expected ‘)’ before ‘{’ token
60s 312 | assert(zt4.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{6} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:312:46: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:312:9: note: to
match this ‘(’
60s 312 | assert(zt4.get_sys_time() ==
sys_days{2017_y/nov/5} + hours{6} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:318:62: error:
ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
60s 318 | static_assert( is_constructible<zoned_seconds,
const time_zone*, sys_days>{}, "");
60s |
^~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:318:82: error:
template argument 1 is invalid
60s 318 | static_assert( is_constructible<zoned_seconds,
const time_zone*, sys_days>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:318:82: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:320:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 320 | zoned_seconds zt = {locate_zone("America/New_York"),
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:322:16: error:
‘zt’ was not declared in this scope
60s 322 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{2} + minutes{15});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:322:37: error:
reference to ‘sys_days’ is ambiguous
60s 322 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{2} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:322:45: error:
expected ‘)’ before ‘{’ token
60s 322 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{2} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:322:45: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:322:9: note: to
match this ‘(’
60s 322 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{2} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:328:77: error:
template argument 1 is invalid
60s 328 | static_assert( is_constructible<zoned_seconds,
std::string, sys_days>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:328:77: error:
template argument 3 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:329:77: error:
template argument 1 is invalid
60s 329 | static_assert( is_constructible<zoned_seconds,
const char*, sys_days>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:329:77: error:
template argument 3 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:331:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 331 | zoned_seconds zt = {"America/New_York",
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:333:16: error:
‘zt’ was not declared in this scope
60s 333 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{2} + minutes{15});
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:333:37: error:
reference to ‘sys_days’ is ambiguous
60s 333 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{2} + minutes{15});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:333:45: error:
expected ‘)’ before ‘{’ token
60s 333 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{2} + minutes{15});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:333:45: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:333:9: note: to
match this ‘(’
60s 333 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5}
+ hours{2} + minutes{15});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:339:59: error:
ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
60s 339 | static_assert( is_assignable<zoned_seconds, const
sys_days&>{}, "");
60s |
^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:339:68: error:
template argument 1 is invalid
60s 339 | static_assert( is_assignable<zoned_seconds, const
sys_days&>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:339:68: error:
template argument 2 is invalid
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:341:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 341 | zoned_seconds zt{"America/New_York"};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:342:9: error:
‘zt’ was not declared in this scope
60s 342 | zt = sys_days{2017_y/jul/5};
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:342:14: error:
reference to ‘sys_days’ is ambiguous
60s 342 | zt = sys_days{2017_y/jul/5};
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:343:37: error:
reference to ‘sys_days’ is ambiguous
60s 343 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:343:45: error:
expected ‘)’ before ‘{’ token
60s 343 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:343:45: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:343:9: note: to
match this ‘(’
60s 343 | assert(zt.get_sys_time() == sys_days{2017_y/jul/5});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:349:70: error:
template argument 1 is invalid
60s 349 | static_assert( is_assignable<zoned_seconds, const
local_days&>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:351:9: error:
reference to ‘zoned_seconds’ is ambiguous
60s 351 | zoned_seconds zt{"America/New_York"};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:352:9: error:
‘zt’ was not declared in this scope
60s 352 | zt = local_days{2017_y/jul/5};
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:361:21: error:
ISO C++ forbids declaration of ‘nonexistent_local_time’ with no type
[-fpermissive]
60s 361 | catch(const nonexistent_local_time&)
60s | ^~~~~~~~~~~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:361:43: error:
expected ‘)’ before ‘&’ token
60s 361 | catch(const nonexistent_local_time&)
60s | ~ ^
60s | )
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:361:43: error:
expected ‘{’ before ‘&’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:361:44: error:
expected primary-expression before ‘)’ token
60s 361 | catch(const nonexistent_local_time&)
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:372:21: error:
ISO C++ forbids declaration of ‘ambiguous_local_time’ with no type
[-fpermissive]
60s 372 | catch(const ambiguous_local_time&)
60s | ^~~~~~~~~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:372:41: error:
expected ‘)’ before ‘&’ token
60s 372 | catch(const ambiguous_local_time&)
60s | ~ ^
60s | )
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:372:41: error:
expected ‘{’ before ‘&’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:372:42: error:
expected primary-expression before ‘)’ token
60s 372 | catch(const ambiguous_local_time&)
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:381:65: error:
template argument 1 is invalid
60s 381 | static_assert(!is_convertible<zoned_seconds,
sys_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:382:67: error:
template argument 2 is invalid
60s 382 | static_assert( is_constructible<sys_seconds,
zoned_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:384:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 384 | const zoned_seconds zt = {"America/New_York", now};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:385:28: error:
‘zt’ was not declared in this scope
60s 385 | assert(sys_seconds{zt} == now);
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:385:30: error: no
matching function for call to
‘std::chrono::time_point<std::chrono::_V2::system_clock,
std::chrono::duration<long int> >::time_point(<brace-enclosed
initializer list>)’
60s 385 | assert(sys_seconds{zt} == now);
60s | ^
60s • there are 5 candidates
60s • candidate 1: ‘template<class _Dur2, class> constexpr
std::chrono::time_point<_Clock, _Dur>::time_point(const
std::chrono::time_point<_Clock, _Dur2>&) [with <template-parameter-2-2>
= _Dur2; _Clock = std::chrono::_V2::system_clock; _Dur =
std::chrono::duration<long int>]’
60s /usr/include/c++/16/bits/chrono.h:947:21:
60s 947 | constexpr time_point(const
time_point<clock, _Dur2>& __t)
60s | ^~~~~~~~~~
60s • template argument deduction/substitution failed:
60s • candidate 2: ‘constexpr std::chrono::time_point<_Clock,
_Dur>::time_point(const duration&) [with _Clock =
std::chrono::_V2::system_clock; _Dur = std::chrono::duration<long int>;
duration = std::chrono::duration<long int>]’
60s /usr/include/c++/16/bits/chrono.h:940:28:
60s 940 | constexpr explicit time_point(const
duration& __dur)
60s | ^~~~~~~~~~
60s • conversion of argument 1 would be ill-formed:
60s • candidate 3: ‘constexpr std::chrono::time_point<_Clock,
_Dur>::time_point() [with _Clock = std::chrono::_V2::system_clock; _Dur
= std::chrono::duration<long int>]’
60s /usr/include/c++/16/bits/chrono.h:937:19:
60s 937 | constexpr time_point() : __d(duration::zero())
60s | ^~~~~~~~~~
60s • candidate expects 0 arguments, 1 provided
60s • candidate 4: ‘constexpr
std::chrono::time_point<std::chrono::_V2::system_clock,
std::chrono::duration<long int> >::time_point(const
std::chrono::time_point<std::chrono::_V2::system_clock,
std::chrono::duration<long int> >&)’
60s /usr/include/c++/16/bits/chrono.h:926:13:
60s 926 | class time_point
60s | ^~~~~~~~~~
60s • conversion of argument 1 would be ill-formed:
60s • candidate 5: ‘constexpr
std::chrono::time_point<std::chrono::_V2::system_clock,
std::chrono::duration<long int>
>::time_point(std::chrono::time_point<std::chrono::_V2::system_clock,
std::chrono::duration<long int> >&&)’
60s • conversion of argument 1 would be ill-formed:
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:390:67: error:
template argument 1 is invalid
60s 390 | static_assert(!is_convertible<zoned_seconds,
local_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:391:69: error:
template argument 2 is invalid
60s 391 | static_assert( is_constructible<local_seconds,
zoned_seconds>{}, "");
60s |
^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:393:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 393 | const zoned_seconds zt = {"America/New_York", now};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:394:30: error:
‘zt’ was not declared in this scope
60s 394 | assert(local_seconds{zt} == now);
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:394:32: error: no
matching function for call to ‘std::chrono::time_point<date::local_t,
std::chrono::duration<long int> >::time_point(<brace-enclosed
initializer list>)’
60s 394 | assert(local_seconds{zt} == now);
60s | ^
60s • there are 5 candidates
60s • candidate 1: ‘template<class _Dur2, class> constexpr
std::chrono::time_point<_Clock, _Dur>::time_point(const
std::chrono::time_point<_Clock, _Dur2>&) [with <template-parameter-2-2>
= _Dur2; _Clock = date::local_t; _Dur = std::chrono::duration<long int>]’
60s /usr/include/c++/16/bits/chrono.h:947:21:
60s 947 | constexpr time_point(const
time_point<clock, _Dur2>& __t)
60s | ^~~~~~~~~~
60s • template argument deduction/substitution failed:
60s • candidate 2: ‘constexpr std::chrono::time_point<_Clock,
_Dur>::time_point(const duration&) [with _Clock = date::local_t; _Dur =
std::chrono::duration<long int>; duration = std::chrono::duration<long
int>]’
60s /usr/include/c++/16/bits/chrono.h:940:28:
60s 940 | constexpr explicit time_point(const
duration& __dur)
60s | ^~~~~~~~~~
60s • conversion of argument 1 would be ill-formed:
60s • candidate 3: ‘constexpr std::chrono::time_point<_Clock,
_Dur>::time_point() [with _Clock = date::local_t; _Dur =
std::chrono::duration<long int>]’
60s /usr/include/c++/16/bits/chrono.h:937:19:
60s 937 | constexpr time_point() : __d(duration::zero())
60s | ^~~~~~~~~~
60s • candidate expects 0 arguments, 1 provided
60s • candidate 4: ‘constexpr
std::chrono::time_point<date::local_t, std::chrono::duration<long int>
>::time_point(const std::chrono::time_point<date::local_t,
std::chrono::duration<long int> >&)’
60s /usr/include/c++/16/bits/chrono.h:926:13:
60s 926 | class time_point
60s | ^~~~~~~~~~
60s • conversion of argument 1 would be ill-formed:
60s • candidate 5: ‘constexpr
std::chrono::time_point<date::local_t, std::chrono::duration<long int>
>::time_point(std::chrono::time_point<date::local_t,
std::chrono::duration<long int> >&&)’
60s • conversion of argument 1 would be ill-formed:
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:399:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 399 | const zoned_seconds zt{"America/New_York"};
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:400:16: error:
‘zt’ was not declared in this scope
60s 400 | assert(zt.get_time_zone() ==
locate_zone("America/New_York"));
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:400:49: error:
call of overloaded ‘locate_zone(const char [17])’ is ambiguous
60s 400 | assert(zt.get_time_zone() ==
locate_zone("America/New_York"));
60s |
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘const date::time_zone*
date::locate_zone(std::string_view)’
60s /usr/include/date/tz.h:284:27:
60s 284 | DATE_API const time_zone*
locate_zone(std::string_view tz_name);
60s | ^~~~~~~~~~~
60s • candidate 2: ‘const std::chrono::time_zone*
std::chrono::locate_zone(std::string_view)’
60s /usr/include/c++/16/chrono:2718:22:
60s 2718 | const time_zone* locate_zone(string_view __tz_name);
60s | ^~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:405:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 405 | const zoned_seconds zt{"America/New_York",
sys_days{2017_y/jul/6} +
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:407:16: error:
‘zt’ was not declared in this scope
60s 407 | assert(zt.get_local_time() ==
local_days{2017_y/jul/5} +
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:413:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 413 | const zoned_seconds zt{"America/New_York",
sys_days{2017_y/jul/6} +
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:415:16: error:
‘zt’ was not declared in this scope
60s 415 | assert(zt.get_sys_time() == sys_days{2017_y/jul/6} +
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:415:37: error:
reference to ‘sys_days’ is ambiguous
60s 415 | assert(zt.get_sys_time() == sys_days{2017_y/jul/6} +
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:415:45: error:
expected ‘)’ before ‘{’ token
60s 415 | assert(zt.get_sys_time() == sys_days{2017_y/jul/6} +
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:415:45: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:415:9: note: to
match this ‘(’
60s 415 | assert(zt.get_sys_time() == sys_days{2017_y/jul/6} +
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:421:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 421 | const zoned_seconds zt{"America/New_York",
sys_days{2017_y/jul/6} +
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:423:21: error:
‘zt’ was not declared in this scope
60s 423 | auto info = zt.get_info();
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:424:30: error:
reference to ‘sys_days’ is ambiguous
60s 424 | assert(info.begin == sys_days{2017_y/mar/12} +
hours{7});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:424:38: error:
expected ‘)’ before ‘{’ token
60s 424 | assert(info.begin == sys_days{2017_y/mar/12} +
hours{7});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:424:38: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:424:9: note: to
match this ‘(’
60s 424 | assert(info.begin == sys_days{2017_y/mar/12} +
hours{7});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:425:28: error:
reference to ‘sys_days’ is ambiguous
60s 425 | assert(info.end == sys_days{2017_y/nov/5} + hours{6});
60s | ^~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::sys_days =
std::chrono::sys_time<std::chrono::duration<long int, std::ratio<86400> > >’
60s /usr/include/c++/16/bits/chrono.h:1304:11:
60s 1304 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s • candidate 2: ‘using date::sys_days =
date::sys_time<std::chrono::duration<int, std::ratio<86400> > >’
60s /usr/include/date/date.h:193:7:
60s 193 | using sys_days = sys_time<days>;
60s | ^~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:425:36: error:
expected ‘)’ before ‘{’ token
60s 425 | assert(info.end == sys_days{2017_y/nov/5} + hours{6});
60s | ^
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:425:36: error:
expected ‘)’ before ‘{’ token
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:425:9: note: to
match this ‘(’
60s 425 | assert(info.end == sys_days{2017_y/nov/5} + hours{6});
60s | ^~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:435:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 435 | const zoned_seconds zt{"America/New_York",
sys_days{2017_y/jul/6} +
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:437:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 437 | const zoned_seconds zt1{"America/New_York",
sys_days{2017_y/jul/6} +
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:439:16: error:
‘zt’ was not declared in this scope
60s 439 | assert(zt == zt);
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:440:24: error:
‘zt1’ was not declared in this scope
60s 440 | assert(!(zt == zt1));
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:447:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 447 | const zoned_seconds zt{"America/New_York",
sys_days{2017_y/jul/6} +
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:449:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 449 | const zoned_seconds zt1{"America/New_York",
sys_days{2017_y/jul/6} +
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:451:18: error:
‘zt’ was not declared in this scope
60s 451 | assert(!(zt != zt));
60s | ^~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:452:22: error:
‘zt1’ was not declared in this scope
60s 452 | assert(zt != zt1);
60s | ^~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:459:15: error:
reference to ‘zoned_seconds’ is ambiguous
60s 459 | const zoned_seconds zt{"America/New_York",
sys_days{2017_y/jul/6} +
60s | ^~~~~~~~~~~~~
60s • there are 2 candidates
60s • candidate 1: ‘using std::chrono::zoned_seconds = class
std::chrono::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/c++/16/chrono:3215:11:
60s 3215 | using zoned_seconds = zoned_time<seconds>;
60s | ^~~~~~~~~~~~~
60s • candidate 2: ‘using date::zoned_seconds = class
date::zoned_time<std::chrono::duration<long int> >’
60s /usr/include/date/tz.h:711:7:
60s 711 | using zoned_seconds = zoned_time<std::chrono::seconds>;
60s | ^~~~~~~~~~~~~
60s /tmp/autopkgtest.FWbwHe/autopkgtest_tmp/main.cpp:462:17: error:
‘zt’ was not declared in this scope
60s 462 | test << zt;
60s | ^~
60s gmake[2]: *** [CMakeFiles/main.dir/build.make:79:
CMakeFiles/main.dir/main.cpp.o] Error 1
60s gmake[2]: Leaving directory
'/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build'
60s gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/main.dir/all]
Error 2
60s gmake[1]: Leaving directory
'/tmp/autopkgtest.FWbwHe/autopkgtest_tmp/build'
60s gmake: *** [Makefile:91: all] Error 2
60s 61s autopkgtest [00:20:44]: test cmake