$ bash -ex build.sh
+ rm -rf _build
+ mkdir _build
+ cd _build
+ pwd
+ cmake .. -DCMAKE_INSTALL_PREFIX=/home/duncan/git/scitokens-cpp-fork/_build/_inst -DBUILD_UNITTESTS:BOOL=TRUE -DEXTERNAL_GTEST:BOOL=TRUE
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /home/duncan/opt/miniconda3/envs/py39/bin/x86_64-conda-linux-gnu-cc
-- Check for working C compiler: /home/duncan/opt/miniconda3/envs/py39/bin/x86_64-conda-linux-gnu-cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found CURL: /home/duncan/opt/miniconda3/envs/py39/lib/libcurl.so (found version "7.77.0")
-- Looking for uuid_generate
-- Looking for uuid_generate - not found
-- Found UUID : /home/duncan/opt/miniconda3/envs/py39/lib/libuuid.so
-- Found PkgConfig: /home/duncan/opt/miniconda3/envs/py39/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcrypto'
-- Found libcrypto, version 1.1.1k
-- Checking for module 'openssl'
-- Found openssl, version 1.1.1k
-- Checking for module 'sqlite3'
-- Found sqlite3, version 3.35.5
-- Configuring done
CMake Warning (dev) at test/CMakeLists.txt:3 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "gtest" of target "scitokens-gtest" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /home/duncan/git/scitokens-cpp-fork/_build
+ cmake --build .
Scanning dependencies of target SciTokens
[ 6%] Building CXX object CMakeFiles/SciTokens.dir/src/scitokens.cpp.o
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:67:20: error: ‘jwt::builder’ is not a type
serialize(jwt::builder &builder) {
^~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In member function ‘std::__cxx11::string scitokens::SciTokenKey::serialize(int&)’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:68:17: error: request for member ‘set_key_id’ in ‘builder’, which is of non-class type ‘int’
builder.set_key_id(m_kid);
^~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:69:24: error: request for member ‘sign’ in ‘builder’, which is of non-class type ‘int’
return builder.sign(*this);
^~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In member function ‘std::__cxx11::string scitokens::SciTokenKey::sign(const string&) const’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:75:72: error: no matching function for call to
jwt::algorithm::rs256::sign(const string&)’
return jwt::algorithm::rs256(m_public, m_private).sign(data);
^
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:784:16: note: candidate: ‘std::__cxx11::string jwt::algorithm::rsa::sign(const string&, std::error_code&) const’
std::string sign(const std::string& data, std::error_code& ec) const {
^~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:784:16: note: candidate expects 2 arguments, 1 provided
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:77:72: error: no matching function for call to
jwt::algorithm::es256::sign(const string&)’
return jwt::algorithm::es256(m_public, m_private).sign(data);
^
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:924:16: note: candidate: ‘std::__cxx11::string jwt::algorithm::ecdsa::sign(const string&, std::error_code&) const’
std::string sign(const std::string& data, std::error_code& ec) const {
^~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:924:16: note: candidate expects 2 arguments, 1 provided
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In member function ‘void scitokens::SciTokenKey::verify(const string&, const string&) const’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:90:78: error: no matching function for call to
jwt::algorithm::rs256::verify(const string&, const string&)’
jwt::algorithm::rs256(m_public, m_private).verify(data, signature);
^
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:821:9: note: candidate: ‘void jwt::algorithm::rsa::verify(const string&, const string&, std::error_code&) const’
void verify(const std::string& data, const std::string& signature, std::error_code& ec) const {
^~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:821:9: note: candidate expects 3 arguments, 2 provided
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:92:78: error: no matching function for call to
jwt::algorithm::es256::verify(const string&, const string&)’
jwt::algorithm::es256(m_public, m_private).verify(data, signature);
^
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:961:9: note: candidate: ‘void jwt::algorithm::ecdsa::verify(const string&, const string&, std::error_code&) const’
void verify(const std::string& data, const std::string& signature, std::error_code& ec) const {
^~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:961:9: note: candidate expects 3 arguments, 2 provided
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:94:95: error: no matching function for call to
jwt::error::signature_verification_exception::signature_verification_exception(const char [37])’
throw jwt::signature_verification_exception("Provided algorithm is not supported.");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: no known conversion for argument 1 from ‘const char [37]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:72:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:71:10: note: candidate: ‘jwt::error::signature_verification_exception::signature_verification_exception()’
struct signature_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:71:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:71:10: note: candidate: ‘jwt::error::signature_verification_exception::signature_verification_exception(const jwt::error::signature_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:71:10: note: no known conversion for argument 1 from ‘const char [37]’ to ‘const jwt::error::signature_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:71:10: note: candidate: ‘jwt::error::signature_verification_exception::signature_verification_exception(jwt::error::signature_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:71:10: note: no known conversion for argument 1 from ‘const char [37]’ to ‘jwt::error::signature_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: At global scope:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:240:37: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Dp> class std::unique_ptr’
std::unique_ptr<jwt::decoded_jwt> m_decoded;
^
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:240:37: note: expected a type, got ‘decoded_jwt’
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:240:37: error: template argument 2 is invalid
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In member function ‘std::__cxx11::string scitokens::SciToken::serialize()’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:192:22: error: missing template arguments before ‘builder’
jwt::builder builder(jwt::create());
^~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:198:9: error: ‘builder’ was not declared in this scope
builder.set_issued_at(time);
^~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:198:9: note: suggested alternative:
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2380:8: note: ‘jwt::builder’
class builder {
^~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: At global scope:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:260:23: error: invalid use of template-name ‘jwt::decoded_jwt’ without an argument list
void verify(const jwt::decoded_jwt &jwt) {
^~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:260:23: note: class template argument deduction is only available with -std=c++17 or -std=gnu++17
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2261:8: note: ‘template<class json_traits> class jwt::decoded_jwt’ declared here
class decoded_jwt : public header<json_traits>, public payload<json_traits> {
^~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In member function ‘void scitokens::Validator::verify(const scitokens::SciToken&)’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:253:15: error: invalid use of template-name ‘jwt::decoded_jwt’ without an argument list
const jwt::decoded_jwt *jwt_decoded = scitoken.m_decoded.get();
^~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:253:15: note: class template argument deduction is only available with -std=c++17 or -std=gnu++17
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2261:8: note: ‘template<class json_traits> class jwt::decoded_jwt’ declared here
class decoded_jwt : public header<json_traits>, public payload<json_traits> {
^~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:254:14: error: ‘jwt_decoded’ was not declared in this scope
if (!jwt_decoded) {
^~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:255:93: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [39])’
throw jwt::token_verification_exception("Token is not deserialized from string.");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [39]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [39]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [39]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:257:17: error: ‘jwt_decoded’ was not declared in this scope
verify(*jwt_decoded);
^~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In member function ‘void scitokens::Validator::verify(const int&)’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:261:18: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (!jwt.has_payload_claim("iat")) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:262:79: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [25])’
throw jwt::token_verification_exception("'iat' claim is mandatory");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [25]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:264:18: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (!jwt.has_payload_claim("nbf")) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:265:79: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [25])’
throw jwt::token_verification_exception("'nbf' claim is mandatory");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [25]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:267:18: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (!jwt.has_payload_claim("exp")) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:268:79: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [25])’
throw jwt::token_verification_exception("'exp' claim is mandatory");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [25]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:270:18: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (!jwt.has_payload_claim("iss")) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:271:79: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [25])’
throw jwt::token_verification_exception("'iss' claim is mandatory");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [25]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:273:18: error: request for member ‘has_header_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (!jwt.has_header_claim("kid")) {
^~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:274:79: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [25])’
throw jwt::token_verification_exception("'kid' claim is mandatory");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [25]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [25]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:277:38: error: request for member ‘get_issuer’ in ‘jwt’, which is of non-class type ‘const int’
std::string issuer = jwt.get_issuer();
^~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:286:106: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [48])’
throw jwt::token_verification_exception("Token issuer is not in list of allowed issuers.");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [48]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [48]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [48]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:291:22: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (!jwt.has_payload_claim(claim)) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:294:65: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(std::__cxx11::basic_stringstream<char>::__string_type)’
throw jwt::token_verification_exception(ss.str());
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:300:32: error: request for member ‘get_issuer’ in ‘jwt’, which is of non-class type ‘const int’
get_public_key_pem(jwt.get_issuer(), jwt.get_key_id(), public_pem, algorithm);
^~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:300:50: error: request for member ‘get_key_id’ in ‘jwt’, which is of non-class type ‘const int’
get_public_key_pem(jwt.get_issuer(), jwt.get_key_id(), public_pem, algorithm);
^~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:302:29: error: request for member ‘get_key_id’ in ‘jwt’, which is of non-class type ‘const int’
SciTokenKey key(jwt.get_key_id(), algorithm, public_pem, "");
^~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:306:28: error: no matching function for call to ‘jwt::verifier<jwt::default_clock, jwt::picojson_traits>::verify(const int&)’
verifier.verify(jwt);
^
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2746:8: note: candidate: ‘void jwt::verifier<Clock, json_traits>::verify(const jwt::decoded_jwt<json_traits>&) const [with Clock = jwt::default_clock; json_traits = jwt::picojson_traits]’
void verify(const decoded_jwt<json_traits>& jwt) const {
^~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2746:8: note: no known conversion for argument 1 from ‘const int’ to ‘const jwt::decoded_jwt<jwt::picojson_traits>&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2756:8: note: candidate: ‘void jwt::verifier<Clock, json_traits>::verify(const jwt::decoded_jwt<json_traits>&, std::error_code&) const [with Clock = jwt::default_clock; json_traits = jwt::picojson_traits]’
void verify(const decoded_jwt<json_traits>& jwt, std::error_code& ec) const {
^~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2756:8: note: candidate expects 2 arguments, 1 provided
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:309:17: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (jwt.has_payload_claim("ver")) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:310:43: error: request for member ‘get_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
const jwt::claim &claim = jwt.get_payload_claim("ver");
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:311:49: error: ‘jwt::claim<jwt::picojson_traits>::type’ has not been declared
if (claim.get_type() != jwt::claim::type::string) {
^~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:312:106: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [48])’
throw jwt::token_verification_exception("'ver' claim value must be a string (if present)");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [48]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [48]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [48]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:320:115: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [53])’
throw jwt::token_verification_exception("Invalidate token type; not expecting a SciToken 2.0.");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [53]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [53]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [53]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:323:26: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (!jwt.has_payload_claim("aud")) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:324:109: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [47])’
throw jwt::token_verification_exception("'aud' claim required for SciTokens 2.0 profile");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [47]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [47]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [47]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:332:115: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [53])’
throw jwt::token_verification_exception("Invalidate token type; not expecting a SciToken 1.0.");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [53]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [53]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [53]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:338:65: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(std::__cxx11::basic_stringstream<char>::__string_type)’
throw jwt::token_verification_exception(ss.str());
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:341:24: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
} else if (jwt.has_payload_claim("wlcg.ver")) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:345:107: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [49])’
throw jwt::token_verification_exception("Invalidate token type; not expecting a WLCG 1.0.");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [49]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [49]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [49]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:350:43: error: request for member ‘get_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
const jwt::claim &claim = jwt.get_payload_claim("wlcg.ver");
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:351:49: error: ‘jwt::claim<jwt::picojson_traits>::type’ has not been declared
if (claim.get_type() != jwt::claim::type::string) {
^~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:352:106: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [48])’
throw jwt::token_verification_exception("'ver' claim value must be a string (if present)");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [48]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [48]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [48]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:358:65: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(std::__cxx11::basic_stringstream<char>::__string_type)’
throw jwt::token_verification_exception(ss.str());
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:360:22: error: request for member ‘has_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
if (!jwt.has_payload_claim("aud")) {
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:361:113: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [55])’
throw jwt::token_verification_exception("Malformed token: 'aud' claim required for WLCG profile");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [55]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [55]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [55]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:367:111: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [53])’
throw jwt::token_verification_exception("Invalidate token type; not expecting a SciToken 1.0.");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [53]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [53]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [53]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:374:27: error: request for member ‘get_payload_claims’ in ‘jwt’, which is of non-class type ‘const int’
auto claims = jwt.get_payload_claims();
^~~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:375:39: error: unable to deduce ‘auto&&’ from ‘claims’
for (const auto &claim_pair : claims) {
^~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:389:70: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(std::__cxx11::basic_stringstream<char>::__string_type)’
throw jwt::token_verification_exception(ss.str());
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:394:48: error: request for member ‘get_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
const jwt::claim &claim = jwt.get_payload_claim(claim_pair.first);
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:395:54: error: ‘jwt::claim<jwt::picojson_traits>::type’ has not been declared
if (claim.get_type() != jwt::claim::type::string) {
^~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:398:70: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(std::__cxx11::basic_stringstream<char>::__string_type)’
throw jwt::token_verification_exception(ss.str());
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:404:73: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(char*&)’
throw jwt::token_verification_exception(err_msg);
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘char*’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘char*’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘char*’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:408:74: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(std::__cxx11::basic_stringstream<char>::__string_type)’
throw jwt::token_verification_exception(ss.str());
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:413:48: error: request for member ‘get_payload_claim’ in ‘jwt’, which is of non-class type ‘const int’
const jwt::claim &claim = jwt.get_payload_claim(claim_pair.first);
^~~~~~~~~~~~~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:417:70: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(std::__cxx11::basic_stringstream<char>::__string_type)’
throw jwt::token_verification_exception(ss.str());
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘std::__cxx11::basic_stringstream<char>::__string_type’ {aka ‘std::__cxx11::basic_string<char>’} to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In member function ‘scitokens::SciToken::Profile scitokens::Validator::get_profile() const’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:455:86: error: no matching function for call to ‘jwt::error::token_verification_exception::token_verification_exception(const char [32])’
throw jwt::token_verification_exception("Token profile has not been set.");
^
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:347:5: note: candidate: ‘std::system_error::system_error(std::error_code)’
system_error(error_code __ec = error_code())
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: no known conversion for argument 1 from ‘const char [32]’ to ‘std::error_code’
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:350:5: note: candidate: ‘std::system_error::system_error(std::error_code, const string&)’
system_error(error_code __ec, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:353:5: note: candidate: ‘std::system_error::system_error(std::error_code, const char*)’
system_error(error_code __ec, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:356:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const char*)’
system_error(int __v, const error_category& __ecat, const char* __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:359:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&)’
system_error(int __v, const error_category& __ecat)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:363:5: note: candidate: ‘std::system_error::system_error(int, const std::_V2::error_category&, const string&)’
system_error(int __v, const error_category& __ecat, const string& __what)
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/8/bits/ios_base.h:46,
from /usr/include/c++/8/ios:42,
from /usr/include/c++/8/istream:38,
from /usr/include/c++/8/sstream:38,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:3,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/usr/include/c++/8/system_error:341:9: note: candidate: ‘std::system_error::system_error(const std::system_error&)’
class system_error : public std::runtime_error
^~~~~~~~~~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: inherited here
using system_error::system_error;
^~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:84:24: note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception()’
struct token_verification_exception : public std::system_error {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate expects 0 arguments, 1 provided
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(const jwt::error::token_verification_exception&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [32]’ to ‘const jwt::error::token_verification_exception&’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: candidate: ‘jwt::error::token_verification_exception::token_verification_exception(jwt::error::token_verification_exception&&)’
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:83:10: note: no known conversion for argument 1 from ‘const char [32]’ to ‘jwt::error::token_verification_exception&&’
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In static member function ‘static bool scitokens::Enforcer::str_validator(const claim&, void*)’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:540:48: error: ‘jwt::claim<jwt::picojson_traits>::type’ has not been declared
return claim.get_type() == jwt::claim::type::string;
^~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h: In static member function ‘static bool scitokens::Enforcer::aud_validator(const claim&, void*)’:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:548:45: error: ‘jwt::claim<jwt::picojson_traits>::type’ has not been declared
if (claim.get_type() == jwt::claim::type::string) {
^~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:551:52: error: ‘jwt::claim<jwt::picojson_traits>::type’ has not been declared
} else if (claim.get_type() == jwt::claim::type::array) {
^~~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:6,
from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h: In instantiation of ‘void jwt::verifier<Clock, json_traits>::algo<T>::verify(const string&, const string&, std::error_code&) [with T = scitokens::SciTokenKey; Clock = jwt::default_clock; json_traits = jwt::picojson_traits; std::__cxx11::string = std::__cxx11::basic_string<char>]’:
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2618:9: required from here
/home/duncan/opt/miniconda3/envs/py39/include/jwt-cpp/jwt.h:2619:5: error: no matching function for call to
scitokens::SciTokenKey::verify(const string&, const string&, std::error_code&)’
alg.verify(data, sig, ec);
^~~
In file included from /home/duncan/git/scitokens-cpp-fork/src/scitokens.cpp:7:
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:88:5: note: candidate: ‘void scitokens::SciTokenKey::verify(const string&, const string&) const’
verify(const std::string &data, const std::string &signature) const {
^~~~~~
/home/duncan/git/scitokens-cpp-fork/src/scitokens_internal.h:88:5: note: candidate expects 2 arguments, 3 provided
make[2]: *** [CMakeFiles/SciTokens.dir/build.make:63: CMakeFiles/SciTokens.dir/src/scitokens.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:147: CMakeFiles/SciTokens.dir/all] Error 2
make: *** [Makefile:141: all] Error 2