Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R-package] [ci] mingw gcc often fails on CMake builds #3469

Closed
jameslamb opened this issue Oct 18, 2020 · 44 comments · Fixed by #3523 or #4053
Closed

[R-package] [ci] mingw gcc often fails on CMake builds #3469

jameslamb opened this issue Oct 18, 2020 · 44 comments · Fixed by #3523 or #4053
Assignees

Comments

@jameslamb
Copy link
Collaborator

See https://github.com/microsoft/LightGBM/runs/1264985038?check_suite_focus=true, from #3443 (comment)

CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "C:/Rtools/mingw_64/bin/gcc.exe"

  is not able to compile a simple test program.
full logs
2020-10-16T14:38:50.8897429Z ##[section]Starting: Request a runner to run this job
2020-10-16T14:38:52.6264338Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'windows-latest'
2020-10-16T14:38:52.7025837Z Can't find any online and idle self-hosted runner in current repository's organization/enterprise account that matches the required labels: 'windows-latest'
2020-10-16T14:38:52.7910156Z Found online and idle hosted runner in current repository's enterprise account that matches the required labels: 'windows-latest'
2020-10-16T14:38:52.9259480Z ##[section]Finishing: Request a runner to run this job
2020-10-16T14:39:03.6094947Z Current runner version: '2.273.5'
2020-10-16T14:39:03.6128409Z ##[group]Operating System
2020-10-16T14:39:03.6129179Z Microsoft Windows Server 2019
2020-10-16T14:39:03.6129559Z 10.0.17763
2020-10-16T14:39:03.6129840Z Datacenter
2020-10-16T14:39:03.6130247Z ##[endgroup]
2020-10-16T14:39:03.6130658Z ##[group]Virtual Environment
2020-10-16T14:39:03.6131143Z Environment: windows-2019
2020-10-16T14:39:03.6131552Z Version: 20201004.1
2020-10-16T14:39:03.6132394Z Included Software: https://github.com/actions/virtual-environments/blob/win19/20201004.1/images/win/Windows2019-Readme.md
2020-10-16T14:39:03.6133230Z ##[endgroup]
2020-10-16T14:39:03.6134333Z Prepare workflow directory
2020-10-16T14:39:03.7357611Z Prepare all required actions
2020-10-16T14:39:03.7367727Z Getting action download info
2020-10-16T14:39:03.9801205Z Download action repository 'actions/checkout@v1'
2020-10-16T14:39:04.9293094Z Download action repository 'goanpeca/setup-miniconda@v1'
2020-10-16T14:39:06.9401850Z ##[group]Run git config --global core.autocrlf false
2020-10-16T14:39:06.9402653Z �[36;1mgit config --global core.autocrlf false�[0m
2020-10-16T14:39:07.3310111Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2020-10-16T14:39:07.3311064Z ##[endgroup]
2020-10-16T14:39:30.2550606Z ##[group]Run actions/checkout@v1
2020-10-16T14:39:30.2551100Z with:
2020-10-16T14:39:30.2551402Z   fetch-depth: 5
2020-10-16T14:39:30.2551732Z   submodules: true
2020-10-16T14:39:30.2552037Z   clean: true
2020-10-16T14:39:30.2552428Z ##[endgroup]
2020-10-16T14:39:30.7696575Z Syncing repository: microsoft/LightGBM
2020-10-16T14:39:30.7807376Z ##[command]git version
2020-10-16T14:39:30.8347942Z git version 2.28.0.windows.1
2020-10-16T14:39:30.8427271Z ##[command]git lfs version
2020-10-16T14:39:34.2147526Z git-lfs/2.11.0 (GitHub; windows amd64; go 1.14.2; git 48b28d97)
2020-10-16T14:39:34.2291238Z ##[command]git init "D:\a\LightGBM\LightGBM"
2020-10-16T14:39:34.4554663Z Initialized empty Git repository in D:/a/LightGBM/LightGBM/.git/
2020-10-16T14:39:34.4627300Z ##[command]git remote add origin https://github.com/microsoft/LightGBM
2020-10-16T14:39:34.5569940Z ##[command]git config gc.auto 0
2020-10-16T14:39:34.5986319Z ##[command]git config --get-all http.https://github.com/microsoft/LightGBM.extraheader
2020-10-16T14:39:34.6440694Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules --depth=5 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/3443/merge:refs/remotes/pull/3443/merge
2020-10-16T14:39:38.2006675Z remote: Enumerating objects: 4621, done.        
2020-10-16T14:39:38.2008885Z remote: Counting objects:   0% (1/4621)        
2020-10-16T14:39:38.2011046Z remote: Counting objects:   1% (47/4621)        
2020-10-16T14:39:38.2012451Z remote: Counting objects:   2% (93/4621)        
2020-10-16T14:39:38.2093599Z remote: Counting objects:   3% (139/4621)        
2020-10-16T14:39:38.2096162Z remote: Counting objects:   4% (185/4621)        
2020-10-16T14:39:38.2098043Z remote: Counting objects:   5% (232/4621)        
2020-10-16T14:39:38.2099521Z remote: Counting objects:   6% (278/4621)        
2020-10-16T14:39:38.2101158Z remote: Counting objects:   7% (324/4621)        
2020-10-16T14:39:38.2102700Z remote: Counting objects:   8% (370/4621)        
2020-10-16T14:39:38.2103640Z remote: Counting objects:   9% (416/4621)        
2020-10-16T14:39:38.2104917Z remote: Counting objects:  10% (463/4621)        
2020-10-16T14:39:38.2106292Z remote: Counting objects:  11% (509/4621)        
2020-10-16T14:39:38.2106810Z remote: Counting objects:  12% (555/4621)        
2020-10-16T14:39:38.2107520Z remote: Counting objects:  13% (601/4621)        
2020-10-16T14:39:38.2108565Z remote: Counting objects:  14% (647/4621)        
2020-10-16T14:39:38.2109081Z remote: Counting objects:  15% (694/4621)        
2020-10-16T14:39:38.2110130Z remote: Counting objects:  16% (740/4621)        
2020-10-16T14:39:38.2110878Z remote: Counting objects:  17% (786/4621)        
2020-10-16T14:39:38.2113904Z remote: Counting objects:  18% (832/4621)        
2020-10-16T14:39:38.2114489Z remote: Counting objects:  19% (878/4621)        
2020-10-16T14:39:38.2116043Z remote: Counting objects:  20% (925/4621)        
2020-10-16T14:39:38.2116876Z remote: Counting objects:  21% (971/4621)        
2020-10-16T14:39:38.2117362Z remote: Counting objects:  22% (1017/4621)        
2020-10-16T14:39:38.2118157Z remote: Counting objects:  23% (1063/4621)        
2020-10-16T14:39:38.2119199Z remote: Counting objects:  24% (1110/4621)        
2020-10-16T14:39:38.2119608Z remote: Counting objects:  25% (1156/4621)        
2020-10-16T14:39:38.2120002Z remote: Counting objects:  26% (1202/4621)        
2020-10-16T14:39:38.2120796Z remote: Counting objects:  27% (1248/4621)        
2020-10-16T14:39:38.2121232Z remote: Counting objects:  28% (1294/4621)        
2020-10-16T14:39:38.2121629Z remote: Counting objects:  29% (1341/4621)        
2020-10-16T14:39:38.2122024Z remote: Counting objects:  30% (1387/4621)        
2020-10-16T14:39:38.2123742Z remote: Counting objects:  31% (1433/4621)        
2020-10-16T14:39:38.2125262Z remote: Counting objects:  32% (1479/4621)        
2020-10-16T14:39:38.2127495Z remote: Counting objects:  33% (1525/4621)        
2020-10-16T14:39:38.2128386Z remote: Counting objects:  34% (1572/4621)        
2020-10-16T14:39:38.2128937Z remote: Counting objects:  35% (1618/4621)        
2020-10-16T14:39:38.2129440Z remote: Counting objects:  36% (1664/4621)        
2020-10-16T14:39:38.2130548Z remote: Counting objects:  37% (1710/4621)        
2020-10-16T14:39:38.2130986Z remote: Counting objects:  38% (1756/4621)        
2020-10-16T14:39:38.2131700Z remote: Counting objects:  39% (1803/4621)        
2020-10-16T14:39:38.2132123Z remote: Counting objects:  40% (1849/4621)        
2020-10-16T14:39:38.2132542Z remote: Counting objects:  41% (1895/4621)        
2020-10-16T14:39:38.2133193Z remote: Counting objects:  42% (1941/4621)        
2020-10-16T14:39:38.2133631Z remote: Counting objects:  43% (1988/4621)        
2020-10-16T14:39:38.2134045Z remote: Counting objects:  44% (2034/4621)        
2020-10-16T14:39:38.2134459Z remote: Counting objects:  45% (2080/4621)        
2020-10-16T14:39:38.2135091Z remote: Counting objects:  46% (2126/4621)        
2020-10-16T14:39:38.2135512Z remote: Counting objects:  47% (2172/4621)        
2020-10-16T14:39:38.2135933Z remote: Counting objects:  48% (2219/4621)        
2020-10-16T14:39:38.2136345Z remote: Counting objects:  49% (2265/4621)        
2020-10-16T14:39:38.2136759Z remote: Counting objects:  50% (2311/4621)        
2020-10-16T14:39:38.2137175Z remote: Counting objects:  51% (2357/4621)        
2020-10-16T14:39:38.2137848Z remote: Counting objects:  52% (2403/4621)        
2020-10-16T14:39:38.2138304Z remote: Counting objects:  53% (2450/4621)        
2020-10-16T14:39:38.2138742Z remote: Counting objects:  54% (2496/4621)        
2020-10-16T14:39:38.2139110Z remote: Counting objects:  55% (2542/4621)        
2020-10-16T14:39:38.2139535Z remote: Counting objects:  56% (2588/4621)        
2020-10-16T14:39:38.2140272Z remote: Counting objects:  57% (2634/4621)        
2020-10-16T14:39:38.2140814Z remote: Counting objects:  58% (2681/4621)        
2020-10-16T14:39:38.2141240Z remote: Counting objects:  59% (2727/4621)        
2020-10-16T14:39:38.2141659Z remote: Counting objects:  60% (2773/4621)        
2020-10-16T14:39:38.2142078Z remote: Counting objects:  61% (2819/4621)        
2020-10-16T14:39:38.2142737Z remote: Counting objects:  62% (2866/4621)        
2020-10-16T14:39:38.2143326Z remote: Counting objects:  63% (2912/4621)        
2020-10-16T14:39:38.2143806Z remote: Counting objects:  64% (2958/4621)        
2020-10-16T14:39:38.2144622Z remote: Counting objects:  65% (3004/4621)        
2020-10-16T14:39:38.2145217Z remote: Counting objects:  66% (3050/4621)        
2020-10-16T14:39:38.2146149Z remote: Counting objects:  67% (3097/4621)        
2020-10-16T14:39:38.2146946Z remote: Counting objects:  68% (3143/4621)        
2020-10-16T14:39:38.2148502Z remote: Counting objects:  69% (3189/4621)        
2020-10-16T14:39:38.2149028Z remote: Counting objects:  70% (3235/4621)        
2020-10-16T14:39:38.2149468Z remote: Counting objects:  71% (3281/4621)        
2020-10-16T14:39:38.2150264Z remote: Counting objects:  72% (3328/4621)        
2020-10-16T14:39:38.2150815Z remote: Counting objects:  73% (3374/4621)        
2020-10-16T14:39:38.2151513Z remote: Counting objects:  74% (3420/4621)        
2020-10-16T14:39:38.2152112Z remote: Counting objects:  75% (3466/4621)        
2020-10-16T14:39:38.2152542Z remote: Counting objects:  76% (3512/4621)        
2020-10-16T14:39:38.2153445Z remote: Counting objects:  77% (3559/4621)        
2020-10-16T14:39:38.2154297Z remote: Counting objects:  78% (3605/4621)        
2020-10-16T14:39:38.2154762Z remote: Counting objects:  79% (3651/4621)        
2020-10-16T14:39:38.2155178Z remote: Counting objects:  80% (3697/4621)        
2020-10-16T14:39:38.2155825Z remote: Counting objects:  81% (3744/4621)        
2020-10-16T14:39:38.2156247Z remote: Counting objects:  82% (3790/4621)        
2020-10-16T14:39:38.2156938Z remote: Counting objects:  83% (3836/4621)        
2020-10-16T14:39:38.2158318Z remote: Counting objects:  84% (3882/4621)        
2020-10-16T14:39:38.2158757Z remote: Counting objects:  85% (3928/4621)        
2020-10-16T14:39:38.2159223Z remote: Counting objects:  86% (3975/4621)        
2020-10-16T14:39:38.2159616Z remote: Counting objects:  87% (4021/4621)        
2020-10-16T14:39:38.2160044Z remote: Counting objects:  88% (4067/4621)        
2020-10-16T14:39:38.2160637Z remote: Counting objects:  89% (4113/4621)        
2020-10-16T14:39:38.2161031Z remote: Counting objects:  90% (4159/4621)        
2020-10-16T14:39:38.2161582Z remote: Counting objects:  91% (4206/4621)        
2020-10-16T14:39:38.2162058Z remote: Counting objects:  92% (4252/4621)        
2020-10-16T14:39:38.2163013Z remote: Counting objects:  93% (4298/4621)        
2020-10-16T14:39:38.2163413Z remote: Counting objects:  94% (4344/4621)        
2020-10-16T14:39:38.2163811Z remote: Counting objects:  95% (4390/4621)        
2020-10-16T14:39:38.2164732Z remote: Counting objects:  96% (4437/4621)        
2020-10-16T14:39:38.2165111Z remote: Counting objects:  97% (4483/4621)        
2020-10-16T14:39:38.2165505Z remote: Counting objects:  98% (4529/4621)        
2020-10-16T14:39:38.2165898Z remote: Counting objects:  99% (4575/4621)        
2020-10-16T14:39:38.2166287Z remote: Counting objects: 100% (4621/4621)        
2020-10-16T14:39:38.2166704Z remote: Counting objects: 100% (4621/4621), done.        
2020-10-16T14:39:38.2183315Z remote: Compressing objects:   0% (1/2681)        
2020-10-16T14:39:38.2239519Z remote: Compressing objects:   1% (27/2681)        
2020-10-16T14:39:38.2370803Z remote: Compressing objects:   2% (54/2681)        
2020-10-16T14:39:38.2491580Z remote: Compressing objects:   3% (81/2681)        
2020-10-16T14:39:38.2595594Z remote: Compressing objects:   4% (108/2681)        
2020-10-16T14:39:38.2633027Z remote: Compressing objects:   5% (135/2681)        
2020-10-16T14:39:38.2777839Z remote: Compressing objects:   6% (161/2681)        
2020-10-16T14:39:38.2996079Z remote: Compressing objects:   7% (188/2681)        
2020-10-16T14:39:38.3103620Z remote: Compressing objects:   8% (215/2681)        
2020-10-16T14:39:38.3194406Z remote: Compressing objects:   9% (242/2681)        
2020-10-16T14:39:38.3259716Z remote: Compressing objects:  10% (269/2681)        
2020-10-16T14:39:38.3285417Z remote: Compressing objects:  11% (295/2681)        
2020-10-16T14:39:38.3317580Z remote: Compressing objects:  12% (322/2681)        
2020-10-16T14:39:38.3374434Z remote: Compressing objects:  13% (349/2681)        
2020-10-16T14:39:38.3428534Z remote: Compressing objects:  14% (376/2681)        
2020-10-16T14:39:38.3525629Z remote: Compressing objects:  15% (403/2681)        
2020-10-16T14:39:38.3612791Z remote: Compressing objects:  16% (429/2681)        
2020-10-16T14:39:38.3690451Z remote: Compressing objects:  17% (456/2681)        
2020-10-16T14:39:38.3786139Z remote: Compressing objects:  18% (483/2681)        
2020-10-16T14:39:38.3828520Z remote: Compressing objects:  19% (510/2681)        
2020-10-16T14:39:38.3969583Z remote: Compressing objects:  20% (537/2681)        
2020-10-16T14:39:38.4113841Z remote: Compressing objects:  21% (564/2681)        
2020-10-16T14:39:38.4380701Z remote: Compressing objects:  22% (590/2681)        
2020-10-16T14:39:38.4577758Z remote: Compressing objects:  23% (617/2681)        
2020-10-16T14:39:38.4692613Z remote: Compressing objects:  24% (644/2681)        
2020-10-16T14:39:38.4739517Z remote: Compressing objects:  25% (671/2681)        
2020-10-16T14:39:38.4835628Z remote: Compressing objects:  26% (698/2681)        
2020-10-16T14:39:38.5010104Z remote: Compressing objects:  27% (724/2681)        
2020-10-16T14:39:38.5124815Z remote: Compressing objects:  28% (751/2681)        
2020-10-16T14:39:38.5217122Z remote: Compressing objects:  29% (778/2681)        
2020-10-16T14:39:38.5234129Z remote: Compressing objects:  30% (805/2681)        
2020-10-16T14:39:38.5243402Z remote: Compressing objects:  31% (832/2681)        
2020-10-16T14:39:38.5277149Z remote: Compressing objects:  32% (858/2681)        
2020-10-16T14:39:38.5278438Z remote: Compressing objects:  33% (885/2681)        
2020-10-16T14:39:38.5335346Z remote: Compressing objects:  34% (912/2681)        
2020-10-16T14:39:38.5335852Z remote: Compressing objects:  35% (939/2681)        
2020-10-16T14:39:38.5353501Z remote: Compressing objects:  36% (966/2681)        
2020-10-16T14:39:38.5393945Z remote: Compressing objects:  37% (992/2681)        
2020-10-16T14:39:38.5546502Z remote: Compressing objects:  38% (1019/2681)        
2020-10-16T14:39:38.5574673Z remote: Compressing objects:  39% (1046/2681)        
2020-10-16T14:39:38.5581436Z remote: Compressing objects:  40% (1073/2681)        
2020-10-16T14:39:38.5619292Z remote: Compressing objects:  41% (1100/2681)        
2020-10-16T14:39:38.5658304Z remote: Compressing objects:  42% (1127/2681)        
2020-10-16T14:39:38.5673444Z remote: Compressing objects:  43% (1153/2681)        
2020-10-16T14:39:38.5701059Z remote: Compressing objects:  44% (1180/2681)        
2020-10-16T14:39:38.5706966Z remote: Compressing objects:  45% (1207/2681)        
2020-10-16T14:39:38.5728468Z remote: Compressing objects:  46% (1234/2681)        
2020-10-16T14:39:38.5753009Z remote: Compressing objects:  47% (1261/2681)        
2020-10-16T14:39:38.5823581Z remote: Compressing objects:  48% (1287/2681)        
2020-10-16T14:39:38.5872919Z remote: Compressing objects:  49% (1314/2681)        
2020-10-16T14:39:38.5927064Z remote: Compressing objects:  50% (1341/2681)        
2020-10-16T14:39:38.5963016Z remote: Compressing objects:  51% (1368/2681)        
2020-10-16T14:39:38.5997147Z remote: Compressing objects:  52% (1395/2681)        
2020-10-16T14:39:38.6152027Z remote: Compressing objects:  53% (1421/2681)        
2020-10-16T14:39:38.6220069Z remote: Compressing objects:  54% (1448/2681)        
2020-10-16T14:39:38.6293720Z remote: Compressing objects:  55% (1475/2681)        
2020-10-16T14:39:38.6310142Z remote: Compressing objects:  56% (1502/2681)        
2020-10-16T14:39:38.6332809Z remote: Compressing objects:  57% (1529/2681)        
2020-10-16T14:39:38.6428421Z remote: Compressing objects:  58% (1555/2681)        
2020-10-16T14:39:38.6515809Z remote: Compressing objects:  59% (1582/2681)        
2020-10-16T14:39:38.6603176Z remote: Compressing objects:  60% (1609/2681)        
2020-10-16T14:39:38.6636226Z remote: Compressing objects:  61% (1636/2681)        
2020-10-16T14:39:38.6688048Z remote: Compressing objects:  62% (1663/2681)        
2020-10-16T14:39:38.6725383Z remote: Compressing objects:  63% (1690/2681)        
2020-10-16T14:39:38.6765593Z remote: Compressing objects:  64% (1716/2681)        
2020-10-16T14:39:38.6766758Z remote: Compressing objects:  65% (1743/2681)        
2020-10-16T14:39:38.6768352Z remote: Compressing objects:  66% (1770/2681)        
2020-10-16T14:39:38.6771995Z remote: Compressing objects:  67% (1797/2681)        
2020-10-16T14:39:38.6774252Z remote: Compressing objects:  68% (1824/2681)        
2020-10-16T14:39:38.6774858Z remote: Compressing objects:  69% (1850/2681)        
2020-10-16T14:39:38.6775356Z remote: Compressing objects:  70% (1877/2681)        
2020-10-16T14:39:38.6775782Z remote: Compressing objects:  71% (1904/2681)        
2020-10-16T14:39:38.6785366Z remote: Compressing objects:  72% (1931/2681)        
2020-10-16T14:39:38.6797263Z remote: Compressing objects:  73% (1958/2681)        
2020-10-16T14:39:38.6798637Z remote: Compressing objects:  74% (1984/2681)        
2020-10-16T14:39:38.6799445Z remote: Compressing objects:  75% (2011/2681)        
2020-10-16T14:39:38.6808464Z remote: Compressing objects:  76% (2038/2681)        
2020-10-16T14:39:38.6818434Z remote: Compressing objects:  77% (2065/2681)        
2020-10-16T14:39:38.6822598Z remote: Compressing objects:  78% (2092/2681)        
2020-10-16T14:39:38.6825736Z remote: Compressing objects:  79% (2118/2681)        
2020-10-16T14:39:38.6832219Z remote: Compressing objects:  80% (2145/2681)        
2020-10-16T14:39:38.6834445Z remote: Compressing objects:  81% (2172/2681)        
2020-10-16T14:39:38.6837418Z remote: Compressing objects:  82% (2199/2681)        
2020-10-16T14:39:38.6838734Z remote: Compressing objects:  83% (2226/2681)        
2020-10-16T14:39:38.6847047Z remote: Compressing objects:  84% (2253/2681)        
2020-10-16T14:39:38.6850821Z remote: Compressing objects:  85% (2279/2681)        
2020-10-16T14:39:38.6855676Z remote: Compressing objects:  86% (2306/2681)        
2020-10-16T14:39:38.6859425Z remote: Compressing objects:  87% (2333/2681)        
2020-10-16T14:39:38.6863518Z remote: Compressing objects:  88% (2360/2681)        
2020-10-16T14:39:38.6878475Z remote: Compressing objects:  89% (2387/2681)        
2020-10-16T14:39:38.6883940Z remote: Compressing objects:  90% (2413/2681)        
2020-10-16T14:39:38.6899465Z remote: Compressing objects:  91% (2440/2681)        
2020-10-16T14:39:38.6910181Z remote: Compressing objects:  92% (2467/2681)        
2020-10-16T14:39:38.6916648Z remote: Compressing objects:  93% (2494/2681)        
2020-10-16T14:39:38.6917137Z remote: Compressing objects:  94% (2521/2681)        
2020-10-16T14:39:38.6918129Z remote: Compressing objects:  95% (2547/2681)        
2020-10-16T14:39:38.6919199Z remote: Compressing objects:  96% (2574/2681)        
2020-10-16T14:39:38.6921209Z remote: Compressing objects:  97% (2601/2681)        
2020-10-16T14:39:38.6921620Z remote: Compressing objects:  98% (2628/2681)        
2020-10-16T14:39:38.6922046Z remote: Compressing objects:  99% (2655/2681)        
2020-10-16T14:39:38.6922568Z remote: Compressing objects: 100% (2681/2681)        
2020-10-16T14:39:38.6923016Z remote: Compressing objects: 100% (2681/2681), done.        
2020-10-16T14:39:38.7489124Z Receiving objects:   0% (1/4621)
2020-10-16T14:39:38.7539642Z Receiving objects:   1% (47/4621)
2020-10-16T14:39:38.7543894Z Receiving objects:   2% (93/4621)
2020-10-16T14:39:38.7567557Z Receiving objects:   3% (139/4621)
2020-10-16T14:39:38.7569362Z Receiving objects:   4% (185/4621)
2020-10-16T14:39:38.7572715Z Receiving objects:   5% (232/4621)
2020-10-16T14:39:38.7598229Z Receiving objects:   6% (278/4621)
2020-10-16T14:39:38.7600028Z Receiving objects:   7% (324/4621)
2020-10-16T14:39:38.7603056Z Receiving objects:   8% (370/4621)
2020-10-16T14:39:38.7656697Z Receiving objects:   9% (416/4621)
2020-10-16T14:39:38.7660374Z Receiving objects:  10% (463/4621)
2020-10-16T14:39:38.7662552Z Receiving objects:  11% (509/4621)
2020-10-16T14:39:38.7663427Z Receiving objects:  12% (555/4621)
2020-10-16T14:39:38.7665645Z Receiving objects:  13% (601/4621)
2020-10-16T14:39:38.7666774Z Receiving objects:  14% (647/4621)
2020-10-16T14:39:38.7667579Z Receiving objects:  15% (694/4621)
2020-10-16T14:39:38.7677026Z Receiving objects:  16% (740/4621)
2020-10-16T14:39:38.7679729Z Receiving objects:  17% (786/4621)
2020-10-16T14:39:38.7680673Z Receiving objects:  18% (832/4621)
2020-10-16T14:39:38.7683189Z Receiving objects:  19% (878/4621)
2020-10-16T14:39:38.7684168Z Receiving objects:  20% (925/4621)
2020-10-16T14:39:38.7686300Z Receiving objects:  21% (971/4621)
2020-10-16T14:39:38.7687150Z Receiving objects:  22% (1017/4621)
2020-10-16T14:39:38.7687937Z Receiving objects:  23% (1063/4621)
2020-10-16T14:39:38.7692152Z Receiving objects:  24% (1110/4621)
2020-10-16T14:39:38.7694797Z Receiving objects:  25% (1156/4621)
2020-10-16T14:39:38.7698278Z Receiving objects:  26% (1202/4621)
2020-10-16T14:39:38.7701412Z Receiving objects:  27% (1248/4621)
2020-10-16T14:39:38.7702661Z Receiving objects:  28% (1294/4621)
2020-10-16T14:39:38.7703509Z Receiving objects:  29% (1341/4621)
2020-10-16T14:39:38.7705638Z Receiving objects:  30% (1387/4621)
2020-10-16T14:39:38.7706533Z Receiving objects:  31% (1433/4621)
2020-10-16T14:39:38.7707392Z Receiving objects:  32% (1479/4621)
2020-10-16T14:39:38.7710438Z Receiving objects:  33% (1525/4621)
2020-10-16T14:39:38.7713728Z Receiving objects:  34% (1572/4621)
2020-10-16T14:39:38.7715253Z Receiving objects:  35% (1618/4621)
2020-10-16T14:39:38.7716108Z Receiving objects:  36% (1664/4621)
2020-10-16T14:39:38.7718471Z Receiving objects:  37% (1710/4621)
2020-10-16T14:39:38.7719313Z Receiving objects:  38% (1756/4621)
2020-10-16T14:39:38.7719942Z Receiving objects:  39% (1803/4621)
2020-10-16T14:39:38.7731648Z Receiving objects:  40% (1849/4621)
2020-10-16T14:39:38.7741633Z Receiving objects:  41% (1895/4621)
2020-10-16T14:39:38.7759519Z Receiving objects:  42% (1941/4621)
2020-10-16T14:39:38.7790831Z Receiving objects:  43% (1988/4621)
2020-10-16T14:39:38.8025378Z Receiving objects:  44% (2034/4621)
2020-10-16T14:39:38.8384026Z Receiving objects:  45% (2080/4621)
2020-10-16T14:39:38.8428734Z Receiving objects:  46% (2126/4621)
2020-10-16T14:39:38.9199951Z Receiving objects:  47% (2172/4621)
2020-10-16T14:39:38.9201552Z Receiving objects:  48% (2219/4621)
2020-10-16T14:39:38.9205596Z Receiving objects:  49% (2265/4621)
2020-10-16T14:39:38.9206979Z Receiving objects:  50% (2311/4621)
2020-10-16T14:39:38.9209946Z Receiving objects:  51% (2357/4621)
2020-10-16T14:39:38.9214719Z Receiving objects:  52% (2403/4621)
2020-10-16T14:39:38.9223177Z Receiving objects:  53% (2450/4621)
2020-10-16T14:39:38.9234242Z Receiving objects:  54% (2496/4621)
2020-10-16T14:39:38.9240553Z Receiving objects:  55% (2542/4621)
2020-10-16T14:39:38.9266968Z Receiving objects:  56% (2588/4621)
2020-10-16T14:39:38.9273114Z Receiving objects:  57% (2634/4621)
2020-10-16T14:39:38.9285934Z Receiving objects:  58% (2681/4621)
2020-10-16T14:39:38.9296425Z Receiving objects:  59% (2727/4621)
2020-10-16T14:39:38.9311475Z Receiving objects:  60% (2773/4621)
2020-10-16T14:39:38.9328247Z Receiving objects:  61% (2819/4621)
2020-10-16T14:39:38.9341750Z Receiving objects:  62% (2866/4621)
2020-10-16T14:39:38.9357061Z Receiving objects:  63% (2912/4621)
2020-10-16T14:39:38.9371957Z Receiving objects:  64% (2958/4621)
2020-10-16T14:39:38.9391281Z Receiving objects:  65% (3004/4621)
2020-10-16T14:39:38.9399690Z Receiving objects:  66% (3050/4621)
2020-10-16T14:39:38.9405706Z Receiving objects:  67% (3097/4621)
2020-10-16T14:39:38.9414886Z Receiving objects:  68% (3143/4621)
2020-10-16T14:39:38.9425871Z Receiving objects:  69% (3189/4621)
2020-10-16T14:39:38.9445897Z Receiving objects:  70% (3235/4621)
2020-10-16T14:39:38.9461925Z Receiving objects:  71% (3281/4621)
2020-10-16T14:39:38.9486415Z Receiving objects:  72% (3328/4621)
2020-10-16T14:39:38.9502835Z Receiving objects:  73% (3374/4621)
2020-10-16T14:39:38.9558559Z Receiving objects:  74% (3420/4621)
2020-10-16T14:39:38.9571836Z Receiving objects:  75% (3466/4621)
2020-10-16T14:39:38.9578695Z Receiving objects:  76% (3512/4621)
2020-10-16T14:39:38.9587706Z Receiving objects:  77% (3559/4621)
2020-10-16T14:39:38.9609584Z Receiving objects:  78% (3605/4621)
2020-10-16T14:39:38.9626716Z Receiving objects:  79% (3651/4621)
2020-10-16T14:39:38.9637782Z Receiving objects:  80% (3697/4621)
2020-10-16T14:39:38.9649045Z Receiving objects:  81% (3744/4621)
2020-10-16T14:39:38.9660829Z Receiving objects:  82% (3790/4621)
2020-10-16T14:39:38.9668465Z Receiving objects:  83% (3836/4621)
2020-10-16T14:39:38.9698933Z Receiving objects:  84% (3882/4621)
2020-10-16T14:39:38.9699731Z Receiving objects:  85% (3928/4621)
2020-10-16T14:39:38.9712662Z Receiving objects:  86% (3975/4621)
2020-10-16T14:39:38.9723058Z Receiving objects:  87% (4021/4621)
2020-10-16T14:39:38.9734942Z Receiving objects:  88% (4067/4621)
2020-10-16T14:39:38.9775699Z Receiving objects:  89% (4113/4621)
2020-10-16T14:39:38.9779429Z Receiving objects:  90% (4159/4621)
2020-10-16T14:39:38.9791471Z Receiving objects:  91% (4206/4621)
2020-10-16T14:39:38.9804903Z Receiving objects:  92% (4252/4621)
2020-10-16T14:39:38.9819950Z Receiving objects:  93% (4298/4621)
2020-10-16T14:39:38.9867060Z Receiving objects:  94% (4344/4621)
2020-10-16T14:39:38.9872703Z Receiving objects:  95% (4390/4621)
2020-10-16T14:39:38.9899641Z Receiving objects:  96% (4437/4621)
2020-10-16T14:39:38.9911497Z Receiving objects:  97% (4483/4621)
2020-10-16T14:39:38.9944323Z Receiving objects:  98% (4529/4621)
2020-10-16T14:39:38.9950720Z Receiving objects:  99% (4575/4621)
2020-10-16T14:39:38.9951522Z remote: Total 4621 (delta 3290), reused 2729 (delta 1794), pack-reused 0        
2020-10-16T14:39:38.9956896Z Receiving objects: 100% (4621/4621)
2020-10-16T14:39:38.9957970Z Receiving objects: 100% (4621/4621), 7.05 MiB | 27.23 MiB/s, done.
2020-10-16T14:39:39.1138701Z Resolving deltas:   0% (0/3290)
2020-10-16T14:39:39.1140709Z Resolving deltas:   1% (34/3290)
2020-10-16T14:39:39.1141246Z Resolving deltas:   2% (70/3290)
2020-10-16T14:39:39.1142215Z Resolving deltas:   3% (116/3290)
2020-10-16T14:39:39.1143058Z Resolving deltas:   4% (134/3290)
2020-10-16T14:39:39.1143878Z Resolving deltas:   5% (177/3290)
2020-10-16T14:39:39.1144600Z Resolving deltas:   6% (198/3290)
2020-10-16T14:39:39.1145335Z Resolving deltas:   7% (233/3290)
2020-10-16T14:39:39.1146053Z Resolving deltas:   8% (264/3290)
2020-10-16T14:39:39.1146809Z Resolving deltas:   9% (298/3290)
2020-10-16T14:39:39.1147525Z Resolving deltas:  10% (329/3290)
2020-10-16T14:39:39.1148273Z Resolving deltas:  11% (362/3290)
2020-10-16T14:39:39.1148981Z Resolving deltas:  12% (398/3290)
2020-10-16T14:39:39.1149728Z Resolving deltas:  13% (429/3290)
2020-10-16T14:39:39.1150439Z Resolving deltas:  14% (461/3290)
2020-10-16T14:39:39.1151183Z Resolving deltas:  15% (495/3290)
2020-10-16T14:39:39.1151895Z Resolving deltas:  16% (532/3290)
2020-10-16T14:39:39.1152716Z Resolving deltas:  17% (560/3290)
2020-10-16T14:39:39.1153523Z Resolving deltas:  18% (594/3290)
2020-10-16T14:39:39.1153926Z Resolving deltas:  19% (626/3290)
2020-10-16T14:39:39.1154282Z Resolving deltas:  20% (659/3290)
2020-10-16T14:39:39.1154657Z Resolving deltas:  21% (691/3290)
2020-10-16T14:39:39.1155007Z Resolving deltas:  22% (727/3290)
2020-10-16T14:39:39.1155354Z Resolving deltas:  23% (759/3290)
2020-10-16T14:39:39.1155698Z Resolving deltas:  24% (790/3290)
2020-10-16T14:39:39.1156051Z Resolving deltas:  25% (823/3290)
2020-10-16T14:39:39.1156396Z Resolving deltas:  26% (856/3290)
2020-10-16T14:39:39.1156737Z Resolving deltas:  27% (891/3290)
2020-10-16T14:39:39.1157083Z Resolving deltas:  28% (923/3290)
2020-10-16T14:39:39.1157472Z Resolving deltas:  29% (955/3290)
2020-10-16T14:39:39.1157815Z Resolving deltas:  30% (989/3290)
2020-10-16T14:39:39.1158146Z Resolving deltas:  31% (1027/3290)
2020-10-16T14:39:39.1159110Z Resolving deltas:  32% (1063/3290)
2020-10-16T14:39:39.1159819Z Resolving deltas:  33% (1096/3290)
2020-10-16T14:39:39.1160182Z Resolving deltas:  34% (1120/3290)
2020-10-16T14:39:39.1160529Z Resolving deltas:  35% (1153/3290)
2020-10-16T14:39:39.1160878Z Resolving deltas:  36% (1193/3290)
2020-10-16T14:39:39.1161396Z Resolving deltas:  37% (1225/3290)
2020-10-16T14:39:39.1162164Z Resolving deltas:  38% (1256/3290)
2020-10-16T14:39:39.1163131Z Resolving deltas:  39% (1284/3290)
2020-10-16T14:39:39.1163864Z Resolving deltas:  40% (1319/3290)
2020-10-16T14:39:39.1164586Z Resolving deltas:  41% (1350/3290)
2020-10-16T14:39:39.1165398Z Resolving deltas:  42% (1382/3290)
2020-10-16T14:39:39.1166097Z Resolving deltas:  43% (1415/3290)
2020-10-16T14:39:39.1166912Z Resolving deltas:  44% (1448/3290)
2020-10-16T14:39:39.1167622Z Resolving deltas:  45% (1485/3290)
2020-10-16T14:39:39.1168330Z Resolving deltas:  46% (1515/3290)
2020-10-16T14:39:39.1169039Z Resolving deltas:  47% (1549/3290)
2020-10-16T14:39:39.1169742Z Resolving deltas:  48% (1583/3290)
2020-10-16T14:39:39.1170450Z Resolving deltas:  49% (1615/3290)
2020-10-16T14:39:39.1171187Z Resolving deltas:  50% (1648/3290)
2020-10-16T14:39:39.1171694Z Resolving deltas:  51% (1694/3290)
2020-10-16T14:39:39.1172048Z Resolving deltas:  52% (1732/3290)
2020-10-16T14:39:39.1172403Z Resolving deltas:  53% (1748/3290)
2020-10-16T14:39:39.1172791Z Resolving deltas:  54% (1778/3290)
2020-10-16T14:39:39.1173123Z Resolving deltas:  55% (1812/3290)
2020-10-16T14:39:39.1173599Z Resolving deltas:  56% (1851/3290)
2020-10-16T14:39:39.1173953Z Resolving deltas:  57% (1876/3290)
2020-10-16T14:39:39.1174301Z Resolving deltas:  58% (1919/3290)
2020-10-16T14:39:39.1174645Z Resolving deltas:  59% (1946/3290)
2020-10-16T14:39:39.1174990Z Resolving deltas:  60% (1978/3290)
2020-10-16T14:39:39.1175337Z Resolving deltas:  61% (2023/3290)
2020-10-16T14:39:39.1175680Z Resolving deltas:  62% (2040/3290)
2020-10-16T14:39:39.1176023Z Resolving deltas:  63% (2073/3290)
2020-10-16T14:39:39.1176368Z Resolving deltas:  64% (2110/3290)
2020-10-16T14:39:39.1176715Z Resolving deltas:  65% (2143/3290)
2020-10-16T14:39:39.1177058Z Resolving deltas:  66% (2180/3290)
2020-10-16T14:39:39.1177866Z Resolving deltas:  67% (2206/3290)
2020-10-16T14:39:39.1178434Z Resolving deltas:  68% (2260/3290)
2020-10-16T14:39:39.1178792Z Resolving deltas:  69% (2275/3290)
2020-10-16T14:39:39.1179142Z Resolving deltas:  70% (2307/3290)
2020-10-16T14:39:39.1179486Z Resolving deltas:  71% (2347/3290)
2020-10-16T14:39:39.1179836Z Resolving deltas:  72% (2380/3290)
2020-10-16T14:39:39.1180182Z Resolving deltas:  73% (2402/3290)
2020-10-16T14:39:39.1180525Z Resolving deltas:  74% (2444/3290)
2020-10-16T14:39:39.1180868Z Resolving deltas:  75% (2472/3290)
2020-10-16T14:39:39.1181215Z Resolving deltas:  76% (2503/3290)
2020-10-16T14:39:39.1181557Z Resolving deltas:  77% (2535/3290)
2020-10-16T14:39:39.1181902Z Resolving deltas:  78% (2572/3290)
2020-10-16T14:39:39.1182232Z Resolving deltas:  79% (2607/3290)
2020-10-16T14:39:39.1182616Z Resolving deltas:  80% (2639/3290)
2020-10-16T14:39:39.1182965Z Resolving deltas:  81% (2673/3290)
2020-10-16T14:39:39.1183634Z Resolving deltas:  82% (2709/3290)
2020-10-16T14:39:39.1183998Z Resolving deltas:  83% (2738/3290)
2020-10-16T14:39:39.1184475Z Resolving deltas:  84% (2771/3290)
2020-10-16T14:39:39.1184807Z Resolving deltas:  85% (2806/3290)
2020-10-16T14:39:39.1185137Z Resolving deltas:  86% (2830/3290)
2020-10-16T14:39:39.1185466Z Resolving deltas:  87% (2876/3290)
2020-10-16T14:39:39.1185791Z Resolving deltas:  88% (2896/3290)
2020-10-16T14:39:39.1186123Z Resolving deltas:  89% (2930/3290)
2020-10-16T14:39:39.1186448Z Resolving deltas:  90% (2970/3290)
2020-10-16T14:39:39.1186775Z Resolving deltas:  91% (2998/3290)
2020-10-16T14:39:39.1187104Z Resolving deltas:  92% (3028/3290)
2020-10-16T14:39:39.1187431Z Resolving deltas:  93% (3061/3290)
2020-10-16T14:39:39.1187845Z Resolving deltas:  94% (3094/3290)
2020-10-16T14:39:39.1188277Z Resolving deltas:  95% (3126/3290)
2020-10-16T14:39:39.1188602Z Resolving deltas:  96% (3160/3290)
2020-10-16T14:39:39.1189340Z Resolving deltas:  97% (3192/3290)
2020-10-16T14:39:39.1189672Z Resolving deltas:  98% (3225/3290)
2020-10-16T14:39:39.1190000Z Resolving deltas:  99% (3258/3290)
2020-10-16T14:39:39.1190572Z Resolving deltas: 100% (3290/3290)
2020-10-16T14:39:39.1190911Z Resolving deltas: 100% (3290/3290), done.
2020-10-16T14:39:39.3934638Z From https://github.com/microsoft/LightGBM
2020-10-16T14:39:39.3952997Z  * [new branch]      ci/r-valgrind-test   -> origin/ci/r-valgrind-test
2020-10-16T14:39:39.4035771Z  * [new branch]      cuda_doc             -> origin/cuda_doc
2020-10-16T14:39:39.4038596Z  * [new branch]      fix-add-features     -> origin/fix-add-features
2020-10-16T14:39:39.4124658Z  * [new branch]      fix-memory-leakage   -> origin/fix-memory-leakage
2020-10-16T14:39:39.4127791Z  * [new branch]      gha_cuda             -> origin/gha_cuda
2020-10-16T14:39:39.4164940Z  * [new branch]      master               -> origin/master
2020-10-16T14:39:39.4176715Z  * [new branch]      sklearn              -> origin/sklearn
2020-10-16T14:39:39.4254497Z  * [new branch]      sparse_bin_int64     -> origin/sparse_bin_int64
2020-10-16T14:39:39.4262465Z  * [new branch]      sum-test             -> origin/sum-test
2020-10-16T14:39:39.4278109Z  * [new branch]      test-fp              -> origin/test-fp
2020-10-16T14:39:39.4286747Z  * [new ref]         refs/pull/3443/merge -> pull/3443/merge
2020-10-16T14:39:39.4293417Z  * [new tag]         stable               -> stable
2020-10-16T14:39:39.4293865Z  * [new tag]         v1                   -> v1
2020-10-16T14:39:39.4297322Z  * [new tag]         v2.0                 -> v2.0
2020-10-16T14:39:39.4298360Z  * [new tag]         v2.0.10              -> v2.0.10
2020-10-16T14:39:39.4299187Z  * [new tag]         v2.0.11              -> v2.0.11
2020-10-16T14:39:39.4299993Z  * [new tag]         v2.0.12              -> v2.0.12
2020-10-16T14:39:39.4300893Z  * [new tag]         v2.0.3               -> v2.0.3
2020-10-16T14:39:39.4301657Z  * [new tag]         v2.0.4               -> v2.0.4
2020-10-16T14:39:39.4302717Z  * [new tag]         v2.0.5               -> v2.0.5
2020-10-16T14:39:39.4305687Z  * [new tag]         v2.0.6               -> v2.0.6
2020-10-16T14:39:39.4311770Z  * [new tag]         v2.0.7               -> v2.0.7
2020-10-16T14:39:39.4318809Z  * [new tag]         v2.0.8               -> v2.0.8
2020-10-16T14:39:39.4319736Z  * [new tag]         v2.1.0               -> v2.1.0
2020-10-16T14:39:39.4320807Z  * [new tag]         v2.1.1               -> v2.1.1
2020-10-16T14:39:39.4338115Z  * [new tag]         v2.1.2               -> v2.1.2
2020-10-16T14:39:39.4339135Z  * [new tag]         v2.2.0               -> v2.2.0
2020-10-16T14:39:39.4340014Z  * [new tag]         v2.2.1               -> v2.2.1
2020-10-16T14:39:39.4343164Z  * [new tag]         v2.2.2               -> v2.2.2
2020-10-16T14:39:39.4343926Z  * [new tag]         v2.2.3               -> v2.2.3
2020-10-16T14:39:39.4344693Z  * [new tag]         v2.3.0               -> v2.3.0
2020-10-16T14:39:39.4345400Z  * [new tag]         v2.3.1               -> v2.3.1
2020-10-16T14:39:39.4346054Z  * [new tag]         v3.0.0               -> v3.0.0
2020-10-16T14:39:39.4355859Z  * [new tag]         v3.0.0rc1            -> v3.0.0rc1
2020-10-16T14:39:39.4362515Z ##[command]git checkout --progress --force refs/remotes/pull/3443/merge
2020-10-16T14:39:39.7151890Z Note: switching to 'refs/remotes/pull/3443/merge'.
2020-10-16T14:39:39.7164369Z 
2020-10-16T14:39:39.7165903Z You are in 'detached HEAD' state. You can look around, make experimental
2020-10-16T14:39:39.7167181Z changes and commit them, and you can discard any commits you make in this
2020-10-16T14:39:39.7168268Z state without impacting any branches by switching back to a branch.
2020-10-16T14:39:39.7169034Z 
2020-10-16T14:39:39.7169850Z If you want to create a new branch to retain commits you create, you may
2020-10-16T14:39:39.7170846Z do so (now or later) by using -c with the switch command. Example:
2020-10-16T14:39:39.7171556Z 
2020-10-16T14:39:39.7172274Z   git switch -c <new-branch-name>
2020-10-16T14:39:39.7182262Z 
2020-10-16T14:39:39.7183131Z Or undo this operation with:
2020-10-16T14:39:39.7183906Z 
2020-10-16T14:39:39.7185921Z   git switch -
2020-10-16T14:39:39.7186702Z 
2020-10-16T14:39:39.7187618Z Turn off this advice by setting config variable advice.detachedHead to false
2020-10-16T14:39:39.7188447Z 
2020-10-16T14:39:39.7189965Z HEAD is now at 86eccbd Merge cbbbd4d4f71627799822aae5462b34a28f23aaef into 0c1c36cdbdf771a03c9ae0873eb28585e6c3d624
2020-10-16T14:39:39.7225966Z ##[command]git submodule sync
2020-10-16T14:39:42.3796490Z ##[command]git -c http.https://github.saobby.my.eu.org.extraheader="AUTHORIZATION: basic ***" submodule update --init --force --depth=5
2020-10-16T14:39:42.9136037Z Submodule 'include/boost/compute' (https://github.com/boostorg/compute) registered for path 'compute'
2020-10-16T14:39:43.6025690Z Cloning into 'D:/a/LightGBM/LightGBM/compute'...
2020-10-16T14:39:44.2330389Z Submodule path 'compute': checked out '36c89134d4013b2e5e45bc55656a18bd6141995a'
2020-10-16T14:39:44.2794135Z ##[group]Run goanpeca/setup-miniconda@v1
2020-10-16T14:39:44.2794576Z with:
2020-10-16T14:39:44.2794916Z   auto-update-conda: false
2020-10-16T14:39:44.2795397Z   activate-environment: test
2020-10-16T14:39:44.2795862Z   auto-activate-base: true
2020-10-16T14:39:44.2796269Z   remove-profiles: true
2020-10-16T14:39:44.2796625Z   architecture: x64
2020-10-16T14:39:44.2796907Z ##[endgroup]
2020-10-16T14:39:44.8270418Z 
2020-10-16T14:39:44.8271323Z # Locating Miniconda...
2020-10-16T14:39:44.8274236Z #######################
2020-10-16T14:39:44.8274983Z 
2020-10-16T14:39:44.8275551Z C:\Miniconda
2020-10-16T14:39:44.8418646Z 
2020-10-16T14:39:44.8419668Z # Setup environment variables...
2020-10-16T14:39:44.8420535Z ################################
2020-10-16T14:39:44.8420956Z 
2020-10-16T14:39:44.8423576Z Add "C:\Miniconda\condabin" to PATH
2020-10-16T14:39:44.8443792Z ##[warning]The `add-path` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-16T14:39:44.9296211Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda\condabin\conda.bat config --add pkgs_dirs C:/Users\runneradmin/conda_pkgs_dir"
2020-10-16T14:39:54.3250877Z ##[warning]The `set-env` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-16T14:39:54.3256287Z 
2020-10-16T14:39:54.3257873Z # Applying conda configuration...
2020-10-16T14:39:54.3258375Z #################################
2020-10-16T14:39:54.3258665Z 
2020-10-16T14:39:54.3259041Z "add_anaconda_token": ""
2020-10-16T14:39:54.3259511Z "add_pip_as_python_dependency": ""
2020-10-16T14:39:54.3259969Z "allow_softlinks": ""
2020-10-16T14:39:54.3260410Z "auto_activate_base": "true"
2020-10-16T14:39:54.3261226Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda\condabin\conda.bat config --set auto_activate_base true"
2020-10-16T14:39:54.5680415Z "auto_update_conda": "false"
2020-10-16T14:39:54.5688226Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda\condabin\conda.bat config --set auto_update_conda false"
2020-10-16T14:39:54.8063195Z "channel_alias": ""
2020-10-16T14:39:54.8063990Z "channel_priority": ""
2020-10-16T14:39:54.8064435Z "channels": ""
2020-10-16T14:39:54.8064819Z "show_channel_urls": ""
2020-10-16T14:39:54.8066568Z "use_only_tar_bz2": ""
2020-10-16T14:39:54.8071291Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda\condabin\conda.bat config --show-sources"
2020-10-16T14:39:55.0266011Z ==> C:\Users\runneradmin\.condarc <==
2020-10-16T14:39:55.0420905Z auto_update_conda: False
2020-10-16T14:39:55.0422129Z auto_activate_base: True
2020-10-16T14:39:55.0425135Z pkgs_dirs:
2020-10-16T14:39:55.0426503Z   - C:/Users\runneradmin/conda_pkgs_dir
2020-10-16T14:39:55.0426943Z 
2020-10-16T14:39:55.0553586Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda\condabin\conda.bat config --show"
2020-10-16T14:39:55.9674070Z add_anaconda_token: True
2020-10-16T14:39:55.9675220Z add_pip_as_python_dependency: True
2020-10-16T14:39:55.9676152Z aggressive_update_packages:
2020-10-16T14:39:55.9677007Z   - ca-certificates
2020-10-16T14:39:55.9677713Z   - certifi
2020-10-16T14:39:55.9678319Z   - openssl
2020-10-16T14:39:55.9679053Z allow_conda_downgrades: False
2020-10-16T14:39:55.9679868Z allow_cycles: True
2020-10-16T14:39:55.9680622Z allow_non_channel_urls: False
2020-10-16T14:39:55.9681401Z allow_softlinks: False
2020-10-16T14:39:55.9682120Z always_copy: False
2020-10-16T14:39:55.9682836Z always_softlink: False
2020-10-16T14:39:55.9683580Z always_yes: None
2020-10-16T14:39:55.9684280Z anaconda_upload: None
2020-10-16T14:39:55.9685033Z auto_activate_base: True
2020-10-16T14:39:55.9685788Z auto_update_conda: False
2020-10-16T14:39:55.9787242Z bld_path: 
2020-10-16T14:39:55.9787817Z changeps1: True
2020-10-16T14:39:55.9788356Z channel_alias: https://conda.anaconda.org
2020-10-16T14:39:55.9788907Z channel_priority: flexible
2020-10-16T14:39:55.9789248Z channels:
2020-10-16T14:39:55.9789519Z   - defaults
2020-10-16T14:39:55.9789851Z client_ssl_cert: None
2020-10-16T14:39:55.9790171Z client_ssl_cert_key: None
2020-10-16T14:39:55.9790478Z clobber: False
2020-10-16T14:39:55.9790759Z conda_build: {}
2020-10-16T14:39:55.9791059Z create_default_packages: []
2020-10-16T14:39:55.9791442Z croot: C:\Miniconda\conda-bld
2020-10-16T14:39:55.9791795Z custom_channels:
2020-10-16T14:39:55.9792280Z   pkgs/main: https://repo.anaconda.com
2020-10-16T14:39:55.9792955Z   pkgs/free: https://repo.anaconda.com
2020-10-16T14:39:55.9793598Z   pkgs/r: https://repo.anaconda.com
2020-10-16T14:39:55.9794322Z   pkgs/msys2: https://repo.anaconda.com
2020-10-16T14:39:55.9794994Z   pkgs/pro: https://repo.anaconda.com
2020-10-16T14:39:55.9795487Z custom_multichannels:
2020-10-16T14:39:55.9795850Z   defaults: 
2020-10-16T14:39:55.9796354Z     - https://repo.anaconda.com/pkgs/main
2020-10-16T14:39:55.9797057Z     - https://repo.anaconda.com/pkgs/free
2020-10-16T14:39:55.9797734Z     - https://repo.anaconda.com/pkgs/r
2020-10-16T14:39:55.9798418Z     - https://repo.anaconda.com/pkgs/msys2
2020-10-16T14:39:55.9798901Z   local: 
2020-10-16T14:39:55.9799137Z debug: False
2020-10-16T14:39:55.9799479Z default_channels:
2020-10-16T14:39:55.9800844Z   - https://repo.anaconda.com/pkgs/main
2020-10-16T14:39:55.9801560Z   - https://repo.anaconda.com/pkgs/free
2020-10-16T14:39:55.9802248Z   - https://repo.anaconda.com/pkgs/r
2020-10-16T14:39:55.9802942Z   - https://repo.anaconda.com/pkgs/msys2
2020-10-16T14:39:55.9803466Z default_python: 3.7
2020-10-16T14:39:55.9803764Z deps_modifier: not_set
2020-10-16T14:39:55.9804085Z dev: False
2020-10-16T14:39:55.9804420Z disallowed_packages: []
2020-10-16T14:39:55.9804808Z download_only: False
2020-10-16T14:39:55.9805136Z dry_run: False
2020-10-16T14:39:55.9805471Z enable_private_envs: False
2020-10-16T14:39:55.9805849Z env_prompt: ({default_env}) 
2020-10-16T14:39:55.9806132Z envs_dirs:
2020-10-16T14:39:55.9806443Z   - C:\Miniconda\envs
2020-10-16T14:39:55.9806844Z   - C:\Users\runneradmin\.conda\envs
2020-10-16T14:39:55.9807351Z   - C:\Users\runneradmin\AppData\Local\conda\conda\envs
2020-10-16T14:39:55.9808037Z error_upload_url: https://conda.io/conda-post/unexpected-error
2020-10-16T14:39:55.9808636Z extra_safety_checks: False
2020-10-16T14:39:55.9808975Z force: False
2020-10-16T14:39:55.9809277Z force_32bit: False
2020-10-16T14:39:55.9809573Z force_reinstall: False
2020-10-16T14:39:55.9809954Z force_remove: False
2020-10-16T14:39:55.9810293Z ignore_pinned: False
2020-10-16T14:39:55.9810606Z json: False
2020-10-16T14:39:55.9810921Z local_repodata_ttl: 1
2020-10-16T14:39:55.9811305Z migrated_channel_aliases: []
2020-10-16T14:39:55.9811739Z migrated_custom_channels: {}
2020-10-16T14:39:55.9812078Z non_admin_enabled: True
2020-10-16T14:39:55.9812453Z notify_outdated_conda: True
2020-10-16T14:39:55.9812805Z offline: False
2020-10-16T14:39:55.9813182Z override_channels_enabled: True
2020-10-16T14:39:55.9813762Z path_conflict: clobber
2020-10-16T14:39:55.9814139Z pinned_packages: []
2020-10-16T14:39:55.9814521Z pip_interop_enabled: False
2020-10-16T14:39:55.9814809Z pkgs_dirs:
2020-10-16T14:39:55.9815181Z   - C:\Users\runneradmin\conda_pkgs_dir
2020-10-16T14:39:55.9815584Z proxy_servers: {}
2020-10-16T14:39:55.9815890Z prune: False
2020-10-16T14:39:55.9816185Z quiet: False
2020-10-16T14:39:55.9816544Z remote_connect_timeout_secs: 9.15
2020-10-16T14:39:55.9816926Z remote_max_retries: 3
2020-10-16T14:39:55.9817243Z remote_read_timeout_secs: 60.0
2020-10-16T14:39:55.9817599Z report_errors: None
2020-10-16T14:39:55.9817957Z rollback_enabled: True
2020-10-16T14:39:55.9818347Z root_prefix: C:\Miniconda
2020-10-16T14:39:55.9818716Z safety_checks: warn
2020-10-16T14:39:55.9819049Z sat_solver: pycosat
2020-10-16T14:39:55.9819862Z shortcuts: True
2020-10-16T14:39:55.9820178Z show_channel_urls: None
2020-10-16T14:39:55.9820580Z solver_ignore_timestamps: False
2020-10-16T14:39:55.9820961Z ssl_verify: True
2020-10-16T14:39:55.9821274Z subdir: win-64
2020-10-16T14:39:55.9821572Z subdirs:
2020-10-16T14:39:55.9821848Z   - win-64
2020-10-16T14:39:55.9822142Z   - noarch
2020-10-16T14:39:55.9822425Z target_prefix_override: 
2020-10-16T14:39:55.9822787Z track_features: []
2020-10-16T14:39:55.9823161Z update_modifier: update_specs
2020-10-16T14:39:55.9823569Z use_index_cache: False
2020-10-16T14:39:55.9823917Z use_local: False
2020-10-16T14:39:55.9824229Z verbosity: 0
2020-10-16T14:39:55.9824565Z whitelist_channels: []
2020-10-16T14:39:56.0132438Z 
2020-10-16T14:39:56.0133276Z # Setup Conda basic configuration...
2020-10-16T14:39:56.0133927Z ####################################
2020-10-16T14:39:56.0135656Z 
2020-10-16T14:39:56.0140880Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda\condabin\conda.bat config --set always_yes yes --set changeps1 no"
2020-10-16T14:39:56.2572743Z 
2020-10-16T14:39:56.2573718Z # Initialize Conda and fix ownership...
2020-10-16T14:39:56.2574348Z #######################################
2020-10-16T14:39:56.2574614Z 
2020-10-16T14:39:56.2581277Z ##[group]Fixing condabin ownership
2020-10-16T14:39:56.7998012Z [command]C:\windows\system32\takeown.exe /f C:\Miniconda\condabin /r /d y
2020-10-16T14:39:56.8827494Z 
2020-10-16T14:39:56.8829366Z SUCCESS: The file (or folder): "C:\Miniconda\condabin" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:56.9091978Z 
2020-10-16T14:39:56.9093279Z SUCCESS: The file (or folder): "C:\Miniconda\condabin\activate.bat" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:56.9098752Z 
2020-10-16T14:39:56.9099929Z SUCCESS: The file (or folder): "C:\Miniconda\condabin\conda.bat" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:56.9217877Z 
2020-10-16T14:39:56.9218986Z SUCCESS: The file (or folder): "C:\Miniconda\condabin\conda_auto_activate.bat" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:56.9227054Z 
2020-10-16T14:39:56.9229903Z SUCCESS: The file (or folder): "C:\Miniconda\condabin\conda_hook.bat" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:56.9235212Z 
2020-10-16T14:39:56.9238458Z SUCCESS: The file (or folder): "C:\Miniconda\condabin\deactivate.bat" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:56.9266214Z 
2020-10-16T14:39:56.9267597Z SUCCESS: The file (or folder): "C:\Miniconda\condabin\rename_tmp.bat" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:56.9269023Z 
2020-10-16T14:39:56.9270049Z SUCCESS: The file (or folder): "C:\Miniconda\condabin\_conda_activate.bat" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0177281Z ##[endgroup]
2020-10-16T14:39:57.0178544Z ##[group]Fixing Scripts ownership
2020-10-16T14:39:57.0195607Z [command]C:\windows\system32\takeown.exe /f C:\Miniconda\Scripts /r /d y
2020-10-16T14:39:57.0251785Z 
2020-10-16T14:39:57.0252768Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0263487Z 
2020-10-16T14:39:57.0269211Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\2to3-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0271937Z 
2020-10-16T14:39:57.0272826Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\2to3.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0280820Z 
2020-10-16T14:39:57.0281700Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\activate" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0297049Z 
2020-10-16T14:39:57.0297955Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\activate.bat" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0461886Z 
2020-10-16T14:39:57.0464182Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\chardetect-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0629362Z 
2020-10-16T14:39:57.0630448Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\chardetect.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0635625Z 
2020-10-16T14:39:57.0636508Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\conda-env-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0641601Z 
2020-10-16T14:39:57.0642413Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\conda-env.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0647545Z 
2020-10-16T14:39:57.0648306Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\conda-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0653059Z 
2020-10-16T14:39:57.0653950Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\conda.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0660856Z 
2020-10-16T14:39:57.0661614Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\deactivate" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0817961Z 
2020-10-16T14:39:57.0818925Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\easy_install-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0971426Z 
2020-10-16T14:39:57.0972536Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\easy_install.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0984957Z 
2020-10-16T14:39:57.0985819Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\idle-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.0994560Z 
2020-10-16T14:39:57.0995223Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\idle.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1156218Z 
2020-10-16T14:39:57.1157256Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\menuinst-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1165332Z 
2020-10-16T14:39:57.1166239Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\menuinst.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1335980Z 
2020-10-16T14:39:57.1337182Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\pip-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1346583Z 
2020-10-16T14:39:57.1347725Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\pip.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1354212Z 
2020-10-16T14:39:57.1355364Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\pydoc-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1365277Z 
2020-10-16T14:39:57.1366253Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\pydoc.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1522158Z 
2020-10-16T14:39:57.1523252Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\pywin32_postinstall.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1672513Z 
2020-10-16T14:39:57.1673531Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\pywin32_testall.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1834047Z 
2020-10-16T14:39:57.1835446Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\wheel-script.py" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1850166Z 
2020-10-16T14:39:57.1851717Z SUCCESS: The file (or folder): "C:\Miniconda\Scripts\wheel.exe" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.1876750Z ##[endgroup]
2020-10-16T14:39:57.2032223Z ##[group]Fixing shell ownership
2020-10-16T14:39:57.3392106Z [command]C:\windows\system32\takeown.exe /f C:\Miniconda\shell /r /d y
2020-10-16T14:39:57.3400830Z 
2020-10-16T14:39:57.3406343Z SUCCESS: The file (or folder): "C:\Miniconda\shell" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.3416712Z 
2020-10-16T14:39:57.3418871Z SUCCESS: The file (or folder): "C:\Miniconda\shell\condabin" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.3420849Z 
2020-10-16T14:39:57.3423857Z SUCCESS: The file (or folder): "C:\Miniconda\shell\condabin\conda-hook.ps1" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.3425822Z 
2020-10-16T14:39:57.3430174Z SUCCESS: The file (or folder): "C:\Miniconda\shell\condabin\Conda.psm1" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.3432172Z ##[endgroup]
2020-10-16T14:39:57.3433043Z ##[group]Fixing /etc/profile.d/ ownership
2020-10-16T14:39:57.3944641Z [command]C:\windows\system32\takeown.exe /f C:\Miniconda\etc\profile.d\ /r /d y
2020-10-16T14:39:57.4302987Z 
2020-10-16T14:39:57.4446342Z SUCCESS: The file (or folder): "C:\Miniconda\etc\profile.d\" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.4449446Z 
2020-10-16T14:39:57.4451198Z SUCCESS: The file (or folder): "C:\Miniconda\etc\profile.d\conda.csh" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.4454508Z 
2020-10-16T14:39:57.4458235Z SUCCESS: The file (or folder): "C:\Miniconda\etc\profile.d\conda.sh" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.4514270Z ##[endgroup]
2020-10-16T14:39:57.4518277Z ##[group]Fixing /Lib/site-packages/xonsh ownership
2020-10-16T14:39:57.4560102Z [command]C:\windows\system32\takeown.exe /f C:\Miniconda\Lib\site-packages\xonsh /r /d y
2020-10-16T14:39:57.4656985Z 
2020-10-16T14:39:57.4657920Z SUCCESS: The file (or folder): "C:\Miniconda\Lib\site-packages\xonsh" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.4665696Z 
2020-10-16T14:39:57.4666957Z SUCCESS: The file (or folder): "C:\Miniconda\Lib\site-packages\xonsh\conda.xsh" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.4680487Z ##[endgroup]
2020-10-16T14:39:57.4681335Z ##[group]Fixing /etc/profile.d/ ownership
2020-10-16T14:39:57.5245323Z [command]C:\windows\system32\takeown.exe /f C:\Miniconda\etc\profile.d\ /r /d y
2020-10-16T14:39:57.5342796Z 
2020-10-16T14:39:57.5348704Z SUCCESS: The file (or folder): "C:\Miniconda\etc\profile.d\" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.5357328Z 
2020-10-16T14:39:57.5358380Z SUCCESS: The file (or folder): "C:\Miniconda\etc\profile.d\conda.csh" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.5365570Z 
2020-10-16T14:39:57.5367210Z SUCCESS: The file (or folder): "C:\Miniconda\etc\profile.d\conda.sh" now owned by user "fv-az68\runneradmin".
2020-10-16T14:39:57.5382204Z ##[endgroup]
2020-10-16T14:39:57.5386204Z 
2020-10-16T14:39:57.5386547Z 
2020-10-16T14:39:57.5392533Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda\condabin\conda.bat init --all"
2020-10-16T14:40:00.9211300Z no change     C:\Miniconda\Scripts\conda.exe
2020-10-16T14:40:00.9212820Z no change     C:\Miniconda\Scripts\conda-env.exe
2020-10-16T14:40:00.9214035Z no change     C:\Miniconda\Scripts\conda-script.py
2020-10-16T14:40:00.9215301Z no change     C:\Miniconda\Scripts\conda-env-script.py
2020-10-16T14:40:00.9216586Z no change     C:\Miniconda\condabin\conda.bat
2020-10-16T14:40:00.9217564Z no change     C:\Miniconda\Library\bin\conda.bat
2020-10-16T14:40:00.9218757Z no change     C:\Miniconda\condabin\_conda_activate.bat
2020-10-16T14:40:00.9220022Z no change     C:\Miniconda\condabin\rename_tmp.bat
2020-10-16T14:40:00.9221236Z no change     C:\Miniconda\condabin\conda_auto_activate.bat
2020-10-16T14:40:00.9222407Z no change     C:\Miniconda\condabin\conda_hook.bat
2020-10-16T14:40:00.9223831Z no change     C:\Miniconda\Scripts\activate.bat
2020-10-16T14:40:00.9224955Z no change     C:\Miniconda\condabin\activate.bat
2020-10-16T14:40:00.9226108Z no change     C:\Miniconda\condabin\deactivate.bat
2020-10-16T14:40:00.9227241Z modified      C:\Miniconda\Scripts\activate
2020-10-16T14:40:00.9228613Z modified      C:\Miniconda\Scripts\deactivate
2020-10-16T14:40:00.9229741Z modified      C:\Miniconda\etc\profile.d\conda.sh
2020-10-16T14:40:00.9230870Z modified      C:\Miniconda\etc\fish\conf.d\conda.fish
2020-10-16T14:40:00.9231994Z no change     C:\Miniconda\shell\condabin\Conda.psm1
2020-10-16T14:40:00.9233111Z modified      C:\Miniconda\shell\condabin\conda-hook.ps1
2020-10-16T14:40:00.9234383Z modified      C:\Miniconda\Lib\site-packages\xonsh\conda.xsh
2020-10-16T14:40:00.9236402Z modified      C:\Miniconda\etc\profile.d\conda.csh
2020-10-16T14:40:00.9237641Z modified      C:\Users\runneradmin\.bash_profile
2020-10-16T14:40:00.9238691Z modified      C:\Users\runneradmin\.zshrc
2020-10-16T14:40:00.9239824Z modified      C:\Users\runneradmin\.config\fish\config.fish
2020-10-16T14:40:00.9240980Z modified      C:\Users\runneradmin\.tcshrc
2020-10-16T14:40:00.9242301Z modified      C:\Users\runneradmin\Documents\WindowsPowerShell\profile.ps1
2020-10-16T14:40:00.9243829Z modified      C:\Users\runneradmin\Documents\PowerShell\profile.ps1
2020-10-16T14:40:00.9245274Z modified      HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
2020-10-16T14:40:00.9246157Z 
2020-10-16T14:40:00.9247064Z ==> For changes to take effect, close and re-open your current shell. <==
2020-10-16T14:40:00.9247939Z 
2020-10-16T14:40:00.9553131Z Append to "C:\Users\runneradmin/.bash_profile":
2020-10-16T14:40:00.9553617Z  
2020-10-16T14:40:00.9553863Z # ----------------------------------------------------------------------------
2020-10-16T14:40:00.9554328Z # Conda Setup Action: Basic configuration
2020-10-16T14:40:00.9554746Z set -eo pipefail
2020-10-16T14:40:00.9555151Z # Conda Setup Action: Custom activation
2020-10-16T14:40:00.9555561Z conda activate test
2020-10-16T14:40:00.9555884Z # ---------------------------------------------------------------------------- 
2020-10-16T14:40:00.9556058Z 
2020-10-16T14:40:00.9567733Z Append to "C:\Users\runneradmin/.zshrc":
2020-10-16T14:40:00.9568417Z  
2020-10-16T14:40:00.9568859Z # ----------------------------------------------------------------------------
2020-10-16T14:40:00.9569383Z # Conda Setup Action: Basic configuration
2020-10-16T14:40:00.9569904Z set -eo pipefail
2020-10-16T14:40:00.9570360Z # Conda Setup Action: Custom activation
2020-10-16T14:40:00.9570872Z conda activate test
2020-10-16T14:40:00.9571301Z # ---------------------------------------------------------------------------- 
2020-10-16T14:40:00.9571684Z 
2020-10-16T14:40:00.9572305Z Append to "C:\Users\runneradmin/.config/fish/config.fish":
2020-10-16T14:40:00.9572858Z  
2020-10-16T14:40:00.9573233Z # ----------------------------------------------------------------------------
2020-10-16T14:40:00.9573701Z # Conda Setup Action: Basic configuration
2020-10-16T14:40:00.9574215Z set -eo pipefail
2020-10-16T14:40:00.9574712Z # Conda Setup Action: Custom activation
2020-10-16T14:40:00.9575222Z conda activate test
2020-10-16T14:40:00.9575647Z # ---------------------------------------------------------------------------- 
2020-10-16T14:40:00.9575970Z 
2020-10-16T14:40:00.9576461Z Append to "C:\Users\runneradmin/.tcshrc":
2020-10-16T14:40:00.9576870Z  
2020-10-16T14:40:00.9577260Z # ----------------------------------------------------------------------------
2020-10-16T14:40:00.9577845Z # Conda Setup Action: Basic configuration
2020-10-16T14:40:00.9578358Z set -eo pipefail
2020-10-16T14:40:00.9578855Z # Conda Setup Action: Custom activation
2020-10-16T14:40:00.9579364Z conda activate test
2020-10-16T14:40:00.9579795Z # ---------------------------------------------------------------------------- 
2020-10-16T14:40:00.9580069Z 
2020-10-16T14:40:00.9580862Z Append to "C:\Users\runneradmin/Documents/PowerShell/profile.ps1":
2020-10-16T14:40:00.9581445Z  
2020-10-16T14:40:00.9581837Z # ----------------------------------------------------------------------------
2020-10-16T14:40:00.9582326Z # Conda Setup Action: Custom activation
2020-10-16T14:40:00.9582862Z conda activate test
2020-10-16T14:40:00.9583301Z # ---------------------------------------------------------------------------- 
2020-10-16T14:40:00.9583623Z 
2020-10-16T14:40:00.9584294Z Append to "C:\Users\runneradmin/Documents/WindowsPowerShell/profile.ps1":
2020-10-16T14:40:00.9584939Z  
2020-10-16T14:40:00.9585264Z # ----------------------------------------------------------------------------
2020-10-16T14:40:00.9585762Z # Conda Setup Action: Custom activation
2020-10-16T14:40:00.9586311Z conda activate test
2020-10-16T14:40:00.9586845Z # ---------------------------------------------------------------------------- 
2020-10-16T14:40:00.9587176Z 
2020-10-16T14:40:00.9587791Z Append to "C:/Miniconda/etc/profile.d/conda.sh":
2020-10-16T14:40:00.9588287Z  
2020-10-16T14:40:00.9588607Z # ----------------------------------------------------------------------------
2020-10-16T14:40:00.9589118Z # Conda Setup Action: Basic configuration
2020-10-16T14:40:00.9589635Z set -eo pipefail
2020-10-16T14:40:00.9590133Z # Conda Setup Action: Custom activation
2020-10-16T14:40:00.9590668Z conda activate test
2020-10-16T14:40:00.9591094Z # ---------------------------------------------------------------------------- 
2020-10-16T14:40:00.9591422Z 
2020-10-16T14:40:00.9591879Z Append to "C:/Miniconda/etc/fish/conf.d/conda.fish":
2020-10-16T14:40:00.9592373Z  
2020-10-16T14:40:00.9592739Z # ----------------------------------------------------------------------------
2020-10-16T14:40:00.9593240Z # Conda Setup Action: Basic configuration
2020-10-16T14:40:00.9593762Z set -eo pipefail
2020-10-16T14:40:00.9594260Z # Conda Setup Action: Custom activation
2020-10-16T14:40:00.9594791Z conda activate test
2020-10-16T14:40:00.9595275Z # ---------------------------------------------------------------------------- 
2020-10-16T14:40:00.9595548Z 
2020-10-16T14:40:00.9596079Z Append to "C:/Miniconda/condabin/conda_hook.bat":
2020-10-16T14:40:00.9596605Z  
2020-10-16T14:40:00.9597189Z :: ---------------------------------------------------------------------------
2020-10-16T14:40:00.9599222Z :: Conda Setup Action: Activate base
2020-10-16T14:40:00.9608881Z @CALL "%CONDA_BAT%" activate base
2020-10-16T14:40:00.9609713Z :: Conda Setup Action: Custom activation
2020-10-16T14:40:00.9610283Z @CALL "%CONDA_BAT%" activate test
2020-10-16T14:40:00.9610894Z :: Conda Setup Action: Basic configuration
2020-10-16T14:40:00.9611514Z @SETLOCAL EnableExtensions
2020-10-16T14:40:00.9612190Z @SETLOCAL DisableDelayedExpansion
2020-10-16T14:40:00.9612776Z :: --------------------------------------------------------------------------- 
2020-10-16T14:40:00.9613112Z 
2020-10-16T14:40:00.9613478Z 
2020-10-16T14:40:00.9613886Z # Create test environment...
2020-10-16T14:40:00.9614342Z ############################
2020-10-16T14:40:00.9614664Z 
2020-10-16T14:40:00.9615314Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda\condabin\conda.bat create --name test"
2020-10-16T14:40:16.6270775Z Collecting package metadata: ...working... done
2020-10-16T14:40:16.6277435Z Solving environment: ...working... done
2020-10-16T14:40:25.0787765Z 
2020-10-16T14:40:25.0788788Z ## Package Plan ##
2020-10-16T14:40:25.0789177Z 
2020-10-16T14:40:25.0980816Z   environment location: C:\Miniconda\envs\test
2020-10-16T14:40:25.0986999Z 
2020-10-16T14:40:25.0987490Z 
2020-10-16T14:40:25.0987767Z 
2020-10-16T14:40:25.0988466Z Preparing transaction: ...working... done
2020-10-16T14:40:25.0989088Z Verifying transaction: ...working... done
2020-10-16T14:40:25.0993711Z Executing transaction: ...working... done
2020-10-16T14:40:25.0996529Z ##[warning]

==> WARNING: A newer version of conda exists. <==
  current version: 4.6.14
  latest version: 4.8.5

Please update conda by running

    $ conda update -n base -c defaults conda



2020-10-16T14:40:25.0998766Z 
2020-10-16T14:40:25.0999044Z 
2020-10-16T14:40:25.0999498Z ==> WARNING: A newer version of conda exists. <==
2020-10-16T14:40:25.0999996Z   current version: 4.6.14
2020-10-16T14:40:25.1000417Z   latest version: 4.8.5
2020-10-16T14:40:25.1000716Z 
2020-10-16T14:40:25.1001118Z Please update conda by running
2020-10-16T14:40:25.1001468Z 
2020-10-16T14:40:25.1001873Z     $ conda update -n base -c defaults conda
2020-10-16T14:40:25.1002247Z 
2020-10-16T14:40:25.1002493Z 
2020-10-16T14:40:25.1002800Z #
2020-10-16T14:40:25.1003230Z # To activate this environment, use:
2020-10-16T14:40:25.1003759Z # > activate test
2020-10-16T14:40:25.1004110Z #
2020-10-16T14:40:25.1004575Z # To deactivate an active environment, use:
2020-10-16T14:40:25.1005188Z # > deactivate
2020-10-16T14:40:25.1005545Z #
2020-10-16T14:40:25.1005991Z # * for power-users using bash, you must source
2020-10-16T14:40:25.1006436Z #
2020-10-16T14:40:25.1006682Z 
2020-10-16T14:40:25.3356728Z ##[group]Run $env:BUILD_SOURCESDIRECTORY = $env:GITHUB_WORKSPACE
2020-10-16T14:40:25.3357517Z �[36;1m$env:BUILD_SOURCESDIRECTORY = $env:GITHUB_WORKSPACE�[0m
2020-10-16T14:40:25.3357988Z �[36;1m$env:TOOLCHAIN = "MINGW"�[0m
2020-10-16T14:40:25.3358310Z �[36;1m$env:R_VERSION = "3.6"�[0m
2020-10-16T14:40:25.3358606Z �[36;1m$env:R_BUILD_TYPE = "cmake"�[0m
2020-10-16T14:40:25.3358935Z �[36;1m$env:COMPILER = "MINGW"�[0m
2020-10-16T14:40:25.3359272Z �[36;1m$env:GITHUB_ACTIONS = "true"�[0m
2020-10-16T14:40:25.3359610Z �[36;1m$env:TASK = "r-package"�[0m
2020-10-16T14:40:25.3359948Z �[36;1mconda init powershell�[0m
2020-10-16T14:40:25.3360386Z �[36;1m& "$env:GITHUB_WORKSPACE/.ci/test_windows.ps1"�[0m
2020-10-16T14:40:25.3417185Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". {0}"
2020-10-16T14:40:25.3417583Z env:
2020-10-16T14:40:25.3417959Z   CONDA_PKGS_DIR: C:/Users\runneradmin/conda_pkgs_dir
2020-10-16T14:40:25.3418359Z ##[endgroup]
2020-10-16T14:40:28.7536822Z no change     C:\Miniconda\Scripts\conda.exe
2020-10-16T14:40:28.7537683Z no change     C:\Miniconda\Scripts\conda-env.exe
2020-10-16T14:40:28.7538352Z no change     C:\Miniconda\Scripts\conda-script.py
2020-10-16T14:40:28.7539048Z no change     C:\Miniconda\Scripts\conda-env-script.py
2020-10-16T14:40:28.7541196Z no change     C:\Miniconda\condabin\conda.bat
2020-10-16T14:40:28.7541979Z no change     C:\Miniconda\Library\bin\conda.bat
2020-10-16T14:40:28.7542810Z no change     C:\Miniconda\condabin\_conda_activate.bat
2020-10-16T14:40:28.7543649Z no change     C:\Miniconda\condabin\rename_tmp.bat
2020-10-16T14:40:28.7544511Z no change     C:\Miniconda\condabin\conda_auto_activate.bat
2020-10-16T14:40:28.7545366Z modified      C:\Miniconda\condabin\conda_hook.bat
2020-10-16T14:40:28.7546177Z no change     C:\Miniconda\Scripts\activate.bat
2020-10-16T14:40:28.7546977Z no change     C:\Miniconda\condabin\activate.bat
2020-10-16T14:40:28.7547847Z no change     C:\Miniconda\condabin\deactivate.bat
2020-10-16T14:40:28.7548660Z no change     C:\Miniconda\Scripts\activate
2020-10-16T14:40:28.7549506Z no change     C:\Miniconda\Scripts\deactivate
2020-10-16T14:40:28.7550307Z modified      C:\Miniconda\etc\profile.d\conda.sh
2020-10-16T14:40:28.7551132Z modified      C:\Miniconda\etc\fish\conf.d\conda.fish
2020-10-16T14:40:28.7551970Z no change     C:\Miniconda\shell\condabin\Conda.psm1
2020-10-16T14:40:28.7552846Z no change     C:\Miniconda\shell\condabin\conda-hook.ps1
2020-10-16T14:40:28.7553771Z no change     C:\Miniconda\Lib\site-packages\xonsh\conda.xsh
2020-10-16T14:40:28.7554634Z no change     C:\Miniconda\etc\profile.d\conda.csh
2020-10-16T14:40:28.7555652Z no change     C:\Users\runneradmin\Documents\WindowsPowerShell\profile.ps1
2020-10-16T14:40:28.7556781Z no change     C:\Users\runneradmin\Documents\PowerShell\profile.ps1
2020-10-16T14:40:28.7557434Z 
2020-10-16T14:40:28.7558106Z ==> For changes to take effect, close and re-open your current shell. <==
2020-10-16T14:40:28.7559569Z 
2020-10-16T14:40:28.9416197Z Telling R to use MinGW
2020-10-16T14:40:29.0432311Z Downloading R and Rtools
2020-10-16T14:40:29.0480059Z Downloading https://cran.r-project.org/bin/windows/base/old/3.6.3/R-3.6.3-win.exe
2020-10-16T14:40:38.9288272Z Downloading https://github.com/microsoft/LightGBM/releases/download/v2.0.12/rtools35-x86_64.exe
2020-10-16T14:40:45.3389416Z Installing R
2020-10-16T14:41:32.9445091Z Done installing R
2020-10-16T14:41:32.9446107Z Installing Rtools
2020-10-16T14:41:32.9574987Z Done installing Rtools
2020-10-16T14:41:32.9629152Z Installing dependencies
2020-10-16T14:41:36.4708219Z package 'callr' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.4825055Z package 'prettyunits' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.5015739Z package 'backports' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.5173990Z package 'assertthat' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.5338524Z package 'glue' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.5564303Z package 'fansi' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.5713878Z package 'desc' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.5870368Z package 'pkgbuild' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.6112287Z package 'rprojroot' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.6355100Z package 'rstudioapi' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.6624448Z package 'ps' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.6832392Z package 'cli' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.7043826Z package 'crayon' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.7282225Z package 'digest' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.7410965Z package 'ellipsis' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.7524258Z package 'evaluate' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.7665289Z package 'magrittr' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.7802815Z package 'pkgload' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.7912055Z package 'praise' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.8354594Z package 'rlang' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.8530978Z package 'withr' successfully unpacked and MD5 sums checked
2020-10-16T14:41:36.9769367Z package 'data.table' successfully unpacked and MD5 sums checked
2020-10-16T14:41:37.0245788Z package 'jsonlite' successfully unpacked and MD5 sums checked
2020-10-16T14:41:37.1372146Z package 'Matrix' successfully unpacked and MD5 sums checked
2020-10-16T14:41:37.1665493Z package 'processx' successfully unpacked and MD5 sums checked
2020-10-16T14:41:37.1779144Z package 'R6' successfully unpacked and MD5 sums checked
2020-10-16T14:41:37.2431896Z package 'testthat' successfully unpacked and MD5 sums checked
2020-10-16T14:41:37.2875459Z 
2020-10-16T14:41:37.2876769Z The downloaded binary packages are in
2020-10-16T14:41:37.2877508Z 	C:\Users\runneradmin\AppData\Local\Temp\Rtmp8Q1qHs\downloaded_packages
2020-10-16T14:41:37.3421944Z Downloading https://github.com/microsoft/LightGBM/releases/download/v2.0.12/miktexsetup-4.0-x64.zip
2020-10-16T14:41:42.7348489Z Setting up MiKTeX
2020-10-16T14:41:56.7583830Z Installing MiKTeX
2020-10-16T14:43:51.5397506Z Done installing MiKTeX
2020-10-16T14:43:52.1861513Z initexmf: security risk: running with elevated privileges
2020-10-16T14:43:52.1862296Z 
2020-10-16T14:43:53.4482857Z Collecting package metadata: ...working... done
2020-10-16T14:43:53.5246441Z Solving environment: ...working... done
2020-10-16T14:44:03.8651629Z 
2020-10-16T14:44:03.8848397Z ## Package Plan ##
2020-10-16T14:44:03.9026498Z 
2020-10-16T14:44:03.9199832Z   environment location: C:\Miniconda\envs\test
2020-10-16T14:44:03.9304655Z 
2020-10-16T14:44:03.9410188Z   added / updated specs:
2020-10-16T14:44:03.9652022Z     - pandoc
2020-10-16T14:44:03.9887713Z 
2020-10-16T14:44:04.0258897Z 
2020-10-16T14:44:04.0364949Z The following packages will be downloaded:
2020-10-16T14:44:04.0497828Z 
2020-10-16T14:44:04.0769242Z     package                    |            build
2020-10-16T14:44:04.0955085Z     ---------------------------|-----------------
2020-10-16T14:44:04.1359111Z     pandoc-2.11                |       h9490d1a_0        18.7 MB
2020-10-16T14:44:04.1360454Z     ------------------------------------------------------------
2020-10-16T14:44:04.1375540Z                                            Total:        18.7 MB
2020-10-16T14:44:04.1382900Z 
2020-10-16T14:44:04.1409109Z The following NEW packages will be INSTALLED:
2020-10-16T14:44:04.1463757Z 
2020-10-16T14:44:04.1466405Z   pandoc             pkgs/main/win-64::pandoc-2.11-h9490d1a_0
2020-10-16T14:44:04.1514371Z 
2020-10-16T14:44:04.1516557Z 
2020-10-16T14:44:04.1518890Z Preparing transaction: ...working... done
2020-10-16T14:44:04.1520638Z Verifying transaction: ...working... done
2020-10-16T14:44:04.1521503Z Executing transaction: ...working... done
2020-10-16T14:44:04.1881686Z Building R package
2020-10-16T14:44:04.9352518Z * checking for file 'D:/a/LightGBM/LightGBM/lightgbm_r/DESCRIPTION' ... OK
2020-10-16T14:44:04.9353663Z 
2020-10-16T14:44:08.8297139Z * preparing 'lightgbm':
2020-10-16T14:44:08.8331357Z 
2020-10-16T14:44:08.8408667Z * checking DESCRIPTION meta-information ... OK
2020-10-16T14:44:08.8409370Z 
2020-10-16T14:44:08.8409755Z * cleaning src
2020-10-16T14:44:08.8410052Z 
2020-10-16T14:44:09.4734024Z * checking for LF line-endings in source and make files and shell scripts
2020-10-16T14:44:09.4734803Z 
2020-10-16T14:44:09.7076411Z * checking for empty or unneeded directories
2020-10-16T14:44:09.7077090Z 
2020-10-16T14:44:09.7250428Z * looking to see if a 'data/datalist' file should be added
2020-10-16T14:44:09.7251134Z 
2020-10-16T14:44:09.7492731Z * building 'lightgbm_3.0.0.99.tar.gz'
2020-10-16T14:44:09.7493319Z 
2020-10-16T14:44:09.8664491Z Warning: file 'lightgbm/cleanup' did not have execute permissions: corrected
2020-10-16T14:44:09.8665446Z 
2020-10-16T14:44:10.6349554Z 
2020-10-16T14:44:10.6432908Z 
2020-10-16T14:44:10.7428104Z [1] "Skipping installation. Install the package with command 'R CMD INSTALL --no-multiarch --with-keep.source D:/a/LightGBM/LightGBM/lightgbm_3.0.0.99.tar.gz'"
2020-10-16T14:44:10.7669638Z Running R CMD check
2020-10-16T14:44:11.5140635Z * using log directory 'D:/a/LightGBM/LightGBM/lightgbm.Rcheck'
2020-10-16T14:44:11.5246272Z 
2020-10-16T14:44:11.5247354Z * using R version 3.6.3 (2020-02-29)
2020-10-16T14:44:11.5247719Z 
2020-10-16T14:44:11.5248165Z * using platform: x86_64-w64-mingw32 (64-bit)
2020-10-16T14:44:11.5266395Z 
2020-10-16T14:44:11.5267062Z * using session charset: ISO8859-1
2020-10-16T14:44:11.5267437Z 
2020-10-16T14:44:12.0205429Z * using options '--run-donttest --as-cran'
2020-10-16T14:44:12.0209060Z 
2020-10-16T14:44:12.0237718Z * checking for file 'lightgbm/DESCRIPTION' ... OK
2020-10-16T14:44:12.0242320Z 
2020-10-16T14:44:12.0256473Z * checking extension type ... Package
2020-10-16T14:44:12.0264396Z 
2020-10-16T14:44:12.0270096Z * this is package 'lightgbm' version '3.0.0.99'
2020-10-16T14:44:12.0270555Z 
2020-10-16T14:44:12.0319835Z * package encoding: UTF-8
2020-10-16T14:44:12.0320295Z 
2020-10-16T14:44:37.8747147Z * checking CRAN incoming feasibility ... NOTE
2020-10-16T14:44:37.8747880Z 
2020-10-16T14:44:37.8748403Z Maintainer: 'Guolin Ke <guolin.ke@microsoft.com>'
2020-10-16T14:44:37.8748872Z 
2020-10-16T14:44:37.8749121Z 
2020-10-16T14:44:37.8749386Z 
2020-10-16T14:44:37.8749749Z New submission
2020-10-16T14:44:37.8750046Z 
2020-10-16T14:44:37.8750311Z 
2020-10-16T14:44:37.8750552Z 
2020-10-16T14:44:37.8750946Z Package was archived on CRAN
2020-10-16T14:44:37.8751272Z 
2020-10-16T14:44:37.8751619Z 
2020-10-16T14:44:37.8751859Z 
2020-10-16T14:44:37.8752275Z CRAN repository db overrides:
2020-10-16T14:44:37.8752863Z 
2020-10-16T14:44:37.8753397Z   X-CRAN-Comment: Archived on 2020-10-02 for corrupting R's memory.
2020-10-16T14:44:37.8753849Z 
2020-10-16T14:44:37.8754117Z 
2020-10-16T14:44:37.8754355Z 
2020-10-16T14:44:37.8754828Z   See the valgrind report of out-of-bounds write.
2020-10-16T14:44:37.8755248Z 
2020-10-16T14:44:37.8828445Z * checking package namespace information ... OK
2020-10-16T14:44:37.8828997Z 
2020-10-16T14:44:39.0271071Z * checking package dependencies ... OK
2020-10-16T14:44:39.0272138Z 
2020-10-16T14:44:39.0390425Z * checking if this is a source package ... OK
2020-10-16T14:44:39.0390981Z 
2020-10-16T14:44:39.0391419Z * checking if there is a namespace ... OK
2020-10-16T14:44:39.0391861Z 
2020-10-16T14:44:39.8676906Z * checking for executable files ... OK
2020-10-16T14:44:39.8677652Z 
2020-10-16T14:44:39.8850565Z * checking for hidden files and directories ... OK
2020-10-16T14:44:39.8851152Z 
2020-10-16T14:44:39.9018415Z * checking for portable file names ... OK
2020-10-16T14:44:39.9018997Z 
2020-10-16T14:44:52.3916212Z * checking whether package 'lightgbm' can be installed ... ERROR
2020-10-16T14:44:52.3957422Z 
2020-10-16T14:44:52.3965050Z Installation failed.
2020-10-16T14:44:52.3975265Z 
2020-10-16T14:44:52.4065559Z See 'D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00install.out' for details.
2020-10-16T14:44:52.4066737Z 
2020-10-16T14:44:52.4067325Z * DONE
2020-10-16T14:44:52.4067679Z 
2020-10-16T14:44:52.4068131Z Status: 1 ERROR, 1 NOTE
2020-10-16T14:44:52.4068497Z 
2020-10-16T14:44:52.4068836Z 
2020-10-16T14:44:52.4069145Z 
2020-10-16T14:44:52.4069543Z See
2020-10-16T14:44:52.4069880Z 
2020-10-16T14:44:52.4070486Z   'D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00check.log'
2020-10-16T14:44:52.4071023Z 
2020-10-16T14:44:52.4072491Z for details.
2020-10-16T14:44:52.4073038Z 
2020-10-16T14:44:52.4073371Z 
2020-10-16T14:44:52.4073708Z 
2020-10-16T14:44:52.4581068Z R CMD check build logs:
2020-10-16T14:44:52.4591282Z * installing *source* package 'lightgbm' ...
2020-10-16T14:44:52.4592695Z ** using staged installation
2020-10-16T14:44:52.4594011Z ** libs
2020-10-16T14:44:52.4595220Z installing via 'install.libs.R' to D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00LOCK-lightgbm/00new/lightgbm
2020-10-16T14:44:52.4596816Z Trying to build with MinGW
2020-10-16T14:44:52.4598035Z -- The C compiler identification is GNU 4.9.3
2020-10-16T14:44:52.4599204Z -- The CXX compiler identification is GNU 4.9.3
2020-10-16T14:44:52.4601624Z -- Detecting C compiler ABI info
2020-10-16T14:44:52.4602606Z -- Detecting C compiler ABI info - failed
2020-10-16T14:44:52.4603411Z -- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe
2020-10-16T14:44:52.4604232Z -- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe - broken
2020-10-16T14:44:52.4605241Z CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
2020-10-16T14:44:52.4606206Z   The C compiler
2020-10-16T14:44:52.4606603Z 
2020-10-16T14:44:52.4607583Z     "C:/Rtools/mingw_64/bin/gcc.exe"
2020-10-16T14:44:52.4608668Z 
2020-10-16T14:44:52.4609309Z   is not able to compile a simple test program.
2020-10-16T14:44:52.4609836Z 
2020-10-16T14:44:52.4610782Z   It fails with the following output:
2020-10-16T14:44:52.4611449Z 
2020-10-16T14:44:52.4612671Z     Change Dir: D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeTmp
2020-10-16T14:44:52.4613398Z     
2020-10-16T14:44:52.4614959Z     Run Build Command(s):C:/ProgramData/chocolatey/bin/mingw32-make.exe cmTC_a5d49/fast && C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/mingw32-make  -f CMakeFiles\cmTC_a5d49.dir\build.make CMakeFiles/cmTC_a5d49.dir/build
2020-10-16T14:44:52.4616105Z 
2020-10-16T14:44:52.4616903Z     mingw32-make[1]: Entering directory 'D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeTmp'
2020-10-16T14:44:52.4617593Z 
2020-10-16T14:44:52.4618100Z     Building C object CMakeFiles/cmTC_a5d49.dir/testCCompiler.c.obj
2020-10-16T14:44:52.4618788Z 
2020-10-16T14:44:52.4619946Z     C:\Rtools\mingw_64\bin\gcc.exe    -o CMakeFiles\cmTC_a5d49.dir\testCCompiler.c.obj -c D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\build\CMakeFiles\CMakeTmp\testCCompiler.c
2020-10-16T14:44:52.4620907Z 
2020-10-16T14:44:52.4621415Z     Linking C executable cmTC_a5d49.exe
2020-10-16T14:44:52.4621675Z 
2020-10-16T14:44:52.4622319Z     "C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_a5d49.dir\link.txt --verbose=1
2020-10-16T14:44:52.4622940Z 
2020-10-16T14:44:52.4623408Z     "C:\Program Files\CMake\bin\cmake.exe" -E rm -f CMakeFiles\cmTC_a5d49.dir/objects.a
2020-10-16T14:44:52.4624525Z     C:\Rtools\mingw_64\bin\ar.exe cr CMakeFiles\cmTC_a5d49.dir/objects.a @CMakeFiles\cmTC_a5d49.dir\objects1.rsp
2020-10-16T14:44:52.4626832Z     C:\Rtools\mingw_64\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_a5d49.dir/objects.a -Wl,--no-whole-archive -o cmTC_a5d49.exe -Wl,--out-implib,libcmTC_a5d49.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_a5d49.dir\linklibs.rsp
2020-10-16T14:44:52.4629048Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find crt2.o: No such file or directory
2020-10-16T14:44:52.4629702Z 
2020-10-16T14:44:52.4630428Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find crtbegin.o: No such file or directory
2020-10-16T14:44:52.4631114Z 
2020-10-16T14:44:52.4631932Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lkernel32
2020-10-16T14:44:52.4632507Z 
2020-10-16T14:44:52.4633077Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -luser32
2020-10-16T14:44:52.4633575Z 
2020-10-16T14:44:52.4634123Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lgdi32
2020-10-16T14:44:52.4634617Z 
2020-10-16T14:44:52.4635188Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lwinspool
2020-10-16T14:44:52.4635711Z 
2020-10-16T14:44:52.4636313Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lshell32
2020-10-16T14:44:52.4636855Z 
2020-10-16T14:44:52.4638130Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lole32
2020-10-16T14:44:52.4638793Z 
2020-10-16T14:44:52.4639698Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -loleaut32
2020-10-16T14:44:52.4640327Z 
2020-10-16T14:44:52.4641093Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -luuid
2020-10-16T14:44:52.4641953Z 
2020-10-16T14:44:52.4643064Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lcomdlg32
2020-10-16T14:44:52.4643762Z 
2020-10-16T14:44:52.4644602Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -ladvapi32
2020-10-16T14:44:52.4645519Z 
2020-10-16T14:44:52.4646760Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmingw32
2020-10-16T14:44:52.4647775Z 
2020-10-16T14:44:52.4649812Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmoldname
2020-10-16T14:44:52.4650810Z 
2020-10-16T14:44:52.4653843Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmingwex
2020-10-16T14:44:52.4654465Z 
2020-10-16T14:44:52.4656491Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmsvcrt
2020-10-16T14:44:52.4657720Z 
2020-10-16T14:44:52.4660141Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lpthread
2020-10-16T14:44:52.4661416Z 
2020-10-16T14:44:52.4663906Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -ladvapi32
2020-10-16T14:44:52.4665049Z 
2020-10-16T14:44:52.4669360Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lshell32
2020-10-16T14:44:52.4673313Z 
2020-10-16T14:44:52.4676285Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -luser32
2020-10-16T14:44:52.4679139Z 
2020-10-16T14:44:52.4680952Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lkernel32
2020-10-16T14:44:52.4682590Z 
2020-10-16T14:44:52.4684588Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -liconv
2020-10-16T14:44:52.4686782Z 
2020-10-16T14:44:52.4689130Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmingw32
2020-10-16T14:44:52.4690985Z 
2020-10-16T14:44:52.4692993Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmoldname
2020-10-16T14:44:52.4695141Z 
2020-10-16T14:44:52.4698202Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmingwex
2020-10-16T14:44:52.4702517Z 
2020-10-16T14:44:52.4706600Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmsvcrt
2020-10-16T14:44:52.4709279Z 
2020-10-16T14:44:52.4715392Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find crtend.o: No such file or directory
2020-10-16T14:44:52.4718834Z 
2020-10-16T14:44:52.4722338Z     collect2.exe: error: ld returned 1 exit status
2020-10-16T14:44:52.4724857Z 
2020-10-16T14:44:52.4726448Z     mingw32-make[1]: *** [CMakeFiles\cmTC_a5d49.dir\build.make:107: cmTC_a5d49.exe] Error 1
2020-10-16T14:44:52.4727696Z 
2020-10-16T14:44:52.4729218Z     mingw32-make[1]: Leaving directory 'D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeTmp'
2020-10-16T14:44:52.4729997Z 
2020-10-16T14:44:52.4731500Z     mingw32-make: *** [Makefile:139: cmTC_a5d49/fast] Error 2
2020-10-16T14:44:52.4732214Z 
2020-10-16T14:44:52.4733179Z     
2020-10-16T14:44:52.4734428Z     
2020-10-16T14:44:52.4735790Z 
2020-10-16T14:44:52.4736568Z   
2020-10-16T14:44:52.4738126Z 
2020-10-16T14:44:52.4739542Z   CMake will not be able to correctly generate this project.
2020-10-16T14:44:52.4740089Z Call Stack (most recent call first):
2020-10-16T14:44:52.4742008Z   CMakeLists.txt:14 (PROJECT)
2020-10-16T14:44:52.4742954Z 
2020-10-16T14:44:52.4743487Z 
2020-10-16T14:44:52.4745139Z -- Configuring incomplete, errors occurred!
2020-10-16T14:44:52.4746580Z See also "D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeOutput.log".
2020-10-16T14:44:52.4747732Z See also "D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeError.log".
2020-10-16T14:44:52.4748972Z -- The C compiler identification is GNU 4.9.3
2020-10-16T14:44:52.4750175Z -- The CXX compiler identification is GNU 4.9.3
2020-10-16T14:44:52.4751191Z -- Detecting C compiler ABI info
2020-10-16T14:44:52.4752619Z -- Detecting C compiler ABI info - failed
2020-10-16T14:44:52.4753712Z -- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe
2020-10-16T14:44:52.4754361Z -- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe - broken
2020-10-16T14:44:52.4756688Z CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
2020-10-16T14:44:52.4757750Z   The C compiler
2020-10-16T14:44:52.4758733Z 
2020-10-16T14:44:52.4759872Z     "C:/Rtools/mingw_64/bin/gcc.exe"
2020-10-16T14:44:52.4761017Z 
2020-10-16T14:44:52.4762388Z   is not able to compile a simple test program.
2020-10-16T14:44:52.4762895Z 
2020-10-16T14:44:52.4764764Z   It fails with the following output:
2020-10-16T14:44:52.4765403Z 
2020-10-16T14:44:52.4766845Z     Change Dir: D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeTmp
2020-10-16T14:44:52.4767524Z     
2020-10-16T14:44:52.4769801Z     Run Build Command(s):C:/ProgramData/chocolatey/bin/mingw32-make.exe cmTC_48deb/fast && C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/mingw32-make  -f CMakeFiles\cmTC_48deb.dir\build.make CMakeFiles/cmTC_48deb.dir/build
2020-10-16T14:44:52.4770791Z 
2020-10-16T14:44:52.4772302Z     mingw32-make[1]: Entering directory 'D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeTmp'
2020-10-16T14:44:52.4772997Z 
2020-10-16T14:44:52.4774559Z     Building C object CMakeFiles/cmTC_48deb.dir/testCCompiler.c.obj
2020-10-16T14:44:52.4775082Z 
2020-10-16T14:44:52.4777078Z     C:\Rtools\mingw_64\bin\gcc.exe    -o CMakeFiles\cmTC_48deb.dir\testCCompiler.c.obj -c D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\build\CMakeFiles\CMakeTmp\testCCompiler.c
2020-10-16T14:44:52.4777994Z 
2020-10-16T14:44:52.4778324Z     Linking C executable cmTC_48deb.exe
2020-10-16T14:44:52.4778820Z 
2020-10-16T14:44:52.4780090Z     "C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_48deb.dir\link.txt --verbose=1
2020-10-16T14:44:52.4780745Z 
2020-10-16T14:44:52.4781733Z     "C:\Program Files\CMake\bin\cmake.exe" -E rm -f CMakeFiles\cmTC_48deb.dir/objects.a
2020-10-16T14:44:52.4783189Z     C:\Rtools\mingw_64\bin\ar.exe cr CMakeFiles\cmTC_48deb.dir/objects.a @CMakeFiles\cmTC_48deb.dir\objects1.rsp
2020-10-16T14:44:52.4785185Z     C:\Rtools\mingw_64\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_48deb.dir/objects.a -Wl,--no-whole-archive -o cmTC_48deb.exe -Wl,--out-implib,libcmTC_48deb.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_48deb.dir\linklibs.rsp
2020-10-16T14:44:52.4787186Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find crt2.o: No such file or directory
2020-10-16T14:44:52.4787777Z 
2020-10-16T14:44:52.4788443Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find crtbegin.o: No such file or directory
2020-10-16T14:44:52.4789028Z 
2020-10-16T14:44:52.4789610Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lkernel32
2020-10-16T14:44:52.4790123Z 
2020-10-16T14:44:52.4790777Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: -- Configuring incomplete, errors occurred!
2020-10-16T14:44:52.4791587Z cannot find -luser32
2020-10-16T14:44:52.4792508Z 
2020-10-16T14:44:52.4793803Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lgdi32
2020-10-16T14:44:52.4795229Z 
2020-10-16T14:44:52.4796106Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lwinspool
2020-10-16T14:44:52.4797513Z 
2020-10-16T14:44:52.4799620Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lshell32
2020-10-16T14:44:52.4800659Z 
2020-10-16T14:44:52.4802628Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lole32
2020-10-16T14:44:52.4803435Z 
2020-10-16T14:44:52.4805306Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -loleaut32
2020-10-16T14:44:52.4806766Z 
2020-10-16T14:44:52.4808381Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -luuid
2020-10-16T14:44:52.4809824Z 
2020-10-16T14:44:52.4811701Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lcomdlg32
2020-10-16T14:44:52.4813387Z 
2020-10-16T14:44:52.4815006Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -ladvapi32
2020-10-16T14:44:52.4816520Z 
2020-10-16T14:44:52.4818201Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmingw32
2020-10-16T14:44:52.4819573Z 
2020-10-16T14:44:52.4821266Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmoldname
2020-10-16T14:44:52.4856458Z 
2020-10-16T14:44:52.4883607Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmingwex
2020-10-16T14:44:52.4897476Z 
2020-10-16T14:44:52.4901774Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmsvcrt
2020-10-16T14:44:52.4906696Z 
2020-10-16T14:44:52.4908801Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lpthread
2020-10-16T14:44:52.4910384Z 
2020-10-16T14:44:52.4913676Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -ladvapi32
2020-10-16T14:44:52.4916554Z 
2020-10-16T14:44:52.4918197Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lshell32
2020-10-16T14:44:52.4919775Z 
2020-10-16T14:44:52.4922257Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -luser32
2020-10-16T14:44:52.4923832Z 
2020-10-16T14:44:52.4926215Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lkernel32
2020-10-16T14:44:52.4927860Z 
2020-10-16T14:44:52.4929618Z     C:\PSee also "D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeOutput.log".
2020-10-16T14:44:52.4931984Z See also "D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeError.log".
2020-10-16T14:44:52.4935052Z rogramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -liconv
2020-10-16T14:44:52.4938053Z 
2020-10-16T14:44:52.4940441Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmingw32
2020-10-16T14:44:52.4941955Z 
2020-10-16T14:44:52.4944635Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmoldname
2020-10-16T14:44:52.4947940Z 
2020-10-16T14:44:52.4949643Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmingwex
2020-10-16T14:44:52.4951044Z 
2020-10-16T14:44:52.4952736Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lmsvcrt
2020-10-16T14:44:52.4954149Z 
2020-10-16T14:44:52.4955819Z     C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\bin\ld.exe: cannot find crtend.o: No such file or directory
2020-10-16T14:44:52.4957760Z 
2020-10-16T14:44:52.4962503Z     collect2.exe: error: ld returned 1 exit status
2020-10-16T14:44:52.4963161Z 
2020-10-16T14:44:52.4967706Z     mingw32-make[1]: *** [CMakeFiles\cmTC_48deb.dir\build.make:107: cmTC_48deb.exe] Error 1
2020-10-16T14:44:52.4968254Z 
2020-10-16T14:44:52.4970663Z     mingw32-make[1]: Leaving directory 'D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build/CMakeFiles/CMakeTmp'
2020-10-16T14:44:52.4974182Z 
2020-10-16T14:44:52.4976269Z     mingw32-make: *** [Makefile:139: cmTC_48deb/fast] Error 2
2020-10-16T14:44:52.4977490Z 
2020-10-16T14:44:52.4978725Z     
2020-10-16T14:44:52.4979956Z     
2020-10-16T14:44:52.4981021Z 
2020-10-16T14:44:52.4982372Z   
2020-10-16T14:44:52.4983429Z 
2020-10-16T14:44:52.4984834Z   CMake will not be able to correctly generate this project.
2020-10-16T14:44:52.4986352Z Call Stack (most recent call first):
2020-10-16T14:44:52.4987788Z   CMakeLists.txt:14 (PROJECT)
2020-10-16T14:44:52.4989132Z 
2020-10-16T14:44:52.4990214Z 
2020-10-16T14:44:52.4993464Z Error in .run_shell_command("cmake", c(cmake_args, "..")) : 
2020-10-16T14:44:52.4996946Z   Command failed with exit code: 1
2020-10-16T14:44:52.5001034Z * removing 'D:/a/LightGBM/LightGBM/lightgbm.Rcheck/lightgbm'
2020-10-16T14:44:52.5090176Z Looking for issues with R CMD check results
2020-10-16T14:44:52.5160603Z ERRORs have been found by R CMD check!
2020-10-16T14:44:57.6715537Z ##[error]Process completed with exit code -1.
2020-10-16T14:44:57.6936634Z Cleaning up orphan processes
@jameslamb
Copy link
Collaborator Author

@StrikerRUS I've opened an issue to document this problem, but I'm not sure we'll be able to reproduce it. It looks like it has not happened very much: https://github.com/microsoft/LightGBM/commits/master

(notice how many have ✅ )

image

image

@StrikerRUS
Copy link
Collaborator

(notice how many have ✅ )

Those green checks are results of my everyday manual reruns of failed jobs. Most of them happen due to random network problems. So, if the first rerun is successful I even do not look into logs.

@jameslamb
Copy link
Collaborator Author

Oh I see. That is going to make it hard to know how often this error happens, then.

https://github.com/microsoft/LightGBM/actions?query=branch%3Amaster+workflow%3A%22R+GitHub+Actions%22 also only shows one result per commit

image

@jameslamb
Copy link
Collaborator Author

I am still seeing this a lot.

Here's a recent example: https://github.com/microsoft/LightGBM/pull/3510/checks?check_run_id=1337404177

Will look into it when I can. It's so weird....it seems like a problem with rtools, but we host that at https://github.com/microsoft/LightGBM/releases/tag/v2.0.12 so I'm now sure how it could be sometimes broken and sometimes successful.

@StrikerRUS
Copy link
Collaborator

@jameslamb That error happens in almost every PR.

Maybe the reason is in random PATH order? I think before you find a root cause we can remove unwanted make from PATH like here:

- set PATH=%PATH:C:\Program Files\Git\usr\bin;=% # delete sh.exe from PATH (mingw32-make fix)

@jameslamb
Copy link
Collaborator Author

It looks like the Rtools compilers are found first

-- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe
-- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "C:/Rtools/mingw_64/bin/gcc.exe"
``

But then libraries to be linked can't be found

```text
    C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find crtbegin.o: No such file or directory
    C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lkernel32
    C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luser32
    C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgdi32
    C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwinspool
    C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lshell32

I'll open a PR and start testing.

@jameslamb
Copy link
Collaborator Author

I also want to add to this thread that it seems this job specifically is the one that often suffers from this issue

- os: windows-latest
  task: r-package
  compiler: MINGW
  toolchain: MINGW
  r_version: 3.6
  build_type: cmake

@jameslamb jameslamb changed the title [R-package] [ci] mingw gcc occasionally fails on CMake builds [R-package] [ci] mingw gcc often fails on CMake builds Nov 2, 2020
@jameslamb
Copy link
Collaborator Author

I just tested and found that the PATH is identical on successful and failed jobs with this issue.

I added this to every job in https://github.com/jameslamb/LightGBM/actions/runs/340974450

$env:PATH -Split ";"
PATH on success
# success

C:\Rtools\bin
C:\Rtools\usr\bin
D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64
D:/a/LightGBM/LightGBM/RLibrary/miktex/texmfs/install/miktex/bin/x64
C:\Miniconda\envs\test
C:\Miniconda\envs\test\Library\mingw-w64\bin
C:\Miniconda\envs\test\Library\usr\bin
C:\Miniconda\envs\test\Library\bin
C:\Miniconda\envs\test\Scripts
C:\Miniconda\envs\test\bin
C:\Program Files\PowerShell\7
C:\Miniconda\condabin
C:\Users\runneradmin\.dotnet\tools
C:\Program Files\Mercurial
C:\Program Files\MongoDB\Server\4.4\bin
C:\aliyun-cli
C:\ProgramData\kind
C:\vcpkg
C:\cf-cli
C:\Program Files (x86)\NSIS
C:\Program Files\Mercurial
C:\hostedtoolcache\windows\stack\2.5.1\x64
C:\ProgramData\chocolatey\lib\ghc.8.10.2.1\tools\ghc-8.10.2\bin
C:\Program Files\dotnet
C:\mysql-5.7.21-winx64\bin
C:\Program Files\R\R-4.0.3\bin\x64
C:\SeleniumWebDrivers\GeckoDriver
C:\Program Files (x86)\sbt\bin
C:\Rust\.cargo\bin
C:\Program Files (x86)\GitHub CLI
C:\Program Files\Git\bin
C:\hostedtoolcache\windows\go\1.14.10\x64\bin
C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts
C:\hostedtoolcache\windows\Python\3.7.9\x64
C:\hostedtoolcache\windows\Ruby\2.5.8\x64\bin
C:\Program Files\Java\jdk8u265-b01\bin
C:\npm\prefix
C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI
C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI
C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin
C:\windows\system32
C:\windows
C:\windows\System32\Wbem
C:\windows\System32\WindowsPowerShell\v1.0
C:\windows\System32\OpenSSH
C:\ProgramData\Chocolatey\bin
C:\Program Files\Microsoft\Web Platform Installer
C:\Program Files\Docker
C:\Program Files\PowerShell\7
C:\Program Files\dotnet
C:\Program Files\Microsoft SQL Server\130\Tools\Binn
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn
C:\Program Files\nodejs
C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin
C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin
C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code
C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager
C:\Program Files\OpenSSL\bin
C:\Strawberry\c\bin
C:\Strawberry\perl\site\bin
C:\Strawberry\perl\bin
C:\Program Files\Git\cmd
C:\Program Files\Git\mingw64\bin
C:\Program Files\Git\usr\bin
c:\tools\php
C:\Program Files (x86)\sbt\bin
C:\Program Files\TortoiseSVN\bin
C:\SeleniumWebDrivers\ChromeDriver
C:\SeleniumWebDrivers\EdgeDriver
C:\Program Files\CMake\bin
C:\Program Files\Amazon\AWSCLIV2
C:\Program Files\Amazon\SessionManagerPlugin\bin
C:\Program Files\Amazon\AWSSAMCLI\bin
C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin
C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps
PATH on failure
C:\Rtools\bin
C:\Rtools\usr\bin
D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64
D:/a/LightGBM/LightGBM/RLibrary/miktex/texmfs/install/miktex/bin/x64
C:\Miniconda\envs\test
C:\Miniconda\envs\test\Library\mingw-w64\bin
C:\Miniconda\envs\test\Library\usr\bin
C:\Miniconda\envs\test\Library\bin
C:\Miniconda\envs\test\Scripts
C:\Miniconda\envs\test\bin
C:\Program Files\PowerShell\7
C:\Miniconda\condabin
C:\Users\runneradmin\.dotnet\tools
C:\Program Files\Mercurial
C:\Program Files\MongoDB\Server\4.4\bin
C:\aliyun-cli
C:\ProgramData\kind
C:\vcpkg
C:\cf-cli
C:\Program Files (x86)\NSIS
C:\Program Files\Mercurial
C:\hostedtoolcache\windows\stack\2.5.1\x64
C:\ProgramData\chocolatey\lib\ghc.8.10.2.1\tools\ghc-8.10.2\bin
C:\Program Files\dotnet
C:\mysql-5.7.21-winx64\bin
C:\Program Files\R\R-4.0.3\bin\x64
C:\SeleniumWebDrivers\GeckoDriver
C:\Program Files (x86)\sbt\bin
C:\Rust\.cargo\bin
C:\Program Files (x86)\GitHub CLI
C:\Program Files\Git\bin
C:\hostedtoolcache\windows\go\1.14.10\x64\bin
C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts
C:\hostedtoolcache\windows\Python\3.7.9\x64
C:\hostedtoolcache\windows\Ruby\2.5.8\x64\bin
C:\Program Files\Java\jdk8u265-b01\bin
C:\npm\prefix
C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI
C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI
C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin
C:\windows\system32
C:\windows
C:\windows\System32\Wbem
C:\windows\System32\WindowsPowerShell\v1.0
C:\windows\System32\OpenSSH
C:\ProgramData\Chocolatey\bin
C:\Program Files\Microsoft\Web Platform Installer
C:\Program Files\Docker
C:\Program Files\PowerShell\7
C:\Program Files\dotnet
C:\Program Files\Microsoft SQL Server\130\Tools\Binn
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn
C:\Program Files\nodejs
C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin
C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin
C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code
C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager
C:\Program Files\OpenSSL\bin
C:\Strawberry\c\bin
C:\Strawberry\perl\site\bin
C:\Strawberry\perl\bin
C:\Program Files\Git\cmd
C:\Program Files\Git\mingw64\bin
C:\Program Files\Git\usr\bin
c:\tools\php
C:\Program Files (x86)\sbt\bin
C:\Program Files\TortoiseSVN\bin
C:\SeleniumWebDrivers\ChromeDriver
C:\SeleniumWebDrivers\EdgeDriver
C:\Program Files\CMake\bin
C:\Program Files\Amazon\AWSCLIV2
C:\Program Files\Amazon\SessionManagerPlugin\bin
C:\Program Files\Amazon\AWSSAMCLI\bin
C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin
C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps

@jameslamb
Copy link
Collaborator Author

jameslamb commented Nov 2, 2020

I downloaded the rtools we host on GitHub and the one from CRAN...they're identical

image

So that rules out my theory that maybe the upload only partially succeeded when I uploaded it and we somehow have a not-quite-complete Rtools (I know it's a strange idea, just trying whatever I can think of)


I just checked and Rtools.exe is being correctly downloaded in CI too. I can see, in a failed job (https://github.com/jameslamb/LightGBM/runs/1340287467?check_suite_focus=true), that the MD5 checksum for Rtools.exe is the same as in the screenshot above.

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
MD5             17A6C3C7FEB68B442E5184AD7BDD77B1                                       D:\a\LightGBM\LightGBM\Rtools.e…

(found by adding this to the CI script)

Get-FileHash ./Rtools.exe -Algorithm MD5

@jameslamb
Copy link
Collaborator Author

Ok next theory: maybe the environment is changing from job to job and something important like LD_LIBRARY_PATH is changing and breaking things.

I don't think that's it. The output of $env looks identical on a successful job (https://github.com/jameslamb/LightGBM/runs/1340287459?check_suite_focus=true) and a failed one (https://github.com/jameslamb/LightGBM/runs/1340287467?check_suite_focus=true), except for three variables that seem like internal implementation details for GitHub Actions (GITHUB_ENV, GITHUB_PATH, RUNNER_TRACKING_ID):

image

environment on successful job
_CONDA_EXE                     C:\Miniconda\Scripts\conda.exe
_CONDA_ROOT                    C:\Miniconda
ALLUSERSPROFILE                C:\ProgramData
ANDROID_HOME                   C:\Program Files (x86)\Android\android-sdk
ANDROID_NDK_HOME               C:\Program Files (x86)\Android\android-sdk\ndk-bundle
ANDROID_NDK_PATH               C:\Program Files (x86)\Android\android-sdk\ndk-bundle
ANDROID_SDK_ROOT               C:\Program Files (x86)\Android\android-sdk
ANT_HOME                       C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.9
APPDATA                        C:\Users\runneradmin\AppData\Roaming
AZURE_EXTENSION_DIR            C:\Program Files\Common Files\AzureCliExtensionDirectory
BOOST_ROOT_1_69_0              C:\hostedtoolcache\windows\Boost\1.69.0\x86_64
BOOST_ROOT_1_72_0              C:\hostedtoolcache\windows\Boost\1.72.0\x86_64
BUILD_SOURCESDIRECTORY         D:\a\LightGBM\LightGBM
ChocolateyInstall              C:\ProgramData\chocolatey
ChromeWebDriver                C:\SeleniumWebDrivers\ChromeDriver
CI                             true
COBERTURA_HOME                 C:\cobertura-2.1.1
CommonProgramFiles             C:\Program Files\Common Files
CommonProgramFiles(x86)        C:\Program Files (x86)\Common Files
CommonProgramW6432             C:\Program Files\Common Files
COMPILER                       MINGW
COMPUTERNAME                   fv-az177-343
ComSpec                        C:\windows\system32\cmd.exe
CONDA                          C:\Miniconda
CONDA_DEFAULT_ENV              test
CONDA_EXE                      C:\Miniconda\Scripts\conda.exe
CONDA_PKGS_DIR                 C:/Users\runneradmin/conda_pkgs_dir
CONDA_PREFIX                   C:\Miniconda\envs\test
CONDA_PREFIX_1                 C:\Miniconda
CONDA_PYTHON_EXE               C:\Miniconda\python.exe
CONDA_SHLVL                    2
CRAN_MIRROR                    https://cloud.r-project.org/
CTAN_MIRROR                    https://ctan.math.illinois.edu/systems/win32/miktex
CTAN_PACKAGE_ARCHIVE           https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/
DEPLOYMENT_BASEPATH            C:\actions
DOTNET_MULTILEVEL_LOOKUP       0
DriverData                     C:\Windows\System32\Drivers\DriverData
EdgeWebDriver                  C:\SeleniumWebDrivers\EdgeDriver
GCM_INTERACTIVE                Never
GeckoWebDriver                 C:\SeleniumWebDrivers\GeckoDriver
GITHUB_ACTION                  run3
GITHUB_ACTIONS                 true
GITHUB_ACTOR                   jameslamb
GITHUB_API_URL                 https://api.github.com
GITHUB_BASE_REF                master
GITHUB_ENV                     D:\a\_temp\_runner_file_commands\set_env_c607eb27-08ad-44bc-af0a-d3ecec8788bc
GITHUB_EVENT_NAME              pull_request
GITHUB_EVENT_PATH              D:\a\_temp\_github_workflow\event.json
GITHUB_GRAPHQL_URL             https://api.github.com/graphql
GITHUB_HEAD_REF                ci/fix-windows-ci
GITHUB_JOB                     test
GITHUB_PATH                    D:\a\_temp\_runner_file_commands\add_path_c607eb27-08ad-44bc-af0a-d3ecec8788bc
GITHUB_REF                     refs/pull/36/merge
GITHUB_REPOSITORY              jameslamb/LightGBM
GITHUB_REPOSITORY_OWNER        jameslamb
GITHUB_RETENTION_DAYS          90
GITHUB_RUN_ID                  341041461
GITHUB_RUN_NUMBER              11
GITHUB_SERVER_URL              https://github.com
GITHUB_SHA                     94937d5ae56fc36843a46545d4961c116fa25af8
GITHUB_WORKFLOW                R GitHub Actions
GITHUB_WORKSPACE               D:\a\LightGBM\LightGBM
GOROOT                         C:\hostedtoolcache\windows\go\1.14.10\x64
GOROOT_1_10_X64                C:\hostedtoolcache\windows\go\1.10.8\x64
GOROOT_1_11_X64                C:\hostedtoolcache\windows\go\1.11.13\x64
GOROOT_1_12_X64                C:\hostedtoolcache\windows\go\1.12.17\x64
GOROOT_1_13_X64                C:\hostedtoolcache\windows\go\1.13.15\x64
GOROOT_1_14_X64                C:\hostedtoolcache\windows\go\1.14.10\x64
GOROOT_1_15_X64                C:\hostedtoolcache\windows\go\1.15.3\x64
GOROOT_1_9_X64                 C:\hostedtoolcache\windows\go\1.9.7\x64
GRADLE_HOME                    C:\ProgramData\chocolatey\lib\gradle\tools\gradle-6.7
HOMEDRIVE                      C:
HOMEPATH                       \Users\runneradmin
IEWebDriver                    C:\SeleniumWebDrivers\IEDriver
ImageOS                        win19
ImageVersion                   20201021.0
JAVA_HOME                      C:\Program Files\Java\jdk8u265-b01
JAVA_HOME_11_X64               C:\Program Files\Java\jdk-11.0.8+10
JAVA_HOME_13_X64               C:\Program Files\Java\jdk-13.0.2+8
JAVA_HOME_7_X64                C:\Program Files\Java\zulu-7-azure-jdk_7.31.0.5-7.0.232-win_x64
JAVA_HOME_8_X64                C:\Program Files\Java\jdk8u265-b01
LOCALAPPDATA                   C:\Users\runneradmin\AppData\Local
LOGONSERVER                    \\fv-az177-343
M2                             C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin
M2_HOME                        C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3
M2_REPO                        C:\ProgramData\m2
MAVEN_OPTS                     -Xms256m
MonAgentClientLocation         C:\Packages\Plugins\Microsoft.Azure.Geneva.GenevaMonitoring\2.19.0.1\Monitoring\Agent
npm_config_cache               C:\npm\cache
npm_config_prefix              C:\npm\prefix
NUMBER_OF_PROCESSORS           2
OS                             Windows_NT
Path                           C:\Rtools\bin;C:\Rtools\usr\bin;D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64;D:/a/LightGBM/…
PATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
PERFLOG_LOCATION_SETTING       RUNNER_PERFLOG
PGBIN                          C:\Program Files\PostgreSQL\13\bin
PGDATA                         C:\Program Files\PostgreSQL\13\data
PGPASSWORD                     root
PGROOT                         C:\Program Files\PostgreSQL\13
PGUSER                         postgres
PHPROOT                        c:\tools\php
POWERSHELL_DISTRIBUTION_CHANN… GitHub-Actions-win19
PROCESSOR_ARCHITECTURE         AMD64
PROCESSOR_IDENTIFIER           Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL                6
PROCESSOR_REVISION             4f01
ProgramData                    C:\ProgramData
ProgramFiles                   C:\Program Files
ProgramFiles(x86)              C:\Program Files (x86)
ProgramW6432                   C:\Program Files
PSModulePath                   C:\Users\runneradmin\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:…
PUBLIC                         C:\Users\Public
R_BUILD_TYPE                   cmake
R_LIB_PATH                     D:/a/LightGBM/LightGBM/RLibrary
R_LIBS                         D:/a/LightGBM/LightGBM/RLibrary
R_MAJOR_VERSION                3
R_VERSION                      3.6
R_WINDOWS_VERSION              3.6.3
RTOOLS_EXE_FILE                rtools35-x86_64.exe
RTOOLS_MINGW_BIN               C:\Rtools\mingw_64\bin
RTOOLS40_HOME                  C:\rtools40
RUNNER_OS                      Windows
RUNNER_PERFLOG                 C:\actions\perflog
RUNNER_TEMP                    D:\a\_temp
RUNNER_TOOL_CACHE              C:/hostedtoolcache/windows
RUNNER_TRACKING_ID             github_b45b3323-99ff-4297-8468-cd3f5b16a961
RUNNER_WORKSPACE               D:\a\LightGBM
SBT_HOME                       C:\Program Files (x86)\sbt\
SELENIUM_JAR_PATH              C:\selenium\selenium-server-standalone.jar
SystemDrive                    C:
SystemRoot                     C:\windows
TASK                           r-package
TEMP                           C:\Users\RUNNER~1\AppData\Local\Temp
TMP                            C:\Users\RUNNER~1\AppData\Local\Temp
TOOLCHAIN                      MINGW
USERDOMAIN                     fv-az177-343
USERDOMAIN_ROAMINGPROFILE      fv-az177-343
USERNAME                       runneradmin
USERPROFILE                    C:\Users\runneradmin
VCPKG_INSTALLATION_ROOT        C:\vcpkg
VS140COMNTOOLS                 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
windir                         C:\windows
WIX                            C:\Program Files (x86)\WiX Toolset v3.11\

environment on failed job
_CONDA_EXE                     C:\Miniconda\Scripts\conda.exe
_CONDA_ROOT                    C:\Miniconda
ALLUSERSPROFILE                C:\ProgramData
ANDROID_HOME                   C:\Program Files (x86)\Android\android-sdk
ANDROID_NDK_HOME               C:\Program Files (x86)\Android\android-sdk\ndk-bundle
ANDROID_NDK_PATH               C:\Program Files (x86)\Android\android-sdk\ndk-bundle
ANDROID_SDK_ROOT               C:\Program Files (x86)\Android\android-sdk
ANT_HOME                       C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.9
APPDATA                        C:\Users\runneradmin\AppData\Roaming
AZURE_EXTENSION_DIR            C:\Program Files\Common Files\AzureCliExtensionDirectory
BOOST_ROOT_1_69_0              C:\hostedtoolcache\windows\Boost\1.69.0\x86_64
BOOST_ROOT_1_72_0              C:\hostedtoolcache\windows\Boost\1.72.0\x86_64
BUILD_SOURCESDIRECTORY         D:\a\LightGBM\LightGBM
ChocolateyInstall              C:\ProgramData\chocolatey
ChromeWebDriver                C:\SeleniumWebDrivers\ChromeDriver
CI                             true
COBERTURA_HOME                 C:\cobertura-2.1.1
CommonProgramFiles             C:\Program Files\Common Files
CommonProgramFiles(x86)        C:\Program Files (x86)\Common Files
CommonProgramW6432             C:\Program Files\Common Files
COMPILER                       MINGW
COMPUTERNAME                   fv-az177-343
ComSpec                        C:\windows\system32\cmd.exe
CONDA                          C:\Miniconda
CONDA_DEFAULT_ENV              test
CONDA_EXE                      C:\Miniconda\Scripts\conda.exe
CONDA_PKGS_DIR                 C:/Users\runneradmin/conda_pkgs_dir
CONDA_PREFIX                   C:\Miniconda\envs\test
CONDA_PREFIX_1                 C:\Miniconda
CONDA_PYTHON_EXE               C:\Miniconda\python.exe
CONDA_SHLVL                    2
CRAN_MIRROR                    https://cloud.r-project.org/
CTAN_MIRROR                    https://ctan.math.illinois.edu/systems/win32/miktex
CTAN_PACKAGE_ARCHIVE           https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/
DEPLOYMENT_BASEPATH            C:\actions
DOTNET_MULTILEVEL_LOOKUP       0
DriverData                     C:\Windows\System32\Drivers\DriverData
EdgeWebDriver                  C:\SeleniumWebDrivers\EdgeDriver
GCM_INTERACTIVE                Never
GeckoWebDriver                 C:\SeleniumWebDrivers\GeckoDriver
GITHUB_ACTION                  run3
GITHUB_ACTIONS                 true
GITHUB_ACTOR                   jameslamb
GITHUB_API_URL                 https://api.github.com
GITHUB_BASE_REF                master
GITHUB_ENV                     D:\a\_temp\_runner_file_commands\set_env_53caf5be-9eff-43bf-b202-c99dfdcae1e8
GITHUB_EVENT_NAME              pull_request
GITHUB_EVENT_PATH              D:\a\_temp\_github_workflow\event.json
GITHUB_GRAPHQL_URL             https://api.github.com/graphql
GITHUB_HEAD_REF                ci/fix-windows-ci
GITHUB_JOB                     test
GITHUB_PATH                    D:\a\_temp\_runner_file_commands\add_path_53caf5be-9eff-43bf-b202-c99dfdcae1e8
GITHUB_REF                     refs/pull/36/merge
GITHUB_REPOSITORY              jameslamb/LightGBM
GITHUB_REPOSITORY_OWNER        jameslamb
GITHUB_RETENTION_DAYS          90
GITHUB_RUN_ID                  341041461
GITHUB_RUN_NUMBER              11
GITHUB_SERVER_URL              https://github.com
GITHUB_SHA                     94937d5ae56fc36843a46545d4961c116fa25af8
GITHUB_WORKFLOW                R GitHub Actions
GITHUB_WORKSPACE               D:\a\LightGBM\LightGBM
GOROOT                         C:\hostedtoolcache\windows\go\1.14.10\x64
GOROOT_1_10_X64                C:\hostedtoolcache\windows\go\1.10.8\x64
GOROOT_1_11_X64                C:\hostedtoolcache\windows\go\1.11.13\x64
GOROOT_1_12_X64                C:\hostedtoolcache\windows\go\1.12.17\x64
GOROOT_1_13_X64                C:\hostedtoolcache\windows\go\1.13.15\x64
GOROOT_1_14_X64                C:\hostedtoolcache\windows\go\1.14.10\x64
GOROOT_1_15_X64                C:\hostedtoolcache\windows\go\1.15.3\x64
GOROOT_1_9_X64                 C:\hostedtoolcache\windows\go\1.9.7\x64
GRADLE_HOME                    C:\ProgramData\chocolatey\lib\gradle\tools\gradle-6.7
HOMEDRIVE                      C:
HOMEPATH                       \Users\runneradmin
IEWebDriver                    C:\SeleniumWebDrivers\IEDriver
ImageOS                        win19
ImageVersion                   20201021.0
JAVA_HOME                      C:\Program Files\Java\jdk8u265-b01
JAVA_HOME_11_X64               C:\Program Files\Java\jdk-11.0.8+10
JAVA_HOME_13_X64               C:\Program Files\Java\jdk-13.0.2+8
JAVA_HOME_7_X64                C:\Program Files\Java\zulu-7-azure-jdk_7.31.0.5-7.0.232-win_x64
JAVA_HOME_8_X64                C:\Program Files\Java\jdk8u265-b01
LOCALAPPDATA                   C:\Users\runneradmin\AppData\Local
LOGONSERVER                    \\fv-az177-343
M2                             C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin
M2_HOME                        C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3
M2_REPO                        C:\ProgramData\m2
MAVEN_OPTS                     -Xms256m
MonAgentClientLocation         C:\Packages\Plugins\Microsoft.Azure.Geneva.GenevaMonitoring\2.19.0.1\Monitoring\Agent
npm_config_cache               C:\npm\cache
npm_config_prefix              C:\npm\prefix
NUMBER_OF_PROCESSORS           2
OS                             Windows_NT
Path                           C:\Rtools\bin;C:\Rtools\usr\bin;D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64;D:/a/LightGBM/…
PATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
PERFLOG_LOCATION_SETTING       RUNNER_PERFLOG
PGBIN                          C:\Program Files\PostgreSQL\13\bin
PGDATA                         C:\Program Files\PostgreSQL\13\data
PGPASSWORD                     root
PGROOT                         C:\Program Files\PostgreSQL\13
PGUSER                         postgres
PHPROOT                        c:\tools\php
POWERSHELL_DISTRIBUTION_CHANN… GitHub-Actions-win19
PROCESSOR_ARCHITECTURE         AMD64
PROCESSOR_IDENTIFIER           Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL                6
PROCESSOR_REVISION             4f01
ProgramData                    C:\ProgramData
ProgramFiles                   C:\Program Files
ProgramFiles(x86)              C:\Program Files (x86)
ProgramW6432                   C:\Program Files
PSModulePath                   C:\Users\runneradmin\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:…
PUBLIC                         C:\Users\Public
R_BUILD_TYPE                   cmake
R_LIB_PATH                     D:/a/LightGBM/LightGBM/RLibrary
R_LIBS                         D:/a/LightGBM/LightGBM/RLibrary
R_MAJOR_VERSION                3
R_VERSION                      3.6
R_WINDOWS_VERSION              3.6.3
RTOOLS_EXE_FILE                rtools35-x86_64.exe
RTOOLS_MINGW_BIN               C:\Rtools\mingw_64\bin
RTOOLS40_HOME                  C:\rtools40
RUNNER_OS                      Windows
RUNNER_PERFLOG                 C:\actions\perflog
RUNNER_TEMP                    D:\a\_temp
RUNNER_TOOL_CACHE              C:/hostedtoolcache/windows
RUNNER_TRACKING_ID             github_b3bc16bc-3346-4ba5-bbb6-781465acc4b1
RUNNER_WORKSPACE               D:\a\LightGBM
SBT_HOME                       C:\Program Files (x86)\sbt\
SELENIUM_JAR_PATH              C:\selenium\selenium-server-standalone.jar
SystemDrive                    C:
SystemRoot                     C:\windows
TASK                           r-package
TEMP                           C:\Users\RUNNER~1\AppData\Local\Temp
TMP                            C:\Users\RUNNER~1\AppData\Local\Temp
TOOLCHAIN                      MINGW
USERDOMAIN                     fv-az177-343
USERDOMAIN_ROAMINGPROFILE      fv-az177-343
USERNAME                       runneradmin
USERPROFILE                    C:\Users\runneradmin
VCPKG_INSTALLATION_ROOT        C:\vcpkg
VS140COMNTOOLS                 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
windir                         C:\windows
WIX                            C:\Program Files (x86)\WiX Toolset v3.11\

@jameslamb
Copy link
Collaborator Author

next theory: the wrong ld.exe is found at runtime.

The text below shows the output of running Get-Command ld.exe after Rtools and R are installed. It looks like on booth successful and failed runs, the ld.exe from Chocolatey is used. So that's not the issue :/

failed run

Done installing Rtools
----------- where is ld (after installs) ------------

Path               : C:\ProgramData\Chocolatey\bin\ld.exe
Extension          : .exe
Definition         : C:\ProgramData\Chocolatey\bin\ld.exe
Source             : C:\ProgramData\Chocolatey\bin\ld.exe
Version            : 0.8.1.0
Visibility         : Public
OutputType         : {System.String}
Name               : ld.exe
CommandType        : Application

successful run

Done installing Rtools
----------- where is ld (after installs) ------------

Path               : C:\ProgramData\Chocolatey\bin\ld.exe
Extension          : .exe
Definition         : C:\ProgramData\Chocolatey\bin\ld.exe
Source             : C:\ProgramData\Chocolatey\bin\ld.exe

@jameslamb
Copy link
Collaborator Author

next theory: we're getting the wrong make.exe or mingw32-make.exe

failed run

----------- where is make.exe (after installs) ------------

Path               : C:\ProgramData\Chocolatey\bin\make.exe
Extension          : .exe
Definition         : C:\ProgramData\Chocolatey\bin\make.exe
Source             : C:\ProgramData\Chocolatey\bin\make.exe

----------- where is mingw32-make.exe (after installs) ------------

Path               : C:\ProgramData\Chocolatey\bin\mingw32-make.exe
Extension          : .exe
Definition         : C:\ProgramData\Chocolatey\bin\mingw32-make.exe
Source             : C:\ProgramData\Chocolatey\bin\mingw32-make.exe
Version            : 0.8.1.0

successful run

----------- where is make.exe (after installs) ------------

Path               : C:\ProgramData\Chocolatey\bin\make.exe
Extension          : .exe
Definition         : C:\ProgramData\Chocolatey\bin\make.exe
Source             : C:\ProgramData\Chocolatey\bin\make.exe

----------- where is mingw32-make.exe (after installs) ------------

Path               : C:\ProgramData\Chocolatey\bin\mingw32-make.exe
Extension          : .exe
Definition         : C:\ProgramData\Chocolatey\bin\mingw32-make.exe
Source             : C:\ProgramData\Chocolatey\bin\mingw32-make.exe

So that DOES seem like a problem (we should be getting the make / mingw32-make bundled with rtools) but it can't be the root cause of the issues we've been seing in CI. Since it's the same in both failed (https://github.com/jameslamb/LightGBM/runs/1340440025?check_suite_focus=true) and successful (https://github.com/jameslamb/LightGBM/runs/1340440082?check_suite_focus=true) jobs.

It's late here in Chicago so I'm going to stop debugging for tonight. This is the PR I've been using to test, if anyone wants to look at more logs: jameslamb#36

@StrikerRUS
Copy link
Collaborator

Looks like Chocolatey is a real problem for us. I think, normally, we shouldn't get any utility from its' folder, everything should be used from Rtools or other software we install manually (and not via Chocolatey). I believe we can disable Chocolatey for our builds as we do not use it. But I'm not sure how to do that: seems that removing from PATH will not help, real uninstallation is slow...

@jameslamb
Copy link
Collaborator Author

Looks like Chocolatey is a real problem for us

That can't be the root of the problem by itself though, right? Since we're getting make from Chocolatey on all builds, whether they fail or succeed.

Now that I've confirmed that the PATH and environment are the same between successful and failed jobs, tonight I'm going to break out my Windows laptop and this things on there.

Other theories I have:

  • make or mingw32-make or ld in Rtoos35 is in a different directory that we haven't added to PATh
  • we are getting different cmake versions in different builds and that is causing issues
  • the Rtools installer has some code to put itself on PATH but that sometimes fails
  • someone is playing an elaborate prank on me

@StrikerRUS
Copy link
Collaborator

That can't be the root of the problem by itself though, right?

Yeah, that's true! But I believe that the usage of make/ld/gcc from Chocolatey folder is a big mistake by itself and we shouldn't allow this to happen.

@jameslamb
Copy link
Collaborator Author

yep I think you're right. I'm investigating stuff in a Windows environment tonight. Will keep trying things.

@jameslamb
Copy link
Collaborator Author

I learned tonight how to get a cheap (around $0.03 / hour) Windows VM on Azure and RDP in from my Mac

image

So no more need to break out my very old Windows laptop 😀

@jameslamb
Copy link
Collaborator Author

ooooo ok I found something interesting!

I moved my logging calls down further (after install of MikTeX), and now I see this in failed builds

----------- where is make.exe ------------

Path               : C:\Rtools\bin\make.exe

----------- where is mingw32-make.exe ------------

Path               : C:\ProgramData\Chocolatey\bin\mingw32-make.exe

And this in successful builds

----------- where is make.exe ------------

Path               : C:\Rtools\bin\make.exe

----------- where is mingw32-make.exe ------------

Path               : C:\ProgramData\Chocolatey\bin\mingw32-make.exe

So it seems like maybe installing MiKTeX is doing something that changes the PATH? Still very confusing, but the fact that we're getting a mingw32-make.exe from Chocolatey but a make from Rtools still could explain why this is only a problem for the R 3.6 jobs (which use mingw32-make.exe) and not the R 4.0 jobs (which use make.exe).

where I moved these log statements to

image

@jameslamb
Copy link
Collaborator Author

I'm going to keep dumping thoughts here... @StrikerRUS if you want to unsubscribe from this issue, I can @ you when I find something. If you're getting too many notifications.

@jameslamb
Copy link
Collaborator Author

I just tried hard-coding an exact path to mingw32-make.exe

WINDOWS_BUILD_TOOLS <- list(
  "MinGW" = c(
    build_tool = "C:\\Rtools\\mingw_64\\bin\\mingw32-make.exe"

still got the same errors!

https://github.com/jameslamb/LightGBM/runs/1345827662?check_suite_focus=true

@jameslamb
Copy link
Collaborator Author

jameslamb commented Nov 3, 2020

I MIGHT HAVE FOUND IT!

Can't believe I missed it before. I see this at the top of PATH

C:\Rtools\bin
C:\Rtools\usr\bin
D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64
D:/a/LightGBM/LightGBM/RLibrary/miktex/texmfs/install/miktex/bin/x64

But looking on my Windows environment, Rtools stores mingw32-make and ld at mingw_64/bin!!

image

Which we knew, because it's in the LightGBM R package documentation: https://github.com/microsoft/LightGBM/tree/master/R-package#installing-from-source-with-cmake-

Testing now...


Ok that did seem to fix the issue with Chocolatey build tools being found:

image

but some builds are still failing

https://github.com/jameslamb/LightGBM/runs/1345873666?check_suite_focus=true

@jameslamb
Copy link
Collaborator Author

jameslamb commented Nov 3, 2020

wait maybe I was looking at the wrong job above!

Because I just got 7 to succeed at the same time (which has never happened during this investigation)

https://github.com/jameslamb/LightGBM/actions/runs/343035644

image


ugh now it's back to failing again: https://github.com/jameslamb/LightGBM/runs/1345978487?check_suite_focus=true

@StrikerRUS
Copy link
Collaborator

how to get a cheap (around $0.03 / hour) Windows VM on Azure and RDP in from my Mac

I remember Appveyor gives a possibility to connect via RDP for free.

If you're getting too many notifications.

No, thanks, everything is fine! I'm OK with skimming all messages.

@StrikerRUS
Copy link
Collaborator

StrikerRUS commented Nov 13, 2020

WAT?! So weird!

https://github.com/microsoft/LightGBM/runs/1398022470

2020-11-13T21:44:25.7198537Z installing via 'install.libs.R' to D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00LOCK-lightgbm/00new/lightgbm
2020-11-13T21:44:25.7199554Z Trying to build with MinGW
2020-11-13T21:44:25.7200209Z -- The C compiler identification is GNU 4.9.3
2020-11-13T21:44:25.7202615Z -- The CXX compiler identification is GNU 4.9.3
2020-11-13T21:44:25.7203102Z -- Detecting C compiler ABI info
2020-11-13T21:44:25.7204934Z -- Detecting C compiler ABI info - done
2020-11-13T21:44:25.7205988Z -- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe - skipped
2020-11-13T21:44:25.7206694Z -- Detecting C compile features
2020-11-13T21:44:25.7207531Z -- Detecting C compile features - done
2020-11-13T21:44:25.7208140Z -- Detecting CXX compiler ABI info
2020-11-13T21:44:25.7208930Z -- Detecting CXX compiler ABI info - done
2020-11-13T21:44:25.7209633Z -- Check for working CXX compiler: C:/Rtools/mingw_64/bin/g++.exe - skipped
2020-11-13T21:44:25.7210337Z -- Detecting CXX compile features
2020-11-13T21:44:25.7211125Z -- Detecting CXX compile features - done
2020-11-13T21:44:25.7211813Z -- R version passed into FindLibR.cmake: 3.6.3
2020-11-13T21:44:25.7212432Z -- Found LibR: D:/a/LightGBM/LightGBM/RLibrary/R  
2020-11-13T21:44:25.7213158Z -- LIBR_EXECUTABLE: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.exe
2020-11-13T21:44:25.7213881Z -- LIBR_INCLUDE_DIRS: D:/a/LightGBM/LightGBM/RLibrary/R/include
2020-11-13T21:44:25.7214584Z -- LIBR_CORE_LIBRARY: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.dll
2020-11-13T21:44:25.7215350Z -- Found OpenMP_C: -fopenmp  
2020-11-13T21:44:25.7215842Z -- Found OpenMP_CXX: -fopenmp  
2020-11-13T21:44:25.7216443Z -- Found OpenMP: TRUE   
2020-11-13T21:44:25.7217161Z -- Performing Test MM_PREFETCH
2020-11-13T21:44:25.7217947Z -- Performing Test MM_PREFETCH - Failed
2020-11-13T21:44:25.7218565Z -- Performing Test MM_MALLOC
2020-11-13T21:44:25.7219186Z -- Performing Test MM_MALLOC - Failed
2020-11-13T21:44:25.7219843Z -- Configuring done
2020-11-13T21:44:25.7220505Z -- Generating done
2020-11-13T21:44:25.7221493Z -- Build files have been written to: D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build
2020-11-13T21:44:25.7222509Z -- R version passed into FindLibR.cmake: 3.6.3
2020-11-13T21:44:25.7223243Z -- LIBR_EXECUTABLE: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.exe
2020-11-13T21:44:25.7223902Z -- LIBR_INCLUDE_DIRS: D:/a/LightGBM/LightGBM/RLibrary/R/include
2020-11-13T21:44:25.7225056Z -- LIBR_CORE_LIBRARY: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.dll
2020-11-13T21:44:25.7225767Z -- Configuring done
2020-11-13T21:44:25.7226590Z -- Generating done
2020-11-13T21:44:25.7227639Z -- Build files have been written to: D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build
2020-11-13T21:44:25.7228581Z Building lib_lightgbm
2020-11-13T21:44:25.7229221Z Scanning dependencies of target _lightgbm
2020-11-13T21:44:25.7231431Z [  2%] Building CXX object CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj
D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\src\application\application.cpp:1:0: warning: -fPIC ignored for target (all code is position independent)
2020-11-13T21:44:25.7234320Z  /*!
2020-11-13T21:44:25.7235407Z  ^
2020-11-13T21:44:25.7236984Z In file included from D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/meta.h:8:0,
2020-11-13T21:44:25.7238273Z                  from D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/config.h:15,
2020-11-13T21:44:25.7239702Z                  from D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/application.h:8,
2020-11-13T21:44:25.7241292Z                  from D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\src\application\application.cpp:5:
2020-11-13T21:44:25.7242855Z C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/cstdint:38:28: fatal error: bits/c++config.h: No such file or directory
2020-11-13T21:44:25.7243876Z  #include <bits/c++config.h>
2020-11-13T21:44:25.7245172Z                             ^
2020-11-13T21:44:25.7246764Z compilation terminated.
2020-11-13T21:44:25.7248761Z CMakeFiles\_lightgbm.dir\build.make:81: recipe for target 'CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj' failed
2020-11-13T21:44:25.7250672Z mingw32-make.exe[3]: *** [CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj] Error 1
2020-11-13T21:44:25.7251766Z CMakeFiles\Makefile2:122: recipe for target 'CMakeFiles/_lightgbm.dir/all' failed
2020-11-13T21:44:25.7253066Z mingw32-make.exe[2]: *** [CMakeFiles/_lightgbm.dir/all] Error 2
2020-11-13T21:44:25.7255120Z CMakeFiles\Makefile2:129: recipe for target 'CMakeFiles/_lightgbm.dir/rule' failed
2020-11-13T21:44:25.7259556Z mingw32-make.exe[1]: *** [CMakeFiles/_lightgbm.dir/rule] Error 2
2020-11-13T21:44:25.7262432Z makefile:195: recipe for target '_lightgbm' failed
2020-11-13T21:44:25.7265603Z mingw32-make.exe: *** [_lightgbm] Error 2

@jameslamb
Copy link
Collaborator Author

jameslamb commented Nov 13, 2020

WHAT IS HAPPENING 😫

I'm so confused.

It is strange that the paths switched from forward slashes to backslashes, right?

D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/meta.h:8:0,
D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/config.h:15,
D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/application.h:8,
D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\src\application\application.cpp:5:

I don't understand what is happening 😕

@StrikerRUS
Copy link
Collaborator

After rerun another error (we have already seen it) is shown:

2020-11-14T23:00:59.6844221Z Trying to build with MinGW
2020-11-14T23:00:59.6846488Z -- The C compiler identification is GNU 4.9.3
2020-11-14T23:00:59.6847918Z -- The CXX compiler identification is GNU 4.9.3
2020-11-14T23:00:59.6849597Z -- Detecting C compiler ABI info
2020-11-14T23:00:59.6850525Z -- Detecting C compiler ABI info - done
2020-11-14T23:00:59.6851521Z -- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe - skipped
2020-11-14T23:00:59.6852339Z -- Detecting C compile features
2020-11-14T23:00:59.6854226Z -- Detecting C compile features - done
2020-11-14T23:00:59.6854846Z -- Detecting CXX compiler ABI info
2020-11-14T23:00:59.6856612Z -- Detecting CXX compiler ABI info - done
2020-11-14T23:00:59.6857726Z -- Check for working CXX compiler: C:/Rtools/mingw_64/bin/g++.exe - skipped
2020-11-14T23:00:59.6858453Z -- Detecting CXX compile features
2020-11-14T23:00:59.6859481Z -- Detecting CXX compile features - done
2020-11-14T23:00:59.6860215Z -- R version passed into FindLibR.cmake: 3.6.3
2020-11-14T23:00:59.6861229Z -- Found LibR: D:/a/LightGBM/LightGBM/RLibrary/R  
2020-11-14T23:00:59.6862004Z -- LIBR_EXECUTABLE: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.exe
2020-11-14T23:00:59.6862964Z -- LIBR_INCLUDE_DIRS: D:/a/LightGBM/LightGBM/RLibrary/R/include
2020-11-14T23:00:59.6863950Z -- LIBR_CORE_LIBRARY: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.dll
2020-11-14T23:00:59.6864684Z -- Found OpenMP_C: -fopenmp  
2020-11-14T23:00:59.6865491Z -- Found OpenMP_CXX: -fopenmp  
2020-11-14T23:00:59.6866319Z -- Found OpenMP: TRUE   
2020-11-14T23:00:59.6867231Z -- Performing Test MM_PREFETCH
2020-11-14T23:00:59.6868307Z -- Performing Test MM_PREFETCH - Failed
2020-11-14T23:00:59.6868987Z -- Performing Test MM_MALLOC
2020-11-14T23:00:59.6869857Z -- Performing Test MM_MALLOC - Failed
2020-11-14T23:00:59.6870711Z -- Configuring done
2020-11-14T23:00:59.6871551Z -- Generating done
2020-11-14T23:00:59.6872719Z -- Build files have been written to: D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build
2020-11-14T23:00:59.6873755Z -- R version passed into FindLibR.cmake: 3.6.3
2020-11-14T23:00:59.6874500Z -- LIBR_EXECUTABLE: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.exe
2020-11-14T23:00:59.6875402Z -- LIBR_INCLUDE_DIRS: D:/a/LightGBM/LightGBM/RLibrary/R/include
2020-11-14T23:00:59.6876137Z -- LIBR_CORE_LIBRARY: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.dll
2020-11-14T23:00:59.6876694Z -- Configuring done
2020-11-14T23:00:59.6877487Z -- Generating done
2020-11-14T23:00:59.6878566Z -- Build files have been written to: D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build
2020-11-14T23:00:59.6879300Z Building lib_lightgbm
2020-11-14T23:00:59.6879960Z Scanning dependencies of target _lightgbm
2020-11-14T23:00:59.6881710Z [  2%] Building CXX object CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj
D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\src\application\application.cpp:1:0: warning: -fPIC ignored for target (all code is position independent)
2020-11-14T23:00:59.6884770Z  /*!
2020-11-14T23:00:59.6886014Z  ^
2020-11-14T23:00:59.6888151Z In file included from D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/config.h:15:0,
2020-11-14T23:00:59.6890206Z                  from D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/application.h:8,
2020-11-14T23:00:59.6891989Z                  from D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\src\application\application.cpp:5:
D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/meta.h:8:19: fatal error: cstdint: No such file or directory
2020-11-14T23:00:59.6895410Z  #include <cstdint>
2020-11-14T23:00:59.6896851Z                    ^
2020-11-14T23:00:59.6898276Z compilation terminated.
2020-11-14T23:00:59.6900163Z CMakeFiles\_lightgbm.dir\build.make:81: recipe for target 'CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj' failed
2020-11-14T23:00:59.6901984Z mingw32-make.exe[3]: *** [CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj] Error 1
2020-11-14T23:00:59.6904170Z CMakeFiles\Makefile2:122: recipe for target 'CMakeFiles/_lightgbm.dir/all' failed
2020-11-14T23:00:59.6906113Z mingw32-make.exe[2]: *** [CMakeFiles/_lightgbm.dir/all] Error 2
2020-11-14T23:00:59.6907791Z CMakeFiles\Makefile2:129: recipe for target 'CMakeFiles/_lightgbm.dir/rule' failed
2020-11-14T23:00:59.6909465Z mingw32-make.exe[1]: *** [CMakeFiles/_lightgbm.dir/rule] Error 2
2020-11-14T23:00:59.6910970Z makefile:195: recipe for target '_lightgbm' failed
2020-11-14T23:00:59.6912339Z mingw32-make.exe: *** [_lightgbm] Error 2

@jameslamb
Copy link
Collaborator Author

UGH

@StrikerRUS
Copy link
Collaborator

New error:

2020-11-15T14:34:54.2989662Z Trying to build with MinGW
2020-11-15T14:34:54.2990554Z -- The C compiler identification is GNU 4.9.3
2020-11-15T14:34:54.2991487Z -- The CXX compiler identification is GNU 4.9.3
2020-11-15T14:34:54.2992478Z -- Detecting C compiler ABI info
2020-11-15T14:34:54.2993521Z -- Detecting C compiler ABI info - done
2020-11-15T14:34:54.2994426Z -- Check for working C compiler: C:/Rtools/mingw_64/bin/gcc.exe - skipped
2020-11-15T14:34:54.2995346Z -- Detecting C compile features
2020-11-15T14:34:54.2996208Z -- Detecting C compile features - done
2020-11-15T14:34:54.2997101Z -- Detecting CXX compiler ABI info
2020-11-15T14:34:54.2998263Z -- Detecting CXX compiler ABI info - done
2020-11-15T14:34:54.2999182Z -- Check for working CXX compiler: C:/Rtools/mingw_64/bin/g++.exe - skipped
2020-11-15T14:34:54.3000059Z -- Detecting CXX compile features
2020-11-15T14:34:54.3001301Z -- Detecting CXX compile features - done
2020-11-15T14:34:54.3002286Z -- R version passed into FindLibR.cmake: 3.6.3
2020-11-15T14:34:54.3003293Z -- Found LibR: D:/a/LightGBM/LightGBM/RLibrary/R  
2020-11-15T14:34:54.3004515Z -- LIBR_EXECUTABLE: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.exe
2020-11-15T14:34:54.3005338Z -- LIBR_INCLUDE_DIRS: D:/a/LightGBM/LightGBM/RLibrary/R/include
2020-11-15T14:34:54.3006302Z -- LIBR_CORE_LIBRARY: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.dll
2020-11-15T14:34:54.3007097Z -- Found OpenMP_C: -fopenmp  
2020-11-15T14:34:54.3008057Z -- Found OpenMP_CXX: -fopenmp  
2020-11-15T14:34:54.3009175Z -- Found OpenMP: TRUE   
2020-11-15T14:34:54.3010100Z -- Performing Test MM_PREFETCH
2020-11-15T14:34:54.3010947Z -- Performing Test MM_PREFETCH - Failed
2020-11-15T14:34:54.3011823Z -- Performing Test MM_MALLOC
2020-11-15T14:34:54.3012716Z -- Performing Test MM_MALLOC - Failed
2020-11-15T14:34:54.3013560Z -- Configuring done
2020-11-15T14:34:54.3014388Z -- Generating done
2020-11-15T14:34:54.3015524Z -- Build files have been written to: D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build
2020-11-15T14:34:54.3016657Z -- R version passed into FindLibR.cmake: 3.6.3
2020-11-15T14:34:54.3017422Z -- LIBR_EXECUTABLE: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.exe
2020-11-15T14:34:54.3018327Z -- LIBR_INCLUDE_DIRS: D:/a/LightGBM/LightGBM/RLibrary/R/include
2020-11-15T14:34:54.3019485Z -- LIBR_CORE_LIBRARY: D:/a/LightGBM/LightGBM/RLibrary/R/bin/x64/R.dll
2020-11-15T14:34:54.3020199Z -- Configuring done
2020-11-15T14:34:54.3021280Z -- Generating done
2020-11-15T14:34:54.3022452Z -- Build files have been written to: D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/build
2020-11-15T14:34:54.3023175Z Building lib_lightgbm
2020-11-15T14:34:54.3024401Z Scanning dependencies of target _lightgbm
2020-11-15T14:34:54.3026524Z [  2%] Building CXX object CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj
D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\src\application\application.cpp:1:0: warning: -fPIC ignored for target (all code is position independent)
2020-11-15T14:34:54.3030727Z  /*!
2020-11-15T14:34:54.3032804Z  ^
2020-11-15T14:34:54.3034869Z In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/vadefs.h:9:0,
2020-11-15T14:34:54.3036572Z                  from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/_mingw.h:282,
2020-11-15T14:34:54.3038464Z                  from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/crtdefs.h:10,
2020-11-15T14:34:54.3040085Z                  from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stdint.h:28,
2020-11-15T14:34:54.3042109Z                  from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/stdint.h:9,
2020-11-15T14:34:54.3045442Z                  from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/cstdint:41,
2020-11-15T14:34:54.3050404Z                  from D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/meta.h:8,
2020-11-15T14:34:54.3052201Z                  from D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/config.h:15,
2020-11-15T14:34:54.3054127Z                  from D:/a/LightGBM/LightGBM/lightgbm.Rcheck/00_pkg_src/lightgbm/src/include/LightGBM/application.h:8,
2020-11-15T14:34:54.3055905Z                  from D:\a\LightGBM\LightGBM\lightgbm.Rcheck\00_pkg_src\lightgbm\src\src\application\application.cpp:5:
2020-11-15T14:34:54.3058074Z C:/Rtools/mingw_64/x86_64-w64-mingw32/include/_mingw.h:686:33: fatal error: sdks/_mingw_directx.h: No such file or directory
2020-11-15T14:34:54.3060126Z  #include "sdks/_mingw_directx.h"
2020-11-15T14:34:54.3062023Z                                  ^
2020-11-15T14:34:54.3064977Z compilation terminated.
2020-11-15T14:34:54.3068077Z CMakeFiles\_lightgbm.dir\build.make:81: recipe for target 'CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj' failed
2020-11-15T14:34:54.3070545Z mingw32-make.exe[3]: *** [CMakeFiles/_lightgbm.dir/src/application/application.cpp.obj] Error 1
2020-11-15T14:34:54.3072707Z CMakeFiles\Makefile2:122: recipe for target 'CMakeFiles/_lightgbm.dir/all' failed
2020-11-15T14:34:54.3075531Z mingw32-make.exe[2]: *** [CMakeFiles/_lightgbm.dir/all] Error 2
2020-11-15T14:34:54.3077751Z CMakeFiles\Makefile2:129: recipe for target 'CMakeFiles/_lightgbm.dir/rule' failed
2020-11-15T14:34:54.3080622Z mingw32-make.exe[1]: *** [CMakeFiles/_lightgbm.dir/rule] Error 2
2020-11-15T14:34:54.3082465Z makefile:195: recipe for target '_lightgbm' failed
2020-11-15T14:34:54.3084724Z mingw32-make.exe: *** [_lightgbm] Error 2

@StrikerRUS
Copy link
Collaborator

One another popular error report about conflict installations:

2020-11-29T14:51:45.8721499Z       1 [main] make (2508) C:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xD25410/0xF95410.
2020-11-29T14:51:45.8722435Z This problem is probably due to using incompatible versions of the cygwin DLL.
2020-11-29T14:51:45.8723255Z Search for cygwin1.dll using the Windows Start->Find/Search facility
2020-11-29T14:51:45.8724023Z and delete all but the most recent version.  The most recent version *should*
2020-11-29T14:51:45.8724749Z reside in x:\cygwin\bin, where 'x' is the drive on which you have
2020-11-29T14:51:45.8725482Z installed the cygwin distribution.  Rebooting is also suggested if you
2020-11-29T14:51:45.8726285Z are unable to find another cygwin DLL.
2020-11-29T14:51:45.8727042Z       1 [main] make 2404 fork: child -1 - forked process 2508 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
2020-11-29T14:51:45.8728079Z make: D:/a/LightGBM/LightGBM/RLibrary/R/share/make/winshlib.mk:13: fork: Resource temporarily unavailable
2020-11-29T14:51:45.8729425Z       1 [main] make (2628) C:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xD25410/0xD45410.
2020-11-29T14:51:45.8730353Z This problem is probably due to using incompatible versions of the cygwin DLL.
2020-11-29T14:51:45.8731167Z Search for cygwin1.dll using the Windows Start->Find/Search facility
2020-11-29T14:51:45.8734220Z and delete all but the most recent version.  The most recent version *should*
2020-11-29T14:51:45.8737266Z reside in x:\cygwin\bin, where 'x' is the drive on which you have
2020-11-29T14:51:45.8738655Z installed the cygwin distribution.  Rebooting is also suggested if you
2020-11-29T14:51:45.8739384Z are unable to find another cygwin DLL.
2020-11-29T14:51:45.8748050Z   41814 [main] make 2404 fork: child -1 - forked process 2628 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
2020-11-29T14:51:45.8761071Z make: D:/a/LightGBM/LightGBM/RLibrary/R/share/make/winshlib.mk:13: fork: Resource temporarily unavailable
2020-11-29T14:51:45.8764339Z       1 [main] make (2044) C:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xD25410/0xD45410.
2020-11-29T14:51:45.8765281Z This problem is probably due to using incompatible versions of the cygwin DLL.
2020-11-29T14:51:45.8766084Z Search for cygwin1.dll using the Windows Start->Find/Search facility
2020-11-29T14:51:45.8768431Z and delete all but the most recent version.  The most recent version *should*
2020-11-29T14:51:45.8769189Z reside in x:\cygwin\bin, where 'x' is the drive on which you have
2020-11-29T14:51:45.8769928Z installed the cygwin distribution.  Rebooting is also suggested if you
2020-11-29T14:51:45.8770603Z are unable to find another cygwin DLL.
2020-11-29T14:51:45.8771355Z   82365 [main] make 2404 fork: child -1 - forked process 2044 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
2020-11-29T14:51:45.8773065Z make: D:/a/LightGBM/LightGBM/RLibrary/R/share/make/winshlib.mk:13: fork: Resource temporarily unavailable
2020-11-29T14:51:45.8774092Z       1 [main] make (1984) C:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xD25410/0xF75410.
2020-11-29T14:51:45.8774996Z This problem is probably due to using incompatible versions of the cygwin DLL.
2020-11-29T14:51:45.8775797Z Search for cygwin1.dll using the Windows Start->Find/Search facility
2020-11-29T14:51:45.8776574Z and delete all but the most recent version.  The most recent version *should*
2020-11-29T14:51:45.8777287Z reside in x:\cygwin\bin, where 'x' is the drive on which you have
2020-11-29T14:51:45.8778029Z installed the cygwin distribution.  Rebooting is also suggested if you
2020-11-29T14:51:45.8778762Z are unable to find another cygwin DLL.
2020-11-29T14:51:45.8779506Z  122916 [main] make 2404 fork: child -1 - forked process 1984 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
2020-11-29T14:51:45.8780471Z make: fork: Resource temporarily unavailable
2020-11-29T14:51:45.8781099Z ERROR: compilation failed for package 'lightgbm'

@jameslamb
Copy link
Collaborator Author

@StrikerRUS just confirming...was that new error also only seen on the MINGW + R 3.6 + CMake build?

@StrikerRUS
Copy link
Collaborator

was that new error also only seen on the MINGW + R 3.6 + CMake build?

I think so... Sorry, I didn't pay much attention, so maybe it was R4 + CMake, not sure.

@StrikerRUS
Copy link
Collaborator

I used this awesome hack to connect to GitHub Actions runner via RDP and found that windows-* images has undocumented rtools40 installation in the C: root. Maybe this is related.
At least, I don't think that multiple Rtools (and msys64 too btw) installations are good in any ways.

Write-Output "Installing Rtools"
./Rtools.exe /VERYSILENT /SUPPRESSMSGBOXES /DIR=$RTOOLS_INSTALL_PATH ; Check-Output $?
Write-Output "Done installing Rtools"

image

@StrikerRUS
Copy link
Collaborator

StrikerRUS commented Feb 25, 2021

Maybe we can containerize our Windows builds for R jobs with the aim to minimize weird build errors caused by overpopulated by various packages environment?
http://www.dahl-jacobsen.dk/data/2019/10/11/r-in-windows-containers/

@jameslamb
Copy link
Collaborator Author

WHOA that's amazing that you can do that! Yes I definitely think that could be related.

I also didn't know that there were any free Windows containers. Can that only be used on Docker for Windows?

@StrikerRUS
Copy link
Collaborator

Can that only be used on Docker for Windows?

Seems to be so:

Q: Can Windows containers run on Linux?
A: No. They cannot.
https://stackoverflow.com/a/42185265

@jameslamb
Copy link
Collaborator Author

I'm going to pick this up tonight, thanks for the excellent tips @StrikerRUS ! This RDP hack gives me a whole set of new ideas to try.

@StrikerRUS
Copy link
Collaborator

StrikerRUS commented Mar 8, 2021

This comment shouldn't affect merging of #4053.

I think a better long-term workaround for strange environment problems will be using Windows containers. It looks like it is not difficult:

jameslamb added a commit that referenced this issue Mar 10, 2021
* [ci] add CMake + R 3.6 test back (fixes #3469)

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* Update .ci/test_r_package_windows.ps1

* -Wait and remove rtools40

* empty commit

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
StrikerRUS added a commit that referenced this issue Mar 25, 2021
* [docs]Add alt text on images

* Update docs/GPU-Windows.rst

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* Update docs/GPU-Windows.rst

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* Apply suggestions from code review

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* Apply suggestions from code review

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* Merge main branch commit updates (#1)

* [docs] Add alt text to image in Parameters-Tuning.rst (#4035)

* [docs] Add alt text to image in Parameters-Tuning.rst

Add alt text to Leaf-wise growth image, as part of #4028

* Update docs/Parameters-Tuning.rst

Co-authored-by: James Lamb <jaylamb20@gmail.com>

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* [ci] [R-package] upgrade to R 4.0.4 in CI (#4042)

* [docs] update description of deterministic parameter (#4027)

* update description of deterministic parameter to require using with force_row_wise or force_col_wise

* Update include/LightGBM/config.h

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* update docs

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* [dask] Include support for init_score (#3950)

* include support for init_score

* use dataframe from init_score and test difference with and without init_score in local model

* revert refactoring

* initial docs. test between distributed models with and without init_score

* remove ranker from tests

* test value for root node and change docs

* comma

* re-include parametrize

* fix incorrect merge

* use single init_score and the booster_ attribute

* use np.float64 instead of float

* [ci] ignore untitle Jupyter notebooks in .gitignore (#4047)

* [ci] prevent getting incompatible dask and distributed versions (#4054)

* [ci] prevent getting incompatible dask and distributed versions

* Update .ci/test.sh

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* empty commit

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* [ci] fix R CMD CHECK note about example timings (fixes #4049) (#4055)

* [ci] fix R CMD CHECK note about example timings (fixes #4049)

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* empty commit

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* [ci] add CMake + R 3.6 test back (fixes #3469) (#4053)

* [ci] add CMake + R 3.6 test back (fixes #3469)

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* Update .ci/test_r_package_windows.ps1

* -Wait and remove rtools40

* empty commit

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* [dask] include multiclass-classification task in tests (#4048)

* include multiclass-classification task and task_to_model_factory dicts

* define centers coordinates. flatten init_scores within each partition for multiclass-classification

* include issue comment and fix linting error

* Update index.rst (#4029)

Add alt text to logo image

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* [dask] raise more informative error for duplicates in 'machines' (fixes #4057) (#4059)

* [dask] raise more informative error for duplicates in 'machines'

* uncomment

* avoid test failure

* Revert "avoid test failure"

This reverts commit 9442bdf.

* [dask] add tutorial documentation (fixes #3814, fixes #3838) (#4030)

* [dask] add tutorial documentation (fixes #3814, fixes #3838)

* add notes on saving the model

* quick start examples

* add examples

* fix timeouts in examples

* remove notebook

* fill out prediction section

* table of contents

* add line back

* linting

* isort

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* move examples under python-guide

* remove unused pickle import

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* set 'pending' commit status for R Solaris optional workflow (#4061)

* [docs] add Yu Shi to repo maintainers (#4060)

* Update FAQ.rst

* Update CODEOWNERS

* set is_linear_ to false when it is absent from the model file (fix #3778) (#4056)

* Add CMake option to enable sanitizers and build gtest (#3555)

* Add CMake option to enable sanitizer

* Set up gtest

* Address reviewer's feedback

* Address reviewer's feedback

* Update CMakeLists.txt

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* added type hint (#4070)

* [ci] run Dask examples on CI (#4064)

* Update Parallel-Learning-Guide.rst

* Update test.sh

* fix path

* address review comments

* [python-package] add type hints on Booster.set_network() (#4068)

* [python-package] add type hints on Booster.set_network()

* change behavior

* [python-package] Some mypy fixes (#3916)

* Some mypy fixes

* address James' comments

* Re-introduce pass in empty classes

* Update compat.py

Remove extra lines

* [dask] [ci] fix flaky network-setup test (#4071)

* [tests][dask] simplify code in Dask tests (#4075)

* simplify Dask tests code

* enable CI

* disable CI

* Revert "[ci] prevent getting incompatible dask and distributed versions (#4054)" (#4076)

This reverts commit 4e9c976.

* Fix parsing of non-finite values (#3942)

* Fix index out-of-range exception generated by BaggingHelper on small datasets.

Prior to this change, the line "score_t threshold = tmp_gradients[top_k - 1];" would generate an exception, since tmp_gradients would be empty when the cnt input value to the function is zero.

* Update goss.hpp

* Update goss.hpp

* Add API method LGBM_BoosterPredictForMats which runs prediction on a data set given as of array of pointers to rows (as opposed to existing method LGBM_BoosterPredictForMat which requires data given as contiguous array)

* Fix incorrect upstream merge

* Add link to LightGBM.NET

* Fix indenting to 2 spaces

* Dummy edit to trigger CI

* Dummy edit to trigger CI

* remove duplicate functions from merge

* Fix parsing of non-finite values.  Current implementation silently returns zero when input string is "inf", "-inf", or "nan" when compiled with VS2017, so instead just explicitly check for these values and fail if there is no match.  No attempt to optimise string allocations in this implementation since it is usually rarely invoked.

* Dummy commit to trigger CI

* Also handle -nan in double parsing method

* Update include/LightGBM/utils/common.h

Remove trailing whitespace to pass linting tests

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: matthew-peacock <matthew.peacock@whiteoakam.com>
Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* [dask] remove unused imports from typing (#4079)

* Range check for DCG position discount lookup (#4069)

* Add check to prevent out of index lookup in the position discount table. Add debug logging to report number of queries found in the data.

* Change debug logging location so that we can print the data file name as well.

* Revert "Change debug logging location so that we can print the data file name as well."

This reverts commit 3981b34.

* Add data file name to debug logging.

* Move log line to a place where it is output even when query IDs are read from a separate file.

* Also add the out-of-range check to rank metrics.

* Perform check after number of queries is initialized.

* Update

* [ci] upgrade R CI scripts to work on Ubuntu 20.04 (#4084)

* [ci] install additional LaTeX packages in R CI jobs

* update autoconf version

* bump upper limit on package size to 100

* [SWIG] Add streaming data support + cpp tests (#3997)

* [feature] Add ChunkedArray to SWIG

* Add ChunkedArray
* Add ChunkedArray_API_extensions.i
* Add SWIG class wrappers

* Address some review comments

* Fix linting issues

* Move test to tests/test_ChunkedArray_manually.cpp

* Add test note

* Move ChunkedArray to include/LightGBM/utils/

* Declare more explicit types of ChunkedArray in the SWIG API.

* Port ChunkedArray tests to googletest

* Please C++ linter

* Address StrikerRUS' review comments

* Update SWIG doc & disable ChunkedArray<int64_t>

* Use CHECK_EQ instead of assert

* Change include order (linting)

* Rename ChunkedArray -> chunked_array files

* Change header guards

* Address last comments from StrikerRUS

* store all CMake files in one place (#4087)

* v3.2.0 release (#3872)

* Update VERSION.txt

* update appveyor.yml and configure

* fix Appveyor builds

Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Co-authored-by: StrikerRUS <nekit94-12@hotmail.com>

* [ci] Bump version for development (#4094)

* Update .appveyor.yml

* Update cran-comments.md

* Update VERSION.txt

* update configure

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* [ci] fix flaky Azure Pipelines jobs (#4095)

* Update test.sh

* Update setup.sh

* Update .vsts-ci.yml

* Update test.sh

* Update setup.sh

* Update .vsts-ci.yml

* Update setup.sh

* Update setup.sh

Co-authored-by: Subham Agrawal <34346812+subhamagrawal7@users.noreply.github.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: shiyu1994 <shiyu_k1994@qq.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Co-authored-by: jmoralez <jmoralz92@gmail.com>
Co-authored-by: marcelonieva7 <72712805+marcelonieva7@users.noreply.github.com>
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
Co-authored-by: Deddy Jobson <dedjob@hotmail.com>
Co-authored-by: Alberto Ferreira <AlbertoEAF@users.noreply.github.com>
Co-authored-by: mjmckp <mjmckp@users.noreply.github.com>
Co-authored-by: matthew-peacock <matthew.peacock@whiteoakam.com>
Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
Co-authored-by: ashok-ponnuswami-msft <57648631+ashok-ponnuswami-msft@users.noreply.github.com>
Co-authored-by: StrikerRUS <nekit94-12@hotmail.com>

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: Subham Agrawal <34346812+subhamagrawal7@users.noreply.github.com>
Co-authored-by: shiyu1994 <shiyu_k1994@qq.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Co-authored-by: jmoralez <jmoralz92@gmail.com>
Co-authored-by: marcelonieva7 <72712805+marcelonieva7@users.noreply.github.com>
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
Co-authored-by: Deddy Jobson <dedjob@hotmail.com>
Co-authored-by: Alberto Ferreira <AlbertoEAF@users.noreply.github.com>
Co-authored-by: mjmckp <mjmckp@users.noreply.github.com>
Co-authored-by: matthew-peacock <matthew.peacock@whiteoakam.com>
Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
Co-authored-by: ashok-ponnuswami-msft <57648631+ashok-ponnuswami-msft@users.noreply.github.com>
Co-authored-by: StrikerRUS <nekit94-12@hotmail.com>
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants