[00:00:00] Build started [00:00:00] git clone -q --depth=5 --branch=testing-vs-install https://github.com/jameslamb/LightGBM.git C:\projects\lightgbm [00:00:02] git checkout -qf 3bbccebdf13a33a5d20c08bc9ea325cc7961400e [00:00:02] Running Install scripts [00:00:02] git submodule update --init --recursive [00:00:02] Submodule 'include/boost/compute' (https://github.com/boostorg/compute) registered for path 'compute' [00:00:04] Cloning into 'C:/projects/lightgbm/compute'... [00:00:04] Submodule path 'compute': checked out '36c89134d4013b2e5e45bc55656a18bd6141995a' [00:00:10] set PATH=%PATH:C:\Program Files\Git\usr\bin;=% [00:00:10] set PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH% [00:00:10] set PYTHON_VERSION=%CONFIGURATION% [00:00:10] set CONDA_ENV="test-env" [00:00:10] switch ($env:PYTHON_VERSION) { [00:00:10] "2.7" {$env:MINICONDA = "C:\Miniconda-x64"} [00:00:10] "3.5" {$env:MINICONDA = "C:\Miniconda35-x64"} [00:00:10] "3.6" {$env:MINICONDA = "C:\Miniconda36-x64"} [00:00:10] "3.7" {$env:MINICONDA = "C:\Miniconda37-x64"} [00:00:10] default {$env:MINICONDA = "C:\Miniconda37-x64"} [00:00:10] } $env:PATH="$env:MINICONDA;$env:MINICONDA\Scripts;$env:PATH" [00:00:10] $env:LGB_VER = (Get-Content $env:APPVEYOR_BUILD_FOLDER\VERSION.txt).trim() [00:00:10] conda init powershell [00:00:13] no change C:\Miniconda37-x64\Scripts\conda.exe [00:00:13] no change C:\Miniconda37-x64\Scripts\conda-env.exe [00:00:13] no change C:\Miniconda37-x64\Scripts\conda-script.py [00:00:13] no change C:\Miniconda37-x64\Scripts\conda-env-script.py [00:00:13] no change C:\Miniconda37-x64\condabin\conda.bat [00:00:13] no change C:\Miniconda37-x64\Library\bin\conda.bat [00:00:13] no change C:\Miniconda37-x64\condabin\_conda_activate.bat [00:00:13] no change C:\Miniconda37-x64\condabin\rename_tmp.bat [00:00:13] no change C:\Miniconda37-x64\condabin\conda_auto_activate.bat [00:00:13] no change C:\Miniconda37-x64\condabin\conda_hook.bat [00:00:13] no change C:\Miniconda37-x64\Scripts\activate.bat [00:00:13] no change C:\Miniconda37-x64\condabin\activate.bat [00:00:13] no change C:\Miniconda37-x64\condabin\deactivate.bat [00:00:13] modified C:\Miniconda37-x64\Scripts\activate [00:00:13] modified C:\Miniconda37-x64\Scripts\deactivate [00:00:13] modified C:\Miniconda37-x64\etc\profile.d\conda.sh [00:00:13] modified C:\Miniconda37-x64\etc\fish\conf.d\conda.fish [00:00:13] no change C:\Miniconda37-x64\shell\condabin\Conda.psm1 [00:00:13] modified C:\Miniconda37-x64\shell\condabin\conda-hook.ps1 [00:00:13] modified C:\Miniconda37-x64\Lib\site-packages\xontrib\conda.xsh [00:00:13] modified C:\Miniconda37-x64\etc\profile.d\conda.csh [00:00:13] modified C:\Users\appveyor\Documents\PowerShell\profile.ps1 [00:00:13] modified C:\Users\appveyor\Documents\WindowsPowerShell\profile.ps1 [00:00:13] [00:00:13] ==> For changes to take effect, close and re-open your current shell. <== [00:00:13] [00:00:13] powershell.exe -ExecutionPolicy Bypass -File %APPVEYOR_BUILD_FOLDER%\.ci\test_windows.ps1 [00:00:14] Downloading R and Rtools [00:00:14] Downloading https://cloud.r-project.org/bin/windows/base/old/3.6.3/R-3.6.3-win.exe [00:00:20] Downloading https://cloud.r-project.org/bin/windows/Rtools/Rtools35.exe [00:00:48] Installing R [00:01:03] Done installing R [00:01:03] Installing Rtools [00:01:40] Done installing Rtools [00:01:40] Installing dependencies [00:01:42] also installing the dependencies 'ps', 'processx', 'callr', 'prettyunits', 'backports', 'assertthat', 'glue', 'fansi', 'desc', 'pkgbuild', 'rprojroot', 'rstudioapi', 'cli', 'crayon', 'digest', 'ellipsis', 'evaluate', 'magrittr', 'pkgload', 'praise', 'rlang', 'withr' [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/ps_1.3.2.zip' [00:01:42] Content type 'application/zip' length 312236 bytes (304 KB) [00:01:42] ================================================== [00:01:42] downloaded 304 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/processx_3.4.2.zip' [00:01:42] Content type 'application/zip' length 428150 bytes (418 KB) [00:01:42] ================================================== [00:01:42] downloaded 418 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/callr_3.4.3.zip' [00:01:42] Content type 'application/zip' length 389926 bytes (380 KB) [00:01:42] ================================================== [00:01:42] downloaded 380 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/prettyunits_1.1.1.zip' [00:01:42] Content type 'application/zip' length 37895 bytes (37 KB) [00:01:42] ================================================== [00:01:42] downloaded 37 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/backports_1.1.6.zip' [00:01:42] Content type 'application/zip' length 77492 bytes (75 KB) [00:01:42] ================================================== [00:01:42] downloaded 75 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/assertthat_0.2.1.zip' [00:01:42] Content type 'application/zip' length 54942 bytes (53 KB) [00:01:42] ================================================== [00:01:42] downloaded 53 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/glue_1.4.0.zip' [00:01:42] Content type 'application/zip' length 157495 bytes (153 KB) [00:01:42] ================================================== [00:01:42] downloaded 153 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/fansi_0.4.1.zip' [00:01:42] Content type 'application/zip' length 223622 bytes (218 KB) [00:01:42] ================================================== [00:01:42] downloaded 218 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/desc_1.2.0.zip' [00:01:42] Content type 'application/zip' length 288777 bytes (282 KB) [00:01:42] ================================================== [00:01:42] downloaded 282 KB [00:01:42] [00:01:42] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/pkgbuild_1.0.7.zip' [00:01:42] Content type 'application/zip' length 136004 bytes (132 KB) [00:01:43] ================================================== [00:01:43] downloaded 132 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/rprojroot_1.3-2.zip' [00:01:43] Content type 'application/zip' length 84816 bytes (82 KB) [00:01:43] ================================================== [00:01:43] downloaded 82 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/rstudioapi_0.11.zip' [00:01:43] Content type 'application/zip' length 280599 bytes (274 KB) [00:01:43] ================================================== [00:01:43] downloaded 274 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/cli_2.0.2.zip' [00:01:43] Content type 'application/zip' length 398077 bytes (388 KB) [00:01:43] ================================================== [00:01:43] downloaded 388 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/crayon_1.3.4.zip' [00:01:43] Content type 'application/zip' length 749900 bytes (732 KB) [00:01:43] ================================================== [00:01:43] downloaded 732 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/digest_0.6.25.zip' [00:01:43] Content type 'application/zip' length 249489 bytes (243 KB) [00:01:43] ================================================== [00:01:43] downloaded 243 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/ellipsis_0.3.0.zip' [00:01:43] Content type 'application/zip' length 44584 bytes (43 KB) [00:01:43] ================================================== [00:01:43] downloaded 43 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/evaluate_0.14.zip' [00:01:43] Content type 'application/zip' length 76699 bytes (74 KB) [00:01:43] ================================================== [00:01:43] downloaded 74 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/magrittr_1.5.zip' [00:01:43] Content type 'application/zip' length 157492 bytes (153 KB) [00:01:43] ================================================== [00:01:43] downloaded 153 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/pkgload_1.0.2.zip' [00:01:43] Content type 'application/zip' length 157029 bytes (153 KB) [00:01:43] ================================================== [00:01:43] downloaded 153 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/praise_1.0.0.zip' [00:01:43] Content type 'application/zip' length 19734 bytes (19 KB) [00:01:43] ================================================== [00:01:43] downloaded 19 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/rlang_0.4.5.zip' [00:01:43] Content type 'application/zip' length 1129820 bytes (1.1 MB) [00:01:43] ================================================== [00:01:43] downloaded 1.1 MB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/withr_2.2.0.zip' [00:01:43] Content type 'application/zip' length 206792 bytes (201 KB) [00:01:43] ================================================== [00:01:43] downloaded 201 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/data.table_1.12.8.zip' [00:01:43] Content type 'application/zip' length 2276913 bytes (2.2 MB) [00:01:43] ================================================== [00:01:43] downloaded 2.2 MB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/jsonlite_1.6.1.zip' [00:01:43] Content type 'application/zip' length 1165712 bytes (1.1 MB) [00:01:43] ================================================== [00:01:43] downloaded 1.1 MB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/Matrix_1.2-18.zip' [00:01:43] Content type 'application/zip' length 4522050 bytes (4.3 MB) [00:01:43] ================================================== [00:01:43] downloaded 4.3 MB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/R6_2.4.1.zip' [00:01:43] Content type 'application/zip' length 59299 bytes (57 KB) [00:01:43] ================================================== [00:01:43] downloaded 57 KB [00:01:43] [00:01:43] trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/testthat_2.3.2.zip' [00:01:43] Content type 'application/zip' length 1799381 bytes (1.7 MB) [00:01:43] ================================================== [00:01:43] downloaded 1.7 MB [00:01:43] [00:01:43] package 'ps' successfully unpacked and MD5 sums checked [00:01:43] package 'processx' successfully unpacked and MD5 sums checked [00:01:44] package 'callr' successfully unpacked and MD5 sums checked [00:01:44] package 'prettyunits' successfully unpacked and MD5 sums checked [00:01:44] package 'backports' successfully unpacked and MD5 sums checked [00:01:44] package 'assertthat' successfully unpacked and MD5 sums checked [00:01:44] package 'glue' successfully unpacked and MD5 sums checked [00:01:44] package 'fansi' successfully unpacked and MD5 sums checked [00:01:44] package 'desc' successfully unpacked and MD5 sums checked [00:01:44] package 'pkgbuild' successfully unpacked and MD5 sums checked [00:01:44] package 'rprojroot' successfully unpacked and MD5 sums checked [00:01:44] package 'rstudioapi' successfully unpacked and MD5 sums checked [00:01:44] package 'cli' successfully unpacked and MD5 sums checked [00:01:44] package 'crayon' successfully unpacked and MD5 sums checked [00:01:44] package 'digest' successfully unpacked and MD5 sums checked [00:01:44] package 'ellipsis' successfully unpacked and MD5 sums checked [00:01:44] package 'evaluate' successfully unpacked and MD5 sums checked [00:01:44] package 'magrittr' successfully unpacked and MD5 sums checked [00:01:44] package 'pkgload' successfully unpacked and MD5 sums checked [00:01:44] package 'praise' successfully unpacked and MD5 sums checked [00:01:44] package 'rlang' successfully unpacked and MD5 sums checked [00:01:44] package 'withr' successfully unpacked and MD5 sums checked [00:01:44] package 'data.table' successfully unpacked and MD5 sums checked [00:01:44] package 'jsonlite' successfully unpacked and MD5 sums checked [00:01:44] package 'Matrix' successfully unpacked and MD5 sums checked [00:01:44] package 'R6' successfully unpacked and MD5 sums checked [00:01:44] package 'testthat' successfully unpacked and MD5 sums checked [00:01:44] [00:01:44] The downloaded binary packages are in [00:01:44] C:\Users\appveyor\AppData\Local\Temp\1\RtmpeC2Rrj\downloaded_packages [00:01:44] Building R package [00:01:46] * checking for file 'lightgbm_r/DESCRIPTION' ... OK [00:01:46] * preparing 'lightgbm': [00:01:46] * checking DESCRIPTION meta-information ... OK [00:01:46] * cleaning src [00:01:46] * checking for LF line-endings in source and make files and shell scripts [00:01:47] * checking for empty or unneeded directories [00:01:47] WARNING: directory 'lightgbm/src/compute/test' is empty [00:01:47] * looking to see if a 'data/datalist' file should be added [00:01:47] * building 'lightgbm_2.3.2.tar.gz' [00:01:48] [00:01:49] * installing to library 'C:/projects/lightgbm/RLibrary' [00:01:49] * installing *source* package 'lightgbm' ... [00:01:49] ** using staged installation [00:01:49] ** libs [00:01:49] installing via 'install.libs.R' to C:/projects/lightgbm/RLibrary/00LOCK-lightgbm/00new/lightgbm [00:01:49] [1] "2020-05-06 02:46:24 BST" [00:01:49] [1] "Trying 'Visual Studio 16 2019'" [00:01:50] CMake Error at CMakeLists.txt:1 (PROJECT): [00:01:50] Generator [00:01:50] [00:01:50] Visual Studio 16 2019 [00:01:50] [00:01:50] could not find any instance of Visual Studio. [00:01:50] [00:01:50] [00:01:50] [00:01:50] -- Configuring incomplete, errors occurred! [00:01:50] See also "C:/Users/appveyor/AppData/Local/Temp/1/RtmpeKqHOM/test/CMakeFiles/CMakeOutput.log". [00:01:50] [1] "2020-05-06 02:46:24 BST" [00:01:50] [1] "Trying 'Visual Studio 15 2017'" [00:01:50] [1] "Directory 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\RtmpeKqHOM/test' already exists, removing it" [00:01:50] Warning in dir.create(build_dir) : [00:01:50] 'C:\Users\appveyor\AppData\Local\Temp\1\RtmpeKqHOM\test' already exists [00:01:50] CMake Error at CMakeLists.txt:1 (PROJECT): [00:01:50] Generator [00:01:50] [00:01:50] Visual Studio 15 2017 [00:01:50] [00:01:50] could not find any instance of Visual Studio. [00:01:50] [00:01:50] [00:01:50] [00:01:50] -- Configuring incomplete, errors occurred! [00:01:50] See also "C:/Users/appveyor/AppData/Local/Temp/1/RtmpeKqHOM/test/CMakeFiles/CMakeOutput.log". [00:01:50] [1] "2020-05-06 02:46:24 BST" [00:01:50] [1] "Trying 'Visual Studio 14 2015'" [00:01:50] [1] "Directory 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\RtmpeKqHOM/test' already exists, removing it" [00:01:50] Warning in dir.create(build_dir) : [00:01:50] 'C:\Users\appveyor\AppData\Local\Temp\1\RtmpeKqHOM\test' already exists [00:02:00] -- The C compiler identification is MSVC 19.0.24241.7 [00:02:05] -- The CXX compiler identification is MSVC 19.0.24241.7 [00:02:06] -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe [00:02:11] -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works [00:02:11] -- Detecting C compiler ABI info [00:02:16] -- Detecting C compiler ABI info - done [00:02:16] -- Detecting C compile features [00:02:16] -- Detecting C compile features - done [00:02:16] -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe [00:02:21] -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works [00:02:21] -- Detecting CXX compiler ABI info [00:02:26] -- Detecting CXX compiler ABI info - done [00:02:26] -- Detecting CXX compile features [00:02:35] -- Detecting CXX compile features - done [00:02:35] -- Configuring done [00:02:36] -- Generating done [00:02:36] -- Build files have been written to: C:/Users/appveyor/AppData/Local/Temp/1/RtmpeKqHOM/test