JuliaWeb / HttpServer.jl

DEPRECATED! Basic, non-blocking HTTP server in Julia.

Home Page:https://github.com/JuliaWeb/HTTP.jl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package errored during testing with Julia 0.7

dharasim opened this issue · comments

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0-alpha.0 (2018-05-31 00:07 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-apple-darwin14.5.0

(v0.7) pkg> test HttpParser
   Testing HttpParser
WARNING: Base.Test is deprecated, run `using Test` instead
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:3
┌ Warning: Vector{UInt8}(s::String) will copy data in the future. To avoid copying, use `unsafe_wrap` or `codeunits` instead.
│   caller = Request(::String, ::String, ::Dict{AbstractString,AbstractString}, ::String) at HttpCommon.jl:44
└ @ HttpCommon HttpCommon.jl:44
┌ Warning: `start(s::AbstractString)` is deprecated, use `firstindex(s)` instead.
│   caller = parse_url(::String) at parser.jl:159
└ @ URIParser parser.jl:159
┌ Warning: `done(s::AbstractString, i::Integer)` is deprecated, use `i > ncodeunits(s)` instead.
│   caller = parse_url(::String) at parser.jl:162
└ @ URIParser parser.jl:162
┌ Warning: `done(s::AbstractString, i::Integer)` is deprecated, use `i > ncodeunits(s)` instead.
│   caller = parse_url(::String) at parser.jl:193
└ @ URIParser parser.jl:193
┌ Warning: `start(s::AbstractString)` is deprecated, use `firstindex(s)` instead.
│   caller = parse_authority(::String, ::Bool) at parser.jl:61
└ @ URIParser parser.jl:61
┌ Warning: `done(s::AbstractString, i::Integer)` is deprecated, use `i > ncodeunits(s)` instead.
│   caller = parse_authority(::String, ::Bool) at parser.jl:64
└ @ URIParser parser.jl:64
┌ Warning: `done(s::AbstractString, i::Integer)` is deprecated, use `i > ncodeunits(s)` instead.
│   caller = parse_authority(::String, ::Bool) at parser.jl:89
└ @ URIParser parser.jl:89
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: The function `cfunction` is now written as a macro `@cfunction`.
│   caller = cfunction(::Function, ::Type, ::Tuple{DataType}) at deprecated.jl:55
└ @ Base deprecated.jl:55
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: The function `cfunction` is now written as a macro `@cfunction`.
│   caller = cfunction(::Function, ::Type, ::Tuple{DataType,DataType,DataType}) at deprecated.jl:55
└ @ Base deprecated.jl:55
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
┌ Warning: `cfunction(f, r, a::Tuple)` is deprecated, use `cfunction(f, r, Tuple{a...})` instead.
│   caller = top-level scope
└ @ Core :0
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
┌ Warning: Strings can no longer be `convert`ed to byte arrays. Use `unsafe_wrap` or `codeunits` instead.
│   caller = ip:0x0
└ @ Core :-1
ERROR: LoadError: MethodError: no method matching ptr_arg_unsafe_convert(::Int32, ::Bool)
Closest candidates are:
  ptr_arg_unsafe_convert(::Type{Ptr{Nothing}}, ::Any) at essentials.jl:310
  ptr_arg_unsafe_convert(::Type{Ptr{T}}, ::Any) where T at essentials.jl:309
Stacktrace:
 [1] http_parser_init(::Parser, ::Bool) at /Users/daniel/.julia/packages/HttpParser/NLWx/src/HttpParser.jl:110 (repeats 2 times)
 [2] init(::NTuple{10,String}) at /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:132
 [3] top-level scope
 [4] include at ./boot.jl:314 [inlined]
 [5] include_relative(::Module, ::String) at ./loading.jl:1071
 [6] include(::Module, ::String) at ./sysimg.jl:29
 [7] include(::String) at ./client.jl:393
 [8] top-level scope
in expression starting at /Users/daniel/.julia/packages/HttpParser/NLWx/test/runtests.jl:147
ERROR: Package HttpParser errored during testing

duplicate of #137