Vibe-d Error Message and failed with exit code 1

Baby Beaker thegrapevine at email.com
Sat Apr 4 14:40:16 UTC 2020


Program.d

#!/usr/bin/env dub
/+ dub.sdl:
    name "hello_vibed"
    dependency "vibe-d" version="~>0.8.0"
+/
import vibe.vibe;
import std;

void main()
{
     writeln("Ola Mundo!");
     listenHTTP("127.0.0.1:8080", (req, res) {
         res.writeBody("Hello Vibe.d: " ~ req.path);
     });

     runApplication();
}



In cmd prompt:

dub fetch vibe-d
dub Program.d


I get this Error, How solve it?:

C:\Users\Usuario\AppData\Local\dub\packages\vibe-d-0.8.6\vibe-d\http\vibe\http\s
erver.d(949,24): Deprecation: function 
std.typecons.Nullable!(CookieValueMap).Nu
llable.get_ is deprecated - Implicit conversion with alias 
Nullable.get this wil
l be removed after 2.096. Please use .get explicitly.
C:\Users\Usuario\AppData\Local\dub\packages\vibe-d-0.8.6\vibe-d\http\vibe\http\s
erver.d(962,38): Deprecation: function 
std.typecons.Nullable!(DictionaryList!(st
ring, true, 16u, false)).Nullable.get_ is deprecated - Implicit 
conversion with
alias Nullable.get this will be removed after 2.096. Please use 
.get explicitly.

C:\Users\Usuario\AppData\Local\dub\packages\vibe-d-0.8.6\vibe-d\http\vibe\http\s
erver.d(1041,18): Deprecation: function 
std.typecons.Nullable!(DictionaryList!(s
tring, true, 16u, false)).Nullable.get_ is deprecated - Implicit 
conversion with
  alias Nullable.get this will be removed after 2.096. Please use 
.get explicitly
.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(174,38): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(176,27): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(174,38): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(176,27): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(174,38): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(176,27): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(174,38): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(176,27): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(174,38): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(176,27): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(174,38): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(176,27): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(174,38): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(176,27): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(174,38): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
D:\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(176,27): Deprecation
: alias byKeyValue this is deprecated - Iterate over .byKeyValue 
instead.
lld-link: error: 
C:\Users\Usuario\AppData\Local\dub\packages\eventcore-0.8.50\ev
entcore\lib\ws2_32.lib: unknown file type
lld-link: error: 
C:\Users\Usuario\AppData\Local\dub\packages\eventcore-0.8.50\ev
entcore\lib\kernel32.lib: unknown file type
lld-link: error: 
C:\Users\Usuario\AppData\Local\dub\packages\vibe-d-0.8.6\vibe-d
\lib\win-i386\libssl.lib: unknown file type
lld-link: error: 
C:\Users\Usuario\AppData\Local\dub\packages\vibe-d-0.8.6\vibe-d
\lib\win-i386\libcrypto.lib: unknown file type
Error: linker exited with status 1
D:\dmd2\windows\bin\dmd.exe failed with exit code 1.
fgf


More information about the Digitalmars-d-learn mailing list