vibe-d / vibe-http

Future vibe.d HTTP implementation
15 stars 9 forks source link

Build fails #22

Open p-mitana opened 4 years ago

p-mitana commented 4 years ago

I tried to try switching from vibe-d:http to vibe-http in my application and give it a test run - however it fails to build:

/usr/include/dmd/phobos/std/range/primitives.d(175,38): Deprecation: alias byKeyValue this is deprecated - Iterate over .byKeyValue instead.
/usr/include/dmd/phobos/std/range/primitives.d(177,27): Deprecation: alias byKeyValue this is deprecated - Iterate over .byKeyValue instead.
/usr/include/dmd/phobos/std/range/primitives.d(175,38): Deprecation: alias byKeyValue this is deprecated - Iterate over .byKeyValue instead.
/usr/include/dmd/phobos/std/range/primitives.d(177,27): Deprecation: alias byKeyValue this is deprecated - Iterate over .byKeyValue instead.
../../../.dub/packages/vibe-core-1.9.3/vibe-core/source/vibe/core/task.d(683,3): Error: static assert:  "The arguments passed to run(Worker)Task must not exceed 128 bytes in total size: 144LU bytes"
../../../.dub/packages/vibe-core-1.9.3/vibe-core/source/vibe/core/core.d(331,46):        instantiated from here: set!(void function(TCPConnection, TCPConnection, HTTP2ServerContext) @safe, TCPConnection, TCPConnection, HTTP2ServerContext)
../../../.dub/packages/vibe-core-1.9.3/vibe-core/source/vibe/core/core.d(416,11):        instantiated from here: __lambda6!(TaskFuncInfo)
../../../.dub/packages/vibe-core-1.9.3/vibe-core/source/vibe/core/core.d(331,9):        instantiated from here: runTask_internal!((ref tfi)
{
tfi.set(task, args);
}
)
../../../.dub/packages/vibe-http-0.1.0/vibe-http/source/vibe/http/internal/http2/http2.d(241,16):        ... (1 instantiations, -v to show) ...
../../../.dub/packages/vibe-http-0.1.0/vibe-http/source/vibe/http/internal/http2/http2.d(219,23):        instantiated from here: handleHTTP2FrameChain!(TCPConnection)
../../../.dub/packages/vibe-http-0.1.0/vibe-http/source/vibe/http/internal/http1.d(243,25):        instantiated from here: handleHTTP2Connection!(TCPConnection)