The error is certainly because unique_future (or future) tries to copy the unique_ptr.
Can you tell us your Boost version and compiler?