Repository: timholy/Revise.jl

Issue #780: Julia 1.11: warning, precompile directives failed
Created: 2023-11-28T03:56:50Z
I have not investigated this thoroughly yet, but I've seen this a few times while using Julia 1.11.
julia> using SnoopCompile
Precompiling SnoopCompile
  30 dependencies successfully precompiled in 115 seconds. 32 already precompiled.
  1 dependency had output during precompilation:
┌ Revise
│  ┌ Warning: precompile directive
│  │     precompile(Tuple{mbody.sig.parameters[1], Symbol, Bool, Bool, typeof(pairs(NamedTuple())), typeof(methods_by_execution!), Any, MI, DocExprs, Module, Expr})
│  │ failed. Please report an issue in Revise (after checking for duplicates) or remove this directive.
│  └ @ Revise ~/.julia/packages/Revise/xRltd/src/precompile.jl:65
│  ┌ Warning: precompile directive
│  │     precompile(Tuple{mbody.sig.parameters[1], Symbol, Bool, Bool, Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:skip_include,), Tuple{Bool}}}, typeof(methods_by_execution!), Any, MI, DocExprs, Module, Expr})
│  │ failed. Please report an issue in Revise (after checking for duplicates) or remove this directive.
│  └ @ Revise ~/.julia/packages/Revise/xRltd/src/precompile.jl:66
│  ┌ Warning: precompile directive
│  │     precompile(Tuple{mbody.sig.parameters[1], Symbol, Bool, typeof(methods_by_execution!), Any, MI, DocExprs, Frame, Vector{Bool}})
│  │ failed. Please report an issue in Revise (after checking for duplicates) or remove this directive.
│  └ @ Revise ~/.julia/packages/Revise/xRltd/src/precompile.jl:69
└  
[ Info: Precompiling SnoopCompile [aa65fe97-06da-5843-b5b1-d5d13cad87d2]

Duplicate issue #819: "Please report an issue in Revise"
Created: 2024-05-31T03:59:07Z
Warning
vilin@doppio:~/GradientFlows.jl$ julia --threads=10
The latest version of Julia in the `beta` channel is 1.11.0-beta2+0.x64.linux.gnu. You currently have `1.11.0-beta1+0.x64.linux.gnu` installed. Run:

  juliaup update

in your terminal shell to install Julia 1.11.0-beta2+0.x64.linux.gnu and update the `beta` channel to that version.
Precompiling Revise...
Info Given Revise was explicitly requested, output will be shown live 
┌ Warning: precompile directive
│     precompile(Tuple{mbody.sig.parameters[1], Symbol, Bool, Bool, typeof(pairs(NamedTuple())), typeof(methods_by_execution!), Any, MI, DocExprs, Module, Expr})
│ failed. Please report an issue in Revise (after checking for duplicates) or remove this directive.
└ @ Revise ~/.julia/packages/Revise/bAgL0/src/precompile.jl:64
┌ Warning: precompile directive
│     precompile(Tuple{mbody.sig.parameters[1], Symbol, Bool, Bool, Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:skip_include,), Tuple{Bool}}}, typeof(methods_by_execution!), Any, MI, DocExprs, Module, Expr})
│ failed. Please report an issue in Revise (after checking for duplicates) or remove this directive.
└ @ Revise ~/.julia/packages/Revise/bAgL0/src/precompile.jl:65
┌ Warning: precompile directive
│     precompile(Tuple{mbody.sig.parameters[1], Symbol, Bool, typeof(methods_by_execution!), Any, MI, DocExprs, Frame, Vector{Bool}})
│ failed. Please report an issue in Revise (after checking for duplicates) or remove this directive.
└ @ Revise ~/.julia/packages/Revise/bAgL0/src/precompile.jl:68
  1 dependency successfully precompiled in 10 seconds. 34 already precompiled.
  1 dependency had output during precompilation:
┌ Revise
│  [Output was shown above]

Version:
julia> versioninfo()
Julia Version 1.11.0-beta1
Commit 08e1fc0abb9 (2024-04-10 08:40 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 80 × Intel(R) Xeon(R) CPU E5-2698 v4 @ 2.20GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, broadwell)
Threads: 10 default, 0 interactive, 5 GC (on 80 virtual cores)

(@v1.11) pkg> st Revise
Status `~/.julia/environments/v1.11/Project.toml`
  [295af30f] Revise v3.5.14

Closing comment (2024-07-10T08:07:41Z): By the way, this is a duplicate of #780