* using log directory 'd:/Rcompile/CRANpkg/local/3.6/re2.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 're2/DESCRIPTION' ... OK * checking extension type ... Package * this is package 're2' version '0.1.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 're2' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.6/re2.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 're2' ... ** package 're2' successfully unpacked and MD5 sums checked ** using staged installation ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/Rtmpu6iazI/R.INSTALLd5905765551/re2/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/util/rune.cc -o re2google/util/rune.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/util/strutil.cc -o re2google/util/strutil.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/bitstate.cc -o re2google/re2/bitstate.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/compile.cc -o re2google/re2/compile.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/dfa.cc -o re2google/re2/dfa.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/filtered_re2.cc -o re2google/re2/filtered_re2.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/mimics_pcre.cc -o re2google/re2/mimics_pcre.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/nfa.cc -o re2google/re2/nfa.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/onepass.cc -o re2google/re2/onepass.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/parse.cc -o re2google/re2/parse.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/perl_groups.cc -o re2google/re2/perl_groups.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/prefilter.cc -o re2google/re2/prefilter.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/prefilter_tree.cc -o re2google/re2/prefilter_tree.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/prog.cc -o re2google/re2/prog.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/re2.cc -o re2google/re2/re2.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/regexp.cc -o re2google/re2/regexp.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/set.cc -o re2google/re2/set.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/simplify.cc -o re2google/re2/simplify.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/stringpiece.cc -o re2google/re2/stringpiece.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/tostring.cc -o re2google/re2/tostring.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/unicode_casefold.cc -o re2google/re2/unicode_casefold.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2google/re2/unicode_groups.cc -o re2google/re2/unicode_groups.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Ire2google -DNDEBUG -include re2/re2.h -DRE2_R_BUILD -DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c re2_re2proxy.cpp -o re2_re2proxy.o In file included from re2_re2proxy.cpp:5:0: re2_re2proxy.h:55:16: error: 'unique_ptr' in namespace 'std' does not name a template type typedef std::unique_ptr RE2AdapterPtr; ^ re2_re2proxy.h:56:15: error: 'RE2AdapterPtr' was not declared in this scope std::vector container; ^ re2_re2proxy.h:56:28: error: template argument 1 is invalid std::vector container; ^ re2_re2proxy.h:56:28: error: template argument 2 is invalid re2_re2proxy.h: In member function 're2::RE2Proxy::Adapter& re2::RE2Proxy::operator[](int)': re2_re2proxy.h:48:54: error: request for member 'at' in '((re2::RE2Proxy*)this)->re2::RE2Proxy::container', which is of non-class type 'int' Adapter &operator[](int index) { return *container.at(index); } ^ re2_re2proxy.h: In member function 'int re2::RE2Proxy::size()': re2_re2proxy.h:49:33: error: request for member 'size' in '((re2::RE2Proxy*)this)->re2::RE2Proxy::container', which is of non-class type 'int' int size() { return container.size(); } ^ re2_re2proxy.h: In member function 'void re2::RE2Proxy::append(re2::RE2Proxy::Adapter*)': re2_re2proxy.h:57:40: error: request for member 'push_back' in '((re2::RE2Proxy*)this)->re2::RE2Proxy::container', which is of non-class type 'int' void append(Adapter *ap) { container.push_back(RE2AdapterPtr(ap)); }; ^ re2_re2proxy.h:57:66: error: 'RE2AdapterPtr' was not declared in this scope void append(Adapter *ap) { container.push_back(RE2AdapterPtr(ap)); }; ^ re2_re2proxy.cpp: In constructor 're2::RE2Proxy::RE2Proxy(SEXPREC* const&)': re2_re2proxy.cpp:43:15: error: request for member 'reserve' in '((re2::RE2Proxy*)this)->re2::RE2Proxy::container', which is of non-class type 'int' container.reserve(XLENGTH(input)); ^ re2_re2proxy.cpp:46:17: error: request for member 'empty' in '((re2::RE2Proxy*)this)->re2::RE2Proxy::container', which is of non-class type 'int' if (container.empty()) { ^ re2_re2proxy.cpp: In member function 'std::vector >& re2::RE2Proxy::all_group_names()': re2_re2proxy.cpp:67:19: error: request for member 'size' in '((re2::RE2Proxy*)this)->re2::RE2Proxy::container', which is of non-class type 'int' if (container.size() == 1) { ^ re2_re2proxy.cpp:68:36: error: request for member 'at' in '((re2::RE2Proxy*)this)->re2::RE2Proxy::container', which is of non-class type 'int' _all_group_names = container.at(0)->group_names(); ^ re2_re2proxy.cpp:71:25: error: 'begin' was not declared in this scope for (auto &re2p : container) { ^ re2_re2proxy.cpp:71:25: note: suggested alternative: In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/string:51:0, from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/random:40, from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/bits/stl_algo.h:66, from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/algorithm:62, from re2google/re2/re2.h:207, from :0: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/bits/range_access.h:87:5: note: 'std::begin' begin(_Tp (&__arr)[_Nm]) ^ re2_re2proxy.cpp:71:25: error: 'end' was not declared in this scope for (auto &re2p : container) { ^ re2_re2proxy.cpp:71:25: note: suggested alternative: In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/string:51:0, from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/random:40, from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/bits/stl_algo.h:66, from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/algorithm:62, from re2google/re2/re2.h:207, from :0: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/bits/range_access.h:97:5: note: 'std::end' end(_Tp (&__arr)[_Nm]) ^ make[1]: *** [re2_re2proxy.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/Rtmpu6iazI/R.INSTALLd5905765551/re2/src-i386' ERROR: compilation failed for package 're2' * removing 'd:/Rcompile/CRANpkg/lib/3.6/re2'