[INFO] fetching crate tmsoft_dbase 0.0.7... [INFO] checking tmsoft_dbase-0.0.7 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tmsoft_dbase 0.0.7 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tmsoft_dbase 0.0.7 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded cc v1.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9b5de2a8414a8371f18ca813b28ee7e2a88e789a27da0ace6a9144bbe75a7f5 [INFO] running `Command { std: "docker" "start" "-a" "a9b5de2a8414a8371f18ca813b28ee7e2a88e789a27da0ace6a9144bbe75a7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9b5de2a8414a8371f18ca813b28ee7e2a88e789a27da0ace6a9144bbe75a7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b5de2a8414a8371f18ca813b28ee7e2a88e789a27da0ace6a9144bbe75a7f5", kill_on_drop: false }` [INFO] [stdout] a9b5de2a8414a8371f18ca813b28ee7e2a88e789a27da0ace6a9144bbe75a7f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 506371cdbf9a05fe437a2ccc0eb30c9c1179949c6c86875275cc0eba80aec9bf [INFO] running `Command { std: "docker" "start" "-a" "506371cdbf9a05fe437a2ccc0eb30c9c1179949c6c86875275cc0eba80aec9bf", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking 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)]` 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)]` 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] Checking tempfile v3.16.0 [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)]` 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: 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)]` on by default [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: 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)]` 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: 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)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 3.59s [INFO] running `Command { std: "docker" "inspect" "506371cdbf9a05fe437a2ccc0eb30c9c1179949c6c86875275cc0eba80aec9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "506371cdbf9a05fe437a2ccc0eb30c9c1179949c6c86875275cc0eba80aec9bf", kill_on_drop: false }` [INFO] [stdout] 506371cdbf9a05fe437a2ccc0eb30c9c1179949c6c86875275cc0eba80aec9bf