[INFO] cloning repository https://github.com/linuxdeploy/linuxdeploy-plugin-polyfill_glibc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linuxdeploy/linuxdeploy-plugin-polyfill_glibc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinuxdeploy%2Flinuxdeploy-plugin-polyfill_glibc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinuxdeploy%2Flinuxdeploy-plugin-polyfill_glibc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8c8210751f45792689de9c9b620361f5ddd20dc [INFO] linting linuxdeploy/linuxdeploy-plugin-polyfill_glibc against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinuxdeploy%2Flinuxdeploy-plugin-polyfill_glibc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/linuxdeploy/linuxdeploy-plugin-polyfill_glibc [INFO] finished tweaking git repo https://github.com/linuxdeploy/linuxdeploy-plugin-polyfill_glibc [INFO] tweaked toml for git repo https://github.com/linuxdeploy/linuxdeploy-plugin-polyfill_glibc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/linuxdeploy/linuxdeploy-plugin-polyfill_glibc 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 git repo https://github.com/linuxdeploy/linuxdeploy-plugin-polyfill_glibc 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle-wincon v3.0.8 [INFO] [stderr] Downloaded chromalog v0.0.2 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] [stderr] Downloaded elf v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3fc0af2febd81791054c6e0d9e052e92efbb4addb16ebbca305640c7dc8e5f23 [INFO] running `Command { std: "docker" "start" "-a" "3fc0af2febd81791054c6e0d9e052e92efbb4addb16ebbca305640c7dc8e5f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fc0af2febd81791054c6e0d9e052e92efbb4addb16ebbca305640c7dc8e5f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc0af2febd81791054c6e0d9e052e92efbb4addb16ebbca305640c7dc8e5f23", kill_on_drop: false }` [INFO] [stdout] 3fc0af2febd81791054c6e0d9e052e92efbb4addb16ebbca305640c7dc8e5f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1dd4b5281359876ad96fb895fbe367244d9ae7af01361f6f5698f257c5bd72b7 [INFO] running `Command { std: "docker" "start" "-a" "1dd4b5281359876ad96fb895fbe367244d9ae7af01361f6f5698f257c5bd72b7", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking elf v0.8.0 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking subprocess v0.2.9 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking chromalog v0.0.2 [INFO] [stderr] Checking linuxdeploy-plugin-polyfill_glibc v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unneeded late initialization [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | let level_filter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init [INFO] [stdout] = note: `#[warn(clippy::needless_late_init)]` on by default [INFO] [stdout] help: move the declaration `level_filter` here and remove the assignments from the branches [INFO] [stdout] | [INFO] [stdout] 60 ~ [INFO] [stdout] 61 | // note: should be done in reverse order as we use an else-if chain [INFO] [stdout] 62 | // i.e., from most to least verbose [INFO] [stdout] 63 ~ let level_filter = if args.debug { [INFO] [stdout] 64 ~ LevelFilter::Debug [INFO] [stdout] 65 | } else { [INFO] [stdout] 66 ~ LevelFilter::Info [INFO] [stdout] 67 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/main.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let file = std::fs::read(&path).unwrap(); [INFO] [stdout] | ^^^^^ help: change this to: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | if !args.glibc_version.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `args.glibc_version.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: unneeded late initialization [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | let level_filter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init [INFO] [stdout] = note: `#[warn(clippy::needless_late_init)]` on by default [INFO] [stdout] help: move the declaration `level_filter` here and remove the assignments from the branches [INFO] [stdout] | [INFO] [stdout] 60 ~ [INFO] [stdout] 61 | // note: should be done in reverse order as we use an else-if chain [INFO] [stdout] 62 | // i.e., from most to least verbose [INFO] [stdout] 63 ~ let level_filter = if args.debug { [INFO] [stdout] 64 ~ LevelFilter::Debug [INFO] [stdout] 65 | } else { [INFO] [stdout] 66 ~ LevelFilter::Info [INFO] [stdout] 67 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/main.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let file = std::fs::read(&path).unwrap(); [INFO] [stdout] | ^^^^^ help: change this to: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | if !args.glibc_version.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `args.glibc_version.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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.22s [INFO] running `Command { std: "docker" "inspect" "1dd4b5281359876ad96fb895fbe367244d9ae7af01361f6f5698f257c5bd72b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dd4b5281359876ad96fb895fbe367244d9ae7af01361f6f5698f257c5bd72b7", kill_on_drop: false }` [INFO] [stdout] 1dd4b5281359876ad96fb895fbe367244d9ae7af01361f6f5698f257c5bd72b7