mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mesos Reviewbot Windows <revi...@mesos.apache.org>
Subject Re: Review Request 63641: Used move for events consumption in master.
Date Tue, 07 Nov 2017 19:42:14 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63641/#review190360
-----------------------------------------------------------



FAIL: mesos-java failed to build.

Reviews applied: `['63628', '63629', '63630', '63631', '63632', '63633', '63634', '63635',
'63636', '63637', '63638', '63639', '63641']`

Failed command: `cmake.exe --build . --target mesos-java`

All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/63641

Relevant logs:

- [mesos-java-build-cmake-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/63641/logs/mesos-java-build-cmake-stdout.log):

```
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'process::network::internal::PollSocketImpl::accept::<lambda_93cedaaa4607c5912799eb2cdcce441b>'
to 'lambda::CallableOnce<process::Future<std::shared_ptr<_Ty>> (const T &)>'
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<Nothing> (__cdecl
*)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,const process::network::Address
&),std::shared_ptr<process::network::internal::PollSocketImpl>,const process::network::Address
&>' to 'lambda::CallableOnce<process::Future<Nothing> (const T &)>'
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<::size_t> (__cdecl
*)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,const char
*,::size_t),const std::shared_ptr<process::network::internal::PollSocketImpl> &,const
char *&,size_t &>' to 'lambda::CallableOnce<process::Future<::size_t>
(const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<::size_t> (__cdecl
*)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,int_fd,off_t,::size_t),const
std::shared_ptr<process::network::internal::PollSocketImpl> &,int_fd &,off_t
&,size_t &>' to 'lambda::CallableOnce<process::Future<::size_t> (const
T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<::size_t> (__cdecl
*)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,const char
*,::size_t),std::shared_ptr<process::network::internal::PollSocketImpl>,const char *&,size_t
&>' to 'lambda::CallableOnce<process::Future<::size_t> (const T &)>'
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<::size_t> (__cdecl
*)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,int_fd,off_t,::size_t),std::shared_ptr<process::network::internal::PollSocketImpl>,int_fd
&,off_t &,size_t &>' to 'lambda::CallableOnce<process::Future<::size_t>
(const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(340): error C2665:
'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads
could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\reap.cpp)
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<std::string> (__cdecl
*)(const std::shared_ptr<_Ty> &,const Option<ssize_t> &,process::Owned<std::string>,::size_t,boost::shared_array<char>,::size_t),const
std::shared_ptr<_Ty> &,const Option<ssize_t> &,process::Owned<std::string>
&,size_t &,boost::shared_array<char> &,const std::_Ph<1> &>'
to 'lambda::CallableOnce<process::Future<std::string> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<std::string> (__cdecl
*)(const std::shared_ptr<_Ty> &,const Option<ssize_t> &,process::Owned<std::string>,::size_t,boost::shared_array<char>,::size_t),std::shared_ptr<_Ty>,const
Option<ssize_t> &,process::Owned<std::string> &,size_t &,boost::shared_array<char>
&,const std::_Ph<1> &>' to 'lambda::CallableOnce<process::Future<std::string>
(const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<Nothing> (__cdecl
*)(const std::shared_ptr<_Ty> &,process::Owned<std::string>,::size_t,::size_t),const
std::shared_ptr<_Ty> &,process::Owned<std::string> &,size_t &,const
std::_Ph<1> &>' to 'lambda::CallableOnce<process::Future<Nothing> (const
T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'std::_Binder<std::_Unforced,process::Future<Nothing> (__cdecl
*)(const std::shared_ptr<_Ty> &,process::Owned<std::string>,::size_t,::size_t),std::shared_ptr<_Ty>,process::Owned<std::string>
&,int,const std::_Ph<1> &>' to 'lambda::CallableOnce<process::Future<Nothing>
(const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(340): error C2665:
'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads
could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\process.cpp)
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(248): error C2665:
'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads
could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\process.cpp)
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'process::convert::<lambda_834bf78f8edef2fe9e55e2adf504e247>' to
'lambda::CallableOnce<process::Future<process::Owned<process::http::Request>>
(const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'process::parse::<lambda_fa7fe7a891de0631ef3c250851666c4d>' to 'lambda::CallableOnce<process::Future<process::MessageEvent
*> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(431): error C2665:
'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads
could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\process.cpp)
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'process::ProcessManager::__processes__::<lambda_a7d64029608c7f85445bdf3fcb302af9>'
to 'lambda::CallableOnce<process::Future<process::http::Response> (const T &)>'
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'process::network::internal::Socket<process::network::inet::Address>::accept::<lambda_4355d0ac067a661c69dc94b9e2900c01>'
to 'lambda::CallableOnce<process::Future<process::network::internal::Socket<process::network::inet::Address>>
(const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(1149): error C2664: 'void
std::vector<lambda::CallableOnce<void (const process::Future<Option<T>>
&)>,std::allocator<_Ty>>::push_back(_Ty &&)': cannot convert argument
1 from 'std::_Binder<std::_Unforced,void (__cdecl *)(process::Owned<process::Latch>),process::Owned<process::Latch>
&>' to 'const lambda::CallableOnce<void (const process::Future<Option<T>>
&)> &' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(297): error C2440: '<function-style-cast>':
cannot convert from 'lambda::_Partial<process::Future<Option<T>>::onAny::<lambda_ff27bbeda6bc51debecbb94ef194a477>,lambda::_BindProtect<std::_Binder<std::_Unforced,void
(__cdecl &)(const process::Future<Option<T>> &,process::Promise<Option<T>>
*,const process::Subprocess &),const std::_Ph<1> &,process::Promise<Option<T>>
*&,process::Subprocess &>>,const std::_Ph<1> &>' to 'lambda::CallableOnce<void
(const process::Future<Option<T>> &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(327): error C2440: '<function-style-cast>':
cannot convert from 'lambda::_Partial<process::Future<short>::onDiscard::<lambda_2e7fc8b7307a3799349322f38d41a916>,lambda::_BindProtect<std::_Binder<std::_Unforced,void
(__cdecl *)(const std::weak_ptr<_Ty> &,short),std::weak_ptr<_Ty> &,short
&>>>' to 'lambda::CallableOnce<void (void)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(340): error C2665:
'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads
could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\jwt_authenticator.cpp)
[C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(327): error C2440: '<function-style-cast>':
cannot convert from 'lambda::_Partial<process::Future<::size_t>::onDiscard::<lambda_991c22fd862988aaa0f7ef18667682b8>,_Ty>'
to 'lambda::CallableOnce<void (void)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]
  C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>':
cannot convert from 'process::network::internal::LibeventSSLSocketImpl::accept::<lambda_1413eb46764582dd3b152d21ca092bb0>'
to 'lambda::CallableOnce<process::Future<std::shared_ptr<_Ty>> (const process::Future<std::shared_ptr<_Ty>>
&)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj]

    373 Warning(s)
    36 Error(s)

Time Elapsed 00:39:28.51
```

- [mesos-java-build-CMakeOutput.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/63641/logs/mesos-java-build-CMakeOutput.log):

```
  Creating directory "C:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_4be2d.dir\Debug\cmTC_4be2d.tlog\".

InitializeBuildStatus:

  Creating "cmTC_4be2d.dir\Debug\cmTC_4be2d.tlog\unsuccessfulbuild" because "AlwaysCreate"
was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\CL.exe
/c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D COMPILER_SUPPORTS_CXX11
/D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Zc:inline /GR /Fo"cmTC_4be2d.dir\Debug\" /Fd"cmTC_4be2d.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue
C:\DCOS\mesos\CMakeFiles\CMakeTmp\src.cxx

  Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D COMPILER_SUPPORTS_CXX11
/D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Zc:inline /GR /Fo"cmTC_4be2d.dir\Debug\" /Fd"cmTC_4be2d.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue
C:\DCOS\mesos\CMakeFiles\CMakeTmp\src.cxx

  src.cxx

  

Link:

  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\link.exe
/ERRORREPORT:QUEUE /OUT:"C:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_4be2d.exe" /INCREMENTAL
/NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/manifest:embed /DEBUG /PDB:"C:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_4be2d.pdb" /SUBSYSTEM:CONSOLE
/TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_4be2d.lib"
/MACHINE:X64  /machine:x64 cmTC_4be2d.dir\Debug\src.obj

  cmTC_4be2d.vcxproj -> C:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_4be2d.exe

  cmTC_4be2d.vcxproj -> C:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_4be2d.pdb (Full PDB)

FinalizeBuildStatus:

  Deleting file "cmTC_4be2d.dir\Debug\cmTC_4be2d.tlog\unsuccessfulbuild".

  Touching "cmTC_4be2d.dir\Debug\cmTC_4be2d.tlog\cmTC_4be2d.lastbuildstate".

Done Building Project "C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_4be2d.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:01.72


Source file was:
int main() { return 0; }
```

- [mesos-java-build-CMakeError.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/63641/logs/mesos-java-build-CMakeError.log):

```
PrepareForBuild:

  Creating directory "cmTC_a3067.dir\Debug\".

  Creating directory "C:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_a3067.dir\Debug\cmTC_a3067.tlog\".

InitializeBuildStatus:

  Creating "cmTC_a3067.dir\Debug\cmTC_a3067.tlog\unsuccessfulbuild" because "AlwaysCreate"
was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\CL.exe
/c /Zi /W3 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D UNICODE /D _UNICODE
/D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t
/Zc:forScope /Zc:inline /Fo"cmTC_a3067.dir\Debug\" /Fd"cmTC_a3067.dir\Debug\vc141.pdb" /Gd
/TC /errorReport:queue C:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c

  Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  

  cl /c /Zi /W3 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D UNICODE /D
_UNICODE /D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE /Gm- /RTC1 /MTd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a3067.dir\Debug\" /Fd"cmTC_a3067.dir\Debug\vc141.pdb"
/Gd /TC /errorReport:queue C:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c

  CheckIncludeFile.c

  

C:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include
file: 'pthread.h': No such file or directory [C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_a3067.vcxproj]

Done Building Project "C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_a3067.vcxproj" (default targets)
-- FAILED.



Build FAILED.



"C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_a3067.vcxproj" (default target) (1) ->

(ClCompile target) -> 

  C:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open
include file: 'pthread.h': No such file or directory [C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_a3067.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:01.13



```

- Mesos Reviewbot Windows


On Nov. 7, 2017, 5:42 p.m., Dmitry Zhuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63641/
> -----------------------------------------------------------
> 
> (Updated Nov. 7, 2017, 5:42 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler and Michael Park.
> 
> 
> Bugs: MESOS-6972
>     https://issues.apache.org/jira/browse/MESOS-6972
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Used move for events consumption in master.
> 
> 
> Diffs
> -----
> 
>   src/master/master.hpp 0c1253aa1a88d113d42ce362d6992ad84217728c 
>   src/master/master.cpp ee212c1a21b432d3aa8e90d748d12cb0a754d57c 
> 
> 
> Diff: https://reviews.apache.org/r/63641/diff/1/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Dmitry Zhuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message