Skip to content

Instantly share code, notes, and snippets.

@Seelengrab
Created October 2, 2023 12:11
Show Gist options
  • Save Seelengrab/fcaff4b34added7347570089328da8c3 to your computer and use it in GitHub Desktop.
Save Seelengrab/fcaff4b34added7347570089328da8c3 to your computer and use it in GitHub Desktop.
[sukera@tower RequiredInterfaces.jl]$ julia -q --project=.
(RequiredInterfaces) pkg> test
┌ Warning: The active manifest file has dependencies that were resolved with a different julia version (1.10.0-DEV). Unexpected behavior may occur.
└ @ ~/Documents/projects/RequiredInterfaces.jl/Manifest.toml:0
┌ Warning: The project dependencies or compat requirements have changed since the manifest was last resolved.
│ It is recommended to `Pkg.resolve()` or consider `Pkg.update()` if necessary.
└ @ Pkg.API ~/julia/usr/share/julia/stdlib/v1.11/Pkg/src/API.jl:1765
Testing RequiredInterfaces
Status `/tmp/jl_aKQtIe/Project.toml`
[97f35ef4] RequiredInterfaces v0.1.3 `~/Documents/projects/RequiredInterfaces.jl`
[8dfed614] Test `@stdlib/Test`
Status `/tmp/jl_aKQtIe/Manifest.toml`
[97f35ef4] RequiredInterfaces v0.1.3 `~/Documents/projects/RequiredInterfaces.jl`
[2a0f44e3] Base64 `@stdlib/Base64`
[b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
[56ddb016] Logging `@stdlib/Logging`
[d6f4376e] Markdown `@stdlib/Markdown`
[9a3f8284] Random `@stdlib/Random`
[ea8e919c] SHA v0.7.0 `@stdlib/SHA`
[9e88b42a] Serialization `@stdlib/Serialization`
[8dfed614] Test `@stdlib/Test`
ERROR: LoadError: ArgumentError: Package REPL does not have Sockets in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
to ensure all packages in the environment are installed.
- Or, if you have REPL checked out for development and have
added Sockets as a dependency but haven't updated your primary
environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with REPL
Stacktrace:
[1] macro expansion
@ Base ./loading.jl:1777 [inlined]
[2] macro expansion
@ Base ./lock.jl:267 [inlined]
[3] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1754
[4] #invoke_in_world#3
@ Base ./essentials.jl:933 [inlined]
[5] invoke_in_world
@ Base ./essentials.jl:930 [inlined]
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1747
[7] include
@ Base ./Base.jl:497 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base ./loading.jl:2220
[9] top-level scope
@ stdin:3
in expression starting at /home/sukera/julia/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:3
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile REPL [3fa0cd96-eef1-5676-8a61-b3b8758bbffb] to "/home/sukera/.julia/compiled/v1.11/REPL/jl_FuKZNc".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:2472
[3] compilecache
@ Base ./loading.jl:2338 [inlined]
[4] (::Base.var"#998#999"{Base.PkgId})()
@ Base ./loading.jl:1972
[5] mkpidlock(f::Base.var"#998#999"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/julia/usr/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:93
[6] #mkpidlock#6
@ FileWatching.Pidfile ~/julia/usr/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/julia/usr/share/julia/stdlib/v1.11/FileWatching/src/pidfile.jl:111
[8] #invokelatest#2
@ Base ./essentials.jl:901 [inlined]
[9] invokelatest
@ Base ./essentials.jl:896 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#998#999"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:2984
[11] maybe_cachefile_lock
@ Base ./loading.jl:2981 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1968
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1813
[14] #invoke_in_world#3
@ Base ./essentials.jl:933 [inlined]
[15] invoke_in_world
@ Base ./essentials.jl:930 [inlined]
[16] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1804
[17] macro expansion
@ Base ./loading.jl:1791 [inlined]
[18] macro expansion
@ Base ./lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1754
[20] #invoke_in_world#3
@ Base ./essentials.jl:933 [inlined]
[21] invoke_in_world
@ Base ./essentials.jl:930 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1747
[23] include
@ Base ./Base.jl:497 [inlined]
[24] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2220
[25] top-level scope
@ stdin:3
in expression starting at /home/sukera/julia/usr/share/julia/stdlib/v1.11/Pkg/src/Pkg.jl:3
in expression starting at stdin:3
┌ Warning: Pkg failed to load, skipping precompilation.
└ @ Main none:4
Testing Running tests...
Test Summary: | Pass Total Time
All tests | 25 25 2.2s
Testing RequiredInterfaces tests passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment