Build errors at CI

Since Julia 1.1.1 the builds on appveyor and travis don’t work.
For example on appveyor the build yields:

Build started
git clone -q --branch=master …
git checkout -qf …
Running Install scripts
iex ((new-object net.webclient).DownloadString(“https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1”))
Installing Julia…
Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel® Xeon® CPU E5-2697 v3 @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
Environment:
JULIA_PROJECT = @.
echo “%JL_BUILD_SCRIPT%”
“using Pkg; Pkg.build()”
C:\julia\bin\julia -e “%JL_BUILD_SCRIPT%”
ERROR: MethodError: Cannot convert an object of type Nothing to an object of type Base.SHA1
Closest candidates are:
convert(::Type{T}, !Matched::T) where T at essentials.jl:154
Stacktrace:
[1] setindex!(::Dict{Base.UUID,Base.SHA1}, ::Nothing, ::Base.UUID) at .\dict.jl:381
[2] #instantiate#67(::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:463
[3] instantiate at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:442 [inlined]
[4] #build#61(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:377
[5] build at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:357 [inlined]
[6] #build#60 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:355 [inlined]
[7] build at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:355 [inlined]
[8] #build#57 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:352 [inlined]
[9] build() at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:352
[10] top-level scope at none:0
Command exited with code 1

Looks like you have a dirty manifest. Maybe try to clean that up?

1 Like

I never edited the manifest file. And I have no idea how to clean it up.
Here it is:

This file is machine-generated - editing it directly is not advised

[[AbstractAlgebra]]
deps = [“InteractiveUtils”, “LinearAlgebra”, “Markdown”, “Random”, “SparseArrays”, “Test”]
git-tree-sha1 = “56bdd9e9bb2cfdf0876d0846b337c8f395d9a4b7”
uuid = “c3fe647b-3220-5bb0-a1ea-a7954cac585d”
version = “0.4.6”

[[AssetRegistry]]
deps = [“Distributed”, “JSON”, “Pidfile”, “SHA”, “Test”]
git-tree-sha1 = “b25e88db7944f98789130d7b503276bc34bc098e”
uuid = “bf4720bc-e11a-5d0c-854e-bdca1663c893”
version = “0.1.0”

[[Atom]]
deps = [“Base64”, “CodeTools”, “CodeTracking”, “DocSeeker”, “HTTP”, “Hiccup”, “InteractiveUtils”, “JSON”, “JuliaInterpreter”, “Juno”, “LNR”, “Lazy”, “Logging”, “MacroTools”, “Markdown”, “Media”, “Pkg”, “Profile”, “REPL”, “Reexport”, “Requires”, “Sockets”, “Test”, “Traceur”, “TreeViews”, “WebIO”, “WebSockets”]
git-tree-sha1 = “5a1e379112adef8d5b621d667fe5b51a498a89d5”
uuid = “c52e3926-4ff0-5f6e-af25-54175e0327b1”
version = “0.8.5”

[[Base64]]
uuid = “2a0f44e3-6c83-55bd-87e4-b1978d98bd5f”

[[BinaryProvider]]
deps = [“Compat”, “CredentialsHandler”, “Libdl”, “Pkg”, “SHA”, “TOML”, “Test”]
git-tree-sha1 = “055eb2690182ebc31087859c3dd8598371d3ef9e”
uuid = “b99e7846-7c00-51b0-8f62-c81ae34c0232”
version = “0.5.3”

[[CSTParser]]
deps = [“LibGit2”, “Test”, “Tokenize”]
git-tree-sha1 = “437c93bc191cd55957b3f8dee7794b6131997c56”
uuid = “00ebfdb7-1f24-5e51-bd34-a7502290713f”
version = “0.5.2”

[[Cassette]]
deps = [“InteractiveUtils”, “LinearAlgebra”, “Test”]
git-tree-sha1 = “5536cf95a81ff784f4d1eca2df39bb2629a7ee59”
uuid = “7057c7e9-c182-5462-911a-8362d720325c”
version = “0.2.3”

[[CodeTools]]
deps = [“LNR”, “Lazy”, “Markdown”, “Pkg”, “Test”, “Tokenize”]
git-tree-sha1 = “b50b63d30896e1e969e9e7767d44c4d34878b416”
uuid = “53a63b46-67e4-5edd-8c66-0af0544a99b9”
version = “0.6.4”

[[CodeTracking]]
deps = [“InteractiveUtils”, “Test”, “UUIDs”]
git-tree-sha1 = “9b21a2dfe51ba71fdc5688039075819196595367”
uuid = “da1fd8a2-8d9e-5ec2-8556-3022fb5608a2”
version = “0.5.7”

[[ColorTypes]]
deps = [“FixedPointNumbers”, “Random”, “Test”]
git-tree-sha1 = “f73b0e10f2a5756de7019818a41654686da06b09”
uuid = “3da002f7-5984-5a60-b8a6-cbb66c0b333f”
version = “0.7.5”

[[Colors]]
deps = [“ColorTypes”, “FixedPointNumbers”, “InteractiveUtils”, “Printf”, “Reexport”, “Test”]
git-tree-sha1 = “9f0a0210450acb91c730b730a994f8eef1d3d543”
uuid = “5ae59095-9a9b-59fe-a467-6f913c188581”
version = “0.9.5”

[[Combinatorics]]
deps = [“LinearAlgebra”, “Polynomials”, “Test”]
git-tree-sha1 = “50b3ae4d643dc27eaff69fb6be06ee094d5500c9”
uuid = “861a8166-3701-5b0c-9a16-15d98fcdc6aa”
version = “0.7.0”

[[Compat]]
deps = [“Base64”, “Dates”, “DelimitedFiles”, “Distributed”, “InteractiveUtils”, “LibGit2”, “Libdl”, “LinearAlgebra”, “Markdown”, “Mmap”, “Pkg”, “Printf”, “REPL”, “Random”, “Serialization”, “SharedArrays”, “Sockets”, “SparseArrays”, “Statistics”, “Test”, “UUIDs”, “Unicode”]
git-tree-sha1 = “84aa74986c5b9b898b0d1acaf3258741ee64754f”
uuid = “34da2185-b29b-5c13-b0c7-acf172513d20”
version = “2.1.0”

[[CredentialsHandler]]
deps = [“Base64”, “HTTP”, “TOML”]
uuid = “864e158e-919d-11e8-198e-cfe890ec4681”

[[DataStructures]]
deps = [“InteractiveUtils”, “OrderedCollections”, “Random”, “Serialization”, “Test”]
git-tree-sha1 = “ca971f03e146cf144a9e2f2ce59674f5bf0e8038”
uuid = “864edb3b-99cc-5e75-8d2d-829cb0a9cfe8”
version = “0.15.0”

[[Dates]]
deps = [“Printf”]
uuid = “ade2ca70-3891-5945-98fb-dc099432e06a”

[[DelimitedFiles]]
deps = [“Mmap”]
uuid = “8bb1440f-4735-579b-a4ab-409b98df4dab”

[[Distances]]
deps = [“LinearAlgebra”, “Printf”, “Random”, “Statistics”, “Test”]
git-tree-sha1 = “a135c7c062023051953141da8437ed74f89d767a”
uuid = “b4f34e82-e78d-54a5-968a-f98e89d6e8f7”
version = “0.8.0”

[[Distributed]]
deps = [“Random”, “Serialization”, “Sockets”]
uuid = “8ba89e20-285c-5b6f-9357-94700520ee1b”

[[DocSeeker]]
deps = [“Hiccup”, “IterTools”, “Markdown”, “REPL”, “Requires”, “Serialization”, “StringDistances”, “Test”, “URIParser”]
git-tree-sha1 = “8d4d5f9ec970944445c77cfdcd5d3246a4e0cd0d”
uuid = “33d173f1-3be9-53c5-a697-8225b67db89c”
version = “0.2.0”

[[DocStringExtensions]]
deps = [“LibGit2”, “Markdown”, “Pkg”, “Test”]
git-tree-sha1 = “4d30e889c9f106a51ffa4791a88ffd4765bf20c3”
uuid = “ffbed154-4ef7-542d-bbb7-c09d3a79fcae”
version = “0.7.0”

[[Documenter]]
deps = [“Base64”, “DocStringExtensions”, “InteractiveUtils”, “JSON”, “LibGit2”, “Logging”, “Markdown”, “Pkg”, “REPL”, “Random”, “Test”, “Unicode”]
git-tree-sha1 = “13a6d15102410d8e70146533b759fc48d844a1d0”
uuid = “e30172f5-a6a5-5a46-863b-614d45cd2de4”
version = “0.22.3”

[[FileWatching]]
uuid = “7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee”

[[FixedPointNumbers]]
deps = [“Test”]
git-tree-sha1 = “b8045033701c3b10bf2324d7203404be7aef88ba”
uuid = “53c48c17-4a7d-5ca2-90c5-79b7896eea93”
version = “0.5.3”

[[FunctionalCollections]]
deps = [“Test”]
git-tree-sha1 = “04cb9cfaa6ba5311973994fe3496ddec19b6292a”
uuid = “de31a74c-ac4f-5751-b3fd-e18cd04993ca”
version = “0.5.0”

[[HTTP]]
deps = [“Base64”, “Dates”, “Distributed”, “IniFile”, “JSON”, “MbedTLS”, “Sockets”, “Test”]
git-tree-sha1 = “25db0e3f27bd5715814ca7e4ad22025fdcf5cc6e”
uuid = “cd3eb016-35fb-5094-929b-558a96fad6f3”
version = “0.8.0”

[[Hiccup]]
deps = [“MacroTools”, “Test”]
git-tree-sha1 = “6187bb2d5fcbb2007c39e7ac53308b0d371124bd”
uuid = “9fb69e20-1954-56bb-a84f-559cc56a8ff7”
version = “0.2.2”

[[IniFile]]
git-tree-sha1 = “098e4d2c533924c921f9f9847274f2ad89e018b8”
uuid = “83e8ac13-25f8-5344-8a64-a9f2b223428f”
version = “0.5.0”

[[InteractiveUtils]]
deps = [“Markdown”]
uuid = “b77e0a4c-d291-57a0-90e8-8db25a27a240”

[[IterTools]]
deps = [“SparseArrays”, “Test”]
git-tree-sha1 = “79246285c43602384e6f1943b3554042a3712056”
uuid = “c8e1da08-722c-5040-9ed9-7db0dc04731e”
version = “1.1.1”

[[JSON]]
deps = [“Dates”, “Distributed”, “Mmap”, “Sockets”, “Test”, “Unicode”]
git-tree-sha1 = “1f7a25b53ec67f5e9422f1f551ee216503f4a0fa”
uuid = “682c06a0-de6a-54ab-a142-c8b1cf79cde6”
version = “0.20.0”

[[JuliaInterpreter]]
deps = [“CodeTracking”, “Dates”, “Distributed”, “InteractiveUtils”, “Mmap”, “Random”, “SHA”, “Test”, “UUIDs”]
git-tree-sha1 = “3446fc94431daec86574672a748696485d3c0487”
uuid = “aa1ae85d-cabe-5617-a682-6adf51b2e16a”
version = “0.5.0”

[[Juno]]
deps = [“Base64”, “Logging”, “Media”, “Profile”, “Test”]
git-tree-sha1 = “4e4a8d43aa7ecec66cadaf311fbd1e5c9d7b9175”
uuid = “e5e0dc1b-0480-54bc-9374-aad01c23163d”
version = “0.7.0”

[[LNR]]
deps = [“Compat”, “Lazy”, “Test”]
git-tree-sha1 = “bae0010daaba5f122cefcbee9a97f5d82ea03e5c”
uuid = “7c4cb9fa-83a0-5386-9231-d6167c818060”
version = “0.2.0”

[[Lazy]]
deps = [“Compat”, “MacroTools”, “Test”]
git-tree-sha1 = “aec38c7e7f255a678af22651c74100e3cd39ea20”
uuid = “50d2b5c4-7a5e-59d5-8109-a42b560f39c0”
version = “0.13.2”

[[LibGit2]]
uuid = “76f85450-5226-5b5a-8eaa-529ad045b433”

[[Libdl]]
uuid = “8f399da3-3557-5675-b5ff-fb832c97cbdb”

[[LinearAlgebra]]
deps = [“Libdl”]
uuid = “37e2e46d-f89d-539d-b4ee-838fcccc9c8e”

[[Logging]]
uuid = “56ddb016-857b-54e1-b83d-db4d58db5568”

[[MacroTools]]
deps = [“CSTParser”, “Compat”, “DataStructures”, “Test”]
git-tree-sha1 = “daecd9e452f38297c686eba90dba2a6d5da52162”
uuid = “1914dd2f-81c6-5fcd-8719-6d5c9610ff09”
version = “0.5.0”

[[Markdown]]
deps = [“Base64”]
uuid = “d6f4376e-aef5-505a-96c1-9c027394607a”

[[MbedTLS]]
deps = [“BinaryProvider”, “Dates”, “Libdl”, “Pkg”, “Random”, “Sockets”]
git-tree-sha1 = “2d94286a9c2f52c63a16146bb86fd6cdfbf677c6”
uuid = “739be429-bea8-5141-9913-cc70e7f3736d”
version = “0.6.8”

[[Media]]
deps = [“MacroTools”, “Test”]
git-tree-sha1 = “75a54abd10709c01f1b86b84ec225d26e840ed58”
uuid = “e89f7d12-3494-54d1-8411-f7d8b9ae1f27”
version = “0.5.0”

[[Mmap]]
uuid = “a63ad114-7e13-5084-954f-fe012c677804”

[[Nemo]]
deps = [“AbstractAlgebra”, “BinaryProvider”, “InteractiveUtils”, “Libdl”, “LinearAlgebra”, “Markdown”, “Test”]
git-tree-sha1 = “16fd646531e5f7bab00f6326bfefdacba90cf919”
uuid = “2edaba10-b0f1-5616-af89-8c11ac63239a”
version = “0.13.4”

[[Observables]]
deps = [“Test”]
git-tree-sha1 = “dc02cec22747d1d10d9f70d8a1c03432b5bfbcd0”
uuid = “510215fc-4207-5dde-b226-833fc4488ee2”
version = “0.2.3”

[[OrderedCollections]]
deps = [“Random”, “Serialization”, “Test”]
git-tree-sha1 = “c4c13474d23c60d20a67b217f1d7f22a40edf8f1”
uuid = “bac558e1-5e72-5ebc-8fee-abe8a469f55d”
version = “1.1.0”

[[Pidfile]]
deps = [“FileWatching”, “Test”]
git-tree-sha1 = “1ffd82728498b5071cde851bbb7abd780d4445f3”
uuid = “fa939f87-e72e-5be4-a000-7fc836dbe307”
version = “1.1.0”

[[Pkg]]
deps = [“BinaryProvider”, “CredentialsHandler”, “Dates”, “LibGit2”, “Markdown”, “Printf”, “REPL”, “Random”, “SHA”, “TOML”, “UUIDs”]
uuid = “44cfe95a-1eb2-52ea-b672-e2afdf69b78f”

[[Polynomials]]
deps = [“LinearAlgebra”, “SparseArrays”, “Test”]
git-tree-sha1 = “62142bd65d3f8aeb2226ec64dd8493349147df94”
uuid = “f27b6e38-b328-58d1-80ce-0feddd5e7a45”
version = “0.5.2”

[[Printf]]
deps = [“Unicode”]
uuid = “de0858da-6303-5e67-8744-51eddeeeb8d7”

[[Profile]]
deps = [“Printf”]
uuid = “9abbd945-dff8-562f-b5e8-e1ebf5ef1b79”

[[REPL]]
deps = [“InteractiveUtils”, “Markdown”, “Sockets”]
uuid = “3fa0cd96-eef1-5676-8a61-b3b8758bbffb”

[[Random]]
deps = [“Serialization”]
uuid = “9a3f8284-a2c9-5f02-9a11-845980a1fd5c”

[[Reexport]]
deps = [“Pkg”]
git-tree-sha1 = “7b1d07f411bc8ddb7977ec7f377b97b158514fe0”
uuid = “189a3867-3050-52da-a836-e630ba90ab69”
version = “0.2.0”

[[Requires]]
deps = [“Test”]
git-tree-sha1 = “f6fbf4ba64d295e146e49e021207993b6b48c7d1”
uuid = “ae029012-a4dd-5104-9daa-d747884805df”
version = “0.5.2”

[[SHA]]
uuid = “ea8e919c-243c-51af-8825-aaa63cd721ce”

[[Serialization]]
uuid = “9e88b42a-f829-5b0c-bbe9-9e923198166b”

[[SharedArrays]]
deps = [“Distributed”, “Mmap”, “Random”, “Serialization”]
uuid = “1a1011a3-84de-559e-8e89-a11a2f7dc383”

[[Sockets]]
uuid = “6462fe0b-24de-5631-8697-dd941f90decc”

[[SparseArrays]]
deps = [“LinearAlgebra”, “Random”]
uuid = “2f01184e-e22b-5df5-ae63-d93ebab69eaf”

[[Statistics]]
deps = [“LinearAlgebra”, “SparseArrays”]
uuid = “10745b16-79ce-11e8-11f9-7d13ad32a3b2”

[[StringDistances]]
deps = [“Distances”, “IterTools”, “Random”, “Test”]
git-tree-sha1 = “125d06646183f1822849e852e45177710e700686”
uuid = “88034a9c-02f8-509d-84a9-84ec65e18404”
version = “0.3.2”

[[TOML]]
deps = [“Dates”]
uuid = “9d418dce-91a8-11e8-0173-7b01a971d501”

[[Test]]
deps = [“Distributed”, “InteractiveUtils”, “Logging”, “Random”]
uuid = “8dfed614-e22c-5e08-85e1-65c5234f0b40”

[[Tokenize]]
deps = [“Printf”, “Test”]
git-tree-sha1 = “3e83f60b74911d3042d3550884ca2776386a02b8”
uuid = “0796e94c-ce3b-5d07-9a54-7f471281c624”
version = “0.5.3”

[[Traceur]]
deps = [“Cassette”, “InteractiveUtils”, “Logging”, “MacroTools”, “Test”]
git-tree-sha1 = “c007db8fbec24668a7cdf4a878202abb648d568f”
uuid = “37b6cedf-1f77-55f8-9503-c64b63398394”
version = “0.3.0”

[[TreeViews]]
deps = [“Test”]
git-tree-sha1 = “8d0d7a3fe2f30d6a7f833a5f19f7c7a5b396eae6”
uuid = “a2a6695c-b41b-5b7d-aed9-dbfdeacea5d7”
version = “0.3.0”

[[URIParser]]
deps = [“Test”, “Unicode”]
git-tree-sha1 = “6ddf8244220dfda2f17539fa8c9de20d6c575b69”
uuid = “30578b45-9adc-5946-b283-645ec420af67”
version = “0.4.0”

[[UUIDs]]
deps = [“Random”, “SHA”]
uuid = “cf7118a7-6976-5b1a-9a39-7adc72f591a4”

[[Unicode]]
uuid = “4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5”

[[WebIO]]
deps = [“AssetRegistry”, “Base64”, “Compat”, “Distributed”, “FunctionalCollections”, “JSON”, “Logging”, “Observables”, “Random”, “Requires”, “Sockets”, “Test”, “UUIDs”, “Widgets”]
git-tree-sha1 = “125dc746e5b36424c6a7e694889a7f3d434a160a”
uuid = “0f1e0344-ec1d-5b48-a673-e5cf874b6c29”
version = “0.8.1”

[[WebSockets]]
deps = [“Base64”, “Dates”, “Distributed”, “HTTP”, “Logging”, “Random”, “Sockets”, “Test”]
git-tree-sha1 = “13f763d38c7a05688938808b49cb29b18b60c8c8”
uuid = “104b5d7c-a370-577a-8038-80a2059c5097”
version = “1.5.2”

[[Widgets]]
deps = [“Colors”, “Dates”, “Observables”, “OrderedCollections”, “Test”]
git-tree-sha1 = “c53befc70c6b91eaa2a9888c2f6ac2d92720a81b”
uuid = “cc8bc4a8-27d6-5769-a93b-9d913e69aa62”
version = “0.6.1”

But you are right: I replaced the manifest file with an old one
and it works again.

Now: Who changed the manifest file and why?

It was not me manually, it was either the mechanics coming
with JuliaPro1.1.0.1 or with VSCode. I do not know why it
happened but it happened after/with the switch to Julia 1.1.1.

Thanks for the suggestion!