I am trying to update my package (https://github.com/hsgg/TwoFAST.jl/tree/next) to Julia-1.0
. On my local machine, the tests pass. Hurray! However, on travis I get the following error:
ERROR: MethodError: no method matching getindex(::Nothing, ::String)
Stacktrace:
[1] #build_versions#47(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Base.UUID,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1045
[2] build_versions at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1034 [inlined]
[3] #instantiate#59(::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:567
[4] instantiate at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:529 [inlined]
[5] #build#53(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:454
[6] build at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:433 [inlined]
[7] build() at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:428
[8] top-level scope at none:1
The command "julia --color=yes -e "if VERSION < v\"0.7.0-DEV.5183\"; Pkg.clone(pwd()); Pkg.build(\"${JL_PKG}\"); else using Pkg; Pkg.build(); end"" failed and exited with 1 during .
Your build has been stopped.
The full log is at Travis CI - Test and Deploy Your Code with Confidence.
Where is this error occurring?
Nowhere in my package do I use getindex
explicitly. Therefore, I don’t think it is my package.
I am also using the package IncGammaBeta
, which I updated to julia-1.0 in a fork (GitHub - hsgg/IncGammaBeta.jl: A Julia package that computes incomplete gamma and beta functions and their inverses.). In that package getindex
doesn’t appear either. Also, I can add IncGammaBeta
by URL on my local computer with no problem.
Anybody have an idea where else I should look? Do I need to add a toml file to IncGammaBeta?