[INFO] cloning repository https://github.com/AliSot2000/tar-dedup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AliSot2000/tar-dedup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliSot2000%2Ftar-dedup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliSot2000%2Ftar-dedup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db3644d5ecf31ab8611ae20cc49dc4fb625265a3 [INFO] checking AliSot2000/tar-dedup against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliSot2000%2Ftar-dedup" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AliSot2000/tar-dedup [INFO] finished tweaking git repo https://github.com/AliSot2000/tar-dedup [INFO] tweaked toml for git repo https://github.com/AliSot2000/tar-dedup written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AliSot2000/tar-dedup on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AliSot2000/tar-dedup 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac [INFO] running `Command { std: "docker" "start" "c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking memchr v2.8.2 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling cc v1.2.64 [INFO] [stderr] Checking filetime v0.2.29 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking sparse-cp v0.1.0 (/opt/rustwide/workdir/crates/sparse-cp) [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling zoet-macro v0.1.14 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking zoet v0.1.14 [INFO] [stderr] Checking acl-sys v1.2.2 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Compiling tar-dedup v0.1.0 (/opt/rustwide/workdir/crates/tar-dedup) [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tar v0.4.46 [INFO] [stderr] Compiling selinux-sys v0.7.0 [INFO] [stderr] Checking posix-acl v1.2.0 [INFO] [stderr] Checking xattrs v0.1.0 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking fs4 v0.12.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling dedent v0.1.1 [INFO] [stderr] Checking crossbeam-channel v0.5.17 [INFO] [stderr] Checking file-mode v0.1.2 [INFO] [stderr] Checking reflink v0.1.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking predicates-core v1.0.10 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.2.2 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking predicates-tree v1.0.13 [INFO] [stderr] Checking predicates v3.1.4 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking selinux v0.6.3 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stdout] warning: unused macro definition: `error_guarded` [INFO] [stdout] --> crates/tar-dedup/src/error.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! error_guarded { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/tar-dedup/src/error.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | #[warn(unused_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider annotating the enclosing module with `#[macro_use]` [INFO] [stdout] --> crates/tar-dedup/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 + #[macro_use] [INFO] [stdout] 10 | pub mod error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `error_guarded` [INFO] [stdout] --> crates/tar-dedup/src/error.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! error_guarded { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/tar-dedup/src/error.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | #[warn(unused_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider annotating the enclosing module with `#[macro_use]` [INFO] [stdout] --> crates/tar-dedup/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 + #[macro_use] [INFO] [stdout] 10 | pub mod error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_a` [INFO] [stdout] --> crates/tar-dedup/src/archive/dedup.rs:1220:28 [INFO] [stdout] | [INFO] [stdout] 1220 | let (mut world_ff, id_a, id_b) = build(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_id_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_b` [INFO] [stdout] --> crates/tar-dedup/src/archive/dedup.rs:1220:34 [INFO] [stdout] | [INFO] [stdout] 1220 | let (mut world_ff, id_a, id_b) = build(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `completed` [INFO] [stdout] --> crates/tar-dedup/src/archive/dedup.rs:1280:25 [INFO] [stdout] | [INFO] [stdout] 1280 | let (fail_fast, completed) = run_loop(&world, bar, 4); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_completed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_workers` [INFO] [stdout] --> crates/tar-dedup/src/config/phases.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn new(max_workers: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_workers` [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] --> crates/tar-dedup/src/common.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | mut tick: impl FnMut() -> Result) -> (u64, Vec, Vec, Vec>) { [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: `jobs` [INFO] [stdout] --> crates/tar-dedup/src/config/extract.rs:505:75 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn for_place_test(extraction_root: PathBuf, absolute_names: bool, jobs: usize) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_jobs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_workers` [INFO] [stdout] --> crates/tar-dedup/src/config/phases.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn new(max_workers: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_workers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_meta` is never used [INFO] [stdout] --> crates/tar-dedup/src/db/common.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | pub(crate) fn delete_meta(conn: &Connection, key: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/archive/dedup.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | .name(format!("dedup-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/archive/hash.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | .name(format!("hash-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/archive/sparsify.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | .name(format!("sparsify-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `i64` [INFO] [stdout] --> crates/tar-dedup/src/db/source.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | id: row.get::<_, i64>("id")?.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 16 - id: row.get::<_, i64>("id")?.into(), [INFO] [stdout] 16 + id: row.get::<_, i64>("id")?, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 16 - id: row.get::<_, i64>("id")?.into(), [INFO] [stdout] 16 + id: >::into(row.get::<_, i64>("id")?), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/unarchive/place.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | .name(format!("copy-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/unarchive/place.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | .name(format!("materialize-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/unarchive/rehash.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | .name(format!("rehash-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/tar-dedup/src/db/meta.rs:715:20 [INFO] [stdout] | [INFO] [stdout] 715 | let (_dir, mut conn) = open_conn(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-dedup` (lib) due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `batch_size_parity_stub` is never used [INFO] [stdout] --> crates/tar-dedup/src/archive/hash.rs:638:8 [INFO] [stdout] | [INFO] [stdout] 638 | fn batch_size_parity_stub() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nonexistent_group_name` is never used [INFO] [stdout] --> crates/tar-dedup/src/common/perms.rs:682:8 [INFO] [stdout] | [INFO] [stdout] 682 | fn nonexistent_group_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_meta` is never used [INFO] [stdout] --> crates/tar-dedup/src/db/common.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | pub(crate) fn delete_meta(conn: &Connection, key: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/archive/dedup.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | .name(format!("dedup-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/archive/hash.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | .name(format!("hash-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/archive/sparsify.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | .name(format!("sparsify-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `i64` [INFO] [stdout] --> crates/tar-dedup/src/db/source.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | id: row.get::<_, i64>("id")?.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 16 - id: row.get::<_, i64>("id")?.into(), [INFO] [stdout] 16 + id: row.get::<_, i64>("id")?, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 16 - id: row.get::<_, i64>("id")?.into(), [INFO] [stdout] 16 + id: >::into(row.get::<_, i64>("id")?), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/unarchive/place.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | .name(format!("copy-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/unarchive/place.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | .name(format!("materialize-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/tar-dedup/src/unarchive/rehash.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | .name(format!("rehash-worker-{i}").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-dedup` (lib test) due to 7 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac", kill_on_drop: false }` [INFO] [stdout] c37c69e5269c94d4ed9e6e3943322f97059b3e82d0a5151ac7aac29bc1938aac