dmlc / xgboost

Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow
https://xgboost.readthedocs.io/en/stable/
Apache License 2.0
26.3k stars 8.73k forks source link

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

Closed glycerine closed 4 years ago

glycerine commented 4 years ago

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]
hcho3 commented 4 years ago

Does installation work if you disable GPU?

glycerine commented 4 years ago

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 commented 4 years ago

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

glycerine commented 4 years ago

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 commented 4 years ago
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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

$ 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 commented 4 years ago
$ 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 commented 4 years ago

How about

cmake --build . --target ALL_BUILD --config Release
glycerine commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

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

hcho3 commented 4 years ago

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

glycerine commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

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

hcho3 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

@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
  7. 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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

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

glycerine commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

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 (https://github.com/microsoft/LightGBM/issues/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: https://github.com/microsoft/LightGBM/pull/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 commented 4 years ago

@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 commented 4 years ago

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

jameslamb commented 4 years ago

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 commented 4 years ago

@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.

glycerine commented 4 years ago

Thank you guys!