[INFO] fetching crate loctok 0.2.0... [INFO] testing loctok-0.2.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate loctok 0.2.0 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate loctok 0.2.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded papergrid v0.11.0 [INFO] [stderr] Downloaded tabled_derive v0.7.0 [INFO] [stderr] Downloaded fancy-regex v0.12.0 [INFO] [stderr] Downloaded tabled v0.15.0 [INFO] [stderr] Downloaded tiktoken-rs v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7935b8a74ea1a28618bfd89f03b932fb17c38ebca3960ffd103ed3e647b683a8 [INFO] running `Command { std: "docker" "start" "-a" "7935b8a74ea1a28618bfd89f03b932fb17c38ebca3960ffd103ed3e647b683a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7935b8a74ea1a28618bfd89f03b932fb17c38ebca3960ffd103ed3e647b683a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7935b8a74ea1a28618bfd89f03b932fb17c38ebca3960ffd103ed3e647b683a8", kill_on_drop: false }` [INFO] [stdout] 7935b8a74ea1a28618bfd89f03b932fb17c38ebca3960ffd103ed3e647b683a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de0dad86e8d04870828320d4da465e4226d2b34cc42d6cc74620ed3fe49580a1 [INFO] running `Command { std: "docker" "start" "-a" "de0dad86e8d04870828320d4da465e4226d2b34cc42d6cc74620ed3fe49580a1", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling papergrid v0.11.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tabled v0.15.0 [INFO] [stderr] Compiling clap v4.5.44 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.12.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling tiktoken-rs v0.5.9 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.41s [INFO] running `Command { std: "docker" "inspect" "de0dad86e8d04870828320d4da465e4226d2b34cc42d6cc74620ed3fe49580a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0dad86e8d04870828320d4da465e4226d2b34cc42d6cc74620ed3fe49580a1", kill_on_drop: false }` [INFO] [stdout] de0dad86e8d04870828320d4da465e4226d2b34cc42d6cc74620ed3fe49580a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d6afe8bb1cd9dbd0207ed2490367fe05189b0da6201dae8b955d169dfcd642c [INFO] running `Command { std: "docker" "start" "-a" "4d6afe8bb1cd9dbd0207ed2490367fe05189b0da6201dae8b955d169dfcd642c", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling fancy-regex v0.12.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling tiktoken-rs v0.5.9 [INFO] [stderr] Compiling 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.26s [INFO] running `Command { std: "docker" "inspect" "4d6afe8bb1cd9dbd0207ed2490367fe05189b0da6201dae8b955d169dfcd642c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6afe8bb1cd9dbd0207ed2490367fe05189b0da6201dae8b955d169dfcd642c", kill_on_drop: false }` [INFO] [stdout] 4d6afe8bb1cd9dbd0207ed2490367fe05189b0da6201dae8b955d169dfcd642c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9fcc06c044627612687ea1aadd86152c31cf0426fcd50d6f8c3aedbd2a75be06 [INFO] running `Command { std: "docker" "start" "-a" "9fcc06c044627612687ea1aadd86152c31cf0426fcd50d6f8c3aedbd2a75be06", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:210:23 [INFO] [stderr] | [INFO] [stderr] 210 | if let Ok(mut s) = state.lock() { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/main.rs:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let len = ordered.len(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `EncodingInfo` is never constructed [INFO] [stderr] --> src/main.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | struct EncodingInfo { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `encoding_info` is never used [INFO] [stderr] --> src/main.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | fn encoding_info(enc: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `loctok` (bin "loctok") generated 4 warnings (run `cargo fix --bin "loctok"` to apply 1 suggestion) [INFO] [stderr] warning: `loctok` (bin "loctok" test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loctok-4d63d115f31f5ecc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_file_kind ... ok [INFO] [stdout] test tests::test_build_copy_output ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/loctok-3cd6b13b04601d0a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-02767661c65c9a7d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test ext_filter_excludes_non_matching_extensions ... ok [INFO] [stdout] test counts_tokens_and_respects_gitignore ... ok [INFO] [stdout] test ext_filter_includes_only_specified_extensions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.48s [INFO] [stdout] [INFO] [stderr] Doc-tests loctok [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9fcc06c044627612687ea1aadd86152c31cf0426fcd50d6f8c3aedbd2a75be06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fcc06c044627612687ea1aadd86152c31cf0426fcd50d6f8c3aedbd2a75be06", kill_on_drop: false }` [INFO] [stdout] 9fcc06c044627612687ea1aadd86152c31cf0426fcd50d6f8c3aedbd2a75be06