Failed to precompile DocumentFormat


#1

I am trying to connect Monaco editor to Julia language server, and I am seeing these error messages:

Julia Server: WARNING: 
Julia Server: Base.AbstractIOBuffer is deprecated
Julia Server: , use GenericIOBuffer instead.
Julia Server: 

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/lexer.jl:41

Julia Server: WARNING: 
Julia Server: Base.AbstractIOBuffer is deprecated
Julia Server: , use GenericIOBuffer instead.
Julia Server: 

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/lexer.jl:41

Julia Server: WARNING: 
Julia Server: Base.AbstractIOBuffer is deprecated
Julia Server: , use GenericIOBuffer instead.
Julia Server: 

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/lexer.jl:41

Julia Server: ┌ Warning: `x::ANY` is deprecated, use `@nospecialize(x)` instead.
│   caller = ip:0x0
└ @ Core :-1

Julia Server: WARNING: importing deprecated binding Base.Void into CSTParser.

Julia Server: WARNING: 
Julia Server: Base.Void is deprecated
Julia Server: , use Nothing instead.
Julia Server: 

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/conversion.jl:17

Julia Server: WARNING: 
Julia Server: Base.Void is deprecated
Julia Server: , use Nothing instead.
Julia Server: 

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/conversion.jl:24

Julia Server: WARNING: 
Julia Server: Base.Void is deprecated
Julia Server: , use Nothing instead.
Julia Server: 

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/conversion.jl:24

Julia Server: WARNING: 
Julia Server: Base.Void is deprecated
Julia Server: , use Nothing instead.
Julia Server: 

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/conversion.jl:24

Julia Server: WARNING: 
Julia Server: Base.Void is deprecated
Julia Server: , use Nothing instead.
Julia Server: 

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/conversion.jl:24

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.AbstractIOBuffer is deprecated, use GenericIOBuffer instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.AbstractIOBuffer is deprecated, use GenericIOBuffer instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.AbstractIOBuffer is deprecated, use GenericIOBuffer instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385
in _precompile_ at /root/.julia/packages/CSTParser/DFwJZ/src/_precompile.jl

Julia Server: WARNING: importing deprecated binding Base.STDERR into CSTParser.

Julia Server: WARNING: Base.ParseError is deprecated, use Meta.ParseError instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.ParseError is deprecated, use Meta.ParseError instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: importing deprecated binding Base.STDOUT into CSTParser.

Julia Server: WARNING: importing deprecated binding Base.isnull into CSTParser.

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.

Julia Server:   likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /root/.julia/packages/CSTParser/DFwJZ/src/CSTParser.jl:385

Julia Server: ERROR: 
Julia Server: LoadError: 
Julia Server: LoadError: 
Julia Server: MethodError: no method matching sortperm(::NTuple{10,Symbol})
Closest candidates are:
  sortperm(!Matched::AbstractUnitRange) at range.jl:941
  sortperm(!Matched::AbstractRange) at range.jl:942
  sortperm(!Matched::AbstractArray{T,1} where T; alg, lt, by, rev, order) at sort.jl:785
Julia Server: 
Stacktrace:
Julia Server: 

Julia Server:  [1] 
Julia Server: top-level scope
Julia Server:  at 
Julia Server: /root/.julia/packages/DocumentFormat/fUsiq/src/formatconfig.jl:34
Julia Server: 

Julia Server:  [2] 
Julia Server: include
Julia Server:  at 
Julia Server: ./boot.jl:317
Julia Server:  [inlined]
Julia Server: 

Julia Server:  [3] 
Julia Server: include_relative
Julia Server: (
Julia Server: ::
Julia Server: Module
Julia Server: , 
Julia Server: ::
Julia Server: String
Julia Server: )
Julia Server:  at 
Julia Server: ./loading.jl:1038
Julia Server: 

Julia Server:  [4] 
Julia Server: include
Julia Server:  at 
Julia Server: ./sysimg.jl:29
Julia Server:  [inlined]
Julia Server: 

Julia Server:  [5] 
Julia Server: include
Julia Server: (
Julia Server: ::
Julia Server: String
Julia Server: )
Julia Server:  at 
Julia Server: /root/.julia/packages/DocumentFormat/fUsiq/src/DocumentFormat.jl:1
Julia Server: 

Julia Server:  [6] 
Julia Server: top-level scope
Julia Server:  at 
Julia Server: none:0
Julia Server: 

Julia Server:  [7] 
Julia Server: include
Julia Server:  at 
Julia Server: ./boot.jl:317
Julia Server:  [inlined]
Julia Server: 

Julia Server:  [8] 
Julia Server: include_relative
Julia Server: (
Julia Server: ::
Julia Server: Module
Julia Server: , 
Julia Server: ::
Julia Server: String
Julia Server: )
Julia Server:  at 
Julia Server: ./loading.jl:1038
Julia Server: 

Julia Server:  [9] 
Julia Server: include
Julia Server: (
Julia Server: ::
Julia Server: Module
Julia Server: , 
Julia Server: ::
Julia Server: String
Julia Server: )
Julia Server:  at ./sysimg.jl:29
 [10] top-level scope at 
Julia Server: none:2
 [11] eval
Julia Server:  at ./boot.jl:319 [inlined]
 [12] eval
Julia Server: (::Expr) at 
Julia Server: ./client.jl:399
 [13] top-level scope at ./none:3
Julia Server: 
in expression starting at /root/.julia/packages/DocumentFormat/fUsiq/src/formatconfig.jl:31
in expression starting at /root/.julia/packages/DocumentFormat/fUsiq/src/DocumentFormat.jl:12

Julia Server: ERROR: 
Julia Server: LoadError: 
Julia Server: Failed to precompile DocumentFormat [ffa9a821-9c82-50df-894e-fbcef3ed31cd] to /root/.julia/compiled/v0.7/DocumentFormat/JgtLh.ji.
Julia Server: 
Stacktrace:
Julia Server: 
 [1] 
Julia Server: error
Julia Server: (
Julia Server: ::
Julia Server: String) at ./error.jl:33
 [2] 
Julia Server: macro expansion at ./logging.jl:313 [inlined]

Julia Server:  [3] compilecache(::Base.PkgId, ::String) at 
Julia Server: ./loading.jl:1185

Julia Server:  [4] 
Julia Server: _require(::
Julia Server: Base
Julia Server: .PkgId) at 
Julia Server: ./logging.jl:311
 [5] 
Julia Server: require(
Julia Server: ::Base.PkgId
Julia Server: ) at ./loading.jl:852
Julia Server: 
 [6] 
Julia Server: macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834
Julia Server: 
 [8] include at 
Julia Server: ./boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String)
Julia Server:  at ./loading.jl:1038
Julia Server: 
 [10] include(
Julia Server: ::Module, ::
Julia Server: String) at 
Julia Server: ./sysimg.jl:29
 [11] exec_options(::Base
Julia Server: .JLOptions) at 
Julia Server: ./client.jl:239
Julia Server: 
 [12] 
Julia Server: _start
Julia Server: (
Julia Server: ) at ./client.jl:432
in expression starting at /julia/LanguageServer.jl-master/src/LanguageServer.jl:5

I am on Julia 0.7/Ubuntu 16.04.

Any idea how to get around? Thanks!