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

v1.1.0rc1: install windows R package with GPU gives error invalid package from R and MSB3073 from Visual Studio #5608

Closed
glycerine opened this issue Apr 26, 2020 · 45 comments · Fixed by #5764
Assignees

Comments

@glycerine
Copy link
Contributor

glycerine commented Apr 26, 2020

I realize this may or may not be an xgboost issue. Still, I would appreciate your advice on what may be the problem.

setup:

Windows 10 Home
R-4.0.0 installed.
Rtools 4.0 installed.
Nvidia GPU CUDA toolkit 10.2 installed.
GeForce 2060 Super hardware installed.

error:

I'm getting an error MSB3073 from Visual Studio: The command "setlocal C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]" when I try to build the xgboost R-package with GPU support.

Also, R reports "EXEC : warning : invalid package" earlier.

log:

$ cd xgboost
$ mkdir build.r.gpu2
$ cd build.r.gpu2
$ cmake .. -DUSE_CUDA=ON -DLIBR_EXECUTABLE="C:\Program Files\R\R-4.0.0\bin\x64\R.exe" -DR_LIB=ON -DGPU_COMPUTE_VER=75 &> log.build
$ cmake --build . --target install --config Release &> log.install


[log.install contents: (edited to remove thousands of lines of warnings... see the end for the error)]

Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Checking Build System
  Building Custom Rule C:/Users/me/go/src/github.com/dmlc/xgboost/dmlc-core/CMakeLists.txt
  config.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
  data.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/parser.h(106,1): warning C4267: '=': conversion from 'size_t' to 'IndexType', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/parser.h(95): message : while compiling class template member function 'bool dmlc::data::ThreadedParser<IndexType,DType>::Next(void)' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(31): message : see reference to class template instantiation 'dmlc::data::ThreadedParser<IndexType,DType>' being compiled [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(238): message : see reference to function template instantiation 'dmlc::Parser<uint32_t,dmlc::real_t> *dmlc::data::CreateLibSVMParser<uint32_t,dmlc::real_t>(const std::string &,const std::map<std::string,std::string,std::less<std::string>,std::allocator<std::pair<const std::string,std::string>>> &,unsigned int,unsigned int)' being compiled [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(404,32): warning C4101: 'e': unreferenced local variable [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(329): message : while compiling class template member function 'void dmlc::ThreadedIter<std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>>>::Init(std::function<bool (std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>> **)>,std::function<void (void)>)' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/parser.h(76): message : see reference to function template instantiation 'void dmlc::ThreadedIter<std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>>>::Init(std::function<bool (std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>> **)>,std::function<void (void)>)' being compiled [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/parser.h(123): message : see reference to class template instantiation 'dmlc::ThreadedIter<std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>>>' being compiled [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(104,41): warning C4244: '=': conversion from 'int32_t' to 'DType', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(78): message : while compiling class template member function 'void dmlc::data::CSVParser<IndexType,DType>::ParseBlock(const char *,const char *,dmlc::data::RowBlockContainer<IndexType,DType> *)' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(59): message : see reference to class template instantiation 'dmlc::data::CSVParser<IndexType,DType>' being compiled [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(246): message : see reference to function template instantiation 'dmlc::Parser<uint32_t,dmlc::real_t> *dmlc::data::CreateCSVParser<uint32_t,dmlc::real_t>(const std::string &,const std::map<std::string,std::string,std::less<std::string>,std::allocator<std::pair<const std::string,std::string>>> &,unsigned int,unsigned int)' being compiled [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(107,41): warning C4244: '=': conversion from 'int64_t' to 'DType', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=dmlc::real_t
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(101,19): warning C4244: '=': conversion from 'float' to 'DType', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=int32_t
          ]

... lots of warnings, probably of little consequence, elided.

C:\Users\me\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(542,49): warning C4018: '<': signed/unsigned mismatch [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(639): message : see reference to function template instantiation 'xgboost::bst_float xgboost::metric::EvalAucPR::Eval<`anonymous-namespace'::PerGroupWeightPolicy>(const xgboost::HostDeviceVector<xgboost::bst_float> &,const xgboost::MetaInfo &,bool,const std::vector<std::_Vbase,std::allocator<std::_Vbase>> &)' being compiled [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(560,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
  hinge.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
  multiclass_obj.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
  rank_obj.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
  regression_obj.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
  constraints.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.vcxproj]
  objxgboost.vcxproj -> C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\src\objxgboost.dir\Release\objxgboost.lib
  Building Custom Rule C:/Users/me/go/src/github.com/dmlc/xgboost/R-package/CMakeLists.txt
  init.c
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_memcpy_s.h(58,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_memcpy_s.h(80,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(97,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(98,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(99,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(105,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(120,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(121,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(122,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(128,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(243,13): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(244,13): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(245,13): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(252,5): warning C4996: 'wcstok': This function or variable may be unsafe. Consider using wcstok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(226): message : see declaration of 'wcstok' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(270,13): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(87,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(88,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(89,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(95,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(130,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(131,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(132,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(138,9): warning C4068: unknown pragma [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
  xgboost_assert.c
C:\Users\me\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_assert.c(12,1): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(1469): message : see declaration of 'vsprintf' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_assert.c(22,1): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(1469): message : see declaration of 'vsprintf' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
  Generating Code...
  xgboost_R.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(83,27): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
          with
          [
              _Ty=float
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(87,3): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(176,29): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
          with
          [
              _Ty=float
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(270,28): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
          with
          [
              _Ty=float
          ]
C:\Users\me\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(271,28): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
          with
          [
              _Ty=float
          ]
  xgboost_custom.cc
C:\Users\me\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Users\me\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.vcxproj]
  Generating Code...
  xgboost-r.vcxproj -> C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\R-package\xgboost-r.dir\Release\xgboost-r.lib
  Building Custom Rule C:/Users/me/go/src/github.com/dmlc/xgboost/rabit/CMakeLists.txt
  engine_empty.cc
  c_api.cc
  Generating Code...
  rabit.vcxproj -> C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\rabit\Release\rabit.lib
  Building Custom Rule C:/Users/me/go/src/github.com/dmlc/xgboost/CMakeLists.txt
  cli_main.cc
     Creating library C:/Users/me/go/src/github.com/dmlc/xgboost/xgboost.lib and object C:/Users/me/go/src/github.com/dmlc/xgboost/xgboost.exp
  runxgboost.vcxproj -> C:\Users\me\go\src\github.com\dmlc\xgboost\xgboost.exe
  Building Custom Rule C:/Users/me/go/src/github.com/dmlc/xgboost/CMakeLists.txt
  xgboost.vcxproj -> C:\Users\me\go\src\github.com\dmlc\xgboost\lib\xgboost.lib
  Building Custom Rule C:/Users/me/go/src/github.com/dmlc/xgboost/CMakeLists.txt
  -- Install configuration: "Release"
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/xgboost.lib
  > deps = setdiff(c('data.table', 'magrittr', 'stringi'), rownames(installed.packages()));    if(length(deps)>0) install.packages(deps, repo = 'https://cloud.r-project.org/')
  > 
  > 
EXEC : warning : invalid package 'C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/R-package' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
Error : error : no packages specified [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/base.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/c_api.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/data.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/feature_map.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/gbm.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/generic_parameters.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/host_device_vector.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/json.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/json_io.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/learner.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/linear_updater.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/logging.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/metric.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/model.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/objective.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/parameter.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/predictor.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/span.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/tree_model.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/tree_updater.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/xgboost/version_config.h
  -- Up-to-date: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/xgboost.lib
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/bin/xgboost.exe
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/xgboost/XGBoostTargets.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/xgboost/XGBoostTargets-release.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/xgboost/xgboost-config.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/xgboost/xgboost-config-version.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/any.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/array_view.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/base.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/blockingconcurrentqueue.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/build_config_default.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/common.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/concurrency.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/concurrentqueue.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/config.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/data.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/endian.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/filesystem.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/input_split_shuffle.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/io.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/json.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/logging.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/lua.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/memory.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/memory_io.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/omp.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/optional.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/parameter.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/recordio.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/registry.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/serializer.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/strtonum.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/threadediter.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/thread_group.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/thread_local.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/timer.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/type_traits.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/dmlc/build_config.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/dmlc.lib
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/dmlc/DMLCTargets.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/dmlc/DMLCTargets-release.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/dmlc/dmlc-config.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/dmlc/dmlc-config-version.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/rabit.lib
  -- Up-to-date: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/c_api.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/internal
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/internal/engine.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/internal/io.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/internal/rabit-inl.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/internal/socket.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/internal/thread_local.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/internal/timer.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/internal/utils.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/rabit.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/include/rabit/serializable.h
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/rabit/rabitConfig.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/rabit/rabitConfigVersion.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/rabit/rabitTargets.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/dummy_inst/lib/cmake/rabit/rabitTargets-release.cmake
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: The command "setlocal [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: C:\cygwin64\bin\cmake.exe -DBUILD_TYPE=Release -P cmake_install.cmake [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: :cmEnd [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: :cmErrorLevel [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: exit /b %1 [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: :cmDone [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): error MSB3073: :VCEnd" exited with code -1. [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]
@glycerine glycerine changed the title v1.1.0rc1: install windows R package with GPU gives error MSB3073 from Visual Studio v1.1.0rc1: install windows R package with GPU gives error invalid package from R and MSB3073 from Visual Studio Apr 26, 2020
@hcho3
Copy link
Collaborator

hcho3 commented Apr 26, 2020

Does installation work if you disable GPU?

@glycerine
Copy link
Contributor Author

glycerine commented Apr 26, 2020

Arg. Nope. I get the same invalid R package and MSB3072 errors without gpu. Guess the GPU part was a red herring.

$ cmake .. -DLIBR_EXECUTABLE="C:\Program Files\R\R-4.0.0\bin\x64\R.exe" -DR_LIB=ON &> log.build  ## looks okay
$ cmake --build . --target install --config Release &> log.install  ## still fails with:

...
 > deps = setdiff(c('data.table', 'magrittr', 'stringi'), rownames(installed.packages()));    if(length(deps)>0) install.packag\
es(deps, repo = 'https://cloud.r-project.org/')
  >
  >
EXEC : warning : invalid package 'C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.without.gpu/R-package' [C:\Users\jaten\g\
o\src\github.com\dmlc\xgboost\build.r.without.gpu\install.vcxproj]
Error : error : no packages specified [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.without.gpu\install.vcxproj]
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.without.gpu/dummy_inst/include/xgboost
...
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.without.gpu/dummy_inst/lib/cmake/rabit/rabitTargets.cmake
  -- Installing: C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.without.gpu/dummy_inst/lib/cmake/rabit/rabitTargets-relea\
se.cmake
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): erro\
r MSB3073: The command "setlocal [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.without.gpu\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(149,5): erro\
r MSB3073: C:\cygwin64\bin\cmake.exe -DBUILD_TYPE=Release -P cmake_install.cmake [C:\Users\me\go\src\github.com\dmlc\xgboost\\
build.r.without.gpu\install.vcxproj]

...

@hcho3
Copy link
Collaborator

hcho3 commented Apr 26, 2020

Does install.packages('xgboost') work for you?

@glycerine
Copy link
Contributor Author

yes, I can install a precompiled binary from CRAN just fine, rather than from source. But I'd like to build from source for GPU support.

@hcho3
Copy link
Collaborator

hcho3 commented Apr 27, 2020

C:\cygwin64\bin\cmake.exe

It looks like you are using CMake from Cygwin. This is not good because Cygwin CMake is attempting to use bash commands (like setlocal) that don't work in Windows Command Prompt (cmd).

Can you try installing CMake from https://cmake.org/download/? Be sure to choose "Windows win64-x64 Installer".

@glycerine
Copy link
Contributor Author

Appearances would be deceiving in this case. Cygwin's cmake is too old, since xgboost requires cmake >= 3.16. So I had symlinked in the windows MSI 64-bit installed cmake 3.17, which gave much better results (didn't immediately crash).

@trivialfis
Copy link
Member

trivialfis commented Apr 27, 2020

Actually I don't like the CMake hack very much, do you have any suggestion that we can make R CMD INSTALL play well with CMake without breaking CRAN tests?

@glycerine
Copy link
Contributor Author

@trivialfis can you point to the cmake hack you are referring to? I've done some R package work so I might be able to help if I could understand how xgboost is approaching it now.

@trivialfis
Copy link
Member

trivialfis commented Apr 27, 2020

@glycerine Thanks for the offer! Currently XGBoost uses cmake to invoke R CMD INSTALL during installation for non-cran build. During which, cmake has to move the source code, create a fake installation target, then tell R to make the archive and install. The process can be seen in xgboost/cmake/Utils.cmake::setup_rpackage_install_target function. I wouldn't be surprised if something goes wrong in there (I only use it on Linux).

My question is can we create a more integrated experience for R users who are used to let R CMD INSTALL figure everything out? I'm happy even if it doesn't work on some platforms like solaris (required by CRAN), we can always fallback to autotools.

@hcho3
Copy link
Collaborator

hcho3 commented Apr 27, 2020

Currently, R CMD INSTALL command invokes autotools (./configure) to compile XGBoost. We could have the configure script to test if CMake is available, and if so, use CMake. We'll still need to figure out how to pass -DUSE_CUDA=ON flag to CMake.

@hcho3
Copy link
Collaborator

hcho3 commented Apr 27, 2020

@glycerine For now, you should look at https://stackoverflow.com/questions/31457306/visual-studio-msb3073-error-exited-with-code-1. The issue may be that you lack write access to the R package directory.

@glycerine
Copy link
Contributor Author

The issue may be that you lack write access to the R package directory.

Thanks @hcho3 for the suggestion. I had already made the R directory writable, and also setup ~/.rpkg to be the local per-user package directory. So I don't think that is it.

I can build xgboost from source with gpu support when not trying to build the R package.

Currently, R CMD INSTALL command invokes autotools (./configure) to compile XGBoost.

Ah, very good to know. It's usually not difficult to add compile flags to configure. So I'll try that.

@hcho3
Copy link
Collaborator

hcho3 commented Apr 27, 2020

@glycerine GPU code requires the use of a different compiler (nvcc). I don't think autotools will pick up the compiler correctly.

Can you build the shared lib without installing it? Run:

$ cmake .. -DUSE_CUDA=ON -DLIBR_EXECUTABLE="C:\Program Files\R\R-4.0.0\bin\x64\R.exe" -DR_LIB=ON -DGPU_COMPUTE_VER=75
$ cmake --build . --target all --config Release

@glycerine
Copy link
Contributor Author

EXEC : warning : invalid package 'C:/Users/me/go/src/github.com/dmlc/xgboost/build.r.gpu2/R-package' [C:\Users\me\go\src\github.com\dmlc\xgboost\build.r.gpu2\install.vcxproj]

I think this is the key issue, it appears to be coming from R; R doesn't like the package.

I tried just building the R package from source, without GPU, and got the exact same error. Small progress.

@glycerine
Copy link
Contributor Author

@glycerine GPU code requires the use of a different compiler (nvcc). I don't think autotools will pick up the compiler correctly.

Can you build the shared lib without installing it? Run:

$ cmake .. -DUSE_CUDA=ON -DLIBR_EXECUTABLE="C:\Program Files\R\R-4.0.0\bin\x64\R.exe" -DR_LIB=ON -DGPU_COMPUTE_VER=75
$ cmake --build . --target all --config Release

I will try that

@glycerine
Copy link
Contributor Author

$ cmake --build . --target all --config Release

visual studio does not like -target all

Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: all.vcxproj

@glycerine
Copy link
Contributor Author

glycerine commented Apr 27, 2020

$ ls -al|grep vcxproj
-rwxr-xr-x+ 1 me None 14340 Apr 27 19:24 ALL_BUILD.vcxproj
-rwxr-xr-x+ 1 me None   300 Apr 27 19:24 ALL_BUILD.vcxproj.filters
-rwxr-xr-x+ 1 me None  4778 Apr 27 19:24 INSTALL.vcxproj
-rwxr-xr-x+ 1 me None   570 Apr 27 19:24 INSTALL.vcxproj.filters
-rwxr-xr-x+ 1 me None 26707 Apr 27 19:24 runxgboost.vcxproj
-rwxr-xr-x+ 1 me None 12703 Apr 27 19:24 runxgboost.vcxproj.filters
-rwxr-xr-x+ 1 me None 25603 Apr 27 19:24 xgboost.vcxproj
-rwxr-xr-x+ 1 me None 12393 Apr 27 19:24 xgboost.vcxproj.filters
-rwxr-xr-x+ 1 me None 14743 Apr 27 19:24 ZERO_CHECK.vcxproj
-rwxr-xr-x+ 1 me None   571 Apr 27 19:24 ZERO_CHECK.vcxproj.filters

here are the available .vcxproj. I will try running with all_build, it seems to be proceeding...

@hcho3
Copy link
Collaborator

hcho3 commented Apr 27, 2020

How about

cmake --build . --target ALL_BUILD --config Release

@glycerine
Copy link
Contributor Author

glycerine commented Apr 27, 2020

the all_build finished without error. (I turned off GPU request for now, just trying to get basic R install from source). What next? I can try running R CMD check on the package, is it supposed to be ready now?

$ cmake .. -DLIBR_EXECUTABLE="C:\Program Files\R\R-4.0.0\bin\x64\R.exe" -DR_LIB=ON &> log.cmake
$ cmake --build . --target all_build --config Release &> log.build.only

cat log.cmake
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
-- The CXX compiler identification is MSVC 19.24.28314.0
-- The C compiler identification is MSVC 19.24.28314.0
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/H\
ostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/H\
ostx64/x64/cl.exe - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hos\
tx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hos\
tx64/x64/cl.exe - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- CMake version 3.17.1
-- Performing Test XGBOOST_MM_PREFETCH_PRESENT
-- Performing Test XGBOOST_MM_PREFETCH_PRESENT - Success
-- Performing Test XGBOOST_BUILTIN_PREFETCH_PRESENT
-- Performing Test XGBOOST_BUILTIN_PREFETCH_PRESENT - Failed
-- xgboost VERSION: 1.1.0
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found OpenMP_C: -openmp (found version "2.0")
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP: TRUE (found version "2.0")
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Looking for fopen64
-- Looking for fopen64 - not found
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - not found
-- Looking for nanosleep
-- Looking for nanosleep - not found
-- Looking for backtrace
-- Looking for backtrace - not found
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- C:/Users/jaten/go/src/github.com/dmlc/xgboost/dmlc-core/cmake/build_config.h.in -> include/dmlc/build_config.h
-- Found PythonInterp: C:/Users/jaten/AppData/Local/Programs/Python/Python36/python.exe (found version "3.6.8")
DMLC_ROOT point to C:/Users/jaten/go/src/github.com/dmlc/xgboost/rabit/../dmlc-core
-- LIBR_HOME [C:/Program Files/R/R-4.0.0]
-- LIBR_EXECUTABLE [C:\Program Files\R\R-4.0.0\bin\x64\R.exe]
-- LIBR_INCLUDE_DIRS [C:/Program Files/R/R-4.0.0/include]
-- LIBR_LIB_DIR [C:/Program Files/R/R-4.0.0/bin/x64]
-- LIBR_CORE_LIBRARY []
 * [C:/Program Files/R/R-4.0.0/bin/x64/R.dll] Found PE+ image^M
-- Found LibR: C:/Program Files/R/R-4.0.0
-- Found R: C:/Program Files/R/R-4.0.0/bin/x64/R.exe
-- LIBR_CORE_LIBRARY C:/Users/jaten/go/src/github.com/dmlc/xgboost/build.r.sharedlib.without.install/R-package/R.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/jaten/go/src/github.com/dmlc/xgboost/build.r.sharedlib.without.install
cat log.build.only
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Checking Build System
  Building Custom Rule C:/Users/jaten/go/src/github.com/dmlc/xgboost/dmlc-core/CMakeLists.txt
  config.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
  data.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/parser.h(106,1): warning C4267: '=': conversion from 'size_t' to 'IndexType', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/parser.h(95): message : while compiling class template member function 'bool dmlc::data::ThreadedParser<IndexType,DType>::Next(void)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(31): message : see reference to class template instantiation 'dmlc::data::ThreadedParser<IndexType,DType>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(238): message : see reference to function template instantiation 'dmlc::Parser<uint32_t,dmlc::real_t> *dmlc::data::CreateLibSVMParser<uint32_t,dmlc::real_t>(const std::string &,const std::map<std::string,std::string,std::less<std::string>,std::allocator<std::pair<const std::string,std::string>>> &,unsigned int,unsigned int)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(404,32): warning C4101: 'e': unreferenced local variable [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(329): message : while compiling class template member function 'void dmlc::ThreadedIter<std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>>>::Init(std::function<bool (std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>> **)>,std::function<void (void)>)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/parser.h(76): message : see reference to function template instantiation 'void dmlc::ThreadedIter<std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>>>::Init(std::function<bool (std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>> **)>,std::function<void (void)>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/parser.h(123): message : see reference to class template instantiation 'dmlc::ThreadedIter<std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>>>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(104,41): warning C4244: '=': conversion from 'int32_t' to 'DType', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(78): message : while compiling class template member function 'void dmlc::data::CSVParser<IndexType,DType>::ParseBlock(const char *,const char *,dmlc::data::RowBlockContainer<IndexType,DType> *)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(59): message : see reference to class template instantiation 'dmlc::data::CSVParser<IndexType,DType>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(246): message : see reference to function template instantiation 'dmlc::Parser<uint32_t,dmlc::real_t> *dmlc::data::CreateCSVParser<uint32_t,dmlc::real_t>(const std::string &,const std::map<std::string,std::string,std::less<std::string>,std::allocator<std::pair<const std::string,std::string>>> &,unsigned int,unsigned int)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(107,41): warning C4244: '=': conversion from 'int64_t' to 'DType', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(101,19): warning C4244: '=': conversion from 'float' to 'DType', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=int32_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(78): message : while compiling class template member function 'void dmlc::data::CSVParser<IndexType,DType>::ParseBlock(const char *,const char *,dmlc::data::RowBlockContainer<IndexType,DType> *)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=int32_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(59): message : see reference to class template instantiation 'dmlc::data::CSVParser<IndexType,DType>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=int32_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(250): message : see reference to function template instantiation 'dmlc::Parser<uint32_t,int32_t> *dmlc::data::CreateCSVParser<uint32_t,int32_t>(const std::string &,const std::map<std::string,std::string,std::less<std::string>,std::allocator<std::pair<const std::string,std::string>>> &,unsigned int,unsigned int)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(107,41): warning C4244: '=': conversion from 'int64_t' to 'DType', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=int32_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(117,18): warning C4244: '=': conversion from 'DType' to 'dmlc::real_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=int32_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(101,19): warning C4244: '=': conversion from 'float' to 'DType', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=int64_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(78): message : while compiling class template member function 'void dmlc::data::CSVParser<IndexType,DType>::ParseBlock(const char *,const char *,dmlc::data::RowBlockContainer<IndexType,DType> *)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=int64_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(59): message : see reference to class template instantiation 'dmlc::data::CSVParser<IndexType,DType>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=int64_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(254): message : see reference to function template instantiation 'dmlc::Parser<uint32_t,int64_t> *dmlc::data::CreateCSVParser<uint32_t,int64_t>(const std::string &,const std::map<std::string,std::string,std::less<std::string>,std::allocator<std::pair<const std::string,std::string>>> &,unsigned int,unsigned int)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data/csv_parser.h(117,18): warning C4244: '=': conversion from 'DType' to 'dmlc::real_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=int64_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./common.h(68,27): warning C4101: 'ex': unreferenced local variable [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data\./text_parser.h(136): message : see reference to function template instantiation 'void dmlc::OMPException::Run<dmlc::data::TextParserBase<IndexType,dmlc::real_t>::FillData::<lambda_5976022f8483ab7502f08f8c745311e6>::()::<lambda_a1b54642e6e70cf559b135048ec644ff>,>(Function)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              Function=dmlc::data::TextParserBase<uint32_t,dmlc::real_t>::FillData::<lambda_5976022f8483ab7502f08f8c745311e6>::()::<lambda_a1b54642e6e70cf559b135048ec644ff>
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data\./text_parser.h(111): message : while compiling class template member function 'bool dmlc::data::TextParserBase<IndexType,dmlc::real_t>::FillData(std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>> *)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data\./text_parser.h(46): message : see reference to function template instantiation 'bool dmlc::data::TextParserBase<IndexType,dmlc::real_t>::FillData(std::vector<dmlc::data::RowBlockContainer<IndexType,DType>,std::allocator<dmlc::data::RowBlockContainer<IndexType,DType>>> *)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t,
              DType=dmlc::real_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data\./libsvm_parser.h(46): message : see reference to class template instantiation 'dmlc::data::TextParserBase<IndexType,dmlc::real_t>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\data.cc(29): message : see reference to class template instantiation 'dmlc::data::LibSVMParser<IndexType,dmlc::real_t>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              IndexType=uint32_t
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./common.h(73,30): warning C4101: 'ex': unreferenced local variable [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
  io.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/filesystem.h(76,1): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              _Ty=int
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io/indexed_recordio_split.h(57,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io/single_file_split.h(44,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(404,32): warning C4101: 'e': unreferenced local variable [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(329): message : while compiling class template member function 'void dmlc::ThreadedIter<dmlc::io::InputSplitBase::Chunk>::Init(std::function<bool (DType **)>,std::function<void (void)>)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=dmlc::io::InputSplitBase::Chunk
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io/cached_input_split.h(152): message : see reference to function template instantiation 'void dmlc::ThreadedIter<dmlc::io::InputSplitBase::Chunk>::Init(std::function<bool (DType **)>,std::function<void (void)>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              DType=dmlc::io::InputSplitBase::Chunk
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io/cached_input_split.h(137): message : see reference to class template instantiation 'dmlc::ThreadedIter<dmlc::io::InputSplitBase::Chunk>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
  recordio.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
  line_split.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/filesystem.h(76,1): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              _Ty=int
          ]
  recordio_split.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/filesystem.h(76,1): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              _Ty=int
          ]
  indexed_recordio_split.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/filesystem.h(76,1): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              _Ty=int
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io\./indexed_recordio_split.h(57,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
  input_split_base.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/filesystem.h(76,1): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              _Ty=int
          ]
  filesys.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/filesystem.h(76,1): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              _Ty=int
          ]
  local_filesys.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/filesystem.h(76,1): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
          with
          [
              _Ty=int
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io\local_filesys.cc(87,1): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(182): message : see declaration of 'strerror' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io\local_filesys.cc(128,1): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(182): message : see declaration of 'strerror' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io\local_filesys.cc(178,1): warning C4996: '_wfopen': This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstdio.h(130): message : see declaration of '_wfopen' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\src\io\local_filesys.cc(209,1): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(182): message : see declaration of 'strerror' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\dmlc.vcxproj]
  Generating Code...
  dmlc.vcxproj -> C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\dmlc-core\Release\dmlc.lib
  Building Custom Rule C:/Users/jaten/go/src/github.com/dmlc/xgboost/src/CMakeLists.txt
  c_api.cc
  c_api_error.cc
  common.cc
  hist_util.cc
  host_device_vector.cc
  io.cc
  json.cc
  probability_distribution.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\probability_distribution.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\probability_distribution.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\io.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\io.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api_error.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api_error.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\common.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\common.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  survival_util.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\host_device_vector.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\host_device_vector.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\json.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\json.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\common.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\common.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\io.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\io.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\host_device_vector.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\host_device_vector.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\io.cc(99,1): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(182): message : see declaration of 'strerror' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\io.cc(106,1): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(182): message : see declaration of 'strerror' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\io.cc(130,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\json.cc(592,9): warning C4244: '=': conversion from 'xgboost::JsonInteger::Int' to 'double', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\json.cc(603,33): warning C4244: '=': conversion from '__int64' to 'ExpInt', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\json.cc(610,11): warning C4244: '=': conversion from 'xgboost::JsonInteger::Int' to 'double', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\json.cc(660,25): warning C4244: 'argument': conversion from '__int64' to 'uint32_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\survival_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\survival_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.h(109,16): warning C4244: 'initializing': conversion from '__int64' to 'xgboost::common::HistogramCuts::BinIdx', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.h(149,24): warning C4244: 'initializing': conversion from '__int64' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.h(501,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.h(510,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.h(615,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.h(631,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api.cc(112,73): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api.cc(125,73): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\c_api\c_api.cc(157,41): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(83,71): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(127,46): warning C4305: 'initializing': truncation from 'double' to 'const float' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(201,46): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=xgboost::bst_float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(208,28): warning C4244: '+=': conversion from 'double' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(266,29): warning C4018: '<': signed/unsigned mismatch [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(271,68): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(275,43): warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(434,49): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=xgboost::bst_float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(440,32): warning C4244: 'initializing': conversion from 'double' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(440,26): warning C4244: 'initializing': conversion from 'double' to 'const xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(486,52): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  timer.cc
  version.cc
  data.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(43,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(62): message : see reference to function template instantiation 'void xgboost::common::GHistIndexMatrix::SetIndexDataForDense<uint8_t>(xgboost::common::Span<uint8_t,18446744073709551615>,size_t,const xgboost::SparsePage &,size_t,xgboost::common::Span<const uint32_t,18446744073709551615>,size_t)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory(671,1): warning C4267: 'initializing': conversion from 'size_t' to '_Objty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Objty=unsigned int
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(688): message : see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,unsigned __int64>(_Alloc &,_Objty *const ,unsigned __int64 &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Alloc=std::allocator<std::_Vbase>,
              _Ty=unsigned int,
              _Objty=unsigned int
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\timer.cc)C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(688): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,unsigned __int64>(_Alloc &,_Objty *const ,unsigned __int64 &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Alloc=std::allocator<std::_Vbase>,
              _Ty=unsigned int,
              _Objty=unsigned int
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc)
  ellpack_page.cc
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\timer.cc)C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706): note: see reference to function template instantiation 'void std::vector<std::_Vbase,std::allocator<std::_Vbase>>::_Emplace_back_with_unused_capacity<_Ty>(_Ty &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=unsigned __int64
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc)
  ellpack_page_source.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(211): note: see reference to function template instantiation 'void std::vector<std::_Vbase,std::allocator<std::_Vbase>>::emplace_back<unsigned __int64>(unsigned __int64 &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\include\xgboost/data.h(223): message : see reference to class template instantiation 'xgboost::common::Span<const T,18446744073709551615>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=xgboost::Entry
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(214,1): warning C4018: '>': signed/unsigned mismatch (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\hist_util.cc(251): message : see reference to function template instantiation 'dmlc::LogCheckError dmlc::LogCheck_GT<uint32_t,int>(const X &,const Y &)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              X=uint32_t,
              Y=int
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\timer.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\timer.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  simple_dmatrix.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\timer.cc(67,32): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc(30,31): warning C4101: 'e': unreferenced local variable [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(413,53): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  sparse_page_dmatrix.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(474,56): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(109,16): warning C4244: 'initializing': conversion from '__int64' to 'xgboost::common::HistogramCuts::BinIdx', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(149,24): warning C4244: 'initializing': conversion from '__int64' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\simple_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\simple_dmatrix.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(109,16): warning C4244: 'initializing': conversion from '__int64' to 'xgboost::common::HistogramCuts::BinIdx', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(501,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(510,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(615,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(631,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(149,24): warning C4244: 'initializing': conversion from '__int64' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(501,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(510,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(615,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(631,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(413,53): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(474,56): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(163,47): warning C4244: 'initializing': conversion from '_Ty' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=__int64
          ]
          and
          [
              _Ty=xgboost::XGBoostVersionT
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(234): message : see reference to function template instantiation 'std::_Tuple_val<_This>::_Tuple_val<_Ty>(_Other &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _This=xgboost::XGBoostVersionT,
              _Ty=__int64,
              _Other=__int64
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(234): message : see reference to function template instantiation 'std::_Tuple_val<_This>::_Tuple_val<_Ty>(_Other &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _This=xgboost::XGBoostVersionT,
              _Ty=__int64,
              _Other=__int64
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(797): message : see reference to function template instantiation 'std::tuple<xgboost::XGBoostVersionT,xgboost::XGBoostVersionT,xgboost::XGBoostVersionT>::tuple<std::_Exact_args_t,__int64,__int64,__int64,0>(_Tag,_This2 &&,__int64 &&,__int64 &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Tag=std::_Exact_args_t,
              _This2=__int64
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(797): message : see reference to function template instantiation 'std::tuple<xgboost::XGBoostVersionT,xgboost::XGBoostVersionT,xgboost::XGBoostVersionT>::tuple<std::_Exact_args_t,__int64,__int64,__int64,0>(_Tag,_This2 &&,__int64 &&,__int64 &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Tag=std::_Exact_args_t,
              _This2=__int64
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(242): message : see reference to function template instantiation 'std::tuple<xgboost::XGBoostVersionT,xgboost::XGBoostVersionT,xgboost::XGBoostVersionT>::tuple<std::_Unpack_tuple_t,_Ty,0,1,2,0>(_Tag,_Tpl &&,std::integer_sequence<unsigned __int64,0,1,2>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=std::tuple<__int64,__int64,__int64>,
              _Tag=std::_Unpack_tuple_t,
              _Tpl=std::tuple<__int64,__int64,__int64>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(241): message : see reference to function template instantiation 'std::tuple<xgboost::XGBoostVersionT,xgboost::XGBoostVersionT,xgboost::XGBoostVersionT>::tuple<std::_Unpack_tuple_t,_Ty,0,1,2,0>(_Tag,_Tpl &&,std::integer_sequence<unsigned __int64,0,1,2>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=std::tuple<__int64,__int64,__int64>,
              _Tag=std::_Unpack_tuple_t,
              _Tpl=std::tuple<__int64,__int64,__int64>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(367): message : see reference to function template instantiation 'std::tuple<xgboost::XGBoostVersionT,xgboost::XGBoostVersionT,xgboost::XGBoostVersionT>::tuple<std::_Unpack_tuple_t,std::tuple<__int64,__int64,__int64>,0>(_Tag,_Tpl &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Tag=std::_Unpack_tuple_t,
              _Tpl=std::tuple<__int64,__int64,__int64>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\tuple(367): message : see reference to function template instantiation 'std::tuple<xgboost::XGBoostVersionT,xgboost::XGBoostVersionT,xgboost::XGBoostVersionT>::tuple<std::_Unpack_tuple_t,std::tuple<__int64,__int64,__int64>,0>(_Tag,_Tpl &&)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Tag=std::_Unpack_tuple_t,
              _Tpl=std::tuple<__int64,__int64,__int64>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc(34): message : see reference to function template instantiation 'std::tuple<xgboost::XGBoostVersionT,xgboost::XGBoostVersionT,xgboost::XGBoostVersionT>::tuple<__int64,__int64,__int64,0>(std::tuple<__int64,__int64,__int64> &&) noexcept' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\common\version.cc(34): message : see reference to function template instantiation 'std::tuple<xgboost::XGBoostVersionT,xgboost::XGBoostVersionT,xgboost::XGBoostVersionT>::tuple<__int64,__int64,__int64,0>(std::tuple<__int64,__int64,__int64> &&) noexcept' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\simple_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): note: see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\simple_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\simple_dmatrix.cc(50,67): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\simple_dmatrix.cc(61,58): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  sparse_page_raw_format.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  gblinear.cc
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  gblinear_model.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(404,32): warning C4101: 'e': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(329): message : while compiling class template member function 'void dmlc::ThreadedIter<PageT>::Init(std::function<bool (DType **)>,std::function<void (void)>)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage,
              DType=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(164): message : see reference to function template instantiation 'void dmlc::ThreadedIter<PageT>::Init(std::function<bool (DType **)>,std::function<void (void)>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage,
              DType=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(207): message : see reference to class template instantiation 'dmlc::ThreadedIter<PageT>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(202): message : while compiling class template member function 'void xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>::BeforeFirst(void)' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(59): message : see reference to function template instantiation 'void xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>::BeforeFirst(void)' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(433): message : see reference to class template instantiation 'xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\ellpack_page_source.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(404,32): warning C4101: 'e': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(329): message : while compiling class template member function 'void dmlc::ThreadedIter<PageT>::Init(std::function<bool (DType **)>,std::function<void (void)>)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage,
              DType=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(164): message : see reference to function template instantiation 'void dmlc::ThreadedIter<PageT>::Init(std::function<bool (DType **)>,std::function<void (void)>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage,
              DType=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(207): message : see reference to class template instantiation 'dmlc::ThreadedIter<PageT>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(202): message : while compiling class template member function 'void xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>::BeforeFirst(void)' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(59): message : see reference to function template instantiation 'void xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>::BeforeFirst(void)' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(433): message : see reference to class template instantiation 'xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./parameter.h(1154,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(442): message : see reference to function template instantiation 'ValueType dmlc::GetEnv<int>(const char *,ValueType)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              ValueType=int
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(109,16): warning C4244: 'initializing': conversion from '__int64' to 'xgboost::common::HistogramCuts::BinIdx', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(149,24): warning C4244: 'initializing': conversion from '__int64' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_raw_format.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_raw_format.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(501,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(510,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(615,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\../common/hist_util.h(631,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear_model.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear_model.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(413,53): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(474,56): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  gbm.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3330,22): warning C4244: '=': conversion from '_Ty' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=const double
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3367): message : see reference to function template instantiation '_OutIt *std::_Copy_unchecked<_Ty*,float*>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=float *,
              _Ty=const double,
              _InIt=const double *
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(307): message : see reference to function template instantiation '_OutIt std::copy<const double*,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<xgboost::bst_float>>>,
              _Ty=xgboost::bst_float,
              _InIt=const double *
          ]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3330,22): warning C4244: '=': conversion from '_Ty' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=const uint32_t
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3367): message : see reference to function template instantiation '_OutIt *std::_Copy_unchecked<_Ty*,float*>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=float *,
              _Ty=const uint32_t,
              _InIt=const uint32_t *
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(307): message : see reference to function template instantiation '_OutIt std::copy<const uint32_t*,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<xgboost::bst_float>>>,
              _Ty=xgboost::bst_float,
              _InIt=const uint32_t *
          ]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3330,22): warning C4244: '=': conversion from '_Ty' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=const uint64_t
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3367): message : see reference to function template instantiation '_OutIt *std::_Copy_unchecked<_Ty*,float*>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=float *,
              _Ty=const uint64_t,
              _InIt=const uint64_t *
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(307): message : see reference to function template instantiation '_OutIt std::copy<const uint64_t*,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<xgboost::bst_float>>>,
              _Ty=xgboost::bst_float,
              _InIt=const uint64_t *
          ]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3330,22): warning C4244: '=': conversion from '_Ty' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=const float
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3367): message : see reference to function template instantiation '_OutIt *std::_Copy_unchecked<_Ty*,unsigned int*>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=unsigned int *,
              _Ty=const float,
              _InIt=const float *
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(321): message : see reference to function template instantiation '_OutIt std::copy<const float*,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<std::_Vbase>>>,
              _Ty=std::_Vbase,
              _InIt=const float *
          ]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3330,22): warning C4244: '=': conversion from '_Ty' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=const double
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3367): message : see reference to function template instantiation '_OutIt *std::_Copy_unchecked<_Ty*,unsigned int*>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=unsigned int *,
              _Ty=const double,
              _InIt=const double *
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(321): message : see reference to function template instantiation '_OutIt std::copy<const double*,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<std::_Vbase>>>,
              _Ty=std::_Vbase,
              _InIt=const double *
          ]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3330,22): warning C4244: '=': conversion from '_Ty' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=const uint64_t
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3367): message : see reference to function template instantiation '_OutIt *std::_Copy_unchecked<_Ty*,unsigned int*>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=unsigned int *,
              _Ty=const uint64_t,
              _InIt=const uint64_t *
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(321): message : see reference to function template instantiation '_OutIt std::copy<const uint64_t*,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<std::_Vbase>>>,
              _Ty=std::_Vbase,
              _InIt=const uint64_t *
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_raw_format.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_raw_format.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(261,28): warning C4244: 'initializing': conversion from 'double' to 'size_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_dmatrix.h(31): message : see reference to function template instantiation 'xgboost::data::SparsePageSource::SparsePageSource<AdapterT>(AdapterT *,float,int,const std::string &,const size_t)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              AdapterT=xgboost::data::FileAdapter
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(539): message : see reference to function template instantiation 'xgboost::data::SparsePageDMatrix::SparsePageDMatrix<AdapterT>(AdapterT *,float,int,const std::string &,size_t)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              AdapterT=xgboost::data::FileAdapter
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(475): message : see reference to function template instantiation 'xgboost::DMatrix *xgboost::DMatrix::Create<xgboost::data::FileAdapter>(AdapterT *,float,int,const std::string &,size_t)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              AdapterT=xgboost::data::FileAdapter
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear_model.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbm.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear_model.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc(672,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_feature_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_source.h(298): message : see reference to function template instantiation 'uint64_t xgboost::SparsePage::Push<xgboost::data::FileAdapterBatch>(const AdapterBatchT &,float,int)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              AdapterBatchT=xgboost::data::FileAdapterBatch
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbm.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\./sparse_page_dmatrix.h(31): message : see reference to function template instantiation 'xgboost::data::SparsePageSource::SparsePageSource<AdapterT>(AdapterT *,float,int,const std::string &,const size_t)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              AdapterT=xgboost::data::FileAdapter
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\data.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(404,32): warning C4101: 'e': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/threadediter.h(329): message : while compiling class template member function 'void dmlc::ThreadedIter<PageT>::Init(std::function<bool (DType **)>,std::function<void (void)>)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage,
              DType=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(164): message : see reference to function template instantiation 'void dmlc::ThreadedIter<PageT>::Init(std::function<bool (DType **)>,std::function<void (void)>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage,
              DType=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(207): message : see reference to class template instantiation 'dmlc::ThreadedIter<PageT>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              PageT=xgboost::CSCPage
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(202): message : while compiling class template member function 'void xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>::BeforeFirst(void)' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(59): message : see reference to function template instantiation 'void xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>::BeforeFirst(void)' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_source.h(433): message : see reference to class template instantiation 'xgboost::data::ExternalMemoryPrefetcher<xgboost::CSCPage>' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\data\sparse_page_dmatrix.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  gbtree.cc
  gbtree_model.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree_model.cc)C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3814,24): warning C4244: '=': conversion from 'const _Ty' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=int
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear.cc)
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree_model.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gblinear.cc(171): message : see reference to function template instantiation 'void std::fill<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>,int>(const _FwdIt,const _FwdIt,const int &)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=xgboost::bst_float,
              _FwdIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<xgboost::bst_float>>>
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbm.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbm.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree_model.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc)learner.cc [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree_model.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  linear_updater.cc
  updater_coordinate.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\learner.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree_model.cc(81,38): warning C4244: '=': conversion from 'const xgboost::JsonInteger::Int' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=int
          ]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\learner.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\linear_updater.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc(312,43): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\linear_updater.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc(662,1): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc(740,14): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc(749,22): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc(758,22): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc(763,38): warning C4244: 'argument': conversion from 'double' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=xgboost::bst_float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\gbm\gbtree.cc(774,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\learner.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  updater_shotgun.cc
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\learner.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\linear_updater.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): note: see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\linear_updater.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\./param.h(60,36): warning C4244: '=': conversion from 'double' to 'float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\./param.h(61,34): warning C4244: '=': conversion from 'double' to 'float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  logging.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\./param.h(60,36): warning C4244: '=': conversion from 'double' to 'float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\linear_updater.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\./param.h(61,34): warning C4244: '=': conversion from 'double' to 'float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\linear_updater.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\learner.cc(325,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\coordinate_common.h(340,1): warning C4267: 'initializing': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\coordinate_common.h(340,1): warning C4267: 'initializing': conversion from 'size_t' to 'const xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\coordinate_common.h(406,1): warning C4267: 'initializing': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\coordinate_common.h(406,1): warning C4267: 'initializing': conversion from 'size_t' to 'const xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_coordinate.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\logging.cc)elementwise_metric.cc [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\logging.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\logging.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\logging.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  metric.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\./param.h(60,36): warning C4244: '=': conversion from 'double' to 'float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\./param.h(61,34): warning C4244: '=': conversion from 'double' to 'float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\coordinate_common.h(340,1): warning C4267: 'initializing': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\coordinate_common.h(340,1): warning C4267: 'initializing': conversion from 'size_t' to 'const xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\coordinate_common.h(406,1): warning C4267: 'initializing': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\coordinate_common.h(406,1): warning C4267: 'initializing': conversion from 'size_t' to 'const xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\linear\updater_shotgun.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\metric.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): note: see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(196,1): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  multiclass_metric.cc
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\metric.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(240,44): warning C4244: 'return': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(254,1): warning C4305: 'initializing': truncation from 'double' to 'xgboost::bst_float' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(270,21): warning C4244: 'initializing': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  rank_metric.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(273,17): warning C4244: 'initializing': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  survival_metric.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(285,16): warning C4244: '=': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(338,42): warning C4244: 'argument': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(321): message : while compiling class template member function 'xgboost::bst_float xgboost::metric::EvalEWiseBase<xgboost::metric::EvalTweedieNLogLik>::Eval(const xgboost::HostDeviceVector<xgboost::bst_float> &,const xgboost::MetaInfo &,bool)' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(385): message : see reference to class template instantiation 'xgboost::metric::EvalEWiseBase<xgboost::metric::EvalTweedieNLogLik>' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cu(338,34): warning C4244: 'argument': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\elementwise_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  aft_obj.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\survival_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\survival_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  hinge.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\survival_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\survival_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cu(176,43): warning C4244: 'argument': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cu(160): message : while compiling class template member function 'xgboost::bst_float xgboost::metric::EvalMClassBase<xgboost::metric::EvalMultiLogLoss>::Eval(const xgboost::HostDeviceVector<xgboost::bst_float> &,const xgboost::MetaInfo &,bool)' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\aft_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\aft_obj.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cu(216): note: see reference to class template instantiation 'xgboost::metric::EvalMClassBase<xgboost::metric::EvalMultiLogLoss>' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cu(176,35): warning C4244: 'argument': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\multiclass_metric.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(98,18): warning C4244: '=': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(356,1): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\aft_obj.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  multiclass_obj.cc
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\aft_obj.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(497,15): warning C4244: 'return': conversion from 'double' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  objective.cc
  rank_obj.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\aft_obj.cc(68,46): warning C4244: 'argument': conversion from 'double' to 'T', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\aft_obj.cc(68,36): warning C4244: 'argument': conversion from 'double' to 'T', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(188,49): warning C4018: '<': signed/unsigned mismatch [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(270): message : see reference to function template instantiation 'xgboost::bst_float xgboost::metric::EvalAuc::Eval<`anonymous-namespace'::PerGroupWeightPolicy>(const xgboost::HostDeviceVector<xgboost::bst_float> &,const xgboost::MetaInfo &,bool,const std::vector<std::_Vbase,std::allocator<std::_Vbase>> &)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(197,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(542,49): warning C4018: '<': signed/unsigned mismatch [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(639): message : see reference to function template instantiation 'xgboost::bst_float xgboost::metric::EvalAucPR::Eval<`anonymous-namespace'::PerGroupWeightPolicy>(const xgboost::HostDeviceVector<xgboost::bst_float> &,const xgboost::MetaInfo &,bool,const std::vector<std::_Vbase,std::allocator<std::_Vbase>> &)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\metric\rank_metric.cc(560,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  regression_obj.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cu(55,23): warning C4244: 'initializing': conversion from 'double' to 'xgboost::bst_float', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cu(74,39): warning C4244: '=': conversion from 'double' to 'T', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=xgboost::bst_float
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\objective.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\objective.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\objective.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\objective.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./common.h(68,27): warning C4101: 'ex': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(172): message : see reference to function template instantiation 'void dmlc::OMPException::Run<Functor,xgboost::omp_ulong,xgboost::common::Span<T,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>>(Function,xgboost::omp_ulong,xgboost::common::Span<T,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::HingeObj::GetGradient::<lambda_56e6d1a10a2f9bc1cefca71c168c812a>,
              T=xgboost::GradientPair,
              Function=xgboost::obj::HingeObj::GetGradient::<lambda_56e6d1a10a2f9bc1cefca71c168c812a>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cu(155,52): warning C4244: '=': conversion from 'xgboost::common::detail::SpanIterator<xgboost::common::Span<const T,18446744073709551615>,true>::difference_type' to 'T', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=xgboost::bst_float
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(81): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::HingeObj::GetGradient::<lambda_56e6d1a10a2f9bc1cefca71c168c812a>>::LaunchCPU<xgboost::HostDeviceVector<xgboost::GradientPair>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>>(Functor,xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *) const' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::HingeObj::GetGradient::<lambda_56e6d1a10a2f9bc1cefca71c168c812a>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(81): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::HingeObj::GetGradient::<lambda_56e6d1a10a2f9bc1cefca71c168c812a>>::LaunchCPU<xgboost::HostDeviceVector<xgboost::GradientPair>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>>(Functor,xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *) const' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::HingeObj::GetGradient::<lambda_56e6d1a10a2f9bc1cefca71c168c812a>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cu(68): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::HingeObj::GetGradient::<lambda_56e6d1a10a2f9bc1cefca71c168c812a>>::Eval<xgboost::HostDeviceVector<xgboost::GradientPair>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*>(xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *) const' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cu(67): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::HingeObj::GetGradient::<lambda_56e6d1a10a2f9bc1cefca71c168c812a>>::Eval<xgboost::HostDeviceVector<xgboost::GradientPair>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*>(xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *) const' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./common.h(73,30): warning C4101: 'ex': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\hinge.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  cpu_predictor.cc
  predictor.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(318,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(329,91): warning C4244: 'argument': conversion from 'const xgboost::bst_float' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(329,63): warning C4244: 'argument': conversion from 'const xgboost::bst_float' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(342,53): warning C4244: 'argument': conversion from 'const float' to 'unsigned int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(503,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  constraints.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\predictor.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\predictor.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  param.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\./regression_loss.h(47,1): warning C4305: 'argument': truncation from 'double' to 'float' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\./regression_loss.h(51,1): warning C4305: 'argument': truncation from 'double' to 'float' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(855,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(815): message : while compiling class template member function 'void xgboost::obj::LambdaRankObj<xgboost::obj::MAPLambdaWeightComputer>::ComputeGradientsOnCPU(const xgboost::HostDeviceVector<xgboost::bst_float> &,const xgboost::MetaInfo &,int,xgboost::HostDeviceVector<xgboost::GradientPair> *,const std::vector<std::_Vbase,std::allocator<std::_Vbase>> &)' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(780): message : see reference to function template instantiation 'void xgboost::obj::LambdaRankObj<xgboost::obj::MAPLambdaWeightComputer>::ComputeGradientsOnCPU(const xgboost::HostDeviceVector<xgboost::bst_float> &,const xgboost::MetaInfo &,int,xgboost::HostDeviceVector<xgboost::GradientPair> *,const std::vector<std::_Vbase,std::allocator<std::_Vbase>> &)' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cu(950): message : see reference to class template instantiation 'xgboost::obj::LambdaRankObj<xgboost::obj::MAPLambdaWeightComputer>' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\rank_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cu(339,51): warning C4244: 'argument': conversion from 'double' to 'T', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=float
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cu(339,41): warning C4244: 'argument': conversion from 'double' to 'T', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=float
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./common.h(68,27): warning C4101: 'ex': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(172): message : see reference to function template instantiation 'void dmlc::OMPException::Run<Functor,xgboost::omp_ulong,xgboost::common::Span<T,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<int,18446744073709551615>>(Function,xgboost::omp_ulong,xgboost::common::Span<T,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<int,18446744073709551615>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::SoftmaxMultiClassObj::GetGradient::<lambda_7fa86537270a0ab7d2698ec45a49e6e3>,
              T=xgboost::GradientPair,
              Function=xgboost::obj::SoftmaxMultiClassObj::GetGradient::<lambda_7fa86537270a0ab7d2698ec45a49e6e3>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(81): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::SoftmaxMultiClassObj::GetGradient::<lambda_7fa86537270a0ab7d2698ec45a49e6e3>>::LaunchCPU<xgboost::HostDeviceVector<xgboost::GradientPair>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>,xgboost::HostDeviceVector<int>>(Functor,xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,xgboost::HostDeviceVector<int> *) const' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::SoftmaxMultiClassObj::GetGradient::<lambda_7fa86537270a0ab7d2698ec45a49e6e3>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(81): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::SoftmaxMultiClassObj::GetGradient::<lambda_7fa86537270a0ab7d2698ec45a49e6e3>>::LaunchCPU<xgboost::HostDeviceVector<xgboost::GradientPair>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>,xgboost::HostDeviceVector<int>>(Functor,xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,xgboost::HostDeviceVector<int> *) const' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::SoftmaxMultiClassObj::GetGradient::<lambda_7fa86537270a0ab7d2698ec45a49e6e3>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cu(110): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::SoftmaxMultiClassObj::GetGradient::<lambda_7fa86537270a0ab7d2698ec45a49e6e3>>::Eval<xgboost::HostDeviceVector<xgboost::GradientPair>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,xgboost::HostDeviceVector<int>*>(xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,xgboost::HostDeviceVector<int> *) const' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cu(110): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::SoftmaxMultiClassObj::GetGradient::<lambda_7fa86537270a0ab7d2698ec45a49e6e3>>::Eval<xgboost::HostDeviceVector<xgboost::GradientPair>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,xgboost::HostDeviceVector<int>*>(xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,xgboost::HostDeviceVector<int> *) const' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./common.h(73,30): warning C4101: 'ex': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\multiclass_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\constraints.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\constraints.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  split_evaluator.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\param.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\param.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\predictor.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): note: see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\predictor.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\constraints.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\constraints.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\split_evaluator.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(157,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\split_evaluator.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(382,32): warning C4018: '<': signed/unsigned mismatch [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(435,1): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(435,1): warning C4267: 'initializing': conversion from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(436,1): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(436,1): warning C4267: 'initializing': conversion from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(437,1): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(437,1): warning C4267: 'initializing': conversion from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(453,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(455,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(459,1): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(459,1): warning C4267: 'initializing': conversion from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(460,1): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(460,1): warning C4267: 'initializing': conversion from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(467,96): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=xgboost::bst_float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\param.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./common.h(68,27): warning C4101: 'ex': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\param.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(172): note: see reference to function template instantiation 'void dmlc::OMPException::Run<Functor,xgboost::omp_ulong,xgboost::common::Span<T,18446744073709551615>,xgboost::common::Span<xgboost::detail::GradientPairInternal<float>,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>>(Function,xgboost::omp_ulong,xgboost::common::Span<T,18446744073709551615>,xgboost::common::Span<xgboost::detail::GradientPairInternal<float>,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>,xgboost::common::Span<const float,18446744073709551615>)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::PoissonRegression::GetGradient::<lambda_45dfa80838f929a2c5ba7748195fe3fb>,
              T=int,
              Function=xgboost::obj::PoissonRegression::GetGradient::<lambda_45dfa80838f929a2c5ba7748195fe3fb>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(81): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::PoissonRegression::GetGradient::<lambda_45dfa80838f929a2c5ba7748195fe3fb>>::LaunchCPU<xgboost::HostDeviceVector<int>,xgboost::HostDeviceVector<xgboost::GradientPair>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>>(Functor,xgboost::HostDeviceVector<int> *,xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *) const' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::PoissonRegression::GetGradient::<lambda_45dfa80838f929a2c5ba7748195fe3fb>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\../common/transform.h(81): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::PoissonRegression::GetGradient::<lambda_45dfa80838f929a2c5ba7748195fe3fb>>::LaunchCPU<xgboost::HostDeviceVector<int>,xgboost::HostDeviceVector<xgboost::GradientPair>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>,const xgboost::HostDeviceVector<xgboost::bst_float>>(Functor,xgboost::HostDeviceVector<int> *,xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *) const' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Functor=xgboost::obj::PoissonRegression::GetGradient::<lambda_45dfa80838f929a2c5ba7748195fe3fb>
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cu(225): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::PoissonRegression::GetGradient::<lambda_45dfa80838f929a2c5ba7748195fe3fb>>::Eval<xgboost::HostDeviceVector<int>*,xgboost::HostDeviceVector<xgboost::GradientPair>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*>(xgboost::HostDeviceVector<int> *,xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *) const' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cu(224): message : see reference to function template instantiation 'void xgboost::common::Transform<false>::Evaluator<xgboost::obj::PoissonRegression::GetGradient::<lambda_45dfa80838f929a2c5ba7748195fe3fb>>::Eval<xgboost::HostDeviceVector<int>*,xgboost::HostDeviceVector<xgboost::GradientPair>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*,const xgboost::HostDeviceVector<xgboost::bst_float>*>(xgboost::HostDeviceVector<int> *,xgboost::HostDeviceVector<xgboost::GradientPair> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *,const xgboost::HostDeviceVector<xgboost::bst_float> *) const' being compiled (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./common.h(73,30): warning C4101: 'ex': unreferenced local variable (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\objective\regression_obj.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(216,1): warning C4018: '>=': signed/unsigned mismatch (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(224): message : see reference to function template instantiation 'dmlc::LogCheckError dmlc::LogCheck_GE<uint32_t,int>(const X &,const Y &)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              X=uint32_t,
              Y=int
          ]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xutility(3814,24): warning C4244: '=': conversion from 'const _Ty' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=int
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(379): message : see reference to function template instantiation 'void std::fill<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>,int>(const _FwdIt,const _FwdIt,const int &)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              _Ty=xgboost::bst_float,
              _FwdIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<xgboost::bst_float>>>
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\split_evaluator.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\split_evaluator.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\split_evaluator.cc(109,12): warning C4244: 'return': conversion from 'double' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  tree_model.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\split_evaluator.cc(114,47): warning C4244: 'return': conversion from 'T' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=double
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\split_evaluator.cc(122,17): warning C4244: 'initializing': conversion from 'double' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(77,1): warning C4267: 'initializing': conversion from 'size_t' to 'xgboost::bst_feature_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(76): message : while compiling class template member function 'xgboost::SparsePage::Inst xgboost::predictor::AdapterView<Adapter,8>::operator [](size_t)' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Adapter=xgboost::data::CSRAdapter
          ]
  tree_updater.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(130): message : see reference to function template instantiation 'xgboost::SparsePage::Inst xgboost::predictor::AdapterView<Adapter,8>::operator [](size_t)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Adapter=xgboost::data::CSRAdapter
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(287): message : see reference to class template instantiation 'xgboost::predictor::AdapterView<Adapter,8>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              Adapter=xgboost::data::CSRAdapter
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\predictor\cpu_predictor.cc(299): message : see reference to function template instantiation 'void xgboost::predictor::CPUPredictor::DispatchedInplacePredict<xgboost::data::CSRAdapter>(const dmlc::any &,const xgboost::gbm::GBTreeModel &,float,xgboost::PredictionCacheEntry *,uint32_t,uint32_t) const' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_updater.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  updater_colmaker.cc
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_updater.cc)updater_histmaker.cc [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_colmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_colmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_updater.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_updater.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc)C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_colmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc)C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): note: see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_colmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  updater_prune.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc(729,42): warning C4244: '=': conversion from 'const xgboost::JsonInteger::Int' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc(732,21): warning C4244: 'initializing': conversion from 'const xgboost::JsonInteger::Int' to 'xgboost::bst_node_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc(733,22): warning C4244: 'initializing': conversion from 'const xgboost::JsonInteger::Int' to 'xgboost::bst_node_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc(734,23): warning C4244: 'initializing': conversion from 'const xgboost::JsonInteger::Int' to 'xgboost::bst_node_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\tree_model.cc(735,23): warning C4244: 'initializing': conversion from 'const xgboost::JsonInteger::Int' to 'xgboost::bst_feature_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  updater_quantile_hist.cc
  updater_refresh.cc
  updater_skmaker.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_prune.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_prune.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_refresh.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_refresh.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_prune.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_prune.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_refresh.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_refresh.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\./updater_basemaker-inl.h(168,65): warning C4244: 'argument': conversion from 'const uint64_t' to 'const xgboost::bst_feature_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(30,62): warning C4244: 'argument': conversion from 'uint64_t' to 'const xgboost::bst_feature_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(61,20): warning C4244: 'initializing': conversion from '__int64' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(242,36): warning C4244: 'initializing': conversion from 'T' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=double
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(245,37): warning C4244: 'initializing': conversion from 'T' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=double
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(253,75): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(253,49): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(252,36): warning C4244: 'argument': conversion from 'const double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_colmaker.cc(108,60): warning C4244: 'argument': conversion from 'uint64_t' to 'const xgboost::bst_feature_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_colmaker.cc(502,81): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_colmaker.cc(502,53): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_colmaker.cc(501,37): warning C4244: 'argument': conversion from 'const double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(508,1): warning C4267: 'initializing': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(580,1): warning C4267: 'initializing': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  updater_sync.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\../common/hist_util.h(109,16): warning C4244: 'initializing': conversion from '__int64' to 'xgboost::common::HistogramCuts::BinIdx', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc\./logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_sync.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\../common/hist_util.h(149,24): warning C4244: 'initializing': conversion from '__int64' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_sync.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\./updater_basemaker-inl.h(168,65): warning C4244: 'argument': conversion from 'const uint64_t' to 'const xgboost::bst_feature_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\param.h(330,20): warning C4244: 'return': conversion from 'T' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=double
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc(241): message : see reference to function template instantiation 'float xgboost::tree::CalcWeight<xgboost::tree::TrainParam,xgboost::tree::GradStats>(const TrainingParams &,GpairT)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              TrainingParams=xgboost::tree::TrainParam,
              GpairT=xgboost::tree::GradStats
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\include\xgboost/data.h(223): message : see reference to class template instantiation 'xgboost::common::Span<const T,18446744073709551615>' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=xgboost::Entry
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_histmaker.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\../common/hist_util.h(501,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\../common/hist_util.h(510,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\../common/hist_util.h(615,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\../common/hist_util.h(631,1): warning C4267: 'argument': conversion from 'size_t' to 'xgboost::bst_uint', possible loss of data (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc(281,31): warning C4244: 'initializing': conversion from 'double' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc(282,36): warning C4244: 'initializing': conversion from 'T' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=double
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc(285,37): warning C4244: 'initializing': conversion from 'T' to 'xgboost::bst_float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=double
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc(293,75): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc(293,49): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_skmaker.cc(292,44): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(71,49): warning C4244: 'argument': conversion from 'uint64_t' to 'const xgboost::bst_feature_t', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(169,56): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(267,77): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(267,49): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(266,69): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(415,77): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(415,49): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(414,69): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(511,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(515,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(991,61): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(992,63): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(1058,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\./param.h(330,20): warning C4244: 'return': conversion from 'T' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              T=double
          ] (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_refresh.cc)
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_refresh.cc(133): message : see reference to function template instantiation 'float xgboost::tree::CalcWeight<xgboost::tree::TrainParam,xgboost::tree::GradStats>(const TrainingParams &,GpairT)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
          with
          [
              TrainingParams=xgboost::tree::TrainParam,
              GpairT=xgboost::tree::GradStats
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_sync.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' (compiling source file C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_sync.cc) [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(921,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(1034): message : see reference to function template instantiation 'void xgboost::tree::QuantileHistMaker::Builder::PartitionKernel<uint8_t>(const size_t,const size_t,xgboost::common::Range1d,const int32_t,const xgboost::common::ColumnMatrix &,const xgboost::RegTree &)' being compiled [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(924,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(926,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(927,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(928,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(954,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\src\tree\updater_quantile_hist.cc(955,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.vcxproj]
  objxgboost.vcxproj -> C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\src\objxgboost.dir\Release\objxgboost.lib
  Building Custom Rule C:/Users/jaten/go/src/github.com/dmlc/xgboost/R-package/CMakeLists.txt
  init.c
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_memcpy_s.h(58,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_memcpy_s.h(80,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(97,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(98,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(99,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(105,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(120,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(121,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(122,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(128,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(243,13): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(244,13): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(245,13): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(252,5): warning C4996: 'wcstok': This function or variable may be unsafe. Consider using wcstok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(226): message : see declaration of 'wcstok' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_wstring.h(270,13): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(87,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(88,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(89,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(95,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(130,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(131,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(132,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(138,9): warning C4068: unknown pragma [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
  xgboost_assert.c
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_assert.c(12,1): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(1469): message : see declaration of 'vsprintf' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_assert.c(22,1): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(1469): message : see declaration of 'vsprintf' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
  Generating Code...
  xgboost_R.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(83,27): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
          with
          [
              _Ty=float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(87,3): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(176,29): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
          with
          [
              _Ty=float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(270,28): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
          with
          [
              _Ty=float
          ]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\xgboost_R.cc(271,28): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
          with
          [
              _Ty=float
          ]
  xgboost_custom.cc
C:\Users\jaten\go\src\github.com\dmlc\xgboost\dmlc-core\include\dmlc/logging.h(151,1): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/utils.h(198,1): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(208): message : see declaration of 'fopen' [C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.vcxproj]
  Generating Code...
  xgboost-r.vcxproj -> C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package\xgboost-r.dir\Release\xgboost-r.lib
  Building Custom Rule C:/Users/jaten/go/src/github.com/dmlc/xgboost/rabit/CMakeLists.txt
  engine_empty.cc
  c_api.cc
  Generating Code...
  rabit.vcxproj -> C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\rabit\Release\rabit.lib
  Building Custom Rule C:/Users/jaten/go/src/github.com/dmlc/xgboost/CMakeLists.txt
  cli_main.cc
     Creating library C:/Users/jaten/go/src/github.com/dmlc/xgboost/xgboost.lib and object C:/Users/jaten/go/src/github.com/dmlc/xgboost/xgboost.exp
  runxgboost.vcxproj -> C:\Users\jaten\go\src\github.com\dmlc\xgboost\xgboost.exe
  Building Custom Rule C:/Users/jaten/go/src/github.com/dmlc/xgboost/CMakeLists.txt
  xgboost.vcxproj -> C:\Users\jaten\go\src\github.com\dmlc\xgboost\lib\xgboost.lib
  Building Custom Rule C:/Users/jaten/go/src/github.com/dmlc/xgboost/CMakeLists.txt

@glycerine
Copy link
Contributor Author

hmm. R package does not appear ready. I think what would make sense is to try and build the R package with the binary xgboost.dll already included. Using the Rtools msys2 mingw64 compiler is unlikely to work, since it would need to know about nvcc; at least I'm just guessing.

~/go/src/github.com/dmlc/xgboost/build.r.sharedlib.without.install$ R CMD check R-package

* using log directory 'C:/Users/jaten/go/src/github.com/dmlc/xgboost/build.r.sharedlib.without.install/R-package.Rcheck'
* using R version 4.0.0 (2020-04-24)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'R-package/DESCRIPTION' ... ERROR
File DESCRIPTION does not exist
* DONE

Status: 1 ERROR

@hcho3
Copy link
Collaborator

hcho3 commented Apr 28, 2020

Did you run R CMD INSTALL . inside the R-package/ directory?

I'm going to try it on my end as well.

@hcho3
Copy link
Collaborator

hcho3 commented Apr 28, 2020

Currently, our testing system tests the R package on Windows (CPU only): https://ci.appveyor.com/project/tqchen/xgboost/builds/32487051/job/io1gut8b9aecl85p

@glycerine
Copy link
Contributor Author

well, R CMD check fails (see above, no DESCRIPTION file), so surely R CMD INSTALL has no chance... is there a target just to build xgboost.dll (with the R hooks) and xgboost.lib (with the R hooks)? With those two, I think I could get an R package assembled.

C:\Users\jaten\go\src\github.com\dmlc\xgboost>cd build.r.sharedlib.without.install

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install>dir
 Volume in drive C is Windows
 Volume Serial Number is 42F3-A205

 Directory of C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install

04/27/2020  07:46 PM    <DIR>          .
04/27/2020  07:46 PM    <DIR>          ..
04/27/2020  07:24 PM            14,340 ALL_BUILD.vcxproj
04/27/2020  07:24 PM               300 ALL_BUILD.vcxproj.filters
04/27/2020  07:24 PM    <DIR>          cmake
04/27/2020  07:24 PM            24,145 CMakeCache.txt
04/27/2020  07:32 PM    <DIR>          CMakeFiles
04/27/2020  07:24 PM             8,306 cmake_install.cmake
04/27/2020  07:31 PM    <DIR>          dmlc-core
04/27/2020  07:24 PM             4,778 INSTALL.vcxproj
04/27/2020  07:24 PM               570 INSTALL.vcxproj.filters
04/27/2020  07:32 PM           240,298 log.build.only
04/27/2020  07:25 PM               209 log.build.only~
04/27/2020  07:46 PM               586 log.check.package
04/27/2020  07:45 PM               493 log.check.package~
04/27/2020  07:24 PM             3,446 log.cmake
04/27/2020  07:24 PM    <DIR>          plugin
04/27/2020  07:31 PM    <DIR>          R-package
04/27/2020  07:45 PM    <DIR>          R-package.Rcheck
04/27/2020  07:31 PM    <DIR>          rabit
04/27/2020  07:31 PM    <DIR>          runxgboost.dir
04/27/2020  07:24 PM            26,707 runxgboost.vcxproj
04/27/2020  07:24 PM            12,703 runxgboost.vcxproj.filters
04/27/2020  07:31 PM    <DIR>          src
04/27/2020  07:31 PM    <DIR>          x64
04/27/2020  07:32 PM    <DIR>          xgboost.dir
04/27/2020  07:24 PM             6,263 xgboost.sln
04/27/2020  07:24 PM            25,603 xgboost.vcxproj
04/27/2020  07:24 PM            12,393 xgboost.vcxproj.filters
04/27/2020  07:24 PM            14,743 ZERO_CHECK.vcxproj
04/27/2020  07:24 PM               571 ZERO_CHECK.vcxproj.filters
              18 File(s)        396,454 bytes
              13 Dir(s)  90,735,296,512 bytes free

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install>cd R-package

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package>R CMD INSTALL .
Warning: invalid package '.'
Error: ERROR: no packages specified

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\R-package>cd ..

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install>mv R-package xgboost

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install>R CMD INSTALL xgboost
Warning: invalid package 'xgboost'
Error: ERROR: no packages specified

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install>cd xgboost

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\xgboost>R CMD INSTALL
The filename, directory name, or volume label syntax is incorrect.

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\xgboost>R CMD INSTALL .
Warning: invalid package '.'
Error: ERROR: no packages specified

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install\xgboost>cd ..

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install>mv xgboost R-package

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install>R CMD check R-package
* using log directory 'C:/Users/jaten/go/src/github.com/dmlc/xgboost/build.r.sharedlib.without.install/R-package.Rcheck'
* using R version 4.0.0 (2020-04-24)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'R-package/DESCRIPTION' ... ERROR
File DESCRIPTION does not exist
* DONE

Status: 1 ERROR
C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r.sharedlib.without.install>

@hcho3
Copy link
Collaborator

hcho3 commented Apr 28, 2020

Description file is in xgboost/R-package directory (not the one under build/). You can copy over xgboost.dll and xgboost.lib from xgboost/build/ to xgboost/R-package and then run R CMD INSTALL .

@glycerine
Copy link
Contributor Author

glycerine commented Apr 28, 2020

You can copy over xgboost.dll and xgboost.lib from xgboost/build/ to xgboost/R-package and then run R CMD INSTALL .

Only problem, I only got .lib files out; no .dll.

~/go/src/github.com/dmlc/xgboost/build.r.sharedlib.without.install
$ find . -name '*.dll'
$ find . -name '*.lib'
./dmlc-core/Release/dmlc.lib
./R-package/R.lib
./Rpackage/xgboost-r.dir/Release/xgboost-r.lib
./rabit/Release/rabit.lib
./src/objxgboost.dir/Release/objxgboost.lib
$

That is why I was asking if there is make/cmake target for generating the .dll.

@glycerine
Copy link
Contributor Author

glycerine commented Apr 28, 2020

ah. I wasn't using -DR_LIB=ON. I'll try adding that.

Correction: No, I guess I was using it. Still looking...

@hcho3
Copy link
Collaborator

hcho3 commented Apr 28, 2020

I looked at the log from our testing server and it is using R 4.0.0. The command used is

cmake .. -G"Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Release" -DR_LIB=ON
cmake --build . --target install --config Release

Not sure what's going on in your machine. I am now setting up a brand new Windows machine.

FYI, there's no dll file generated. Only output is xgboost-r.lib, according to the log linked above.

@glycerine
Copy link
Contributor Author

FYI, there's no dll file generated. Only output is xgboost-r.lib, according to the log linked above.

Ah. okay. And the xgboost.lib file is really big. Maybe visual studio started packing it all into the .lib (link library) instead of generating a separate .dll and .lib.

@glycerine
Copy link
Contributor Author

I see alot of build errors with cmake — build . — target install — config Release. I'm going to try with Visual Studio 2017 rather than 2019, per this blog. He claims the order of installing the tools is critical to the success of the process. https://medium.com/@karthikdulam/installing-xgboost-gpu-for-r-on-windows-10-7927a65c0ca8

@hcho3
Copy link
Collaborator

hcho3 commented Apr 28, 2020

@glycerine I'm trying it out myself. I'm running into this error:

CMake Error at cmake/modules/FindLibR.cmake:49 (message):

  Either gendef.exe or dlltool.exe not found!

The RTools 4.0.0 does not have gendef.exe. Presumably Rtools 3.x did have gendef.exe. So maybe your machine is picking up gendef.exe from Cygwin, not from Rtools, and causing interference? As for the AppVeyor, it already has MinGW installed and that provides gendef.exe.

I'm now trying Rtools 3.x, with R 3.x.

At any rate, I'm hoping to have a set of instructions that are known to work. I'm disheartened that it's quite difficult to compile XGBoost R package on Windows.

@hcho3
Copy link
Collaborator

hcho3 commented Apr 28, 2020

@glycerine Okay, I got it to work, by using R 3.6.3 with Rtools35.

Here are the steps:

  1. Install Visual Studio 2019 Community.
  2. Install CMake (https://cmake.org/) and Git (https://git-scm.com/).
  3. Install R 3.6.3 (64bit) and Rtools35.
  4. Add C:\Rtools\bin and C:\Rtools\mingw_64\bin to the system PATH environment variable.
  5. Run git clone --recursive https://github.com/dmlc/xgboost. Create build/ folder inside.
  6. Launch Command Prompt and run the following command inside build/ folder:
cmake .. -G"Visual Studio 16 2019" -A x64 -DR_LIB=ON -DR_VERSION=3.6.3
  1. Now compile and install:
cmake --build . --target install --config Release

We will need to find ways to get XGBoost work with R 4.0.0.

@glycerine
Copy link
Contributor Author

glycerine commented Apr 28, 2020

So maybe your machine is picking up gendef.exe from Cygwin, not from Rtools, and causing interference?

possibly. I have both gendef and dlltool in my path from the mingw-w64 compiler (but not the one embedded within rtools).

@glycerine
Copy link
Contributor Author

Okay, I got it to work, by using R 3.6.3 with Rtools35.

@hcho3 did you get the R package with GPU from source build to work too?

@hcho3
Copy link
Collaborator

hcho3 commented Apr 28, 2020

@glycerine Yes, with cmake .. -G"Visual Studio 16 2019" -A x64 -DR_LIB=ON -DR_VERSION=3.6.3 -DUSE_CUDA=ON.

One twist: cmake --build . --target install --config Release on my machine only installs XGBoost in build/dummy_inst/, not the actual place where packages gets installed. To make it work, I ran

cd build/
cd R-package/
"C:\Program Files\R\R-3.6.3\bin\R.exe" CMD INSTALL .

which gives terminal output

* installing to library 'C:/Program Files/R/R-3.6.3/library'
* installing *source* package 'xgboost' ...
** using staged installation
Warning in as.POSIXlt.POSIXct(x, tz) :
  unable to identify current timezone 'C':
please set environment variable 'TZ'
** libs
make: Nothing to be done for 'all'.
installing to C:/Program Files/R/R-3.6.3/library/00LOCK-R-package/00new/xgboost/libs/x64
** R
** data
** demo
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'xgboost'
    finding HTML links ... done
    agaricus.test                           html
    agaricus.train                          html
    callbacks                               html
    cb.cv.predict                           html
    cb.early.stop                           html
    cb.evaluation.log                       html
    cb.gblinear.history                     html
    cb.print.evaluation                     html
    cb.reset.parameters                     html
    cb.save.model                           html
    dim.xgb.DMatrix                         html
    dimnames.xgb.DMatrix                    html
    getinfo                                 html
    predict.xgb.Booster                     html
    print.xgb.Booster                       html
    print.xgb.DMatrix                       html
    print.xgb.cv                            html
    setinfo                                 html
    slice.xgb.DMatrix                       html
    xgb.Booster.complete                    html
    xgb.DMatrix                             html
    xgb.DMatrix.save                        html
    xgb.attr                                html
    xgb.config                              html
    xgb.create.features                     html
    xgb.cv                                  html
    xgb.dump                                html
    xgb.gblinear.history                    html
    xgb.importance                          html
    xgb.load                                html
    xgb.load.raw                            html
    xgb.model.dt.tree                       html
    xgb.parameters                          html
    xgb.plot.deepness                       html
    xgb.plot.importance                     html
    xgb.plot.multi.trees                    html
    xgb.plot.shap                           html
    xgb.plot.tree                           html
    xgb.save                                html
    xgb.save.raw                            html
    xgb.serialize                           html
    xgb.train                               html
    xgb.unserialize                         html
    xgboost-deprecated                      html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (xgboost)

@hcho3 hcho3 self-assigned this Apr 28, 2020
@hcho3
Copy link
Collaborator

hcho3 commented Apr 28, 2020

TODO. Revise CMake build to work with R 4.0.0. Write a new doc for building R package on Windows.

@glycerine
Copy link
Contributor Author

glycerine commented Apr 29, 2020

Interesting. I cannot reproduce the installation from dmlc/xgboost/build.r363/R-package. R still doesn't like the package there. I used VS 2017, but doubt that makes a difference.

C:\Users\jaten\go\src\github.com\dmlc\xgboost\build.r363\R-package>"C:\Program Files\R\R-3.6.3\bin\x64\R.exe" CMD INSTALL .
Warning: invalid package '.'
Error: ERROR: no packages specified

did you get an xgboost.dll out in your build/ directory? I don't see one in mine.

update: ah, I see some compile errors, and nothing after "Generating code...", so my build probably didn't finish

...
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\rabit\test\speed_te\
st.cc(62): error C2039: 'TrackerPrintf': is not a member of 'rabit' [C:\Users\j\
aten\go\src\github.com\dmlc\xgboost\build.r363\R-package\xgboost-r.vcxproj]
  C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/ti\
mer.h(16): note: see declaration of 'rabit'
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\rabit\test\speed_te\
st.cc(62): error C3861: 'TrackerPrintf': identifier not found [C:\Users\jaten\g\
o\src\github.com\dmlc\xgboost\build.r363\R-package\xgboost-r.vcxproj]
C:\Users\jaten\go\src\github.com\dmlc\xgboost\R-package\src\rabit\test\speed_te\
st.cc(66): error C2039: 'TrackerPrintf': is not a member of 'rabit' [C:\Users\j\
aten\go\src\github.com\dmlc\xgboost\build.r363\R-package\xgboost-r.vcxproj]
  C:\Users\jaten\go\src\github.com\dmlc\xgboost\rabit\include\rabit/internal/ti\
mer.h(16): note: see declaration of 'rabit'
...

@glycerine
Copy link
Contributor Author

One bug isolated: Embedded somewhere in the dmlc/xgboost/R-package is the assumption that Rtools is installed in C:\Rtools ... however, mine was installed in C:\Rtools35.

c:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_\
LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_      -fopenmp -pthread   -O2 -Wall  -mtune=core2 -c xgboost_R.cc -o xgboost_R.o
/bin/sh: c:/Rtools/mingw_64/bin/g++: No such file or directory

when I hack past that by making a copy of C:\Rtools35 into C:\Rtools, I get farther. However, still bulid failures, mostly symbol not defined. I'm not sure how this is supposed to work with mixing the visual studio compiler (with nvcc support) and the mingw64 compiler from Rtools.

So starting from this configuration, and the manually moving into the non-build R-package and trying to R CMD INSTALL ., the log is below.

config:

cmake .. -G"Visual Studio 15 2017 Win64" -DR_LIB=ON -DGPU_COMPUTE_VER=75 -DUSE_CUDA=ON -DLIBR_EXECUTABLE="C:\Program Files\R\R-3.6.3\bin\x64\R.exe"
cmake --build . --target install --config Release

log:

* installing to library 'C:/Users/jaten/.rpkg'
* installing *source* package 'xgboost' ...
** using staged installation
** libs
Makevars.win:29: -DXGBOOST_STRICT_R_MODE=1
Makevars.win:29: -DDMLC_LOG_BEFORE_THROW=0
Makevars.win:29: -DDMLC_ENABLE_STD_THREAD=0
Makevars.win:29: -DDMLC_DISABLE_STDIN=1
Makevars.win:29: -DDMLC_LOG_CUSTOMIZE=1
Makevars.win:29: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars.win:29: -DRABIT_CUSTOMIZE_MSG_
Makevars.win:29: -DRABIT_STRICT_CXX98_
cp -r ../../src .
cp -r ../../rabit .
cp -r ../../dmlc-core .
cp -r ../../include .
cp -r ../../amalgamation .
c:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_      -fopenmp -pthread   -O2 -Wall  -mtune=core2 -c xgboost_R.cc -o xgboost_R.o
c:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_      -fopenmp -pthread   -O2 -Wall  -mtune=core2 -c xgboost_custom.cc -o xgboost_custom.o
c:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_         -O2 -Wall  -std=gnu99 -mtune=core2 -c xgboost_assert.c -o xgboost_assert.o
c:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_         -O2 -Wall  -std=gnu99 -mtune=core2 -c init.c -o init.o
c:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_      -fopenmp -pthread   -O2 -Wall  -mtune=core2 -c amalgamation/xgboost-all0.cc -o amalgamation/xgboost-all0.o
In file included from amalgamation/xgboost-all0.cc:76:0:
amalgamation/../src/common/io.cc: In function 'std::string xgboost::common::LoadSequentialFile(std::string)':
amalgamation/../src/common/io.cc:102:8: warning: variable 'ReadErr' set but not used [-Wunused-but-set-variable]
   auto ReadErr = [&fname]() {
        ^
c:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_      -fopenmp -pthread   -O2 -Wall  -mtune=core2 -c amalgamation/dmlc-minimum0.cc -o amalgamation/dmlc-minimum0.o
In file included from amalgamation/../dmlc-core/src/io/././input_split_base.h:11:0,
                 from amalgamation/../dmlc-core/src/io/./line_split.h:15,
                 from amalgamation/../dmlc-core/src/io/line_split.cc:5,
                 from amalgamation/dmlc-minimum0.cc:6:
.//dmlc-core/include/dmlc/filesystem.h:19:0: warning: "NOMINMAX" redefined
 #define NOMINMAX
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++config.h:430:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/cstdio:41,
                 from .//dmlc-core/include/dmlc/io.h:8,
                 from amalgamation/../dmlc-core/src/io/line_split.cc:2,
                 from amalgamation/dmlc-minimum0.cc:6:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition
 #define NOMINMAX 1
 ^
In file included from amalgamation/../dmlc-core/src/io/././input_split_base.h:11:0,
                 from amalgamation/../dmlc-core/src/io/./line_split.h:15,
                 from amalgamation/../dmlc-core/src/io/line_split.cc:5,
                 from amalgamation/dmlc-minimum0.cc:6:
.//dmlc-core/include/dmlc/filesystem.h:22:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment(lib, "Shlwapi.lib")
 ^
c:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_      -fopenmp -pthread   -O2 -Wall  -mtune=core2 -c rabit/src/engine_empty.cc -o rabit/src/engine_empty.o
c:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -I.//include -I.//dmlc-core/include -I.//rabit/include -I./ -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_      -fopenmp -pthread   -O2 -Wall  -mtune=core2 -c rabit/src/c_api.cc -o rabit/src/c_api.o
C:\Rtools\mingw_64\bin\nm.exe: 'xgblib': No such file
c:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o xgboost.dll tmp.def ./xgboost_R.o ./xgboost_custom.o ./xgboost_assert.o ./init.o .//amalgamation/xgboost-all0.o .//amalgamation/dmlc-minimum0.o .//rabit/src/engine_empty.o .//rabit/src/c_api.o -fopenmp -pthread -LC:/PROGRA~1/R/R-36~1.3/bin/x64 -lR
Cannot export Assert
: symbol not defined
Cannot export Check
: symbol not defined
Cannot export Error
: symbol not defined
Cannot export Printf
: symbol not defined
Cannot export R_init_xgboost
: symbol not defined
Cannot export RabitAllgather
: symbol not defined
Cannot export RabitAllreduce
: symbol not defined
Cannot export RabitBroadcast
: symbol not defined
Cannot export RabitCheckPoint
: symbol not defined
Cannot export RabitFinalize
: symbol not defined
Cannot export RabitGetProcessorName
: symbol not defined
Cannot export RabitGetRank
: symbol not defined
Cannot export RabitGetRingPrevRank
: symbol not defined
Cannot export RabitGetWorldSize
: symbol not defined
Cannot export RabitInit
: symbol not defined
Cannot export RabitIsDistributed
: symbol not defined
Cannot export RabitLinkTag
: symbol not defined
Cannot export RabitLoadCheckPoint
: symbol not defined
Cannot export RabitTrackerPrint
: symbol not defined
Cannot export RabitVersionNumber
: symbol not defined
Cannot export XGBGetLastError
: symbol not defined
Cannot export XGBRegisterLogCallback
: symbol not defined
Cannot export XGBoostAssert_R
: symbol not defined
Cannot export XGBoostCheck_R
: symbol not defined
Cannot export XGBoostVersion
: symbol not defined
Cannot export XGBoosterBoostOneIter
: symbol not defined
Cannot export XGBoosterBoostOneIter_R
: symbol not defined
Cannot export XGBoosterCreate
: symbol not defined
Cannot export XGBoosterCreate_R
: symbol not defined
Cannot export XGBoosterDumpModel
: symbol not defined
Cannot export XGBoosterDumpModelEx
: symbol not defined

... lots of omitted symbol not defined errors... too long for github comment

Cannot export _ZGVZN7xgboost13TextGenerator9PlainNodeERKNS_7RegTreeEijE13kNodeTemplate
: symbol not defined
Cannot export _ZGVZN7xgboost17GraphvizGenerator8LeafNodeERKNS_7RegTreeEijE13kLeafTemplate
: symbol not defined
Cannot export _ZGVZN7xgboost17GraphvizGenerator9BuildTreeERKNS_7RegTreeEE13kTreeTemplate
: symbol not defined
Cannot export _ZGVZN7xgboost17GraphvizGenerator9BuildTreeERKNS_7RegTreeEijE13kNodeTemplate
: symbol not defined
Cannot export _ZGVZN7xgboost17GraphvizGenerator9PlainNodeERKNS_7RegTreeEijE13kEdgeTemplate
: symbol not defined
Cannot export _ZGVZN7xgboost17GraphvizGenerator9PlainNodeERKNS_7RegTreeEijE13kNodeTemplate
: symbol not defined
Cannot export _ZGVZN7xgboost17GraphvizGeneratorC4ERKNS_10FeatureMapERKSsbE14kGraphTemplate
: symbol not defined
Cannot export _ZGVZNK7xgboost6metric18EvalTweedieNLogLik4NameEvE4name
: symbol not defined
Cannot export _ZGVZNK7xgboost6metric9EvalError4NameEvE4name
: symbol not defined
Cannot export _ZGVZNKSt8__detail11_AnyMatcherISt12regex_traitsIcELb0ELb0ELb0EEclEcE5__nul
: symbol not defined
Cannot export _ZGVZNKSt8__detail11_AnyMatcherISt12regex_traitsIcELb0ELb0ELb1EEclEcE5__nul
: symbol not defined
Cannot export _ZGVZNKSt8__detail11_AnyMatcherISt12regex_traitsIcELb0ELb1ELb0EEclEcE5__nul
: symbol not defined
Cannot export _ZGVZNKSt8__detail11_AnyMatcherISt12regex_traitsIcELb0ELb1ELb1EEclEcE5__nul
: symbol not defined
Cannot export _ZN14__gnu_parallel18multiseq_partitionIN9__gnu_cxx17__normal_iteratorIPSt4pairIPS3_IfjES5_ESt6vectorIS6_SaIS6_EEEExNS2_IPS5_S8_IS5_SaIS5_EEEEPFbRKS4_SH_EEEvT_SK_T0_T1_T2_
: symbol not defined

Cannot export _ZN4dmlc4data11CreateIter_IjxEEPNS_12RowBlockIterIT_T0_EEPKcjjS8_
: symbol not defined
Cannot export _ZN4dmlc4data11CreateIter_IyfEEPNS_12RowBlockIterIT_T0_EEPKcjjS8_
: symbol not defined
Cannot export _ZN4dmlc4data11CreateIter_IyiEEPNS_12RowBlockIterIT_T0_EEPKcjjS8_
: symbol not defined
Cannot export _ZN4dmlc4data11CreateIter_IyxEEPNS_12RowBlockIterIT_T0_EEPKcjjS8_
: symbol not defined
Cannot export _ZN4dmlc4data11LibFMParserIjfE10ParseBlockEPKcS4_PNS0_17RowBlockContainerIjfEE
: symbol not defined
Cannot export _ZN4dmlc4data11LibFMParserIjfEC1EPNS_10InputSplitERKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEEi
: symbol not defined
Cannot export _ZN4dmlc4data11LibFMParserIjfED0Ev
: symbol not defined
Cannot export _ZN4dmlc4data11LibFMParserIjfED1Ev
: symbol not defined

Cannot export _ZTSN4dmlc9parameter10FieldEntryIfEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter10FieldEntryIiEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter10FieldEntryIjEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter10FieldEntryIyEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter14FieldEntryBaseINS0_10FieldEntryISsEESsEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter14FieldEntryBaseINS0_10FieldEntryISt6vectorIiSaIiEEEES5_EE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter14FieldEntryBaseINS0_10FieldEntryIbEEbEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter14FieldEntryBaseINS0_10FieldEntryIdEEdEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter14FieldEntryBaseINS0_10FieldEntryIfEEfEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter14FieldEntryBaseINS0_10FieldEntryIiEEiEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter14FieldEntryBaseINS0_10FieldEntryIjEEjEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter14FieldEntryBaseINS0_10FieldEntryIyEEyEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter16FieldAccessEntryE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter17FieldEntryNumericINS0_10FieldEntryIdEEdEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter17FieldEntryNumericINS0_10FieldEntryIfEEfEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter17FieldEntryNumericINS0_10FieldEntryIiEEiEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter17FieldEntryNumericINS0_10FieldEntryIjEEjEE
: symbol not defined
Cannot export _ZTSN4dmlc9parameter17FieldEntryNumericINS0_10FieldEntryIyEEyEE
: symbol not defined
Cannot export _ZTSN5rabit5c_api11ReadWrapperE
: symbol not defined
Cannot export _ZTSN5rabit5c_api12WriteWrapperE
: symbol not defined
Cannot export _ZTSN5rabit5utils18MemoryBufferStreamE
: symbol not defined
Cannot export _ZTSN5rabit5utils19MemoryFixSizeBufferE
: symbol not defined
Cannot export _ZTSN5rabit6engine11EmptyEngineE
: symbol not defined
Cannot export _ZTSN5rabit6engine7IEngineE
: symbol not defined
...
Cannot export _ZZSt15__unmatched_subIN9__gnu_cxx17__normal_iteratorIPKcSsEEERKSt9sub_matchIT_EvE11__unmatched
: symbol not defined
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'xgboost'
* removing 'C:/Users/jaten/.rpkg/xgboost'

@glycerine
Copy link
Contributor Author

@hcho3 you mentioned above that you had the R package building with GPU support under R-3.x.x with Rtools3.x ... two questions. Do you grasp how the rtools mingw64 compiler is getting nvcc called? Or is it just linking with the previously compiled binary with gpu support xgboost.dll? (ideally). If so, how did you get the R-package not to try and rebuild completely from the amalgamation? Perhaps you could post the log from the successful source build with gpu here and I might be able to glean something that would let me make progress.

@hcho3
Copy link
Collaborator

hcho3 commented Apr 30, 2020

Ideally R should pick up previously compiled binary and not re-build from amalgamation. The R build needs a serious overhaul. I'm looking for other R projects and see they use CMake to build R package.

@jameslamb
Copy link
Contributor

TODO. Revise CMake build to work with R 4.0.0. Write a new doc for building R package on Windows.

@hcho3 I just came to tell you about this and found this issue. We have been dealing with it in LightGBM (microsoft/LightGBM#3064).

It is possible to produce R.def from R.dll using objdump.exe, something that is in all version of Rtools, including 4.0.

That fix is likely the direction we'll go in LightGBM (see the PR: microsoft/LightGBM#3065).

If it interests you, I'd be happy to contribute a similar solution here, or you can just copy what you want from that PR if you'd prefer xgboost maintainers handle it. The core is this R code:

# [description]
#     Create a definition file (.def) from a .dll file, using objdump.
#
# [usage]
#
#     Rscript make-r-def.R something.dll something.def
#
# [references]
#    * https://www.cs.colorado.edu/~main/cs1300/doc/mingwfaq.html

args <- commandArgs(trailingOnly = TRUE)

IN_DLL_FILE <- args[[1L]]
OUT_DEF_FILE <- args[[2L]]
DLL_BASE_NAME <- basename(IN_DLL_FILE)

message(sprintf("Creating '%s' from '%s'", OUT_DEF_FILE, IN_DLL_FILE))

# use objdump to dump all the symbols
OBJDUMP_FILE <- "objdump-out.txt"
exit_code <- system2(
    command = "objdump"
    , args = c(
        "-p"
        , shQuote(IN_DLL_FILE)
    )
    , stdout = OBJDUMP_FILE
)

objdump_results <- readLines(OBJDUMP_FILE)
result <- file.remove(OBJDUMP_FILE)

# Only one table in the objdump results matters for our purposes,
# see https://www.cs.colorado.edu/~main/cs1300/doc/mingwfaq.html
start_index <- which(
    grepl(
        pattern = "[Ordinal/Name Pointer] Table"
        , x = objdump_results
        , fixed = TRUE
    )
)
empty_lines <- which(objdump_results == "")
end_of_table <- empty_lines[empty_lines > start_index][1L]

# Read the contents of the table
exported_symbols <- objdump_results[(start_index + 1L):end_of_table]
exported_symbols <- gsub("\t", "", exported_symbols)
exported_symbols <- gsub(".*\\] ", "", exported_symbols)
exported_symbols <- gsub(" ", "", exported_symbols)

# Write R.def file
writeLines(
    text = c(
        paste0("LIBRARY \"", DLL_BASE_NAME, "\"")
        , "EXPORTS"
        , exported_symbols
    )
    , con = OUT_DEF_FILE
    , sep = "\n"
)
message(sprintf("Successfully created '%s'", OUT_DEF_FILE))

@hcho3
Copy link
Collaborator

hcho3 commented May 21, 2020

@jameslamb Thanks a lot for the pointer! My hands are full this week, would you like to give a shot at a pull request?

@jameslamb
Copy link
Contributor

@hcho3 sure, I can do that! Happy to help

@jameslamb
Copy link
Contributor

Sorry it took so long to get to this! I've just proposed a fix that I think will get Visual Studio builds of the R package working with R 4.0 and Rtools 4.0 (#5764)

I tested locally on a Windows 10 laptop with Visual Studio 16 2019, and found that the approach there worked with both (Rtools 4.0, R 4.0.0) and (Rtools 3.5, R 3.6.1).

@hcho3
Copy link
Collaborator

hcho3 commented Jun 14, 2020

@glycerine With #5764, I was able to install XGBoost with R 4.0.0, using the flag -DUSE_CUDA=ON. This is thanks to the work of @jameslamb.

hcho3 added a commit that referenced this issue Jun 15, 2020
#5764)

* [R-package] Remove dependency on gendef for Visual Studio builds (fixes #5608)

* clarify docs

* removed debugging print statement

* Make R CMake install more robust

* Fix doc format; add ToC

* Update build.rst

* Fix AppVeyor

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
@glycerine
Copy link
Contributor Author

Thank you guys!

nyoko added a commit to nyoko/xgboost that referenced this issue Aug 12, 2020
* [dask] Accept other inputs for prediction. (dmlc#5428)


* Returns a series when input is dataframe.

* Merge assert client.

* [R-package] changed FindLibR to take advantage of CMake cache (dmlc#5427)

* Support pandas SparseArray. (dmlc#5431)

* [R-package] fixed uses of class() (dmlc#5426)

Thank you a lot. Good catch!

* [dask] Fix missing value for scikit-learn interface. (dmlc#5435)

* Ranking metric acceleration on the gpu (dmlc#5398)

* Add link to GPU documentation (dmlc#5437)

* Add Accelerated Failure Time loss for survival analysis task (dmlc#4763)

* [WIP] Add lower and upper bounds on the label for survival analysis

* Update test MetaInfo.SaveLoadBinary to account for extra two fields

* Don't clear qids_ for version 2 of MetaInfo

* Add SetInfo() and GetInfo() method for lower and upper bounds

* changes to aft

* Add parameter class for AFT; use enum's to represent distribution and event type

* Add AFT metric

* changes to neg grad to grad

* changes to binomial loss

* changes to overflow

* changes to eps

* changes to code refactoring

* changes to code refactoring

* changes to code refactoring

* Re-factor survival analysis

* Remove aft namespace

* Move function bodies out of AFTNormal and AFTLogistic, to reduce clutter

* Move function bodies out of AFTLoss, to reduce clutter

* Use smart pointer to store AFTDistribution and AFTLoss

* Rename AFTNoiseDistribution enum to AFTDistributionType for clarity

The enum class was not a distribution itself but a distribution type

* Add AFTDistribution::Create() method for convenience

* changes to extreme distribution

* changes to extreme distribution

* changes to extreme

* changes to extreme distribution

* changes to left censored

* deleted cout

* changes to x,mu and sd and code refactoring

* changes to print

* changes to hessian formula in censored and uncensored

* changes to variable names and pow

* changes to Logistic Pdf

* changes to parameter

* Expose lower and upper bound labels to R package

* Use example weights; normalize log likelihood metric

* changes to CHECK

* changes to logistic hessian to standard formula

* changes to logistic formula

* Comply with coding style guideline

* Revert back Rabit submodule

* Revert dmlc-core submodule

* Comply with coding style guideline (clang-tidy)

* Fix an error in AFTLoss::Gradient()

* Add missing files to amalgamation

* Address @RAMitchell's comment: minimize future change in MetaInfo interface

* Fix lint

* Fix compilation error on 32-bit target, when size_t == bst_uint

* Allocate sufficient memory to hold extra label info

* Use OpenMP to speed up

* Fix compilation on Windows

* Address reviewer's feedback

* Add unit tests for probability distributions

* Make Metric subclass of Configurable

* Address reviewer's feedback: Configure() AFT metric

* Add a dummy test for AFT metric configuration

* Complete AFT configuration test; remove debugging print

* Rename AFT parameters

* Clarify test comment

* Add a dummy test for AFT loss for uncensored case

* Fix a bug in AFT loss for uncensored labels

* Complete unit test for AFT loss metric

* Simplify unit tests for AFT metric

* Add unit test to verify aggregate output from AFT metric

* Use EXPECT_* instead of ASSERT_*, so that we run all unit tests

* Use aft_loss_param when serializing AFTObj

This is to be consistent with AFT metric

* Add unit tests for AFT Objective

* Fix OpenMP bug; clarify semantics for shared variables used in OpenMP loops

* Add comments

* Remove AFT prefix from probability distribution; put probability distribution in separate source file

* Add comments

* Define kPI and kEulerMascheroni in probability_distribution.h

* Add probability_distribution.cc to amalgamation

* Remove unnecessary diff

* Address reviewer's feedback: define variables where they're used

* Eliminate all INFs and NANs from AFT loss and gradient

* Add demo

* Add tutorial

* Fix lint

* Use 'survival:aft' to be consistent with 'survival:cox'

* Move sample data to demo/data

* Add visual demo with 1D toy data

* Add Python tests

Co-authored-by: Philip Cho <chohyu01@cs.washington.edu>

* Force compressed buffer to be 4 bytes aligned. (dmlc#5441)

* Refactor tests with data generator. (dmlc#5439)

* Resolve travis failure. (dmlc#5445)

* Install dependencies by pip.

* Device dmatrix (dmlc#5420)

* Reducing memory consumption for 'hist' method on CPU (dmlc#5334)

* [R-package] fixed inconsistency in R -e calls in FindLibR.cmake (dmlc#5438)

* Thread safe, inplace prediction. (dmlc#5389)

Normal prediction with DMatrix is now thread safe with locks.  Added inplace prediction is lock free thread safe.

When data is on device (cupy, cudf), the returned data is also on device.

* Implementation for numpy, csr, cudf and cupy.

* Implementation for dask.

* Remove sync in simple dmatrix.

* Add support for dlpack, expose python docs for DeviceQuantileDMatrix (dmlc#5465)

* Reduce span check overhead. (dmlc#5464)

* Update dmlc-core. (dmlc#5466)

* Copy dmlc travis script to XGBoost.

* Prevent copying SimpleDMatrix. (dmlc#5453)

* Set default dtor for SimpleDMatrix to initialize default copy ctor, which is
deleted due to unique ptr.

* Remove commented code.
* Remove warning for calling host function (std::max).
* Remove warning for initialization order.
* Remove warning for unused variables.

* Remove silent parameter. (dmlc#5476)

* Enable parameter validation for skl. (dmlc#5477)

* Split up test helpers header. (dmlc#5455)

* Implement host span. (dmlc#5459)

* Accept other gradient types for split entry. (dmlc#5467)

* Implement robust regularization in 'survival:aft' objective (dmlc#5473)

* Robust regularization of AFT gradient and hessian

* Fix AFT doc; expose it to tutorial TOC

* Apply robust regularization to uncensored case too

* Revise unit test slightly

* Fix lint

* Update test_survival.py

* Use GradientPairPrecise

* Remove unused variables

* Fix dump model. (dmlc#5485)

* Small updates to GPU documentation (dmlc#5483)

* Add R code to AFT tutorial [skip ci] (dmlc#5486)

* Upgrade clang-tidy on CI. (dmlc#5469)

* Correct all clang-tidy errors.
* Upgrade clang-tidy to 10 on CI.

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* corrected spelling of 'list' (dmlc#5482)

* Edits on tutorial for XGBoost job on Kubernetes (dmlc#5487)

* add reference to gpu external memory (dmlc#5490)

* Fix out-of-bound array access in WQSummary::SetPrune() (dmlc#5493)

* [jvm-packages]add feature size for LabelPoint and DataBatch (dmlc#5303)

* fix type error

* Validate number of features.

* resolve comments

* add feature size for LabelPoint and DataBatch

* pass the feature size to native

* move feature size validating tests into a separate suite

* resolve comments

Co-authored-by: fis <jm.yuan@outlook.com>

* Use ellpack for prediction only when sparsepage doesn't exist. (dmlc#5504)

* Fix checking booster. (dmlc#5505)

* Use `get_params()` instead of `getattr` intrinsic.

* Requires setting leaf stat when expanding tree. (dmlc#5501)

* Fix GPU Hist feature importance.

* Remove distcol updater. (dmlc#5507)

Closes dmlc#5498.

* Unify max nodes. (dmlc#5497)

* Fix github merge. (dmlc#5509)

* Update doc for parameter validation. (dmlc#5508)

* Update doc for parameter validation.

* Fix github rebase.

* Serialise booster after training to reset state (dmlc#5484)

* Serialise booster after training to reset state

* Prevent process_type being set on load

* Check for correct updater sequence

* Remove makefiles. (dmlc#5513)

* [R] R raw serialization. (dmlc#5123)

* Add bindings for serialization.
* Change `xgb.save.raw' into full serialization instead of simple model.
* Add `xgb.load.raw' for unserialization.
* Run devtools.

* [CI] Use devtoolset-6 because devtoolset-4 is EOL and no longer available (dmlc#5506)

* Use devtoolset-6.

* [CI] Use devtoolset-6 because devtoolset-4 is EOL and no longer available

* CUDA 9.0 doesn't work with devtoolset-6; use devtoolset-4 for GPU build only

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* fix typo "customized" (dmlc#5515)

* Ensure that configured dmlc/build_config.h is picked up by Rabit and XGBoost (dmlc#5514)

* Ensure that configured header (build_config.h) from dmlc-core is picked up by Rabit and XGBoost

* Check which Rabit target is being used

* Use CMake 3.13 in all Jenkins tests

* Upgrade CMake in Travis CI

* Install CMake using Kitware installer

* Remove existing CMake (3.12.4)

* Update Python doc. [skip ci] (dmlc#5517)

* Update doc for copying booster. [skip ci]

The issue is resolved in  dmlc#5312 .

* Add version for new APIs. [skip ci]

* Add Neptune and Optuna to list of examples (dmlc#5528)

* [jvm-packages] [CI] Create a Maven repository to host SNAPSHOT JARs (dmlc#5533)

* Write binary header. (dmlc#5532)

* Purge device_helpers.cuh (dmlc#5534)

* Simplifications with caching_device_vector

* Purge device helpers

* [dask] dask cudf inplace prediction. (dmlc#5512)

* Add inplace prediction for dask-cudf.

* Remove Dockerfile.release, since it's not used anywhere

* Use Conda exclusively in CUDF and GPU containers

* Improve cupy memory copying.

* Add skip marks to tests.

* Add mgpu-cudf category on the CI to run all distributed tests.

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* [CI] Use Ubuntu 18.04 LTS in JVM CI, because 19.04 is EOL (dmlc#5537)

* [jvm-packages] [CI] Publish XGBoost4J JARs with Scala 2.11 and 2.12 (dmlc#5539)

* Fix CLI model IO. (dmlc#5535)


* Add test for comparing Python and CLI training result.

* Fix uninitialized value bug in xgboost callback (dmlc#5463)


Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Use thrust functions instead of custom functions (dmlc#5544)

* Optimizations for RNG in InitData kernel (dmlc#5522)

* optimizations for subsampling in InitData

* optimizations for subsampling in InitData

Co-authored-by: SHVETS, KIRILL <kirill.shvets@intel.com>

* Add missing aft parameters. [skip ci] (dmlc#5553)

* Don't use uint for threads. (dmlc#5542)

* Fix skl nan tag. (dmlc#5538)

* Assert matching length of evaluation inputs. (dmlc#5540)

* Fix r interaction constraints (dmlc#5543)

* Unify the parsing code.

* Cleanup.

* Fix slice and get info. (dmlc#5552)

* gpu_hist performance fixes (dmlc#5558)

* Remove unnecessary cuda API calls

* Fix histogram memory growth

* Use non-synchronising scan (dmlc#5560)

* Fix non-openmp build. (dmlc#5566)


* Add test to Jenkins.
* Fix threading utils tests.
* Require thread library.

* Don't set seed on CLI interface. (dmlc#5563)

* [jvm-packages] XGBoost Spark should deal with NaN when parsing evaluation output (dmlc#5546)

* Group aware GPU sketching. (dmlc#5551)

* Group aware GPU weighted sketching.

* Distribute group weights to each data point.
* Relax the test.
* Validate input meta info.
* Fix metainfo copy ctor.

* Fix configuration I load model. (dmlc#5562)

* [Breaking] Set output margin to True for custom objective. (dmlc#5564)

* Set output margin to True for custom objective in Python and R.

* Add a demo for writing multi-class custom objective function.

* Run tests on selected demos.

* For histograms, opting into maximum shared memory available per block. (dmlc#5491)

* Use cudaDeviceGetAttribute instead of cudaGetDeviceProperties (dmlc#5570)

* Restore attributes in complete. (dmlc#5573)

* Enable parameter validation for R. (dmlc#5569)

* Enable parameter validation for R.

* Add test.

* Update document. (dmlc#5572)

* Port R compatibility patches from 1.0.0 release branch (dmlc#5577)

* Don't use memset to set struct when compiling for R

* Support 32-bit Solaris target for R package

* [CI] Use Vault repository to re-gain access to devtoolset-4 (dmlc#5589)

* [CI] Use Vault repository to re-gain access to devtoolset-4

* Use manylinux2010 tag

* Update Dockerfile.jvm

* Fix rename_whl.py

* Upgrade Pip, to handle manylinux2010 tag

* Update insert_vcomp140.py

* Update test_python.sh

* Avoid rabit calls in learner configuration (dmlc#5581)

* Hide C++ symbols in libxgboost.so when building Python wheel (dmlc#5590)

* Hide C++ symbols in libxgboost.so when building Python wheel

* Update Jenkinsfile

* Add test

* Upgrade rabit

* Add setup.py option.

Co-authored-by: fis <jm.yuan@outlook.com>

* Set device in device dmatrix. (dmlc#5596)

* Fix compilation on Mac OSX High Sierra (10.13) (dmlc#5597)

* Fix compilation on Mac OSX High Sierra

* [CI] Build Mac OSX binary wheel using Travis CI

* [CI] Grant public read access to Mac OSX wheels (dmlc#5602)

* [R] Address warnings to comply with CRAN submission policy (dmlc#5600)

* [R] Address warnings to comply with CRAN submission policy

* Include <xgboost/logging.h>

* Instruct Mac users to install libomp (dmlc#5606)

* Clarify meaning of `training` parameter in XGBoosterPredict() (dmlc#5604)

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>

* Better message when no GPU is found. (dmlc#5594)

* Refactor the CLI. (dmlc#5574)


* Enable parameter validation.
* Enable JSON.
* Catch `dmlc::Error`.
* Show help message.

* Move dask tutorial closer other distributed tutorials (dmlc#5613)

* Refactor gpu_hist split evaluation (dmlc#5610)

* Refactor

* Rewrite evaluate splits

* Add more tests

* Fix build on big endian CPUs (dmlc#5617)

* Fix build on big endian CPUs

* Clang-tidy

* Remove dead code. (dmlc#5635)

* Move device dmatrix construction code into ellpack. (dmlc#5623)

* Enhance nvtx support. (dmlc#5636)

* Support 64bit seed. (dmlc#5643)

* Resolve vector<bool>::iterator crash (dmlc#5642)

* Reduce device synchronisation (dmlc#5631)

* Reduce device synchronisation

* Initialise pinned memory

* Upgrade to CUDA 10.0 (dmlc#5649) (dmlc#5652)

Co-authored-by: fis <jm.yuan@outlook.com>

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* skip missing lookup if nothing is missing in CPU hist partition kernel. (dmlc#5644)

* [xgboost] skip missing lookup if nothing is missing

* Update Python demos with tests. (dmlc#5651)

* Remove GPU memory usage demo.
* Add tests for demos.
* Remove `silent`.
* Remove shebang as it's not portable.

* Add JSON schema to model dump. (dmlc#5660)

* Pseudo-huber loss metric added (dmlc#5647)


- Add pseudo huber loss objective.
- Add pseudo huber loss metric.

Co-authored-by: Reetz <s02reetz@iavgroup.local>

* [JVM Packages] Catch dmlc error by ref. (dmlc#5678)

* Remove silent from R demos. (dmlc#5675)

* Remove silent from R demos.

* Vignettes.

* add pointers to the gpu external memory paper (dmlc#5684)

* Distributed optimizations for 'hist' method with CPUs (dmlc#5557)


Co-authored-by: SHVETS, KIRILL <kirill.shvets@intel.com>

* Document more objective parameters in R package (dmlc#5682)

* C++14 for xgboost (dmlc#5664)

* Implement Python data handler. (dmlc#5689)


* Define data handlers for DMatrix.
* Throw ValueError in scikit learn interface.

* [R-package] Reduce duplication in configure.ac (dmlc#5693)


* updated configure

* Remove redundant sketching. (dmlc#5700)

* [R] Fix duplicated libomp.dylib error on Mac OSX (dmlc#5701)

* Fix IsDense. (dmlc#5702)

* Let XGBoostError inherit ValueError. (dmlc#5696)

* Define _CRT_SECURE_NO_WARNINGS to remove unneeded warnings in MSVC (dmlc#5434)

* Changed build.rst (binary wheels are supported for macOS also) (dmlc#5711)

* [CI] Remove CUDA 9.0 from Windows CI. (dmlc#5674)

* Remove CUDA 9.0 on Windows CI.

* Require cuda10 tag, to differentiate

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Require CUDA 10.0+ in CMake build (dmlc#5718)

* Require Python 3.6+; drop Python 3.5 from CI (dmlc#5715)

* [dask] Return GPU Series when input is from cuDF. (dmlc#5710)


* Refactor predict function.

* [Doc] Fix typos in AFT tutorial (dmlc#5716)

* gpu_hist performance tweaks (dmlc#5707)

* Remove device vectors

* Remove allreduce synchronize

* Remove double buffer

* Allow pass fmap to importance plot (dmlc#5719)

Co-authored-by: Peter Jung <peter.jung@heureka.cz>
Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* Fix release degradation (dmlc#5720)

* fix release degradation, related to 5666

* less resizes

Co-authored-by: SHVETS, KIRILL <kirill.shvets@intel.com>

* Fix loading old model. (dmlc#5724)


* Add test.

* Bump version to 1.2.0 snapshot in master (dmlc#5733)

* Add swift package reference (dmlc#5728)

Co-authored-by: Peter Jung <peter.jung@heureka.cz>

* Don't use mask in array interface. (dmlc#5730)

* Bump version in header. (dmlc#5742)

* [CI] Remove CUDA 9.0 from CI (dmlc#5745)

* Add pkgconfig to cmake (dmlc#5744)

* Add pkgconfig to cmake

* Move xgboost.pc.in to cmake/

Co-authored-by: Peter Jung <peter.jung@heureka.cz>
Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* Expose device sketching in header. (dmlc#5747)

* Add Python binding for rabit ops. (dmlc#5743)

* Add float32 histogram (dmlc#5624)

* new single_precision_histogram param was added.

Co-authored-by: SHVETS, KIRILL <kirill.shvets@intel.com>
Co-authored-by: fis <jm.yuan@outlook.com>

* Reorder includes. (dmlc#5749)

* Reorder includes.

* R.

* Remove `max.depth` in R gblinear example. (dmlc#5753)

* Speed up python test (dmlc#5752)

* Speed up tests

* Prevent DeviceQuantileDMatrix initialisation with numpy

* Use joblib.memory

* Use RandomState

* Add helper for generating batches of data. (dmlc#5756)

* Add helper for generating batches of data.

* VC keyword clash.

* Another clash.

* Remove column major specialization. (dmlc#5755)


Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* Document addition of new committer @SmirnovEgorRu (dmlc#5762)

* Add release note for 1.1.0 in NEWS.md (dmlc#5763)

* Add release note for 1.1.0 in NEWS.md

* Address reviewer's feedback

* Revert "Reorder includes. (dmlc#5749)" (dmlc#5771)

This reverts commit d3a0efb.

* [python-package] remove unused imports (dmlc#5776)

* Added conda environment file for building docs (dmlc#5773)

* [R] replace uses of T and F with TRUE and FALSE (dmlc#5778)

* [R-package] replace uses of T and F with TRUE and FALSE

* enable linting

* Remove skip

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Implement weighted sketching for adapter. (dmlc#5760)


* Bounded memory tests.
* Fixed memory estimation.

* Avoid including `c_api.h` in header files. (dmlc#5782)

* Implement `Empty` method for host device vector. (dmlc#5781)

* Fix accessing nullptr.

* Bump com.esotericsoftware to 4.0.2 (dmlc#5690)

Co-authored-by: Antti Saukko <antti.saukko@verizonmedia.com>

* [DOC] Mention dask blog post in doc. [skip ci] (dmlc#5789)

* [R] Remove dependency on gendef for Visual Studio builds (fixes dmlc#5608) (dmlc#5764)

* [R-package] Remove dependency on gendef for Visual Studio builds (fixes dmlc#5608)

* clarify docs

* removed debugging print statement

* Make R CMake install more robust

* Fix doc format; add ToC

* Update build.rst

* Fix AppVeyor

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* Add new skl model attribute for number of features (dmlc#5780)

* Fix exception causes all over the codebase (dmlc#5787)

* Use hypothesis (dmlc#5759)

* Use hypothesis

* Allow int64 array interface for groups

* Add packages to Windows CI

* Add to travis

* Make sure device index is set correctly

* Fix dask-cudf test

* appveyor

* Accept string for ArrayInterface constructor.

* Revert "Accept string for ArrayInterface constructor."

This reverts commit e8ecafb.

* Implement fast number serialization routines. (dmlc#5772)

* Implement ryu algorithm.
* Implement integer printing.
* Full coverage roundtrip test.

* Add cupy to Windows CI (dmlc#5797)

* Add cupy to Windows CI

* Update Jenkinsfile-win64

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Update Jenkinsfile-win64

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Update tests/python-gpu/test_gpu_prediction.py

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Add an option to run brute-force test for JSON round-trip (dmlc#5804)

* Add an option to run brute-force test for JSON round-trip

* Apply reviewer's feedback

* Remove unneeded objects

* Parallel run.

* Max.

* Use signed 64-bit loop var, to support MSVC

* Add exhaustive test to CI

* Run JSON test in Win build worker

* Revert "Run JSON test in Win build worker"

This reverts commit c97b2c7.

* Revert "Add exhaustive test to CI"

This reverts commit c149c2c.

Co-authored-by: fis <jm.yuan@outlook.com>

* [CI] Fix cuDF install; merge 'gpu' and 'cudf' test suite (dmlc#5814)

* Implement extend method for meta info. (dmlc#5800)

* Implement extend for host device vector.

* Update rabit. (dmlc#5680)

* Update document for model dump. (dmlc#5818)

* Clarify the relationship between dump and save.
* Mention the schema.

* [Doc] Fix rendering of Markdown docs, e.g. R doc (dmlc#5821)

* Remove unweighted GK quantile. (dmlc#5816)

* Rename Ant Financial to Ant Group (dmlc#5827)

* Accept string for ArrayInterface constructor. (dmlc#5799)

* Implement a DMatrix Proxy. (dmlc#5803)

* Relax test for shotgun. (dmlc#5835)

* Relax linear test. (dmlc#5849)

* Increased error in coordinate is mostly due to floating point error.
* Shotgun uses Hogwild!, which is non-deterministic and can have even greater
floating point error.

* Implement iterative DMatrix. (dmlc#5837)

* Ensure that LoadSequentialFile() actually read the whole file (dmlc#5831)

* Add c-api-demo to .gitignore (dmlc#5855)

* Use dmlc stream when URI protocol is not local file. (dmlc#5857)

* Move feature names and types of DMatrix from Python to C++. (dmlc#5858)


* Add thread local return entry for DMatrix.
* Save feature name and feature type in binary file.

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Split Features into Groups to Compute Histograms in Shared Memory (dmlc#5795)

* Implement GK sketching on GPU. (dmlc#5846)

* Implement GK sketching on GPU.
* Strong tests on quantile building.
* Handle sparse dataset by binary searching the column index.
* Hypothesis test on dask.

* Accept iterator in device dmatrix. (dmlc#5783)


* Remove Device DMatrix.

* Remove print. (dmlc#5867)

* fix device sketch with weights in external memory mode (dmlc#5870)

* [Doc] Document that CUDA 10.0 is required [skip ci] (dmlc#5872)

* [CI] Simplify CMake build with modern CMake techniques (dmlc#5871)

* [CI] Simplify CMake build

* Make sure that plugins can be built

* [CI] Install lz4 on Mac

* Add new parameter singlePrecisionHistogram to xgboost4j-spark (dmlc#5811)

Expose the existing 'singlePrecisionHistogram' param to the Spark layer.

* Upgrade Rabit (dmlc#5876)

* [jvm-packages] update spark dependency to 3.0.0 (dmlc#5836)

* Cleanup on device sketch. (dmlc#5874)

* Remove old functions.

* Merge weighted and un-weighted into a common interface.

* [CI] Enforce daily budget in Jenkins CI (dmlc#5884)

* [CI] Throttle Jenkins CI

* Don't use Jenkins master instance

* Add XGBoosterGetNumFeature (dmlc#5856)

- add GetNumFeature to Learner
- add XGBoosterGetNumFeature to C API
- update c-api-demo accordingly

* Fix NDK Build. (dmlc#5886)

* Explicit cast for slice.

* [CI] Reduce load on Windows CI pipeline (dmlc#5892)

* Fix R package build with CMake 3.13 (dmlc#5895)

* Fix R package build with CMake 3.13

* Require OpenMP for xgboost-r target

* Simplify the data backends. (dmlc#5893)

* [CI] update spark version to 3.0.0 (dmlc#5890)

* [CI] update spark version to 3.0.0

* Update Dockerfile.jvm_cross

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Fix sketch size calculation. (dmlc#5898)

* Dask device dmatrix (dmlc#5901)


* Fix softprob with empty dmatrix.

* GPU implementation of AFT survival objective and metric (dmlc#5714)

* Add interval accuracy

* De-virtualize AFT functions

* Lint

* Refactor AFT metric using GPU-CPU reducer

* Fix R build

* Fix build on Windows

* Fix copyright header

* Clang-tidy

* Fix crashing demo

* Fix typos in comment; explain GPU ID

* Remove unnecessary #include

* Add C++ test for interval accuracy

* Fix a bug in accuracy metric: use log pred

* Refactor AFT objective using GPU-CPU Transform

* Lint

* Fix lint

* Use Ninja to speed up build

* Use time, not /usr/bin/time

* Add cpu_build worker class, with concurrency = 1

* Use concurrency = 1 only for CUDA build

* concurrency = 1 for clang-tidy

* Address reviewer's feedback

* Update link to AFT paper

* Fix Windows 2016 build. (dmlc#5902)

* Further improvements and savings in Jenkins pipeline (dmlc#5904)

* Publish artifacts only on the master and release branches

* Build CUDA only for Compute Capability 7.5 when building PRs

* Run all Windows jobs in a single worker image

* Build nightly XGBoost4J SNAPSHOT JARs with Scala 2.12 only

* Show skipped Python tests on Windows

* Make Graphviz optional for Python tests

* Add back C++ tests

* Unstash xgboost_cpp_tests

* Fix label to CUDA 10.1

* Install cuPy for CUDA 10.1

* Install jsonschema

* Address reviewer's feedback

* Support building XGBoost with CUDA 11 (dmlc#5808)

* Change serialization test.
* Add CUDA 11 tests on Linux CI.

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

* Add Github Action for R. (dmlc#5911)

* Fix lintr errors.

* Fix typo in CI. [skip ci] (dmlc#5919)

* [Doc] Document new objectives and metrics available on GPUs (dmlc#5909)

* Fix mingw build with R. (dmlc#5918)

* Add option to enable all compiler warnings in GCC/Clang (dmlc#5897)

* Add option to enable all compiler warnings in GCC/Clang

* Fix -Wall for CUDA sources

* Make -Wall private req for xgboost-r

* Setup github action. (dmlc#5917)

* Remove R and JVM from appveyor. (dmlc#5922)

* Fix r early stop with custom objective. (dmlc#5923)

* Specify `ntreelimit`.

* Add explicit template specialization for portability (dmlc#5921)

* Add explicit template specializations

* Adding Specialization for FileAdapterBatch

* Cache dependencies on Github Action. (dmlc#5928)

* Use `cudaOccupancyMaxPotentialBlockSize` to calculate the block size. (dmlc#5926)

* [BLOCKING] Handle empty rows in data iterators correctly (dmlc#5929)

* [jvm-packages] Handle empty rows in data iterators correctly

* Fix clang-tidy error

* last empty row

* Add comments [skip ci]

Co-authored-by: Nan Zhu <nanzhu@uber.com>

* [CI] Make Python model compatibility test runnable locally (dmlc#5941)

* [BLOCKING] Remove to_string. (dmlc#5934)

* [R] Add a compatibility layer to load Booster object from an old RDS file (dmlc#5940)

* [R] Add a compatibility layer to load Booster from an old RDS
* Modify QuantileHistMaker::LoadConfig() to be backward compatible with 1.1.x
* Add a big warning about compatibility in QuantileHistMaker::LoadConfig()
* Add testing suite
* Discourage use of saveRDS() in CRAN doc

* [R] Enable weighted learning to rank (dmlc#5945)

* [R] enable weighted learning to rank

* Add R unit test for ranking

* Fix lint

* [BLOCKING] [jvm-packages] add gpu_hist and enable gpu scheduling (dmlc#5171)

* [jvm-packages] add gpu_hist tree method

* change updater hist to grow_quantile_histmaker

* add gpu scheduling

* pass correct parameters to xgboost library

* remove debug info

* add use.cuda for pom

* add CI for gpu_hist for jvm

* add gpu unit tests

* use gpu node to build jvm

* use nvidia-docker

* Add CLI interface to create_jni.py using argparse

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* [CI] Improve R linter script (dmlc#5944)

* [CI] Move lint to a separate script

* [CI] Improved lintr launcher

* Add lintr as a separate action

* Add custom parsing logic to print out logs

* Fix lintr issues in demos

* Run R demos

* Fix CRAN checks

* Install XGBoost into R env before running lintr

* Install devtools (needed to run demos)

* Fix prediction heuristic (dmlc#5955)


* Relax check for prediction.
* Relax test in spark test.
* Add tests in C++.

* [Breaking] Fix custom metric for multi output. (dmlc#5954)


* Set output margin to true for custom metric.  This fixes only R and Python.

* Disable feature validation on sklearn predict prob. (dmlc#5953)


* Fix issue when scikit learn interface receives transformed inputs.

* [CI] Fix broken Docker container 'cpu' (dmlc#5956)

* Fix evaluate root split. (dmlc#5948)

* [Dask] Asyncio support. (dmlc#5862)

* Thread-safe prediction by making the prediction cache thread-local. (dmlc#5853)

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>

* Force colored output for ninja build. (dmlc#5959)

* Update XGBoost + Dask overview documentation (dmlc#5961)

* Add imports to code snippet

* Better writing.

* Add CMake flag to log C API invocations, to aid debugging (dmlc#5925)

* Add CMake flag to log C API invocations, to aid debugging

* Remove unnecessary parentheses

* [CI] Assign larger /dev/shm to NCCL (dmlc#5966)

* [CI] Assign larger /dev/shm to NCCL

* Use 10.2 artifact to run multi-GPU Python tests

* Add CUDA 10.0 -> 11.0 cross-version test; remove CUDA 10.0 target

* Add missing Pytest marks to AsyncIO unit test (dmlc#5968)

* [R] Provide better guidance for persisting XGBoost model (dmlc#5964)

* [R] Provide better guidance for persisting XGBoost model

* Update saving_model.rst

* Add a paragraph about xgb.serialize()

* [jvm-packages] Fix wrong method name `setAllowZeroForMissingValue`. (dmlc#5740)

* Allow non-zero for missing value when training.

* Fix wrong method names.

* Add a unit test

* Move the getter/setter unit test to MissingValueHandlingSuite

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* Export DaskDeviceQuantileDMatrix in doc. [skip ci] (dmlc#5975)

* Fix sklearn doc. (dmlc#5980)

* Update Python custom objective demo. (dmlc#5981)

* Update JSON schema. (dmlc#5982)


* Update JSON schema for pseudo huber.
* Update JSON model schema.

* Fix missing data warning. (dmlc#5969)

* Fix data warning.

* Add numpy/scipy test.

* Enforce tree order in JSON. (dmlc#5974)


* Make JSON model IO more future proof by using tree id in model loading.

* Fix dask predict shape infer. (dmlc#5989)

* [R] fix uses of 1:length(x) and other small things (dmlc#5992)

* Fix typo in tracker logging (dmlc#5994)

* Introducing DPC++-based plugin (predictor, objective function) supporting oneAPI programming model (dmlc#5825)

* Added plugin with DPC++-based predictor and objective function

* Update CMakeLists.txt

* Update regression_obj_oneapi.cc

* Added README.md for OneAPI plugin

* Added OneAPI predictor support to gbtree

* Update README.md

* Merged kernels in gradient computation. Enabled multiple loss functions with DPC++ backend

* Aligned plugin CMake files with latest master changes. Fixed whitespace typos

* Removed debug output

* [CI] Make oneapi_plugin a CMake target

* Added tests for OneAPI plugin for predictor and obj. functions

* Temporarily switched to default selector for device dispacthing in OneAPI plugin to enable execution in environments without gpus

* Updated readme file.

* Fixed USM usage in predictor

* Removed workaround with explicit templated names for DPC++ kernels

* Fixed warnings in plugin tests

* Fix CMake build of gtest

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>

* Remove skmaker. (dmlc#5971)

* Rabit update. (dmlc#5978)

* Remove parameter on JVM Packages.

* Move warning about empty dataset. (dmlc#5998)

* [Breaking] Fix .predict() method and add .predict_proba() in xgboost.dask.DaskXGBClassifier (dmlc#5986)

* Unify CPU hist sketching (dmlc#5880)

* Fix nightly build doc. [skip ci] (dmlc#6004)

* Fix nightly build doc. [skip ci]

* Fix title too short. [skip ci]

* RMM integration plugin (dmlc#5873)

* [CI] Add RMM as an optional dependency

* Replace caching allocator with pool allocator from RMM

* Revert "Replace caching allocator with pool allocator from RMM"

This reverts commit e15845d.

* Use rmm::mr::get_default_resource()

* Try setting default resource (doesn't work yet)

* Allocate pool_mr in the heap

* Prevent leaking pool_mr handle

* Separate EXPECT_DEATH() in separate test suite suffixed DeathTest

* Turn off death tests for RMM

* Address reviewer's feedback

* Prevent leaking of cuda_mr

* Fix Jenkinsfile syntax

* Remove unnecessary function in Jenkinsfile

* [CI] Install NCCL into RMM container

* Run Python tests

* Try building with RMM, CUDA 10.0

* Do not use RMM for CUDA 10.0 target

* Actually test for test_rmm flag

* Fix TestPythonGPU

* Use CNMeM allocator, since pool allocator doesn't yet support multiGPU

* Use 10.0 container to build RMM-enabled XGBoost

* Revert "Use 10.0 container to build RMM-enabled XGBoost"

This reverts commit 789021f.

* Fix Jenkinsfile

* [CI] Assign larger /dev/shm to NCCL

* Use 10.2 artifact to run multi-GPU Python tests

* Add CUDA 10.0 -> 11.0 cross-version test; remove CUDA 10.0 target

* Rename Conda env rmm_test -> gpu_test

* Use env var to opt into CNMeM pool for C++ tests

* Use identical CUDA version for RMM builds and tests

* Use Pytest fixtures to enable RMM pool in Python tests

* Move RMM to plugin/CMakeLists.txt; use PLUGIN_RMM

* Use per-device MR; use command arg in gtest

* Set CMake prefix path to use Conda env

* Use 0.15 nightly version of RMM

* Remove unnecessary header

* Fix a unit test when cudf is missing

* Add RMM demos

* Remove print()

* Use HostDeviceVector in GPU predictor

* Simplify pytest setup; use LocalCUDACluster fixture

* Address reviewers' commments

Co-authored-by: Hyunsu Cho <chohyu01@cs.wasshington.edu>

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: sriramch <33358417+sriramch@users.noreply.github.com>
Co-authored-by: Rory Mitchell <r.a.mitchell.nz@gmail.com>
Co-authored-by: Avinash Barnwal <avinashbarnwal123@gmail.com>
Co-authored-by: Philip Cho <chohyu01@cs.washington.edu>
Co-authored-by: ShvetsKS <33296480+ShvetsKS@users.noreply.github.com>
Co-authored-by: Paul Kaefer <2408155+paulkaefer@users.noreply.github.com>
Co-authored-by: Yuan Tang <terrytangyuan@gmail.com>
Co-authored-by: Rong Ou <rong.ou@gmail.com>
Co-authored-by: Zhang Zhang <zhang.zhang@intel.com>
Co-authored-by: Bobby Wang <wbo4958@gmail.com>
Co-authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Co-authored-by: Nicolas Scozzaro <nscozzaro@gmail.com>
Co-authored-by: Kamil A. Kaczmarek <kamil.kaczmarek@neptune.ai>
Co-authored-by: Melissa Kohl <mjkohl32@gmail.com>
Co-authored-by: SHVETS, KIRILL <kirill.shvets@intel.com>
Co-authored-by: Liang-Chi Hsieh <liangchi@uber.com>
Co-authored-by: Andy Adinets <aadinets@nvidia.com>
Co-authored-by: Jason E. Aten, Ph.D <j.e.aten@gmail.com>
Co-authored-by: Oleksandr Kuvshynov <661042+okuvshynov@users.noreply.github.com>
Co-authored-by: LionOrCatThatIsTheQuestion <44895499+LionOrCatThatIsTheQuestion@users.noreply.github.com>
Co-authored-by: Reetz <s02reetz@iavgroup.local>
Co-authored-by: Lorenz Walthert <lorenz.walthert@icloud.com>
Co-authored-by: Dmitry Mottl <dmitry.mottl@gmail.com>
Co-authored-by: Peter Jung <peter@jung.ninja>
Co-authored-by: Peter Jung <peter.jung@heureka.cz>
Co-authored-by: Elliot Hershberg <eahershberg@gmail.com>
Co-authored-by: anttisaukko <antti.saukko@gmail.com>
Co-authored-by: Antti Saukko <antti.saukko@verizonmedia.com>
Co-authored-by: Alex <wozn0001@e.ntu.edu.sg>
Co-authored-by: Ram Rachum <ram@rachum.com>
Co-authored-by: Alexander Gugel <alexander.gugel@gmail.com>
Co-authored-by: Nan Zhu <nanzhu@uber.com>
Co-authored-by: boxdot <d@zerovolt.org>
Co-authored-by: James Bourbeau <jrbourbeau@users.noreply.github.com>
Co-authored-by: Shaochen Shi <shishaochen_ha@sina.com>
Co-authored-by: Anthony D'Amato <anthony.damato@hotmail.fr>
Co-authored-by: Vladislav Epifanov <vepifanov92@gmail.com>
Co-authored-by: jameskrach <69264125+jameskrach@users.noreply.github.com>
Co-authored-by: Hyunsu Cho <chohyu01@cs.wasshington.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants