[INFO] cloning repository https://github.com/jwedi/logium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jwedi/logium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwedi%2Flogium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwedi%2Flogium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fecdb1e7c3e64112870ac9576f0f27dc97e9822 [INFO] linting jwedi/logium against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwedi%2Flogium" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jwedi/logium [INFO] finished tweaking git repo https://github.com/jwedi/logium [INFO] tweaked toml for git repo https://github.com/jwedi/logium written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jwedi/logium 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/jwedi/logium 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] Downloading crates ... [INFO] [stderr] Downloaded rust-embed-utils v8.11.0 [INFO] [stderr] Downloaded rust-embed-impl v8.11.0 [INFO] [stderr] Downloaded rust-embed v8.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 117baee5f9acc1f2f9d32f36e02e34775889878972d9730b39d913045a8e22c6 [INFO] running `Command { std: "docker" "start" "-a" "117baee5f9acc1f2f9d32f36e02e34775889878972d9730b39d913045a8e22c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "117baee5f9acc1f2f9d32f36e02e34775889878972d9730b39d913045a8e22c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117baee5f9acc1f2f9d32f36e02e34775889878972d9730b39d913045a8e22c6", kill_on_drop: false }` [INFO] [stdout] 117baee5f9acc1f2f9d32f36e02e34775889878972d9730b39d913045a8e22c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 215d701a761781e9cbb7d6b3be80eb1024446e78ef028dd8772c0f291079bb35 [INFO] running `Command { std: "docker" "start" "-a" "215d701a761781e9cbb7d6b3be80eb1024446e78ef028dd8772c0f291079bb35", kill_on_drop: false }` [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking open v5.3.3 [INFO] [stderr] Checking rust-embed v8.11.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking logium-core v0.1.0 (/opt/rustwide/workdir/crates/logium-core) [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> crates/logium-core/src/engine.rs:1923:5 [INFO] [stdout] | [INFO] [stdout] 1923 | result_clusters.sort_by(|a, b| b.count.cmp(&a.count)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1923 - result_clusters.sort_by(|a, b| b.count.cmp(&a.count)); [INFO] [stdout] 1923 + result_clusters.sort_by_key(|b| std::cmp::Reverse(b.count)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking axum v0.8.8 [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> crates/logium-core/src/engine.rs:1923:5 [INFO] [stdout] | [INFO] [stdout] 1923 | result_clusters.sort_by(|a, b| b.count.cmp(&a.count)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1923 - result_clusters.sort_by(|a, b| b.count.cmp(&a.count)); [INFO] [stdout] 1923 + result_clusters.sort_by_key(|b| std::cmp::Reverse(b.count)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking logium-server v0.1.0 (/opt/rustwide/workdir/crates/logium-server) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "215d701a761781e9cbb7d6b3be80eb1024446e78ef028dd8772c0f291079bb35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215d701a761781e9cbb7d6b3be80eb1024446e78ef028dd8772c0f291079bb35", kill_on_drop: false }` [INFO] [stdout] 215d701a761781e9cbb7d6b3be80eb1024446e78ef028dd8772c0f291079bb35