{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/fizz/issues/16","repository_url":"https://api.github.com/repos/facebookincubator/fizz","labels_url":"https://api.github.com/repos/facebookincubator/fizz/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/fizz/issues/16/comments","events_url":"https://api.github.com/repos/facebookincubator/fizz/issues/16/events","html_url":"https://github.com/facebookincubator/fizz/issues/16","id":366058708,"node_id":"MDU6SXNzdWUzNjYwNTg3MDg=","number":16,"title":"Compilation error on Redhat","user":{"login":"vladip1","id":32463866,"node_id":"MDQ6VXNlcjMyNDYzODY2","avatar_url":"https://avatars0.githubusercontent.com/u/32463866?v=4","gravatar_id":"","url":"https://api.github.com/users/vladip1","html_url":"https://github.com/vladip1","followers_url":"https://api.github.com/users/vladip1/followers","following_url":"https://api.github.com/users/vladip1/following{/other_user}","gists_url":"https://api.github.com/users/vladip1/gists{/gist_id}","starred_url":"https://api.github.com/users/vladip1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladip1/subscriptions","organizations_url":"https://api.github.com/users/vladip1/orgs","repos_url":"https://api.github.com/users/vladip1/repos","events_url":"https://api.github.com/users/vladip1/events{/privacy}","received_events_url":"https://api.github.com/users/vladip1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-02T20:06:14Z","updated_at":"2018-11-10T19:02:31Z","closed_at":null,"author_association":"NONE","body":"hi\r\n\r\nJust rebuilt the latest version of folly and fail with errors building fizz:\r\n\r\n[  3%] Building CXX object CMakeFiles/fizz.dir/crypto/Sha256.cpp.o\r\n[  3%] Building CXX object CMakeFiles/fizz.dir/crypto/Sha384.cpp.o\r\n[  4%] Building CXX object CMakeFiles/fizz.dir/crypto/openssl/OpenSSLKeyUtils.cpp.o\r\n[  4%] Building CXX object CMakeFiles/fizz.dir/record/Types.cpp.o\r\n[  5%] Building CXX object CMakeFiles/fizz.dir/record/RecordLayer.cpp.o\r\n[  6%] Building CXX object CMakeFiles/fizz.dir/record/EncryptedRecordLayer.cpp.o\r\n[  6%] Building CXX object CMakeFiles/fizz.dir/record/PlaintextRecordLayer.cpp.o\r\n[  7%] Building CXX object CMakeFiles/fizz.dir/server/ServerProtocol.cpp.o\r\nIn file included from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:20:0:\r\n/usr/local/include/folly/Overload.h: In instantiation of ‘decltype(auto) folly::variant_match(Variant&&, Cases&& ...) [with Variant = boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >&; Cases = {fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)>}]’:\r\n/root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:206:10:   required from here\r\n/usr/local/include/folly/Overload.h:75:23: error: no matching function for call to ‘apply_visitor(folly::detail::Overload<fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)> >, boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >&)’\r\n   return apply_visitor(\r\n          ~~~~~~~~~~~~~^\r\n       overload(std::forward<Cases>(cases)...), std::forward<Variant>(variant));\r\n       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from /usr/include/boost/variant/apply_visitor.hpp:18:0,\r\n                 from /usr/include/boost/variant/detail/hash_variant.hpp:23,\r\n                 from /usr/include/boost/variant/variant.hpp:35,\r\n                 from /usr/include/boost/variant.hpp:17,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/record/Types.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/crypto/signature/Signature.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/protocol/Certificate.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.h:13,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:9:\r\n/usr/include/boost/variant/detail/apply_visitor_delayed.hpp:81:41: note: candidate: template<class Visitor> boost::apply_visitor_delayed_t<Visitor> boost::apply_visitor(Visitor&)\r\n inline apply_visitor_delayed_t<Visitor> apply_visitor(Visitor& visitor)\r\n                                         ^~~~~~~~~~~~~\r\n/usr/include/boost/variant/detail/apply_visitor_delayed.hpp:81:41: note:   template argument deduction/substitution failed:\r\nIn file included from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:20:0:\r\n/usr/local/include/folly/Overload.h:75:23: note:   candidate expects 1 argument, 2 provided\r\n   return apply_visitor(\r\n          ~~~~~~~~~~~~~^\r\n       overload(std::forward<Cases>(cases)...), std::forward<Variant>(variant));\r\n       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from /usr/include/boost/variant/apply_visitor.hpp:17:0,\r\n                 from /usr/include/boost/variant/detail/hash_variant.hpp:23,\r\n                 from /usr/include/boost/variant/variant.hpp:35,\r\n                 from /usr/include/boost/variant.hpp:17,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/record/Types.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/crypto/signature/Signature.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/protocol/Certificate.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.h:13,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:9:\r\n/usr/include/boost/variant/detail/apply_visitor_binary.hpp:166:1: note: candidate: template<class Visitor, class Visitable1, class Visitable2> typename Visitor::result_type boost::apply_visitor(const Visitor&, Visitable1&, Visitable2&)\r\n apply_visitor(\r\n ^~~~~~~~~~~~~\r\n/usr/include/boost/variant/detail/apply_visitor_binary.hpp:166:1: note:   template argument deduction/substitution failed:\r\nIn file included from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:20:0:\r\n/usr/local/include/folly/Overload.h:75:23: note:   candidate expects 3 arguments, 2 provided\r\n   return apply_visitor(\r\n          ~~~~~~~~~~~~~^\r\n       overload(std::forward<Cases>(cases)...), std::forward<Variant>(variant));\r\n       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from /usr/include/boost/variant/apply_visitor.hpp:17:0,\r\n                 from /usr/include/boost/variant/detail/hash_variant.hpp:23,\r\n                 from /usr/include/boost/variant/variant.hpp:35,\r\n                 from /usr/include/boost/variant.hpp:17,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/record/Types.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/crypto/signature/Signature.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/protocol/Certificate.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.h:13,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:9:\r\n/usr/include/boost/variant/detail/apply_visitor_binary.hpp:141:1: note: candidate: template<class Visitor, class Visitable1, class Visitable2> typename Visitor::result_type boost::apply_visitor(Visitor&, Visitable1&, Visitable2&)\r\n apply_visitor(\r\n ^~~~~~~~~~~~~\r\n/usr/include/boost/variant/detail/apply_visitor_binary.hpp:141:1: note:   template argument deduction/substitution failed:\r\nIn file included from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:20:0:\r\n/usr/local/include/folly/Overload.h:75:23: note:   candidate expects 3 arguments, 2 provided\r\n   return apply_visitor(\r\n          ~~~~~~~~~~~~~^\r\n       overload(std::forward<Cases>(cases)...), std::forward<Variant>(variant));\r\n       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from /usr/include/boost/variant/apply_visitor.hpp:16:0,\r\n                 from /usr/include/boost/variant/detail/hash_variant.hpp:23,\r\n                 from /usr/include/boost/variant/variant.hpp:35,\r\n                 from /usr/include/boost/variant.hpp:17,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/record/Types.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/crypto/signature/Signature.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/protocol/Certificate.h:11,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.h:13,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:9:\r\n/usr/include/boost/variant/detail/apply_visitor_unary.hpp:74:1: note: candidate: template<class Visitor, class Visitable> typename Visitor::result_type boost::apply_visitor(const Visitor&, Visitable&)\r\n apply_visitor(const Visitor& visitor, Visitable& visitable)\r\n ^~~~~~~~~~~~~\r\n/usr/include/boost/variant/detail/apply_visitor_unary.hpp:74:1: note:   template argument deduction/substitution failed:\r\n/usr/include/boost/variant/detail/apply_visitor_unary.hpp: In substitution of ‘template<class Visitor, class Visitable> typename Visitor::result_type boost::apply_visitor(const Visitor&, Visitable&) [with Visitor = folly::detail::Overload<fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)> >; Visitable = boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >]’:\r\n/usr/local/include/folly/Overload.h:75:23:   required from ‘decltype(auto) folly::variant_match(Variant&&, Cases&& ...) [with Variant = boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >&; Cases = {fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)>}]’\r\n/root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:206:10:   required from here\r\n/usr/include/boost/variant/detail/apply_visitor_unary.hpp:74:1: error: no type named ‘result_type’ in ‘struct folly::detail::Overload<fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)> >’\r\n/usr/local/include/folly/Overload.h: In instantiation of ‘decltype(auto) folly::variant_match(Variant&&, Cases&& ...) [with Variant = boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >&; Cases = {fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)>}]’:\r\n/root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:206:10:   required from here\r\n/usr/include/boost/variant/detail/apply_visitor_unary.hpp:58:1: note: candidate: template<class Visitor, class Visitable> typename Visitor::result_type boost::apply_visitor(Visitor&, Visitable&)\r\n apply_visitor(Visitor& visitor, Visitable& visitable)\r\n ^~~~~~~~~~~~~\r\n/usr/include/boost/variant/detail/apply_visitor_unary.hpp:58:1: note:   template argument deduction/substitution failed:\r\n/usr/include/boost/variant/detail/apply_visitor_unary.hpp: In substitution of ‘template<class Visitor, class Visitable> typename Visitor::result_type boost::apply_visitor(Visitor&, Visitable&) [with Visitor = folly::detail::Overload<fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)> >; Visitable = boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >]’:\r\n/usr/local/include/folly/Overload.h:75:23:   required from ‘decltype(auto) folly::variant_match(Variant&&, Cases&& ...) [with Variant = boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >&; Cases = {fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)>}]’\r\n/root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:206:10:   required from here\r\n/usr/include/boost/variant/detail/apply_visitor_unary.hpp:58:1: error: no type named ‘result_type’ in ‘struct folly::detail::Overload<fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)> >’\r\n/root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp: In function ‘fizz::server::AsyncActions fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)’:\r\n/root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:188:32: error: could not convert ‘folly::variant_match<boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >&, {fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, 4ul, void, void, void> >&)>, fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)>}>(actions, <lambda closure object>fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> >&)>{(* & state)}, <lambda closure object>fizz::server::detail::processEvent(const fizz::server::State&, fizz::Param)::<lambda(fizz::server::Actions&)>{})’ from ‘void’ to ‘fizz::server::AsyncActions {aka boost::variant<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul>, folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> > >}’\r\n     return folly::variant_match(\r\n            ~~~~~~~~~~~~~~~~~~~~^\r\n         actions,\r\n         ~~~~~~~~\r\n         [&state](folly::Future<Actions>& futureActions) -> AsyncActions {\r\n         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n           return std::move(futureActions)\r\n           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n               .onError([&state](folly::exception_wrapper ew) {\r\n               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                 auto ex = ew.get_exception<FizzException>();\r\n                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                 if (ex) {\r\n                 ~~~~~~~~~\r\n                   return detail::handleError(\r\n                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                       state, ReportError(std::move(ew)), ex->getAlert());\r\n                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                 }\r\n                 ~\r\n                 return detail::handleError(\r\n                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                     state,\r\n                     ~~~~~~\r\n                     ReportError(std::move(ew)),\r\n                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                     AlertDescription::unexpected_message);\r\n                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n               });\r\n               ~~~\r\n         },\r\n         ~~\r\n         [](Actions& immediateActions) -> AsyncActions {\r\n         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n           return std::move(immediateActions);\r\n           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n         });\r\n         ~~\r\n/root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp: In static member function ‘static fizz::server::AsyncActions fizz::sm::EventHandler<fizz::server::ServerTypes, (fizz::server::StateEnum)1, (fizz::Event)0>::handle(const fizz::server::State&, fizz::Param)’:\r\n/root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:1532:8: warning: ‘typename std::enable_if<((! folly::is_invocable<F>::value) && folly::is_invocable<F, T&&>::value), typename R::Return>::type folly::Future<T>::then(F&&) && [with F = fizz::sm::EventHandler<fizz::server::ServerTypes, (fizz::server::StateEnum)1, (fizz::Event)0>::handle(const fizz::server::State&, fizz::Param)::<lambda(FutureResultType)>; R = folly::futures::detail::callableResult<std::tuple<folly::Try<std::pair<fizz::PskType, folly::Optional<fizz::server::ResumptionState> > >, folly::Try<fizz::server::ReplayCacheResult> >, fizz::sm::EventHandler<fizz::server::ServerTypes, (fizz::server::StateEnum)1, (fizz::Event)0>::handle(const fizz::server::State&, fizz::Param)::<lambda(FutureResultType)> >; T = std::tuple<folly::Try<std::pair<fizz::PskType, folly::Optional<fizz::server::ResumptionState> > >, folly::Try<fizz::server::ReplayCacheResult> >; typename std::enable_if<((! folly::is_invocable<F>::value) && folly::is_invocable<F, T&&>::value), typename R::Return>::type = folly::Future<folly::small_vector<boost::variant<fizz::DeliverAppData, fizz::WriteToSocket, fizz::server::ReportHandshakeSuccess, fizz::server::ReportEarlyHandshakeSuccess, fizz::ReportError, folly::Function<void(fizz::server::State&)>, fizz::WaitForData, fizz::server::AttemptVersionFallback>, 4ul> >]’ is deprecated: use thenValue instead [-Wdeprecated-declarations]\r\n       });\r\n        ^\r\nIn file included from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.h:11:0,\r\n                 from /root/vladi/http2/proxygen/proxygen/wangle/fizz/fizz/server/ServerProtocol.cpp:9:\r\n/usr/local/include/folly/futures/Future.h:1160:3: note: declared here\r\n   then(F&& func) && {\r\n   ^~~~\r\nmake[2]: *** [CMakeFiles/fizz.dir/server/ServerProtocol.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/fizz.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n["},"comment":{"url":"https://api.github.com/repos/facebookincubator/fizz/issues/comments/437611429","html_url":"https://github.com/facebookincubator/fizz/issues/16#issuecomment-437611429","issue_url":"https://api.github.com/repos/facebookincubator/fizz/issues/16","id":437611429,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzYxMTQyOQ==","user":{"login":"edsburke","id":43584298,"node_id":"MDQ6VXNlcjQzNTg0Mjk4","avatar_url":"https://avatars0.githubusercontent.com/u/43584298?v=4","gravatar_id":"","url":"https://api.github.com/users/edsburke","html_url":"https://github.com/edsburke","followers_url":"https://api.github.com/users/edsburke/followers","following_url":"https://api.github.com/users/edsburke/following{/other_user}","gists_url":"https://api.github.com/users/edsburke/gists{/gist_id}","starred_url":"https://api.github.com/users/edsburke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edsburke/subscriptions","organizations_url":"https://api.github.com/users/edsburke/orgs","repos_url":"https://api.github.com/users/edsburke/repos","events_url":"https://api.github.com/users/edsburke/events{/privacy}","received_events_url":"https://api.github.com/users/edsburke/received_events","type":"User","site_admin":false},"created_at":"2018-11-10T19:02:31Z","updated_at":"2018-11-10T19:02:31Z","author_association":"NONE","body":"> updating to boost 1.58 will fix this particular build error\r\n\r\n@ngoyal thanks, it did resolve my issue.\r\n"}}
{"actor":{"display_login":"edsburke"}}