oolong-dev / OpenTelemetry.jl

An unofficial implementation of OpenTelemetry in Julia.
https://oolong.dev/OpenTelemetry.jl/
Apache License 2.0
30 stars 9 forks source link

Precompiling fails on Julia v1.10 #93

Closed pankgeorg closed 8 months ago

pankgeorg commented 1 year ago

Error: WARNING: Method definition schedule(Task) in module Base at task.jl:813 overwritten in module OpenTelemetrySDK, LoadError: Method overwriting is not permitted during Module precompile.

Julia version: v"1.10.0-beta2"

Processor: Arm Ampere Altra 80

processor       : 0
BogoMIPS        : 50.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x3
CPU part        : 0xd0c
CPU revision    : 1
OpenTelemetry [c1912aec-9d41-432b-84fe-e17fd97255be]

Failed to precompile OpenTelemetry [c1912aec-9d41-432b-84fe-e17fd97255be] to "/home/pgeorgakopoulos/.julia/compiled/v1.10/OpenTelemetry/jl_4JnYvu".
WARNING: Method definition schedule(Task) in module Base at task.jl:813 overwritten in module OpenTelemetrySDK at /home/pgeorgakopoulos/.julia/packages/OpenTelemetrySDK/eaQqq/src/patch.jl:6.
ERROR: LoadError: Method overwriting is not permitted during Module precompile.
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/OpenTelemetrySDK/eaQqq/src/patch.jl:6
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:489
 [3] include(x::String)
   @ OpenTelemetrySDK ~/.julia/packages/OpenTelemetrySDK/eaQqq/src/OpenTelemetrySDK.jl:1
 [4] top-level scope
   @ ~/.julia/packages/OpenTelemetrySDK/eaQqq/src/OpenTelemetrySDK.jl:15
 [5] include
   @ Base ./Base.jl:489 [inlined]
 [6] 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:2216
 [7] top-level scope
   @ stdin:3
in expression starting at /home/pgeorgakopoulos/.julia/packages/OpenTelemetrySDK/eaQqq/src/patch.jl:6
in expression starting at /home/pgeorgakopoulos/.julia/packages/OpenTelemetrySDK/eaQqq/src/OpenTelemetrySDK.jl:1
in expression starting at stdin:3