[INFO] cloning repository https://github.com/fordtom/tracy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fordtom/tracy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffordtom%2Ftracy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffordtom%2Ftracy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbae41203434b104fcd77d81237640966128b6c5 [INFO] linting fordtom/tracy against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffordtom%2Ftracy" "/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/fordtom/tracy [INFO] finished tweaking git repo https://github.com/fordtom/tracy [INFO] tweaked toml for git repo https://github.com/fordtom/tracy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fordtom/tracy 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/fordtom/tracy 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 tree-sitter-lua v0.2.0 [INFO] [stderr] Downloaded ast-grep-language v0.40.0 [INFO] [stderr] Downloaded tree-sitter-json v0.23.0 [INFO] [stderr] Downloaded tree-sitter-nix v0.3.0 [INFO] [stderr] Downloaded ast-grep-core v0.40.0 [INFO] [stderr] Downloaded tree-sitter-hcl v1.1.0 [INFO] [stderr] Downloaded tree-sitter-solidity v1.2.13 [INFO] [stderr] Downloaded tree-sitter-elixir v0.3.4 [INFO] [stderr] Downloaded tree-sitter-php v0.24.2 [INFO] [stderr] Downloaded tree-sitter-haskell v0.23.1 [INFO] [stderr] Downloaded tree-sitter-swift v0.7.1 [INFO] [stderr] Downloaded tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Downloaded tree-sitter-kotlin-sg v0.4.0 [INFO] [stderr] Downloaded tree-sitter-scala v0.24.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] e7fe87153460ae74f841f63d7067adb9aa739b17ea6913a502df6069e67e30ce [INFO] running `Command { std: "docker" "start" "-a" "e7fe87153460ae74f841f63d7067adb9aa739b17ea6913a502df6069e67e30ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7fe87153460ae74f841f63d7067adb9aa739b17ea6913a502df6069e67e30ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7fe87153460ae74f841f63d7067adb9aa739b17ea6913a502df6069e67e30ce", kill_on_drop: false }` [INFO] [stdout] e7fe87153460ae74f841f63d7067adb9aa739b17ea6913a502df6069e67e30ce [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] e76f482ebae788ccf58f20ac453245e05488f13260148a6d2731885c72cae8d3 [INFO] running `Command { std: "docker" "start" "-a" "e76f482ebae788ccf58f20ac453245e05488f13260148a6d2731885c72cae8d3", kill_on_drop: false }` [INFO] [stderr] Compiling tree-sitter-language v0.1.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling tree-sitter-php v0.24.2 [INFO] [stderr] Compiling tree-sitter-hcl v1.1.0 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Compiling tree-sitter-yaml v0.7.2 [INFO] [stderr] Compiling tree-sitter-solidity v1.2.13 [INFO] [stderr] Compiling tree-sitter-go v0.25.0 [INFO] [stderr] Compiling tree-sitter-kotlin-sg v0.4.0 [INFO] [stderr] Compiling tree-sitter-haskell v0.23.1 [INFO] [stderr] Compiling tree-sitter-html v0.23.2 [INFO] [stderr] Compiling tree-sitter-css v0.25.0 [INFO] [stderr] Compiling tree-sitter-scala v0.24.0 [INFO] [stderr] Compiling tree-sitter-elixir v0.3.4 [INFO] [stderr] Compiling tree-sitter-rust v0.24.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.25.0 [INFO] [stderr] Compiling tree-sitter-swift v0.7.1 [INFO] [stderr] Compiling tree-sitter-lua v0.2.0 [INFO] [stderr] Compiling tree-sitter-nix v0.3.0 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter-python v0.25.0 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter-c v0.24.1 [INFO] [stderr] Compiling tree-sitter-bash v0.25.1 [INFO] [stderr] Compiling tree-sitter-json v0.23.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Checking ast-grep-core v0.40.0 [INFO] [stderr] Checking ast-grep-language v0.40.0 [INFO] [stderr] Checking tracy v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/scan/context.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | scopes.sort_by(|a, b| b.line.cmp(&a.line)); [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] 413 - scopes.sort_by(|a, b| b.line.cmp(&a.line)); [INFO] [stdout] 413 + scopes.sort_by_key(|b| std::cmp::Reverse(b.line)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/scan/context.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | scopes.sort_by(|a, b| b.line.cmp(&a.line)); [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] 413 - scopes.sort_by(|a, b| b.line.cmp(&a.line)); [INFO] [stdout] 413 + scopes.sort_by_key(|b| std::cmp::Reverse(b.line)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.85s [INFO] running `Command { std: "docker" "inspect" "e76f482ebae788ccf58f20ac453245e05488f13260148a6d2731885c72cae8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e76f482ebae788ccf58f20ac453245e05488f13260148a6d2731885c72cae8d3", kill_on_drop: false }` [INFO] [stdout] e76f482ebae788ccf58f20ac453245e05488f13260148a6d2731885c72cae8d3