Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
None
-
6.8.0 FF
-
None
Description
In file included from /home/qt/work/install/include/QtTest/qtesteventloop.h:8, from /home/qt/work/install/include/QtTest/qsignalspy.h:11, from /home/qt/work/install/include/QtTest/QtTest:10, from /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:3: /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp: In lambda function: /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1464:47: error: use of ‘timeout’ before deduction of ‘auto’ 1464 | QTRY_VERIFY_WITH_TIMEOUT(errorSpy.size(), timeout); | ^~~~~~~ /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1464:5: error: no matching function for call to ‘std::chrono::duration<long int, std::ratio<1, 1000> >::duration(<brace-enclosed initializer list>)’ 1464 | QTRY_VERIFY_WITH_TIMEOUT(errorSpy.size(), timeout); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/qt/work/install/include/QtCore/q20chrono.h:9, from /home/qt/work/install/include/QtCore/QtCore:6, from /home/qt/work/install/include/QtTest/QtTestDepends:3, from /home/qt/work/install/include/QtTest/QtTest:3, from /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:3: /usr/include/c++/9/chrono:338:14: note: candidate: ‘template<class _Rep2, class _Period2, class> constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&)’ 338 | constexpr duration(const duration<_Rep2, _Period2>& __d) | ^~~~~~~~ /usr/include/c++/9/chrono:338:14: note: template argument deduction/substitution failed: /usr/include/c++/9/chrono:331:23: note: candidate: ‘template<class _Rep2, class> constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&)’ 331 | constexpr explicit duration(const _Rep2& __rep) | ^~~~~~~~ /usr/include/c++/9/chrono:331:23: note: template argument deduction/substitution failed: /usr/include/c++/9/chrono:324:2: note: candidate: ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long int; _Period = std::ratio<1, 1000>]’ 324 | duration(const duration&) = default; | ^~~~~~~~ /usr/include/c++/9/chrono:324:2: note: conversion of argument 1 would be ill-formed: /usr/include/c++/9/chrono:322:12: note: candidate: ‘std::chrono::duration<_Rep, _Period>::duration() [with _Rep = long int; _Period = std::ratio<1, 1000>]’ 322 | constexpr duration() = default; | ^~~~~~~~ /usr/include/c++/9/chrono:322:12: note: candidate expects 0 arguments, 1 provided In file included from /home/qt/work/install/include/QtTest/qtesteventloop.h:8, from /home/qt/work/install/include/QtTest/qsignalspy.h:11, from /home/qt/work/install/include/QtTest/QtTest:10, from /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:3: /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp: In member function ‘void tst_DataProcessor::doTest(int)’: /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1464:5: error: ‘const void timeout’ has incomplete type 1464 | QTRY_VERIFY_WITH_TIMEOUT(errorSpy.size(), timeout); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1435:36: warning: unused parameter ‘timeout’ [-Wunused-parameter] 1435 | void tst_DataProcessor::doTest(int timeout) | ~~~~^~~~~~~ Sccache command failed, re-try calling build tool directly In file included from /home/qt/work/install/include/QtTest/qtesteventloop.h:8, from /home/qt/work/install/include/QtTest/qsignalspy.h:11, from /home/qt/work/install/include/QtTest/QtTest:10, from /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:3: /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp: In lambda function: /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1464:47: error: use of ‘timeout’ before deduction of ‘auto’ 1464 | QTRY_VERIFY_WITH_TIMEOUT(errorSpy.size(), timeout); | ^~~~~~~ /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1464:5: error: no matching function for call to ‘std::chrono::duration<long int, std::ratio<1, 1000> >::duration(<brace-enclosed initializer list>)’ 1464 | QTRY_VERIFY_WITH_TIMEOUT(errorSpy.size(), timeout); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/qt/work/install/include/QtCore/q20chrono.h:9, from /home/qt/work/install/include/QtCore/QtCore:6, from /home/qt/work/install/include/QtTest/QtTestDepends:3, from /home/qt/work/install/include/QtTest/QtTest:3, from /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:3: /usr/include/c++/9/chrono:338:14: note: candidate: ‘template<class _Rep2, class _Period2, class> constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&)’ 338 | constexpr duration(const duration<_Rep2, _Period2>& __d) | ^~~~~~~~ /usr/include/c++/9/chrono:338:14: note: template argument deduction/substitution failed: /usr/include/c++/9/chrono:331:23: note: candidate: ‘template<class _Rep2, class> constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&)’ 331 | constexpr explicit duration(const _Rep2& __rep) | ^~~~~~~~ /usr/include/c++/9/chrono:331:23: note: template argument deduction/substitution failed: /usr/include/c++/9/chrono:324:2: note: candidate: ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long int; _Period = std::ratio<1, 1000>]’ 324 | duration(const duration&) = default; | ^~~~~~~~ /usr/include/c++/9/chrono:324:2: note: conversion of argument 1 would be ill-formed: /usr/include/c++/9/chrono:322:12: note: candidate: ‘std::chrono::duration<_Rep, _Period>::duration() [with _Rep = long int; _Period = std::ratio<1, 1000>]’ 322 | constexpr duration() = default; | ^~~~~~~~ /usr/include/c++/9/chrono:322:12: note: candidate expects 0 arguments, 1 provided In file included from /home/qt/work/install/include/QtTest/qtesteventloop.h:8, from /home/qt/work/install/include/QtTest/qsignalspy.h:11, from /home/qt/work/install/include/QtTest/QtTest:10, from /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:3: /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp: In member function ‘void tst_DataProcessor::doTest(int)’: /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1464:5: error: ‘const void timeout’ has incomplete type 1464 | QTRY_VERIFY_WITH_TIMEOUT(errorSpy.size(), timeout); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebsockets/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1435:36: warning: unused parameter ‘timeout’ [-Wunused-parameter] 1435 | void tst_DataProcessor::doTest(int timeout) | ~~~~^~~~~~~
Details: https://testresults.qt.io/coin/integration/qt/qtwebsockets/tasks/1707528338
Tested changes (refs/builds/qtci/dev/1707522277):
https://codereview.qt-project.org/c/qt/qtwebsockets/+/538994/2 Update dependencies on 'dev' in qt/qtwebsockets