[INFO] fetching crate tmsoft_dbase 0.0.7... [INFO] building tmsoft_dbase-0.0.7 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate tmsoft_dbase 0.0.7 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tmsoft_dbase 0.0.7 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6411bb74504f0cf2a59e23f3bd2ee601f08084835c01ca998c6eca5faf3f3360 [INFO] running `Command { std: "docker" "start" "-a" "6411bb74504f0cf2a59e23f3bd2ee601f08084835c01ca998c6eca5faf3f3360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6411bb74504f0cf2a59e23f3bd2ee601f08084835c01ca998c6eca5faf3f3360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6411bb74504f0cf2a59e23f3bd2ee601f08084835c01ca998c6eca5faf3f3360", kill_on_drop: false }` [INFO] [stdout] 6411bb74504f0cf2a59e23f3bd2ee601f08084835c01ca998c6eca5faf3f3360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5e5dce32b550cba954c0b6206ab58136addc77d43a24bc2af46b71d4065a5f1 [INFO] running `Command { std: "docker" "start" "-a" "b5e5dce32b550cba954c0b6206ab58136addc77d43a24bc2af46b71d4065a5f1", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [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: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 `dev` profile [unoptimized + debuginfo] target(s) in 7.31s [INFO] running `Command { std: "docker" "inspect" "b5e5dce32b550cba954c0b6206ab58136addc77d43a24bc2af46b71d4065a5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e5dce32b550cba954c0b6206ab58136addc77d43a24bc2af46b71d4065a5f1", kill_on_drop: false }` [INFO] [stdout] b5e5dce32b550cba954c0b6206ab58136addc77d43a24bc2af46b71d4065a5f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdb09633aaced6e38126f32fab886b2bfd93f4a5f5cbe85c37aa30e5e871a566 [INFO] running `Command { std: "docker" "start" "-a" "fdb09633aaced6e38126f32fab886b2bfd93f4a5f5cbe85c37aa30e5e871a566", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling getrandom v0.3.1 [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] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling tmsoft_dbase v0.0.7 (/opt/rustwide/workdir) [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: 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)]` (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: 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.84s [INFO] running `Command { std: "docker" "inspect" "fdb09633aaced6e38126f32fab886b2bfd93f4a5f5cbe85c37aa30e5e871a566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb09633aaced6e38126f32fab886b2bfd93f4a5f5cbe85c37aa30e5e871a566", kill_on_drop: false }` [INFO] [stdout] fdb09633aaced6e38126f32fab886b2bfd93f4a5f5cbe85c37aa30e5e871a566