On Tue, 11 Nov 2014 16:57:30 GMT, Domingo Alvarez Duarte wrote:

Hello !

With the latest dmd trunk now this error happen:

source/vibe/core/concurrency.d(254): Error: template vibe.core.concurrency.send cannot deduce function from argument types !()(Tid, IsolatedArray!double), candidates are:
source/vibe/core/concurrency.d(1175): vibe.core.concurrency.send(ARGS...)(Task task, ARGS args)
source/vibe/core/core.d(248): Error: static assert "Argument type Tid is not safe to pass between threads."
source/vibe/core/concurrency.d(271): instantiated from here: runWorkerTaskH!(void function(Tid tid, IsolatedArray!double array, ulong start_index), Tid, IsolatedArray!double, ulong)

Cheers !

Our current build platform is Ubuntu 14.04, dmd 2.066 and we are compiling vibe.d master and 0.7.21-rc.4 without error. Our dev environment is the same version but on OS X Yosemite for that matter and it also runs all dub tests successfully.

I'd be taking a closer look at your build environment.