Skip to content

Unable to run example from readme #233

@marius311

Description

@marius311

I'm trying PackageCompiler for the first time, I just ran the example from the readme and get the following error. Any suggestions? Apologies if I'm doing something very basic wrong.

marius@martop:~$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.1.0 (2019-01-21)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |

julia> using PackageCompiler

julia> # This command will use the `runtest.jl` of `ColorTypes` + `FixedPointNumbers` to find out what functions to precompile!
       # `force = false` to not force overwriting Julia's current system image
       compile_package("ColorTypes", "FixedPointNumbers", force = false)
[ Info: Recompiling stale cache file /home/marius/.julia/compiled/v1.1/ColorTypes/db21U.ji for ColorTypes [3da002f7-5984-5a60-b8a6-cbb66c0b333f]

[ Info: Registered package ColorTypes, using already given UUID: 3da002f7-5984-5a60-b8a6-cbb66c0b333f
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/ColorTypes/Project.toml`
  [53c48c17] + FixedPointNumbers v0.6.0
  [9a3f8284] + Random 
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/ColorTypes/Manifest.toml`
  [53c48c17] + FixedPointNumbers v0.6.0
  [9a3f8284] + Random 
  [9e88b42a] + Serialization 
 Resolving package versions...
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/ColorTypes/Project.toml`
  [9b87118b] + PackageCompiler v0.6.3
  [44cfe95a] + Pkg 
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/ColorTypes/Manifest.toml`
  [c7e460c6] + ArgParse v0.6.2
  [9e28174c] + BinDeps v0.8.10
  [b99e7846] + BinaryProvider v0.5.4
  [e1450e63] + BufferedStreams v1.0.0
  [34da2185] + Compat v2.1.0
  [0862f596] + HTTPClient v0.2.1
  [b27032c2] + LibCURL v0.5.0
  [522f3ed2] + LibExpat v0.5.0
  [2ec943e9] + Libz v1.0.0
  [9b87118b] + PackageCompiler v0.6.3
  [b718987f] + TextWrap v0.3.0
  [30578b45] + URIParser v0.4.0
  [c17dfb99] + WinRPM v0.4.2
  [2a0f44e3] + Base64 
  [ade2ca70] + Dates 
  [8bb1440f] + DelimitedFiles 
  [8ba89e20] + Distributed 
  [b77e0a4c] + InteractiveUtils 
  [76f85450] + LibGit2 
  [8f399da3] + Libdl 
  [37e2e46d] + LinearAlgebra 
  [56ddb016] + Logging 
  [d6f4376e] + Markdown 
  [a63ad114] + Mmap 
  [44cfe95a] + Pkg 
  [de0858da] + Printf 
  [3fa0cd96] + REPL 
  [ea8e919c] + SHA 
  [1a1011a3] + SharedArrays 
  [6462fe0b] + Sockets 
  [2f01184e] + SparseArrays 
  [10745b16] + Statistics 
  [8dfed614] + Test 
  [cf7118a7] + UUIDs 
  [4ec0a83e] + Unicode 
[ Info: activating new environment at ~/.julia/packages/PackageCompiler/oT98U/packages/ColorTypes/Project.toml.
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
Skipping Base.active_repl
Skipping Base.active_repl_backend
Test Summary:        | Pass  Total
Test some Gray stuff |   12     12
Test Summary:           | Pass  Total
bit pattern ambiguities |   17     17
Test Summary:         | Pass  Total
abstract type exports |    7      7
Test Summary:                     | Pass  Total
color construction from grayscale |    4      4
[ Info: used 4549 out of 4549 precompile statements
[ Info: Registered package FixedPointNumbers, using already given UUID: 53c48c17-4a7d-5ca2-90c5-79b7896eea93
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/FixedPointNumbers/Project.toml`
 [no changes]
 Resolving package versions...
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/FixedPointNumbers/Project.toml`
  [9b87118b] + PackageCompiler v0.6.3
  [44cfe95a] + Pkg 
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/FixedPointNumbers/Manifest.toml`
  [c7e460c6] + ArgParse v0.6.2
  [9e28174c] + BinDeps v0.8.10
  [b99e7846] + BinaryProvider v0.5.4
  [e1450e63] + BufferedStreams v1.0.0
  [34da2185] + Compat v2.1.0
  [0862f596] + HTTPClient v0.2.1
  [b27032c2] + LibCURL v0.5.0
  [522f3ed2] + LibExpat v0.5.0
  [2ec943e9] + Libz v1.0.0
  [9b87118b] + PackageCompiler v0.6.3
  [b718987f] + TextWrap v0.3.0
  [30578b45] + URIParser v0.4.0
  [c17dfb99] + WinRPM v0.4.2
  [2a0f44e3] + Base64 
  [ade2ca70] + Dates 
  [8bb1440f] + DelimitedFiles 
  [8ba89e20] + Distributed 
  [b77e0a4c] + InteractiveUtils 
  [76f85450] + LibGit2 
  [8f399da3] + Libdl 
  [37e2e46d] + LinearAlgebra 
  [56ddb016] + Logging 
  [d6f4376e] + Markdown 
  [a63ad114] + Mmap 
  [44cfe95a] + Pkg 
  [de0858da] + Printf 
  [3fa0cd96] + REPL 
  [9a3f8284] + Random 
  [ea8e919c] + SHA 
  [9e88b42a] + Serialization 
  [1a1011a3] + SharedArrays 
  [6462fe0b] + Sockets 
  [2f01184e] + SparseArrays 
  [10745b16] + Statistics 
  [8dfed614] + Test 
  [cf7118a7] + UUIDs 
  [4ec0a83e] + Unicode 
[ Info: activating new environment at ~/.julia/packages/PackageCompiler/oT98U/packages/FixedPointNumbers/Project.toml.
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
Skipping Base.active_repl
Skipping Base.active_repl_backend
Test Summary: |     Pass     Total
normed        | 63739463  63739463
Test Summary: |   Pass   Total
fixed         | 425852  425852
[ Info: used 1052 out of 1052 precompile statements
┌ Info: Building `inference.o`:
└ `/home/marius/src/julia/usr/bin/julia -C native --output-ji /home/marius/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/basecompiler.ji --output-o /home/marius/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/basecompiler.o compiler/compiler.jl`
essentials.jl
ctypes.jl
generator.jl
reflection.jl
options.jl
promotion.jl
tuple.jl
pair.jl
traits.jl
range.jl
expr.jl
error.jl
bool.jl
number.jl
int.jl
operators.jl
pointer.jl
refvalue.jl
indices.jl
array.jl
abstractarray.jl
bitarray.jl
bitset.jl
abstractdict.jl
abstractset.jl
iterators.jl
namedtuple.jl
docs/core.jl
ordering.jl
sort.jl
compiler/utilities.jl
compiler/validation.jl
compiler/inferenceresult.jl
compiler/params.jl
compiler/inferencestate.jl
compiler/typeutils.jl
compiler/typelimits.jl
compiler/typelattice.jl
compiler/tfuncs.jl
compiler/abstractinterpretation.jl
compiler/typeinfer.jl
compiler/optimize.jl
compiler/ssair/driver.jl
compiler/ssair/ir.jl
compiler/ssair/domtree.jl
compiler/ssair/slot2ssa.jl
compiler/ssair/queries.jl
compiler/ssair/passes.jl
compiler/ssair/inlining.jl
compiler/ssair/verify.jl
compiler/ssair/legacy.jl
compiler/bootstrap.jl
┌ Info: Building `sys.o`:
└ `/home/marius/src/julia/usr/bin/julia -C native --output-ji /home/marius/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/sys.ji --output-o /home/marius/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/sys.o -J /home/marius/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/basecompiler.ji --startup-file=no sysimg.jl`
coreio.jl
exports.jl
essentials.jl
ctypes.jl
gcutils.jl
generator.jl
reflection.jl
options.jl
promotion.jl
tuple.jl
pair.jl
traits.jl
range.jl
expr.jl
error.jl
bool.jl
number.jl
int.jl
operators.jl
pointer.jl
refvalue.jl
refpointer.jl
checked.jl
indices.jl
array.jl
abstractarray.jl
subarray.jl
views.jl
abstractdict.jl
iterators.jl
namedtuple.jl
hashing.jl
rounding.jl
float.jl
twiceprecision.jl
complex.jl
rational.jl
multinverses.jl
abstractarraymath.jl
arraymath.jl
simdloop.jl
reduce.jl
reshapedarray.jl
reinterpretarray.jl
bitarray.jl
bitset.jl
some.jl
dict.jl
abstractset.jl
set.jl
char.jl
strings/basic.jl
strings/string.jl
strings/substring.jl
build_h.jl
version_git.jl
osutils.jl
c.jl
io.jl
iostream.jl
iobuffer.jl
intfuncs.jl
strings/strings.jl
strings/search.jl
strings/unicode.jl
strings/util.jl
strings/io.jl
parse.jl
shell.jl
regex.jl
pcre.jl
show.jl
arrayshow.jl
cartesian.jl
multidimensional.jl
permuteddimsarray.jl
broadcast.jl
missing.jl
version.jl
sysinfo.jl
libc.jl
env.jl
libuv.jl
uv_constants.jl
event.jl
task.jl
lock.jl
threads.jl
weakkeydict.jl
logging.jl
stream.jl
filesystem.jl
process.jl
grisu/grisu.jl
methodshow.jl
secretbuffer.jl
floatfuncs.jl
math.jl
reducedim.jl
accumulate.jl
ordering.jl
sort.jl
fastmath.jl
Enums.jl
gmp.jl
mpfr.jl
combinatorics.jl
hashing2.jl
irrationals.jl
mathconstants.jl
printf.jl
meta.jl
channels.jl
deepcopy.jl
download.jl
summarysize.jl
errorshow.jl
stacktraces.jl
initdefs.jl
threadcall.jl
uuid.jl
loading.jl
util.jl
asyncmap.jl
multimedia.jl
deprecated.jl
docs/basedocs.jl
client.jl
docs/Docs.jl
Base  ─────────── 39.375477 seconds
Base64  ─────────  4.193334 seconds
CRC32c  ─────────  0.007501 seconds
SHA  ────────────  0.197366 seconds
FileWatching  ───  0.104591 seconds
Unicode  ────────  0.006884 seconds
Mmap  ───────────  0.093352 seconds
Serialization  ──  1.818023 seconds
Libdl  ──────────  0.033202 seconds
Markdown  ───────  4.501115 seconds
LibGit2  ────────  3.244930 seconds
Logging  ────────  0.030189 seconds
Sockets  ────────  3.323939 seconds
Printf  ─────────  0.007051 seconds
Profile  ────────  0.195988 seconds
Dates  ──────────  3.401597 seconds
DelimitedFiles  ─  0.299914 seconds
Random  ─────────  2.178742 seconds
UUIDs  ──────────  0.032068 seconds
Future  ─────────  0.006673 seconds
LinearAlgebra  ──  9.575683 seconds
SparseArrays  ───  3.448687 seconds
SuiteSparse  ────  1.461003 seconds
error during bootstrap:
LoadError("sysimg.jl", 491, LoadError("/home/marius/src/julia/usr/share/julia/stdlib/v1.1/Distributed/src/Distributed.jl", 85, LoadError("/home/marius/src/julia/usr/share/julia/stdlib/v1.1/Distributed/src/cluster.jl", 493, LoadError("/home/marius/src/julia/usr/share/julia/stdlib/v1.1/Distributed/src/cluster.jl", 501, UndefVarError(Symbol("@which"))))))
rec_backtrace at /home/marius/src/julia/src/stackwalk.c:94
record_backtrace at /home/marius/src/julia/src/task.c:217 [inlined]
jl_throw at /home/marius/src/julia/src/task.c:417
jl_undefined_var_error at /home/marius/src/julia/src/rtutils.c:130
jl_eval_global_var at /home/marius/src/julia/src/interpreter.c:346 [inlined]
eval_value at /home/marius/src/julia/src/interpreter.c:392
Interpreter frame (ip: 0)
nothingjl_interpret_toplevel_expr_in at /home/marius/src/julia/src/interpreter.c:928
jl_toplevel_eval_flex at /home/marius/src/julia/src/toplevel.c:581
jl_invoke_julia_macro at /home/marius/src/julia/src/ast.c:1027
jl_expand_macros at /home/marius/src/julia/src/ast.c:1096
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1106
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_expand_macros at /home/marius/src/julia/src/ast.c:1139
jl_parse_eval_all at /home/marius/src/julia/src/ast.c:867
jl_load at /home/marius/src/julia/src/toplevel.c:826
include at ./boot.jl:326 [inlined]
include_relative at ./loading.jl:1038
include at ./sysimg.jl:29 [inlined]
include at /home/marius/src/julia/usr/share/julia/stdlib/v1.1/Distributed/src/Distributed.jl:6
jl_apply_generic at /home/marius/src/julia/src/gf.c:2219
do_call at /home/marius/src/julia/src/interpreter.c:323
eval_value at /home/marius/src/julia/src/interpreter.c:411
eval_stmt_value at /home/marius/src/julia/src/interpreter.c:362 [inlined]
eval_body at /home/marius/src/julia/src/interpreter.c:773
jl_interpret_toplevel_thunk_callback at /home/marius/src/julia/src/interpreter.c:885
Interpreter frame (ip: 0)
Core.CodeInfo(code=Array{Any, (2,)}[
  Expr(:call, :include, "cluster.jl"),
  Expr(:return, nothing)], codelocs=Array{Int32, (2,)}[1, 1], method_for_inference_limit_heuristics=nothing, ssavaluetypes=2, linetable=Array{Any, (1,)}[Core.LineInfoNode(mod=Distributed, method=Symbol("top-level scope"), file=:none, line=0, inlined_at=0)], ssaflags=Array{UInt8, (0,)}[], slotflags=Array{UInt8, (0,)}[], slotnames=Array{Any, (0,)}[], inferred=false, inlineable=false, propagate_inbounds=false, pure=false)jl_interpret_toplevel_thunk at /home/marius/src/julia/src/interpreter.c:894
jl_toplevel_eval_flex at /home/marius/src/julia/src/toplevel.c:764
jl_eval_module_expr at /home/marius/src/julia/src/toplevel.c:179
jl_toplevel_eval_flex at /home/marius/src/julia/src/toplevel.c:614
jl_toplevel_eval_flex at /home/marius/src/julia/src/toplevel.c:713
jl_parse_eval_all at /home/marius/src/julia/src/ast.c:883
jl_load at /home/marius/src/julia/src/toplevel.c:826
include at ./boot.jl:326 [inlined]
include_relative at ./loading.jl:1038
_require at ./loading.jl:986
require at ./loading.jl:858
require at ./loading.jl:853
jl_fptr_trampoline at /home/marius/src/julia/src/gf.c:1864
jl_apply_generic at /home/marius/src/julia/src/gf.c:2219
do_call at /home/marius/src/julia/src/interpreter.c:323
eval_value at /home/marius/src/julia/src/interpreter.c:411
eval_body at /home/marius/src/julia/src/interpreter.c:625
jl_interpret_toplevel_thunk_callback at /home/marius/src/julia/src/interpreter.c:885
Interpreter frame (ip: 40)
Core.CodeInfo(code=Array{Any, (87,)}[
  Expr(:call, Base.getproperty, :Base, :(:is_primary_base_module)),
  Expr(:gotoifnot, SSAValue(1), 87),
  <newvar #<3>>,
  <newvar #<8>>,
  Core.SlotNumber(id=4) = Expr(:call, Base.vect, :(:Base64), :(:CRC32c), :(:SHA), :(:FileWatching), :(:Unicode), :(:Mmap), :(:Serialization), :(:Libdl), :(:Markdown), :(:LibGit2), :(:Logging), :(:Sockets), :(:Printf), :(:Profile), :(:Dates), :(:DelimitedFiles), :(:Random), :(:UUIDs), :(:Future), :(:LinearAlgebra), :(:SparseArrays), :(:SuiteSparse), :(:Distributed), :(:SharedArrays), :(:Pkg), :(:Test), :(:REPL), :(:Statistics)),
  Expr(:call, Base.broadcasted, :string, Core.SlotNumber(id=4)),
  Expr(:call, Base.broadcasted, :textwidth, SSAValue(6)),
  Expr(:call, Base.materialize, SSAValue(7)),
  Core.SlotNumber(id=5) = Expr(:call, :maximum, SSAValue(8)),
  Expr(:thunk, Core.CodeInfo(code=Array{Any, (5,)}[
  Expr(:global, Symbol("##1#2")),
  Expr(:const, Symbol("##1#2")),
  Expr(:call, Core.TypeVar, :(:maxlen), Core.Any),
  Expr(:struct_type, Symbol("##1#2"), Expr(:call, Core.svec, SSAValue(3)), Expr(:call, Core.svec, :(:maxlen)), Core.Function, Expr(:call, Core.svec, SSAValue(3)), false, 1),
  Expr(:return, nothing)], codelocs=Array{Int32, (5,)}[1, 1, 1, 1, 1], method_for_inference_limit_heuristics=nothing, ssavaluetypes=5, linetable=Array{Any, (1,)}[Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=:none, line=0, inlined_at=0)], ssaflags=Array{UInt8, (0,)}[], slotflags=Array{UInt8, (0,)}[], slotnames=Array{Any, (0,)}[], inferred=false, inlineable=false, propagate_inbounds=false, pure=false)),
  Expr(:call, Core.svec, Symbol("##1#2"), Core.Any, Core.Any),
  Expr(:call, Core.svec),
  Expr(:call, Core.svec, SSAValue(11), SSAValue(12)),
  Expr(:method, false, SSAValue(13), Core.CodeInfo(code=Array{Any, (14,)}[
  Expr(:call, Main.string, Core.SlotNumber(id=2)),
  Expr(:call, Main.:(*), SSAValue(1), "  "),
  Expr(:call, Core.getfield, Core.SlotNumber(id=1), :(:maxlen)),
  Expr(:call, Main.:(+), SSAValue(3), 3),
  Expr(:call, Main.rpad, SSAValue(2), SSAValue(4), "─"),
  Expr(:call, Main.print, SSAValue(5)),
  Expr(:call, Base.getproperty, Main.Base, :(:time_print)),
  Expr(:call, Core.apply_type, Base.Val, 9),
  Expr(:call, SSAValue(8)),
  Expr(:call, Base.literal_pow, Main.:(^), 10, SSAValue(9)),
  Expr(:call, Main.:(*), Core.SlotNumber(id=3), SSAValue(10)),
  Expr(:call, SSAValue(7), SSAValue(11)),
  Expr(:call, Main.println),
  Expr(:return, SSAValue(13))], codelocs=Array{Int32, (14,)}[1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3], method_for_inference_limit_heuristics=nothing, ssavaluetypes=14, linetable=Array{Any, (3,)}[
  Core.LineInfoNode(mod=Main, method=Symbol("#1"), file=Symbol("sysimg.jl"), line=529, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("#1"), file=Symbol("sysimg.jl"), line=529, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("#1"), file=Symbol("sysimg.jl"), line=529, inlined_at=0)], ssaflags=Array{UInt8, (0,)}[], slotflags=Array{UInt8, (3,)}[0x00, 0x00, 0x00], slotnames=Array{Any, (3,)}[
  Symbol("#self#"),
  :mod,
  :t], inferred=false, inlineable=false, propagate_inbounds=false, pure=false)),
  Symbol("##1#2"),
  Expr(:call, Core.typeof, Core.SlotNumber(id=5)),
  Expr(:call, Core.apply_type, SSAValue(15), SSAValue(16)),
  Core.SlotNumber(id=1) = Expr(:new, SSAValue(17), Core.SlotNumber(id=5)),
  Core.SlotNumber(id=6) = Core.SlotNumber(id=1),
  Expr(:call, Base.getproperty, :Base, :(:end_base_include)),
  Expr(:call, Base.getproperty, :Base, :(:start_base_include)),
  Expr(:call, :-, SSAValue(20), SSAValue(21)),
  Expr(:call, Core.apply_type, Base.Val, -9),
  Expr(:call, SSAValue(23)),
  Expr(:call, Base.literal_pow, :^, 10, SSAValue(24)),
  Expr(:call, :*, SSAValue(22), SSAValue(25)),
  Expr(:call, Core.SlotNumber(id=6), :Base, SSAValue(26)),
  Expr(:call, Base.getproperty, :Base, :(:_track_dependencies)),
  Expr(:call, Base.setindex!, SSAValue(28), true),
  Core.SlotNumber(id=2) = Expr(:call, Base.time_ns),
  Core.SlotNumber(id=4),
  Core.SlotNumber(id=7) = Expr(:call, Base.iterate, SSAValue(31)),
  Expr(:call, Core.:(===), Core.SlotNumber(id=7), nothing),
  Expr(:call, Base.not_int, SSAValue(33)),
  Expr(:gotoifnot, SSAValue(34), 51),
  Core.SlotNumber(id=7),
  Core.SlotNumber(id=10) = Expr(:call, Core.getfield, SSAValue(36), 1),
  Expr(:call, Core.getfield, SSAValue(36), 2),
  Core.SlotNumber(id=11) = Expr(:call, Base.time_ns),
  Expr(:call, Base.getproperty, :Base, :(:require)),
  Core.SlotNumber(id=12) = Expr(:call, SSAValue(40), :Base, Core.SlotNumber(id=10)),
  Expr(:call, Base.time_ns),
  Expr(:call, Base.:(-), SSAValue(42), Core.SlotNumber(id=11)),
  Core.SlotNumber(id=13) = Expr(:call, Base.:(/), SSAValue(43), 1e+09),
  Expr(:call, Core.SlotNumber(id=6), Core.SlotNumber(id=10), Core.SlotNumber(id=13)),
  Core.SlotNumber(id=7) = Expr(:call, Base.iterate, SSAValue(31), SSAValue(38)),
  Expr(:call, Core.:(===), Core.SlotNumber(id=7), nothing),
  Expr(:call, Base.not_int, SSAValue(47)),
  Expr(:gotoifnot, SSAValue(48), 51),
  goto 36,
  Core.SlotNumber(id=3) = nothing,
  Expr(:call, Base.time_ns),
  Expr(:call, Base.:(-), SSAValue(52), Core.SlotNumber(id=2)),
  Expr(:call, Base.:(/), SSAValue(53), 1e+09),
  Expr(:call, Base.getproperty, :Base, :(:tot_time_stdlib)),
  Expr(:call, Base.setindex!, SSAValue(55), SSAValue(54)),
  Expr(:call, Base.getproperty, :Base, :(:_require_dependencies)),
  Core.SlotNumber(id=8) = Expr(:call, Base.iterate, SSAValue(57)),
  Expr(:call, Core.:(===), Core.SlotNumber(id=8), nothing),
  Expr(:call, Base.not_int, SSAValue(59)),
  Expr(:gotoifnot, SSAValue(60), 80),
  Core.SlotNumber(id=8),
  Core.SlotNumber(id=9) = Expr(:call, Core.getfield, SSAValue(62), 1),
  Expr(:call, Core.getfield, SSAValue(62), 2),
  Expr(:call, Base.getindex, Core.SlotNumber(id=9), 3),
  Expr(:call, :==, SSAValue(65), 0),
  Expr(:gotoifnot, SSAValue(66), 70),
  goto 75,
  goto 70,
  Expr(:call, Base.getproperty, :Base, :(:_included_files)),
  Core.SlotNumber(id=9),
  Expr(:call, ::, 1, 2),
  Expr(:call, Base.getindex, SSAValue(71), SSAValue(72)),
  Expr(:call, :push!, SSAValue(70), SSAValue(73)),
  Core.SlotNumber(id=8) = Expr(:call, Base.iterate, SSAValue(57), SSAValue(64)),
  Expr(:call, Core.:(===), Core.SlotNumber(id=8), nothing),
  Expr(:call, Base.not_int, SSAValue(76)),
  Expr(:gotoifnot, SSAValue(77), 80),
  goto 62,
  Expr(:call, Base.getproperty, :Base, :(:_require_dependencies)),
  Expr(:call, :empty!, SSAValue(80)),
  Expr(:call, Base.getproperty, :Base, :(:_track_dependencies)),
  Expr(:call, Base.setindex!, SSAValue(82), false),
  Expr(:call, Base.getproperty, :Base, :(:tot_time_stdlib)),
  Expr(:call, Base.getindex, SSAValue(84)),
  Expr(:call, Core.SlotNumber(id=6), "Stdlibs total", SSAValue(85)),
  Expr(:return, nothing)], codelocs=Array{Int32, (87,)}[1, 1, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 10, 10, 10, 10, 10, 10, 10, 12, 13, 13, 14, 14, 11, 15, 10, 10, 10, 10, 10, 10, 16, 16, 8, 8, 8, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 21, 21, 22, 22, 22, 22], method_for_inference_limit_heuristics=nothing, ssavaluetypes=87, linetable=Array{Any, (22,)}[
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=:none, line=0, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=493, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=495, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=527, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=529, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=530, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=532, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=533, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("macro expansion"), file=Symbol("util.jl"), line=212, inlined_at=8),
  Core.LineInfoNode(mod=Main, method=Symbol("macro expansion"), file=Symbol("util.jl"), line=213, inlined_at=8),
  Core.LineInfoNode(mod=Main, method=Symbol("macro expansion"), file=Symbol("sysimg.jl"), line=534, inlined_at=10),
  Core.LineInfoNode(mod=Main, method=Symbol("macro expansion"), file=Symbol("util.jl"), line=212, inlined_at=11),
  Core.LineInfoNode(mod=Main, method=Symbol("macro expansion"), file=Symbol("util.jl"), line=213, inlined_at=11),
  Core.LineInfoNode(mod=Main, method=Symbol("macro expansion"), file=Symbol("util.jl"), line=214, inlined_at=11),
  Core.LineInfoNode(mod=Main, method=Symbol("macro expansion"), file=Symbol("sysimg.jl"), line=535, inlined_at=10),
  Core.LineInfoNode(mod=Main, method=Symbol("macro expansion"), file=Symbol("util.jl"), line=214, inlined_at=8),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=537, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=538, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=539, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=541, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=542, inlined_at=0),
  Core.LineInfoNode(mod=Main, method=Symbol("top-level scope"), file=Symbol("sysimg.jl"), line=544, inlined_at=0)], ssaflags=Array{UInt8, (0,)}[], slotflags=Array{UInt8, (13,)}[0x10, 0x10, 0x10, 0x10, 0x10, 0x50, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x10], slotnames=Array{Any, (13,)}[
  Symbol("#1"),
  :t0,
  :val,
  :stdlibs,
  :maxlen,
  :print_time,
  Symbol("#temp#"),
  Symbol("#temp#"),
  :dep,
  :stdlib,
  :t0,
  :val,
  :tt], inferred=false, inlineable=false, propagate_inbounds=false, pure=false)jl_interpret_toplevel_thunk at /home/marius/src/julia/src/interpreter.c:894
jl_toplevel_eval_flex at /home/marius/src/julia/src/toplevel.c:764
jl_parse_eval_all at /home/marius/src/julia/src/ast.c:883
jl_load at /home/marius/src/julia/src/toplevel.c:826
exec_program at /home/marius/src/julia/ui/repl.c:35
true_main at /home/marius/src/julia/ui/repl.c:108
main at /home/marius/src/julia/ui/repl.c:217
__libc_start_main at /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
_start at /home/marius/src/julia/usr/bin/julia (unknown line)

ERROR: failed process: Process(`/home/marius/src/julia/usr/bin/julia -C native --output-ji /home/marius/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/sys.ji --output-o /home/marius/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/sys.o -J /home/marius/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/basecompiler.ji --startup-file=no sysimg.jl`, ProcessExited(1)) [1]
Stacktrace:
 [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
 [2] pipeline_error at ./process.jl:785 [inlined]
 [3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
 [4] run at ./process.jl:724 [inlined]
 [5] (::getfield(PackageCompiler, Symbol("##40#41")){Bool,String})() at /home/marius/.julia/packages/PackageCompiler/oT98U/src/system_image.jl:44
 [6] cd(::getfield(PackageCompiler, Symbol("##40#41")){Bool,String}, ::String) at ./file.jl:96
 [7] #compile_system_image#39(::Bool, ::Function, ::String, ::String) at /home/marius/.julia/packages/PackageCompiler/oT98U/src/system_image.jl:15
 [8] #compile_system_image at ./none:0 [inlined]
 [9] get_backup!(::Bool, ::Nothing) at /home/marius/.julia/packages/PackageCompiler/oT98U/src/system_image.jl:63
 [10] #build_sysimg#29(::Bool, ::Bool, ::Bool, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::typeof(PackageCompiler.build_sysimg), ::String, ::String) at /home/marius/.julia/packages/PackageCompiler/oT98U/src/api.jl:24
 [11] #build_sysimg at ./none:0 [inlined]
 [12] #compile_package#67(::Bool, ::Bool, ::Bool, ::Nothing, ::Bool, ::Function, ::Tuple{String,String}, ::Vararg{Tuple{String,String},N} where N) at /home/marius/.julia/packages/PackageCompiler/oT98U/src/PackageCompiler.jl:130
 [13] (::getfield(PackageCompiler, Symbol("#kw##compile_package")))(::NamedTuple{(:force,),Tuple{Bool}}, ::typeof(compile_package), ::Tuple{String,String}, ::Vararg{Tuple{String,String},N} where N) at ./none:0
 [14] #compile_package#64(::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:force,),Tuple{Bool}}}, ::Function, ::String, ::Vararg{String,N} where N) at /home/marius/.julia/packages/PackageCompiler/oT98U/src/PackageCompiler.jl:94
 [15] (::getfield(PackageCompiler, Symbol("#kw##compile_package")))(::NamedTuple{(:force,),Tuple{Bool}}, ::typeof(compile_package), ::String, ::Vararg{String,N} where N) at ./none:0
 [16] top-level scope at none:0

and

julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 1

(v1.1) pkg> st
    Status `~/.julia/environments/v1.1/Project.toml`
  [621f4979] AbstractFFTs v0.4.0
  [c52e3926] Atom v0.8.5
  [fbb218c0] BSON v0.2.3
  [6e4b80f9] BenchmarkTools v0.4.2
  [b60c06c0] CMBLensing v0.1.0 [`~/work/baylens`]
  [34f1f09b] ClusterManagers v0.3.2+ [`../../../src/ClusterManagers.jl`]
  [3da002f7] ColorTypes v0.7.5
  [861a8166] Combinatorics v0.7.0
  [a81c6b42] Compose v0.7.3
  [2b3c750e] Cosmology v0.1.0 [`../../../work/Cosmology.jl`]
  [717857b8] DSP v0.5.2
  [864edb3b] DataStructures v0.15.0
  [39dd38d3] Dierckx v0.4.1
  [e30172f5] Documenter v0.22.3
  [7a1cc6ca] FFTW v0.2.4
  [5789e2e9] FileIO v1.0.6
  [89791ac8] FisherMatrices v0.1.0 [`~/work/FisherMatrices.jl`]
  [53c48c17] FixedPointNumbers v0.5.3
  [587475ba] Flux v0.8.2
  [d7a90e42] Foo v0.1.0 [`../../../work/Foo`]
  [f6369f11] ForwardDiff v0.10.3
  [c91e804a] Gadfly v1.0.1
  [f67ccb44] HDF5 v0.11.0
  [7073ff75] IJulia v1.18.1
  [916415d5] Images v0.18.0
  [a98d9a8b] Interpolations v0.11.2
  [033835bb] JLD2 v0.1.2
  [e5e0dc1b] Juno v0.7.0
  [50d2b5c4] Lazy v0.13.2
  [4345ca2d] Loess v0.5.0
  [1914dd2f] MacroTools v0.5.0
  [2774e3e8] NLsolve v4.0.0
  [15e1cf62] NPZ v0.3.0
  [01a7183a] NerscClusterManagers v0.1.0 #master (https://github.com/marius311/NerscClusterManagers.jl)
  [47be7bcc] ORCA v0.2.1
  [429524aa] Optim v0.18.1
  [9b87118b] PackageCompiler v0.6.3
  [d96e819e] Parameters v0.10.3
  [58dd65bb] Plotly v0.2.0
  [f0f68f2c] PlotlyJS v0.12.3
  [91a5bcdd] Plots v0.24.0
  [27ebfcd6] Primes v0.4.0
  [92933f4c] ProgressMeter v0.9.0
  [438e738f] PyCall v1.91.2
  [d330b81b] PyPlot v2.8.1
  [1fd47b50] QuadGK v2.0.3
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v0.5.2
  [295af30f] Revise v2.1.2
  [f2b01f46] Roots v0.8.1
  [efcf1570] Setfield v0.3.4
  [aa65fe97] SnoopCompile v0.4.0
  [276daf66] SpecialFunctions v0.7.2
  [90137ffa] StaticArrays v0.10.3
  [2913bbd2] StatsBase v0.29.0
  [fd094767] Suppressor v0.1.1
  [44d3d7a6] Weave v0.9.0
  [e88e6eb3] Zygote v0.3.0+ #master (https://github.com/FluxML/Zygote.jl.git)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions