Skip to content

Instantly share code, notes, and snippets.

@vadorovsky
Created January 11, 2023 08:01
Show Gist options
  • Save vadorovsky/7aaf1bbbb78ab0c0371fe65d90105007 to your computer and use it in GitHub Desktop.
Save vadorovsky/7aaf1bbbb78ab0c0371fe65d90105007 to your computer and use it in GitHub Desktop.
nightly ebpf error 11-01-2023
vadorovsky  …/aya-examples/uprobe   main ?   v1.66.1  ♥ 16:00  cargo xtask build-ebpf
Blocking waiting for file lock on package cache
Compiling version_check v0.9.4
Compiling proc-macro2 v1.0.49
Compiling unicode-ident v1.0.6
Compiling quote v1.0.23
Compiling libc v0.2.139
Compiling syn v1.0.107
Compiling io-lifetimes v1.0.3
Compiling rustix v0.36.6
Compiling bitflags v1.3.2
Compiling linux-raw-sys v0.1.4
Compiling heck v0.4.0
Compiling anyhow v1.0.68
Compiling os_str_bytes v6.4.1
Compiling once_cell v1.17.0
Compiling strsim v0.10.0
Compiling termcolor v1.1.3
Compiling clap_lex v0.3.0
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling is-terminal v0.4.2
Compiling clap_derive v4.0.21
Compiling clap v4.0.32
Compiling xtask v0.1.0 (/home/vadorovsky/repos/aya-examples/uprobe/xtask)
Finished dev [unoptimized + debuginfo] target(s) in 8.13s
Running `target/debug/xtask build-ebpf`
Blocking waiting for file lock on package cache
Dirty proc-macro2 v1.0.49: the toolchain changed
Compiling proc-macro2 v1.0.49
Dirty unicode-ident v1.0.6: the toolchain changed
Compiling unicode-ident v1.0.6
Dirty quote v1.0.23: the toolchain changed
Compiling quote v1.0.23
Dirty compiler_builtins v0.1.85: the toolchain changed
Compiling compiler_builtins v0.1.85
Dirty syn v1.0.107: the toolchain changed
Compiling syn v1.0.107
Dirty core v0.0.0 (/home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core): the toolchain changed
Compiling core v0.0.0 (/home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Dirty rustversion v1.0.11: the toolchain changed
Compiling rustversion v1.0.11
Dirty aya-bpf-cty v0.2.1 (https://github.com/aya-rs/aya?branch=main#4cc0ea09): the toolchain changed
Compiling aya-bpf-cty v0.2.1 (https://github.com/aya-rs/aya?branch=main#4cc0ea09)
Dirty aya-bpf-bindings v0.1.0 (https://github.com/aya-rs/aya?branch=main#4cc0ea09): the toolchain changed
Compiling aya-bpf-bindings v0.1.0 (https://github.com/aya-rs/aya?branch=main#4cc0ea09)
Running `rustc --crate-name build_script_build --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.49/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=40c41ad74c3d33b6 -C extra-filename=-40c41ad74c3d33b6 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/proc-macro2-40c41ad74c3d33b6 -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `rustc --crate-name unicode_ident --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-ident-1.0.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=dd948ce851eb96fc -C extra-filename=-dd948ce851eb96fc --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `rustc --crate-name build_script_build --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.23/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=cfa07bb0a2f22501 -C extra-filename=-cfa07bb0a2f22501 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/quote-cfa07bb0a2f22501 -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `rustc --crate-name build_script_build /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.85/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="compiler-builtins"' --cfg 'feature="core"' --cfg 'feature="default"' --cfg 'feature="rustc-dep-of-std"' -C metadata=c07aa2271fdfadde -C extra-filename=-c07aa2271fdfadde --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/compiler_builtins-c07aa2271fdfadde -Z force-unstable-if-unmarked -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `rustc --crate-name build_script_build --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.107/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=3b590568f75c8477 -C extra-filename=-3b590568f75c8477 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/syn-3b590568f75c8477 -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `rustc --crate-name core --edition=2021 /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C linker-plugin-lto -C codegen-units=1 -C metadata=8a478106d6c99e88 -C extra-filename=-8a478106d6c99e88 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/bpfel-unknown-none/debug/deps --target bpfel-unknown-none -Z force-unstable-if-unmarked -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/bpfel-unknown-none/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `rustc --crate-name build_script_build --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/rustversion-1.0.11/build/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=3490d6c222eacf81 -C extra-filename=-3490d6c222eacf81 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/rustversion-3490d6c222eacf81 -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `rustc --crate-name build_script_build --edition=2021 /home/vadorovsky/.cargo/git/checkouts/aya-c55fbc69175ac116/4cc0ea0/bpf/aya-bpf-bindings/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=2f2c40c3084ecf1c -C extra-filename=-2f2c40c3084ecf1c --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/aya-bpf-bindings-2f2c40c3084ecf1c -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `rustc --crate-name build_script_build /home/vadorovsky/.cargo/git/checkouts/aya-c55fbc69175ac116/4cc0ea0/bpf/aya-bpf-cty/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=c22120cc81e6c31a -C extra-filename=-c22120cc81e6c31a --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/aya-bpf-cty-c22120cc81e6c31a -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow`
Running `/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/quote-cfa07bb0a2f22501/build-script-build`
Running `/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/syn-3b590568f75c8477/build-script-build`
Running `/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/compiler_builtins-c07aa2271fdfadde/build-script-build`
Running `/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/aya-bpf-cty-c22120cc81e6c31a/build-script-build`
Running `/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/aya-bpf-bindings-2f2c40c3084ecf1c/build-script-build`
Running `/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/proc-macro2-40c41ad74c3d33b6/build-script-build`
Running `/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/rustversion-3490d6c222eacf81/build-script-build`
Running `rustc --crate-name proc_macro2 --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.49/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=4af297d59f1cf81b -C extra-filename=-4af297d59f1cf81b --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern unicode_ident=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libunicode_ident-dd948ce851eb96fc.rmeta --cap-lints allow --cfg use_proc_macro --cfg wrap_proc_macro --cfg proc_macro_span`
Running `rustc --crate-name rustversion --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/rustversion-1.0.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=ded991fd87af52d4 -C extra-filename=-ded991fd87af52d4 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern proc_macro --cap-lints allow`
error: cannot find macro `atomic_int` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:2821:1
|
2821 | atomic_int! {
| ^^^^^^^^^^
error: cannot find macro `atomic_int` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:2841:1
|
2841 | atomic_int! {
| ^^^^^^^^^^
error: cannot find macro `atomic_int` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:2905:9
|
2905 | atomic_int! {
| ^^^^^^^^^^
...
2948 | / atomic_int_ptr_sized! {
2949 | | "16" 2
2950 | | "32" 4
2951 | | "64" 8
2952 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `atomic_int_ptr_sized` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `atomic_int` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:2926:9
|
2926 | atomic_int! {
| ^^^^^^^^^^
...
2948 | / atomic_int_ptr_sized! {
2949 | | "16" 2
2950 | | "32" 4
2951 | | "64" 8
2952 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `atomic_int_ptr_sized` (in Nightly builds, run with -Z macro-backtrace for more info)
Running `rustc --crate-name quote --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.23/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=1de904bd82a1bdc5 -C extra-filename=-1de904bd82a1bdc5 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern proc_macro2=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libproc_macro2-4af297d59f1cf81b.rmeta --cap-lints allow`
Dirty aya-bpf v0.1.0 (https://github.com/aya-rs/aya?branch=main#4cc0ea09): the toolchain changed
Compiling aya-bpf v0.1.0 (https://github.com/aya-rs/aya?branch=main#4cc0ea09)
Running `rustc --crate-name build_script_build --edition=2021 /home/vadorovsky/.cargo/git/checkouts/aya-c55fbc69175ac116/4cc0ea0/bpf/aya-bpf/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=87a0897f2d7b6858 -C extra-filename=-87a0897f2d7b6858 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/aya-bpf-87a0897f2d7b6858 -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern rustversion=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/librustversion-ded991fd87af52d4.so --cap-lints allow`
Running `rustc --crate-name syn --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.107/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=9dc005491733f9fd -C extra-filename=-9dc005491733f9fd --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern proc_macro2=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libproc_macro2-4af297d59f1cf81b.rmeta --extern quote=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libquote-1de904bd82a1bdc5.rmeta --extern unicode_ident=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libunicode_ident-dd948ce851eb96fc.rmeta --cap-lints allow`
error[E0412]: cannot find type `AtomicIsize` in module `crate::sync::atomic`
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:206:45
|
206 | impl RefUnwindSafe for crate::sync::atomic::AtomicIsize {}
| ^^^^^^^^^^^ not found in `crate::sync::atomic`
error[E0412]: cannot find type `AtomicI64` in module `crate::sync::atomic`
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:218:45
|
218 | impl RefUnwindSafe for crate::sync::atomic::AtomicI64 {}
| ^^^^^^^^^ help: a struct with a similar name exists: `AtomicPtr`
|
::: /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:176:1
|
176 | pub struct AtomicPtr<T> {
| ----------------------- similarly named struct `AtomicPtr` defined here
error[E0412]: cannot find type `AtomicUsize` in module `crate::sync::atomic`
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:225:45
|
225 | impl RefUnwindSafe for crate::sync::atomic::AtomicUsize {}
| ^^^^^^^^^^^ not found in `crate::sync::atomic`
error[E0412]: cannot find type `AtomicU64` in module `crate::sync::atomic`
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:237:45
|
237 | impl RefUnwindSafe for crate::sync::atomic::AtomicU64 {}
| ^^^^^^^^^ help: a struct with a similar name exists: `AtomicPtr`
|
::: /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:176:1
|
176 | pub struct AtomicPtr<T> {
| ----------------------- similarly named struct `AtomicPtr` defined here
Running `/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/build/aya-bpf-87a0897f2d7b6858/build-script-build`
Dirty num_enum_derive v0.5.8: the toolchain changed
Compiling num_enum_derive v0.5.8
Dirty aya-bpf-macros v0.1.0 (https://github.com/aya-rs/aya?branch=main#4cc0ea09): the toolchain changed
Compiling aya-bpf-macros v0.1.0 (https://github.com/aya-rs/aya?branch=main#4cc0ea09)
Running `rustc --crate-name num_enum_derive --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/num_enum_derive-0.5.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=8f1d16f4747dfa1f -C extra-filename=-8f1d16f4747dfa1f --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern proc_macro2=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libproc_macro2-4af297d59f1cf81b.rlib --extern quote=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libquote-1de904bd82a1bdc5.rlib --extern syn=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libsyn-9dc005491733f9fd.rlib --extern proc_macro --cap-lints allow`
Running `rustc --crate-name aya_bpf_macros --edition=2021 /home/vadorovsky/.cargo/git/checkouts/aya-c55fbc69175ac116/4cc0ea0/aya-bpf-macros/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=4a80198f40547bc3 -C extra-filename=-4a80198f40547bc3 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern proc_macro2=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libproc_macro2-4af297d59f1cf81b.rlib --extern quote=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libquote-1de904bd82a1bdc5.rlib --extern syn=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libsyn-9dc005491733f9fd.rlib --extern proc_macro --cap-lints allow`
error[E0425]: cannot find function `atomic_swap` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1253:18
|
1253 | unsafe { atomic_swap(self.p.get(), ptr, order) }
| ^^^^^^^^^^^ help: a function with a similar name exists: `atomic_load`
...
2983 | unsafe fn atomic_load<T: Copy>(dst: *const T, order: Ordering) -> T {
| ------------------------------------------------------------------- similarly named function `atomic_load` defined here
error[E0425]: cannot find function `strongest_failure_ordering` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1308:58
|
1308 | match self.compare_exchange(current, new, order, strongest_failure_ordering(order)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `atomic_compare_exchange` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1355:18
|
1355 | unsafe { atomic_compare_exchange(self.p.get(), current, new, success, failure) }
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `atomic_compare_exchange_weak` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1407:18
|
1407 | unsafe { atomic_compare_exchange_weak(self.p.get(), current, new, success, failure) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `atomic_add` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1603:18
|
1603 | unsafe { atomic_add(self.p.get(), core::ptr::invalid_mut(val), order).cast() }
| ^^^^^^^^^^ help: a function with a similar name exists: `atomic_load`
...
2983 | unsafe fn atomic_load<T: Copy>(dst: *const T, order: Ordering) -> T {
| ------------------------------------------------------------------- similarly named function `atomic_load` defined here
error[E0425]: cannot find function `atomic_sub` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1638:18
|
1638 | unsafe { atomic_sub(self.p.get(), core::ptr::invalid_mut(val), order).cast() }
| ^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `atomic_or` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1689:18
|
1689 | unsafe { atomic_or(self.p.get(), core::ptr::invalid_mut(val), order).cast() }
| ^^^^^^^^^ help: a function with a similar name exists: `atomic_load`
...
2983 | unsafe fn atomic_load<T: Copy>(dst: *const T, order: Ordering) -> T {
| ------------------------------------------------------------------- similarly named function `atomic_load` defined here
error[E0425]: cannot find function `atomic_and` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1739:18
|
1739 | unsafe { atomic_and(self.p.get(), core::ptr::invalid_mut(val), order).cast() }
| ^^^^^^^^^^ help: a function with a similar name exists: `atomic_load`
...
2983 | unsafe fn atomic_load<T: Copy>(dst: *const T, order: Ordering) -> T {
| ------------------------------------------------------------------- similarly named function `atomic_load` defined here
error[E0425]: cannot find function `atomic_xor` in this scope
--> /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1787:18
|
1787 | unsafe { atomic_xor(self.p.get(), core::ptr::invalid_mut(val), order).cast() }
| ^^^^^^^^^^ help: a function with a similar name exists: `atomic_load`
...
2983 | unsafe fn atomic_load<T: Copy>(dst: *const T, order: Ordering) -> T {
| ------------------------------------------------------------------- similarly named function `atomic_load` defined here
Dirty num_enum v0.5.8: the toolchain changed
Compiling num_enum v0.5.8
Running `rustc --crate-name num_enum --edition=2018 /home/vadorovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/num_enum-0.5.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=15ab029944f0c574 -C extra-filename=-15ab029944f0c574 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern num_enum_derive=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libnum_enum_derive-8f1d16f4747dfa1f.so --cap-lints allow`
Dirty aya-log-common v0.1.13 (https://github.com/aya-rs/aya?branch=main#4cc0ea09): the toolchain changed
Compiling aya-log-common v0.1.13 (https://github.com/aya-rs/aya?branch=main#4cc0ea09)
Running `rustc --crate-name aya_log_common --edition=2021 /home/vadorovsky/.cargo/git/checkouts/aya-c55fbc69175ac116/4cc0ea0/aya-log-common/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=2dc020689cbfdce1 -C extra-filename=-2dc020689cbfdce1 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern num_enum=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libnum_enum-15ab029944f0c574.rmeta --cap-lints allow`
Dirty aya-log-parser v0.1.11-dev.0 (https://github.com/aya-rs/aya?branch=main#4cc0ea09): the toolchain changed
Compiling aya-log-parser v0.1.11-dev.0 (https://github.com/aya-rs/aya?branch=main#4cc0ea09)
Running `rustc --crate-name aya_log_parser --edition=2018 /home/vadorovsky/.cargo/git/checkouts/aya-c55fbc69175ac116/4cc0ea0/aya-log-parser/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=0e6059200710c2b9 -C extra-filename=-0e6059200710c2b9 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --extern aya_log_common=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps/libaya_log_common-2dc020689cbfdce1.rmeta --cap-lints allow`
Some errors have detailed explanations: E0412, E0425.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `core` due to 17 previous errors
Caused by:
process didn't exit successfully: `rustc --crate-name core --edition=2021 /home/vadorovsky/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=263 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C linker-plugin-lto -C codegen-units=1 -C metadata=8a478106d6c99e88 -C extra-filename=-8a478106d6c99e88 --out-dir /home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/bpfel-unknown-none/debug/deps --target bpfel-unknown-none -Z force-unstable-if-unmarked -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/bpfel-unknown-none/debug/deps -L dependency=/home/vadorovsky/repos/aya-examples/uprobe/uprobe-ebpf/../target/debug/deps --cap-lints allow` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
thread 'main' panicked at 'assertion failed: status.success()', xtask/src/build_ebpf.rs:62:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment