[INFO] fetching crate loctok 0.2.0... [INFO] checking loctok-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate loctok 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate loctok 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate loctok 0.2.0 [INFO] tweaked toml for crates.io crate loctok 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate loctok 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate loctok 0.2.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db1c24dd0e44e2c0b0d260ae89a212105709d8dc57f83652183eafef108f6578 [INFO] running `Command { std: "docker" "start" "-a" "db1c24dd0e44e2c0b0d260ae89a212105709d8dc57f83652183eafef108f6578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db1c24dd0e44e2c0b0d260ae89a212105709d8dc57f83652183eafef108f6578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1c24dd0e44e2c0b0d260ae89a212105709d8dc57f83652183eafef108f6578", kill_on_drop: false }` [INFO] [stdout] db1c24dd0e44e2c0b0d260ae89a212105709d8dc57f83652183eafef108f6578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cbaf880ac61ed2ab5eaf49d654f4e3cffec6e24338ba1c855e2db18e8ff9281 [INFO] running `Command { std: "docker" "start" "-a" "5cbaf880ac61ed2ab5eaf49d654f4e3cffec6e24338ba1c855e2db18e8ff9281", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking fancy-regex v0.12.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking tiktoken-rs v0.5.9 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking clap v4.5.44 [INFO] [stderr] Checking loctok v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | if let Ok(mut s) = state.lock() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | let len = ordered.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncodingInfo` is never constructed [INFO] [stdout] --> src/main.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | struct EncodingInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encoding_info` is never used [INFO] [stdout] --> src/main.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn encoding_info(enc: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | if let Ok(mut s) = state.lock() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | let len = ordered.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.87s [INFO] running `Command { std: "docker" "inspect" "5cbaf880ac61ed2ab5eaf49d654f4e3cffec6e24338ba1c855e2db18e8ff9281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbaf880ac61ed2ab5eaf49d654f4e3cffec6e24338ba1c855e2db18e8ff9281", kill_on_drop: false }` [INFO] [stdout] 5cbaf880ac61ed2ab5eaf49d654f4e3cffec6e24338ba1c855e2db18e8ff9281