kou commented on PR #14216:
URL: https://github.com/apache/arrow/pull/14216#issuecomment-1256618762

   Could you rebase on master? (Sorry. #14218 caused conflicts...)
   
   Could you fix 
https://github.com/apache/arrow/actions/runs/3112106258/jobs/5045167401#step:6:2280
 ?
   
   ```text
   /arrow/cpp/src/arrow/flight/perf_server.cc: In member function 'virtual 
arrow::Status arrow::flight::FlightPerfServer::DoAction(const 
arrow::flight::ServerCallContext&, const arrow::flight::Action&, 
std::unique_ptr<arrow::flight::ResultStream>*)':
   /arrow/cpp/src/arrow/flight/perf_server.cc:231:67: error: no matching 
function for call to 
'make_unique<arrow::flight::SimpleResultStream>(<brace-enclosed initializer 
list>)'
     231 |       *result = std::make_unique<SimpleResultStream>({Result{buf}});
         |                                                                   ^
   In file included from 
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/memory:83,
                    from /arrow/cpp/src/arrow/flight/perf_server.cc:25:
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:961:5:
 note: candidate: 'typename std::_MakeUniq<_Tp>::__single_object 
std::make_unique(_Args&& ...) [with _Tp = arrow::flight::SimpleResultStream; 
_Args = {}; typename std::_MakeUniq<_Tp>::__single_object = 
std::unique_ptr<arrow::flight::SimpleResultStream, 
std::default_delete<arrow::flight::SimpleResultStream> >]'
     961 |     make_unique(_Args&&... __args)
         |     ^~~~~~~~~~~
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:961:5:
 note:   candidate expects 0 arguments, 1 provided
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:967:5:
 note: candidate: 'template<class _Tp> typename std::_MakeUniq<_Tp>::__array 
std::make_unique(std::size_t)'
     967 |     make_unique(size_t __num)
         |     ^~~~~~~~~~~
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:967:5:
 note:   template argument deduction/substitution failed:
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:
 In substitution of 'template<class _Tp> typename std::_MakeUniq<_Tp>::__array 
std::make_unique(std::size_t) [with _Tp = arrow::flight::SimpleResultStream]':
   /arrow/cpp/src/arrow/flight/perf_server.cc:231:67:   required from here
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:967:5:
 error: no type named '__array' in 'struct 
std::_MakeUniq<arrow::flight::SimpleResultStream>'
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:973:5:
 note: candidate: 'template<class _Tp, class ... _Args> typename 
std::_MakeUniq<_Tp>::__invalid_type std::make_unique(_Args&& ...)' (deleted)
     973 |     make_unique(_Args&&...) = delete;
         |     ^~~~~~~~~~~
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:973:5:
 note:   template argument deduction/substitution failed:
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:
 In substitution of 'template<class _Tp, class ... _Args> typename 
std::_MakeUniq<_Tp>::__invalid_type std::make_unique(_Args&& ...) [with _Tp = 
arrow::flight::SimpleResultStream; _Args = <missing>]':
   /arrow/cpp/src/arrow/flight/perf_server.cc:231:67:   required from here
   
/opt/conda/envs/arrow/x86_64-conda-linux-gnu/include/c++/10.4.0/bits/unique_ptr.h:973:5:
 error: no type named '__invalid_type' in 'struct 
std::_MakeUniq<arrow::flight::SimpleResultStream>'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to