[INFO] cloning repository https://github.com/sch00lb0y/rust-bpf-fork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sch00lb0y/rust-bpf-fork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsch00lb0y%2Frust-bpf-fork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsch00lb0y%2Frust-bpf-fork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccaae5cde90bd459d2d3d490a84cc172b64e77e6 [INFO] testing sch00lb0y/rust-bpf-fork against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsch00lb0y%2Frust-bpf-fork" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sch00lb0y/rust-bpf-fork on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sch00lb0y/rust-bpf-fork [INFO] finished tweaking git repo https://github.com/sch00lb0y/rust-bpf-fork [INFO] tweaked toml for git repo https://github.com/sch00lb0y/rust-bpf-fork written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/sch00lb0y/rust-bpf-fork already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.3.5 [INFO] [stderr] Downloaded which v1.0.3 [INFO] [stderr] Downloaded bcc-sys v0.7.0 [INFO] [stderr] Downloaded cexpr v0.2.2 [INFO] [stderr] Downloaded bindgen v0.37.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 873382bc77e492c5017d23057593b81aa4678b5dead6b44d92ef34a9ee4a0771 [INFO] running `Command { std: "docker" "start" "-a" "873382bc77e492c5017d23057593b81aa4678b5dead6b44d92ef34a9ee4a0771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "873382bc77e492c5017d23057593b81aa4678b5dead6b44d92ef34a9ee4a0771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873382bc77e492c5017d23057593b81aa4678b5dead6b44d92ef34a9ee4a0771", kill_on_drop: false }` [INFO] [stdout] 873382bc77e492c5017d23057593b81aa4678b5dead6b44d92ef34a9ee4a0771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00639ea702a7b75f7d821583c3f048ccd315ea52ac4c9b65e5f9a781f834db2b [INFO] running `Command { std: "docker" "start" "-a" "00639ea702a7b75f7d821583c3f048ccd315ea52ac4c9b65e5f9a781f834db2b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling which v1.0.3 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling clap v2.29.2 [INFO] [stderr] Compiling cexpr v0.2.2 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling bcc-sys v0.7.0 [INFO] [stderr] Compiling bcc v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `types::MutPointer` [INFO] [stdout] --> src/core/uprobe.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use types::MutPointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/core/uprobe.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | raw_cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | cb: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | cb: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | raw_cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/core/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/mod.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/mod.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/core/mod.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/mod.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/mod.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/uprobe.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let (cpu, group_fd) = (0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/uprobe.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let (cpu, group_fd) = (0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `table` [INFO] [stdout] --> src/perf.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | table: Table, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `callbacks` [INFO] [stdout] --> src/perf.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.53s [INFO] running `Command { std: "docker" "inspect" "00639ea702a7b75f7d821583c3f048ccd315ea52ac4c9b65e5f9a781f834db2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00639ea702a7b75f7d821583c3f048ccd315ea52ac4c9b65e5f9a781f834db2b", kill_on_drop: false }` [INFO] [stdout] 00639ea702a7b75f7d821583c3f048ccd315ea52ac4c9b65e5f9a781f834db2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa3dee84a6d190ea189a65a4f2a4d5b87e9c3469426a0bd30132e033608ca40c [INFO] running `Command { std: "docker" "start" "-a" "fa3dee84a6d190ea189a65a4f2a4d5b87e9c3469426a0bd30132e033608ca40c", kill_on_drop: false }` [INFO] [stderr] Compiling bcc v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `types::MutPointer` [INFO] [stdout] --> src/core/uprobe.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use types::MutPointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/core/uprobe.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | raw_cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | cb: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | cb: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | raw_cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/core/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/mod.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/mod.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/core/mod.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/mod.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/mod.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/uprobe.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let (cpu, group_fd) = (0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/uprobe.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let (cpu, group_fd) = (0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `table` [INFO] [stdout] --> src/perf.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | table: Table, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `callbacks` [INFO] [stdout] --> src/perf.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/opensnoop.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | fn perf_data_callback() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::MutPointer` [INFO] [stdout] --> src/core/uprobe.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use types::MutPointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/core/uprobe.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | raw_cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | cb: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | cb: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perf.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | raw_cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cpuonline.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref TEST: Vec> = vec![ [INFO] [stdout] 51 | | TestData { [INFO] [stdout] 52 | | data: "", [INFO] [stdout] ... | [INFO] [stdout] 96 | | ]; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.strlen.96829255-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6.3vybi8ugqxtz1ena.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-49030c54b835cfdb/out/.libs" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libbcc-555a3a7b9c3553cc.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f222244177f8db8b.rlib" "/opt/rustwide/target/debug/deps/libbcc_sys-59efd3cc7b34502c.rlib" "/opt/rustwide/target/debug/deps/libfailure-bc50bb5877d792ee.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-4eb613755efd992a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-2b9bc13b287e1e34.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-f0461b4a4e1cd1bb.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-2f147641fde2e50d.rlib" "/opt/rustwide/target/debug/deps/liblibc-bcb46937e7421e15.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lbcc" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/strlen-64e96bb5ed7a0bc6" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lbcc [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bcc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.softirqs.801420f6-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d.3pc4rv7xrgjo3vrs.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-49030c54b835cfdb/out/.libs" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libbcc-555a3a7b9c3553cc.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f222244177f8db8b.rlib" "/opt/rustwide/target/debug/deps/libbcc_sys-59efd3cc7b34502c.rlib" "/opt/rustwide/target/debug/deps/libfailure-bc50bb5877d792ee.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-4eb613755efd992a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-2b9bc13b287e1e34.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-f0461b4a4e1cd1bb.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-2f147641fde2e50d.rlib" "/opt/rustwide/target/debug/deps/liblibc-bcb46937e7421e15.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lbcc" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/softirqs-91b9f19bf328cb7d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lbcc [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/core/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/mod.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/mod.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/core/mod.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/mod.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/mod.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | let (pid, cpu, group_fd) = (-1, 0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/core/uprobe.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let (cpu, group_fd) = (0, -1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_fd` [INFO] [stdout] --> src/core/uprobe.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let (cpu, group_fd) = (0, -1); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/opensnoop.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | let mut perf_map = init_perf_map(table, perf_data_callback)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found fn item [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(perf_data_callback)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Fn() -> Box<(dyn for<'r> FnMut(&'r [u8]) + Send + 'static)> + 'static)>` [INFO] [stdout] found fn item `fn() -> Box<(dyn for<'r> FnMut(&'r [u8]) + Send + 'static)> {perf_data_callback}` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: field is never read: `table` [INFO] [stdout] --> src/perf.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | table: Table, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `callbacks` [INFO] [stdout] --> src/perf.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.bcc.59ea29c4-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3.41v8h554a3211uw.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-49030c54b835cfdb/out/.libs" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-08487f8e282f19e0.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-9e93f1ef523b9dfd.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-fd135b1b487350d3.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-6d527484b6287cb3.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-91c5e579413a9548.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-c269ce288e235580.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f222244177f8db8b.rlib" "/opt/rustwide/target/debug/deps/libbcc_sys-59efd3cc7b34502c.rlib" "/opt/rustwide/target/debug/deps/libfailure-bc50bb5877d792ee.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-4eb613755efd992a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-2b9bc13b287e1e34.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-f0461b4a4e1cd1bb.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-2f147641fde2e50d.rlib" "/opt/rustwide/target/debug/deps/liblibc-bcb46937e7421e15.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lbcc" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bcc-00ef97507ce1c4e3" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lbcc [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fa3dee84a6d190ea189a65a4f2a4d5b87e9c3469426a0bd30132e033608ca40c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa3dee84a6d190ea189a65a4f2a4d5b87e9c3469426a0bd30132e033608ca40c", kill_on_drop: false }` [INFO] [stdout] fa3dee84a6d190ea189a65a4f2a4d5b87e9c3469426a0bd30132e033608ca40c