JuliaMath / FixedPointNumbers.jl

fixed point types for julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test Error

yzcj105 opened this issue · comments

Version 1.3.1 (2019-12-30)

(v1.3) pkg> test FixedPointNumbers
   Testing FixedPointNumbers
 Resolving package versions...
    Status `/tmp/jl_9mFgGk/Manifest.toml`
  [53c48c17] FixedPointNumbers v0.8.0
  [2a0f44e3] Base64  [`@stdlib/Base64`]
  [8ba89e20] Distributed  [`@stdlib/Distributed`]
  [b77e0a4c] InteractiveUtils  [`@stdlib/InteractiveUtils`]
  [56ddb016] Logging  [`@stdlib/Logging`]
  [d6f4376e] Markdown  [`@stdlib/Markdown`]
  [9a3f8284] Random  [`@stdlib/Random`]
  [9e88b42a] Serialization  [`@stdlib/Serialization`]
  [6462fe0b] Sockets  [`@stdlib/Sockets`]
  [8dfed614] Test  [`@stdlib/Test`]
Skipping Base.active_repl
Skipping Base.active_repl_backend
Test Failed at /mnt/home/jchen/.julia/packages/FixedPointNumbers/w2pxG/test/runtests.jl:3
  Expression: isempty(detect_ambiguities(FixedPointNumbers, Base, Core))
   Evaluated: isempty(Tuple{Method,Method}[((::Type{GeometryTypes.FixedSizeArrays.Point})(x::T) where {S, T<:Tuple{Vararg{Any,S}}} in GeometryTypes.FixedSizeArrays at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:101, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1), ((::Type{GeometryTypes.Vec{S,T} where T})(x::T) where {S, T<:Tuple} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:103, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1), ((::Type{StaticArrays.SizedArray{Tuple{S1,S2},T,2,M} where M where T})(x::Tuple{Vararg{T,L}}) where {S1, S2, T, L} in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/SizedArray.jl:83, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1), ((::Type{StaticArrays.MArray{S,T,N,L}})(x::Tuple{Vararg{T,L}}) where {S, T, N, L} in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/MArray.jl:24, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1), ((::Type{GeometryTypes.TextureCoordinate{S,T} where T})(x::T) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:95, (::Type{SA})(a::StaticArrays.StaticArray) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:5), ((::Type{StaticArrays.SHermitianCompact})(a::StaticArrays.StaticArray{Tuple{N,N},T,2}) where {N, T} in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/SHermitianCompact.jl:82, (::Type{SSC})(a::StaticArrays.SHermitianCompact) where SSC<:StaticArrays.SHermitianCompact in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/SHermitianCompact.jl:84), ((::Type{GeometryTypes.Face{S,T} where T})(x::T) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:95, (::Type{SV})(x::StaticArrays.StaticArray{Tuple{N},T,1} where T where N) where SV<:GeometryTypes.Face in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:119), ((::Type{GeometryTypes.TextureCoordinate{S,T} where T})(x::AbstractArray{T,1}) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:81, (::Type{SA})(a::StaticArrays.StaticArray) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:5), ((::Type{StaticArrays.SHermitianCompact{N,T,L} where L where T})(a::Tuple) where N in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/SHermitianCompact.jl:80, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1), ((::Type{GeometryTypes.FixedSizeArrays.Point{S,T}})(x) where {S, T} in GeometryTypes.FixedSizeArrays at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:90, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1)  …  ((::Type{GeometryTypes.Normal})(x::Tuple{Vararg{T,S}} where T) where S in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:100, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1), ((::Type{GeometryTypes.Simplex{1,T}})(x::T) where T in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/simplices.jl:16, (::Type{GeometryTypes.Simplex{S,T}})(x::Tuple{Vararg{T,S}} where T) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/types.jl:43), ((::Type{T})(x::ColorTypes.Color{T,1} where T) where T<:Real in ColorTypes at /mnt/home/jchen/.julia/packages/ColorTypes/L445B/src/conversions.jl:114, StatsBase.TestStat(v) in StatsBase at /mnt/home/jchen/.julia/packages/StatsBase/548SN/src/statmodels.jl:428), ((::Type{GeometryTypes.Face{S,T}})(x::Tuple{Vararg{Any,S}}) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:67, (::Type{GeometryTypes.Face{1,T}})(x::T) where T in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:98), ((::Type{GeometryTypes.Simplex{S,T} where T})(x::T) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/simplices.jl:13, (::Type{SA})(a::StaticArrays.StaticArray) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:5), ((::Type{GeometryTypes.Normal})(x::T) where {S, T<:Tuple{Vararg{Any,S}}} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:101, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1), ((::Type{GeometryTypes.Face{S,T} where T})(x::T) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:95, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1), (getindex(A::AbstractArray, f::GeometryTypes.Face{N,T} where T) where N in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/faces.jl:47, getindex(wv::W, i::AbstractArray) where W<:StatsBase.AbstractWeights in StatsBase at /mnt/home/jchen/.julia/packages/StatsBase/548SN/src/weights.jl:33), ((::Type{GeometryTypes.Vec{S,T} where T})(x::T) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/FixedSizeArrays.jl:95, (::Type{SA})(a::AbstractArray) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:7), ((::Type{GeometryTypes.Simplex{S,T}})(x::Tuple{Vararg{T,S}}) where {S, T} in GeometryTypes at /mnt/home/jchen/.julia/packages/GeometryTypes/gpBFp/src/types.jl:42, (::Type{SA})(x::Tuple{Tuple{Tuple{#s162} where #s162<:Tuple}}) where SA<:StaticArrays.StaticArray in StaticArrays at /mnt/home/jchen/.julia/packages/StaticArrays/mlIi1/src/convert.jl:1)])
ERROR: LoadError: There was an error during testing
in expression starting at /mnt/home/jchen/.julia/packages/FixedPointNumbers/w2pxG/test/runtests.jl:3
ERROR: Package FixedPointNumbers errored during testing

As the message shows, the failed test is the ambiguity check. Note that there is no string "FixedPointNumbers" in the "Evaluated:".
(Edit: Since the output is truncated, I cannot make sure that, though.:sweat_smile:)

By the way, GeometryTypes seems to be obsolete.
(cf. https://github.com/JuliaGeometry/GeometryTypes.jl)

You've probably used PackageCompiler and put GeometryTypes into your sysimage. That will screw a lot of these ambiguity tests up, but it's not a problem on default Julia installations.