Cannot be built phantomium
G:\chromium\src>gn gen out\phantomium Done. Made 10739 targets from 1803 files in 28805ms G:\chromium\src>ninja -C out/phantomium phantomium ninja: Entering directory out/phantomium'
[17497/24548] CXX obj/phantomium/phantomium/phantomium_page.obj
FAILED: obj/phantomium/phantomium/phantomium_page.obj
../../third_party/llvm-build/Release+Asserts/bin/clang-cl.exe /nologo /showInclu
des "-imsvcG:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Too
ls\MSVC\14.15.26726\ATLMFC\include" "-imsvcG:\Program Files (x86)\Microsoft Visu
al Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include" "-imsvcC:\Program Fi
les (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-imsvcG:\Program Files (x86)
Windows Kits\10\include\10.0.17763.0\ucrt" "-imsvcG:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\shared" "-imsvcG:\Program Files (x86)\Windows Kits
\10\include\10.0.17763.0\um" "-imsvcG:\Program Files (x86)\Windows Kits\10\inclu
de\10.0.17763.0\winrt" "-imsvcG:\Program Files (x86)\Windows Kits\10\include\10.
0.17763.0\cppwinrt" -DUSE_AURA=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWS
ING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD "-DCR_CLANG_REVISION="350768-
3"" -D_HAS_NODISCARD -D_HAS_EXCEPTIONS=0 -DCOMPONENT_BUILD -D__STD_C -D_CRT_RAN
D_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WI
NDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL
-D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND
MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=0x0A000002 -D_WIN32_WINNT=
0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMI
C_ANNOTATIONS=1 -D_HAS_ITERATOR_DEBUGGING=0 -DWEBP_EXTERN=extern -DUSE_EGL -DTOO
LKIT_VIEWS=1 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -
DPROTOBUF_USE_DLLS -DBORINGSSL_SHARED_LIBRARY -DU_USING_ICU_NAMESPACE=0 -DU_ENAB
LE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR
TYPE=wchar_t -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD
-DWEBRTC_WIN -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING -DV8_USE_EXTE
RNAL_STARTUP_DATA -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRA
RY -DSKIA_DLL -DGR_GL_IGNORE_ES3_MSAA=0 -DSKCMS_API=declspec(dllexport) -DSK_S
UPPORT_GPU=1 "-DSK_GPU_WORKAROUNDS_HEADER="gpu/config/gpu_driver_bug_workaround
autogen.h"" -DGR_GL_FUNCTION_TYPE=stdcall -DLEVELDB_PLATFORM_CHROMIUM=1 -DDe
leteFile=DeleteFileW -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_SHARED_LIBRARY -DUS
ING_V8_SHARED -DV8_ENABLE_CHECKS -DV8_DEPRECATION_WARNINGS -I../.. -Igen -I../..
/third_party/libwebp/src -I../../third_party/khronos -I../../gpu -I../../third_p
arty/wtl/include -I../../third_party/libyuv/include -I../../third_party/jsoncpp/
overrides/include -I../../third_party/jsoncpp/source/include -I../../third_party
/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_pa
rty/boringssl/src/include -I../../third_party/ced/src -I../../third_party/icu/so
urce/common -I../../third_party/icu/source/i18n -I../../third_party/webrtc_overr
ides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abs
eil-cpp -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c
-I../../third_party/skia/include/config -I../../third_party/skia/include/core -I
../../third_party/skia/include/docs -I../../third_party/skia/include/effects -I.
./../third_party/skia/include/encode -I../../third_party/skia/include/gpu -I../.
./third_party/skia/include/pathops -I../../third_party/skia/include/ports -I../.
./third_party/skia/include/utils -I../../third_party/skia/include/codec -I../../
third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/s
kia/modules/skottie/include -I../../third_party/libwebm/source -I../../third_par
ty/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/level
database/src/include -I../../v8/include -Igen/v8/include -I../../third_party/per
fetto/include -Igen/third_party/perfetto/protos -I../../testing/gtest/include -I
gen/third_party/perfetto/protos -Igen/third_party/perfetto/protos /utf-8 /X -Wno
-builtin-macro-redefined -D__DATE= -D__TIME= -D__TIMESTAMP= -fcolor-diagno
stics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declar
e=0 -no-canonical-prefixes -fcomplete-member-pointers /Gy /FS /bigobj /d2FastFai
l /Zc:sizedDealloc- -fmsc-version=1911 /Zc:dllexportInlines- -m64 /Brepro /W4 -W
implicit-fallthrough -Wthread-safety /WX /wd4091 /wd4127 /wd4251 /wd4275 /wd4312
/wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505
/wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459
/wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701
/wd4703 /wd4661 /wd4706 /wd4715 /wd4702 -Wno-missing-field-initializers -Wno-un
used-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-unde
fined-var-template -Wno-nonportable-include-path -Wno-ignored-pragma-optimize /O
d /Ob0 /GF /Z7 -fno-standalone-debug /MDd -Xclang -add-plugin -Xclang find-bad-c
onstructs -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -W
no-inconsistent-missing-override -Wno-shorten-64-to-32 -Wno-undefined-bool-conve
rsion -Wno-tautological-undefined-compare /TP /wd4577 /GR- /c ../../phantomium/l
ib/phantomium_page.cc /Foobj/phantomium/phantomium/phantomium_page.obj /Fd"obj/p
hantomium/phantomium_cc.pdb"
../../phantomium/lib/phantomium_page.cc(118,13): error: no viable conversion fr
om 'protocol::Binary' to 'const std::string' (aka 'const basic_string<char, char
traits
^
../..\base/macros.h(15,3): note: expanded from macro 'DISALLOW_COPY'
TypeName(const TypeName&) = delete
^
In file included from ../../phantomium/lib/phantomium_page.cc:14:
In file included from ../..\phantomium/lib/phantomium_page.h:12:
In file included from gen\headless/public/devtools/domains/inspector.h:11:
../..\base/observer_list.h(303,65): error: cannot initialize a parameter of typ
e 'const base::CheckedObserver *' with an lvalue of type 'const phantomium::Phan
tomiumPage::Observer const'
[obs](const auto& o) { return o.IsEqual(obs); }) !=
^~~
G:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.1
5.26726\include\algorithm(174,7): note: in instantiation of function template s
pecialization 'base::ObserverList<phantomium::PhantomiumPage::Observer, false, t
rue, base::internal::CheckedObserverAdapter>::HasObserver(const phantomium::Phan
tomiumPage::Observer )::(anonymous class)::operator()<base::internal::CheckedOb
serverAdapter>' requested here
if (_Pred(_UFirst))
^
../..\base/observer_list.h(302,17): note: in instantiation of function template
specialization 'std::find_if<std::Vector_const_iterator<std::Vector_val<std::
Simple_typesbase::internal::CheckedObserverAdapter > >, (lambda at ../..\base
/observer_list.h:303:25)>' requested here
return std::find_if(observers.begin(), observers.end(),
^
../..\base/observer_list.h(270,9): note: in instantiation of member function 'b
ase::ObserverList<phantomium::PhantomiumPage::Observer, false, true, base::inter
nal::CheckedObserverAdapter>::HasObserver' requested here
if (HasObserver(obs)) {
^
../../phantomium/lib/phantomium_page.cc(198,14): note: in instantiation of memb
er function 'base::ObserverList<phantomium::PhantomiumPage::Observer, false, tru
e, base::internal::CheckedObserverAdapter>::AddObserver' requested here
observers.AddObserver(obs);
^
../..\base/observer_list_internal.h(77,39): note: passing argument to parameter
'rhs' here
bool IsEqual(const CheckedObserver rhs) const {
^
In file included from ../../phantomium/lib/phantomium_page.cc:14:
In file included from ../..\phantomium/lib/phantomium_page.h:12:
In file included from gen\headless/public/devtools/domains/inspector.h:11:
../..\base/observer_list.h(283,62): error: cannot initialize a parameter of typ
e 'const base::CheckedObserver *' with an lvalue of type 'const phantomium::Phan
tomiumPage::Observer const'
[obs](const auto& o) { return o.IsEqual(obs); });
^~~
G:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.1
5.26726\include\algorithm(174,7): note: in instantiation of function template s
pecialization 'base::ObserverList<phantomium::PhantomiumPage::Observer, false, t
rue, base::internal::CheckedObserverAdapter>::RemoveObserver(const phantomium::P
hantomiumPage::Observer )::(anonymous class)::operator()<base::internal::Checke
dObserverAdapter>' requested here
if (_Pred(_UFirst))
^
../..\base/observer_list.h(282,14): note: in instantiation of function template
specialization 'std::find_if<std::Vector_iterator<std::Vector_val<std::Simpl
e_typesbase::internal::CheckedObserverAdapter > >, (lambda at ../..\base/obser
ver_list.h:283:22)>' requested here
std::find_if(observers.begin(), observers.end(),
^
../../phantomium/lib/phantomium_page.cc(203,14): note: in instantiation of memb
er function 'base::ObserverList<phantomium::PhantomiumPage::Observer, false, tru
e, base::internal::CheckedObserverAdapter>::RemoveObserver' requested here
observers.RemoveObserver(obs);
^
../..\base/observer_list_internal.h(77,39): note: passing argument to parameter
'rhs' here
bool IsEqual(const CheckedObserver rhs) const {
^
6 errors generated.
[17502/24548] CXX obj/ppapi/host/host/ppapi_host.obj
ninja: build stopped: subcommand failed.`