[INFO] fetching crate scx_cargo 1.1.0... [INFO] linting scx_cargo-1.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate scx_cargo 1.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate scx_cargo 1.1.0 [INFO] finished tweaking crates.io crate scx_cargo 1.1.0 [INFO] tweaked toml for crates.io crate scx_cargo 1.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scx_cargo 1.1.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scx_cargo 1.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bad4a4f88dc967a2e983b8c0b2ad6cb9af9bb5c589c0020c3760f67b055633f [INFO] running `Command { std: "docker" "start" "-a" "1bad4a4f88dc967a2e983b8c0b2ad6cb9af9bb5c589c0020c3760f67b055633f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bad4a4f88dc967a2e983b8c0b2ad6cb9af9bb5c589c0020c3760f67b055633f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bad4a4f88dc967a2e983b8c0b2ad6cb9af9bb5c589c0020c3760f67b055633f", kill_on_drop: false }` [INFO] [stdout] 1bad4a4f88dc967a2e983b8c0b2ad6cb9af9bb5c589c0020c3760f67b055633f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65205bf2adabf869afcb24ea9e3963e1282e2c582fed73aeb45ee2519bb0e9e2 [INFO] running `Command { std: "docker" "start" "-a" "65205bf2adabf869afcb24ea9e3963e1282e2c582fed73aeb45ee2519bb0e9e2", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling nix v0.31.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling vsprintf v2.0.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling twox-hash v2.1.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Compiling ruzstd v0.8.2 [INFO] [stderr] Checking syn v2.0.117 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tempfile v3.26.0 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking version-compare v0.1.1 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling scx_cargo v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libbpf-sys v1.6.3+v1.6.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling sscanf_macro v0.4.4 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking sscanf v0.4.4 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking libbpf-rs v0.26.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking cargo_metadata v0.19.2 [INFO] [stderr] Checking libbpf-cargo v0.26.1 [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | /// interacts it using the generated bindings. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 80 | /// interacts it using the generated bindings. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | /// that will be used by both the BPF and userspace components. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 83 | /// that will be used by both the BPF and userspace components. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | /// including `struct sched_ext_ops`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 86 | /// including `struct sched_ext_ops`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | /// section. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 92 | /// section. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | /// bindings for the BPF component. For this project, it can look like the [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 95 | /// bindings for the BPF component. For this project, it can look like the [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | /// following. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 96 | /// following. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needless `fn main` in doctest [INFO] [stdout] --> src/bpf_builder.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | /// fn main() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main [INFO] [stdout] = note: `#[warn(clippy::needless_doctest_main)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | /// module. Above, we told `.enable_intf()` to generate the bindings into [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 110 | /// module. Above, we told `.enable_intf()` to generate the bindings into [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | /// `bpf_intf.rs`, so the file would look like the following. The `allow` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 111 | /// `bpf_intf.rs`, so the file would look like the following. The `allow` [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | /// directives are useful if the header is including `vmlinux.h`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 112 | /// directives are useful if the header is including `vmlinux.h`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | /// `libbpf-cargo` into a module. Above, we told `.enable_skel()` to use the [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 124 | /// `libbpf-cargo` into a module. Above, we told `.enable_skel()` to use the [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | /// skeleton name `bpf`, so the file would look like the following. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 125 | /// skeleton name `bpf`, so the file would look like the following. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/bpf_builder.rs:296:61 [INFO] [stdout] | [INFO] [stdout] 296 | fn input_insert_deps(&self, deps: &mut BTreeSet) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | /// interacts it using the generated bindings. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 80 | /// interacts it using the generated bindings. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | /// that will be used by both the BPF and userspace components. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 83 | /// that will be used by both the BPF and userspace components. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | /// including `struct sched_ext_ops`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 86 | /// including `struct sched_ext_ops`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | /// section. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 92 | /// section. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | /// bindings for the BPF component. For this project, it can look like the [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 95 | /// bindings for the BPF component. For this project, it can look like the [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | /// following. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 96 | /// following. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needless `fn main` in doctest [INFO] [stdout] --> src/bpf_builder.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | /// fn main() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main [INFO] [stdout] = note: `#[warn(clippy::needless_doctest_main)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | /// module. Above, we told `.enable_intf()` to generate the bindings into [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 110 | /// module. Above, we told `.enable_intf()` to generate the bindings into [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | /// `bpf_intf.rs`, so the file would look like the following. The `allow` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 111 | /// `bpf_intf.rs`, so the file would look like the following. The `allow` [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | /// directives are useful if the header is including `vmlinux.h`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 112 | /// directives are useful if the header is including `vmlinux.h`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | /// `libbpf-cargo` into a module. Above, we told `.enable_skel()` to use the [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 124 | /// `libbpf-cargo` into a module. Above, we told `.enable_skel()` to use the [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/bpf_builder.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | /// skeleton name `bpf`, so the file would look like the following. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 125 | /// skeleton name `bpf`, so the file would look like the following. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/bpf_builder.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | / Ok({ [INFO] [stdout] 483 | | let _guard = tracing::subscriber::set_default(subscriber); [INFO] [stdout] 484 | | f() [INFO] [stdout] 485 | | }?) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 482 ~ { [INFO] [stdout] 483 | let _guard = tracing::subscriber::set_default(subscriber); [INFO] [stdout] 484 | f() [INFO] [stdout] 485 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/bpf_builder.rs:296:61 [INFO] [stdout] | [INFO] [stdout] 296 | fn input_insert_deps(&self, deps: &mut BTreeSet) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bpf_builder.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | if !pattern.find(&file_name_str).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `pattern.find(&file_name_str).is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `to_owned` call clones the `Cow<'_, str>` itself and does not cause its contents to become owned [INFO] [stdout] --> src/bpf_builder.rs:516:33 [INFO] [stdout] | [INFO] [stdout] 516 | let file_name_str = file_name.to_string_lossy().to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_to_owned [INFO] [stdout] = note: `#[warn(clippy::suspicious_to_owned)]` on by default [INFO] [stdout] help: depending on intent, either make the `Cow` an `Owned` variant [INFO] [stdout] | [INFO] [stdout] 516 | let file_name_str = file_name.to_string_lossy().into_owned(); [INFO] [stdout] | ++ [INFO] [stdout] help: or clone the `Cow` itself [INFO] [stdout] | [INFO] [stdout] 516 - let file_name_str = file_name.to_string_lossy().to_owned(); [INFO] [stdout] 516 + let file_name_str = file_name.to_string_lossy().clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/bpf_builder.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | / Ok({ [INFO] [stdout] 483 | | let _guard = tracing::subscriber::set_default(subscriber); [INFO] [stdout] 484 | | f() [INFO] [stdout] 485 | | }?) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 482 ~ { [INFO] [stdout] 483 | let _guard = tracing::subscriber::set_default(subscriber); [INFO] [stdout] 484 | f() [INFO] [stdout] 485 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: compiling a regex in a loop [INFO] [stdout] --> src/bpf_builder.rs:533:21 [INFO] [stdout] | [INFO] [stdout] 533 | assert!(regex::Regex::new(r"^([1-9][0-9]*\.[1-9][0-9][a-z0-9-]*)$") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: move the regex construction outside this loop [INFO] [stdout] --> src/bpf_builder.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | for entry in ar.entries().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#regex_creation_in_loops [INFO] [stdout] = note: `#[warn(clippy::regex_creation_in_loops)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: compiling a regex in a loop [INFO] [stdout] --> src/bpf_builder.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | assert!(regex::Regex::new(r"^[0-9a-z]{12}$") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: move the regex construction outside this loop [INFO] [stdout] --> src/bpf_builder.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | for entry in ar.entries().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#regex_creation_in_loops [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.39s [INFO] running `Command { std: "docker" "inspect" "65205bf2adabf869afcb24ea9e3963e1282e2c582fed73aeb45ee2519bb0e9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65205bf2adabf869afcb24ea9e3963e1282e2c582fed73aeb45ee2519bb0e9e2", kill_on_drop: false }` [INFO] [stdout] 65205bf2adabf869afcb24ea9e3963e1282e2c582fed73aeb45ee2519bb0e9e2