Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.20.0
-
None
-
Mac OS X / clang
Description
... ../../3rdparty/libprocess/include/process/future.hpp:180:61: note: in instantiation of function template specialization 'process::_Deferred<std::__1::__bind<process::Future<Nothing> (std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const std::__1::basic_string<char> &) const, std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>, mesos::ContainerID &, std::__1::placeholders::__ph<1> &> >::operator function<const std::__1::basic_string<char> &>' requested here return onFailed(std::function<void(const std::string&)>(deferred)); ^ ../../src/slave/containerizer/docker.cpp:325:6: note: in instantiation of function template specialization 'process::Future<Option<int> >::onFailed<std::__1::__bind<process::Future<Nothing> (std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const std::__1::basic_string<char> &) const, std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>, mesos::ContainerID &, std::__1::placeholders::__ph<1> &> >' requested here .onFailed(defer(self(), &Self::_fetchFailed, containerId, lambda::_1)) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1448:5: note: candidate constructor not viable: no known conversion from 'const std::__1::__bind<process::Future<Nothing> (std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const std::__1::basic_string<char> &) const, std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>, mesos::ContainerID &, std::__1::placeholders::__ph<1> &>' to 'nullptr_t' for 1st argument function(nullptr_t) _NOEXCEPT : __f_(0) {} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1449:5: note: candidate constructor not viable: no known conversion from 'const std::__1::__bind<process::Future<Nothing> (std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const std::__1::basic_string<char> &) const, std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>, mesos::ContainerID &, std::__1::placeholders::__ph<1> &>' to 'const std::__1::function<void (const std::__1::basic_string<char> &)>' for 1st argument function(const function&); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1450:5: note: candidate constructor not viable: no known conversion from 'const std::__1::__bind<process::Future<Nothing> (std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const std::__1::basic_string<char> &) const, std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>, mesos::ContainerID &, std::__1::placeholders::__ph<1> &>' to 'std::__1::function<void (const std::__1::basic_string<char> &)>' for 1st argument function(function&&) _NOEXCEPT; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1454:41: note: candidate template ignored: disabled by 'enable_if' [with _Fp = std::__1::__bind<process::Future<Nothing> (std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>::*)(const mesos::ContainerID &, const std::__1::basic_string<char> &) const, std::__1::function<process::Future<Nothing> (const mesos::ContainerID &, const std::__1::basic_string<char> &)>, mesos::ContainerID &, std::__1::placeholders::__ph<1> &>]