[INFO] fetching crate tmsoft_dbase 0.0.7... [INFO] building tmsoft_dbase-0.0.7 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate tmsoft_dbase 0.0.7 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tmsoft_dbase 0.0.7 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tmsoft_dbase 0.0.7 [INFO] tweaked toml for crates.io crate tmsoft_dbase 0.0.7 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tmsoft_dbase 0.0.7 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tmsoft_dbase 0.0.7 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 744326020d6141e1bd82a7ae353562658e4f69a5ba9348e0807060afa3807db2 [INFO] running `Command { std: "docker" "start" "-a" "744326020d6141e1bd82a7ae353562658e4f69a5ba9348e0807060afa3807db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "744326020d6141e1bd82a7ae353562658e4f69a5ba9348e0807060afa3807db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "744326020d6141e1bd82a7ae353562658e4f69a5ba9348e0807060afa3807db2", kill_on_drop: false }` [INFO] [stdout] 744326020d6141e1bd82a7ae353562658e4f69a5ba9348e0807060afa3807db2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e781cb403e173030715f127ed89a110be1963edc97859674fec70d6dfa5872cc [INFO] running `Command { std: "docker" "start" "-a" "e781cb403e173030715f127ed89a110be1963edc97859674fec70d6dfa5872cc", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tmsoft_dbase v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1687:45 [INFO] [stdout] | [INFO] [stdout] 1687 | let mut temp_buffer = vec![0u8; (old_end - pos_old)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1687 - let mut temp_buffer = vec![0u8; (old_end - pos_old)]; [INFO] [stdout] 1687 + let mut temp_buffer = vec![0u8; old_end - pos_old]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:565:18 [INFO] [stdout] | [INFO] [stdout] 565 | for (idx, record_data) in chunk.chunks(record_size).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 317 | for (idx, record_data) in chunk.chunks(record_size).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1552:5 [INFO] [stdout] | [INFO] [stdout] 1552 | old_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1553:5 [INFO] [stdout] | [INFO] [stdout] 1553 | new_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1532:5 [INFO] [stdout] | [INFO] [stdout] 1532 | old_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1533:5 [INFO] [stdout] | [INFO] [stdout] 1533 | new_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s [INFO] running `Command { std: "docker" "inspect" "e781cb403e173030715f127ed89a110be1963edc97859674fec70d6dfa5872cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e781cb403e173030715f127ed89a110be1963edc97859674fec70d6dfa5872cc", kill_on_drop: false }` [INFO] [stdout] e781cb403e173030715f127ed89a110be1963edc97859674fec70d6dfa5872cc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bb7733146960db198855d738187babf916de0ad9c60a3d856355d96d2fc1f2f [INFO] running `Command { std: "docker" "start" "-a" "0bb7733146960db198855d738187babf916de0ad9c60a3d856355d96d2fc1f2f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1687:45 [INFO] [stdout] | [INFO] [stdout] 1687 | let mut temp_buffer = vec![0u8; (old_end - pos_old)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1687 - let mut temp_buffer = vec![0u8; (old_end - pos_old)]; [INFO] [stdout] 1687 + let mut temp_buffer = vec![0u8; old_end - pos_old]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:565:18 [INFO] [stdout] | [INFO] [stdout] 565 | for (idx, record_data) in chunk.chunks(record_size).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 317 | for (idx, record_data) in chunk.chunks(record_size).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1552:5 [INFO] [stdout] | [INFO] [stdout] 1552 | old_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1553:5 [INFO] [stdout] | [INFO] [stdout] 1553 | new_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1532:5 [INFO] [stdout] | [INFO] [stdout] 1532 | old_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1533:5 [INFO] [stdout] | [INFO] [stdout] 1533 | new_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling tmsoft_dbase v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tests/dbf_tests.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let result = dbf.modify_fields("/Users/zhoujiandong/Downloads/sbk.dbf", &modified_fields); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/dbf_tests.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let mut file = NamedTempFile::new().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tests/dbf_tests.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let result = dbf.delete_fields("/Users/zhoujiandong/Downloads/sbk.dbf", &field_names); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/dbf_tests.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut file = NamedTempFile::new().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1687:45 [INFO] [stdout] | [INFO] [stdout] 1687 | let mut temp_buffer = vec![0u8; (old_end - pos_old)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1687 - let mut temp_buffer = vec![0u8; (old_end - pos_old)]; [INFO] [stdout] 1687 + let mut temp_buffer = vec![0u8; old_end - pos_old]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 317 | for (idx, record_data) in chunk.chunks(record_size).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:565:18 [INFO] [stdout] | [INFO] [stdout] 565 | for (idx, record_data) in chunk.chunks(record_size).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1532:5 [INFO] [stdout] | [INFO] [stdout] 1532 | old_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1533:5 [INFO] [stdout] | [INFO] [stdout] 1533 | new_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1552:5 [INFO] [stdout] | [INFO] [stdout] 1552 | old_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_field` [INFO] [stdout] --> src/utils/dbfutils/dbf.rs:1553:5 [INFO] [stdout] | [INFO] [stdout] 1553 | new_field: &FieldDescriptor1, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.35s [INFO] running `Command { std: "docker" "inspect" "0bb7733146960db198855d738187babf916de0ad9c60a3d856355d96d2fc1f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bb7733146960db198855d738187babf916de0ad9c60a3d856355d96d2fc1f2f", kill_on_drop: false }` [INFO] [stdout] 0bb7733146960db198855d738187babf916de0ad9c60a3d856355d96d2fc1f2f