nixbot

builds

failed harmonia-clippy-3.3.0 checks.x86_64-linux.clippy · build #668 · raw

1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/nz7hcg7iq8klns4zdqvpgcgimq7i2pvg-source3source root is source
patchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/9fbiggxqlwfncx6zwkmrzyrykypygpg2-harmonia-deps-3.3.0/target.tar.zst to target
configurePhase
6will append /build/source/.cargo-home/config.toml with contents of /nix/store/5wdm8fy1f6j9g0jdkgsly5ipyc6fsmss-vendor-cargo-deps/config.toml7default configurePhase, nothing to do
buildPhase
8+++ command cargo --version9cargo 1.99.0 (5f94df478 2026-08-27)10+++ command cargo clippy --release --locked --all-targets --all-features -- -D warnings11 Checking harmonia-utils-base-encoding v0.0.0-alpha.0 (/build/source/harmonia-utils-base-encoding)12 Checking harmonia-file-core v3.3.0 (/build/source/harmonia-file-core)13 Checking harmonia-utils-test v0.0.0-alpha.0 (/build/source/harmonia-utils-test)14 Compiling harmonia-protocol-derive v3.3.0 (/build/source/harmonia-protocol-derive)15 Checking harmonia-ssh-store v3.3.0 (/build/source/harmonia-ssh-store)16 Checking harmonia-client v3.3.0 (/build/source/harmonia-client)17 Checking harmonia-bench v3.3.0 (/build/source/harmonia-bench)18 Checking harmonia-utils-hash v0.0.0-alpha.0 (/build/source/harmonia-utils-hash)19 Checking harmonia-utils-signature v3.3.0 (/build/source/harmonia-utils-signature)20 Checking harmonia-store-path v3.3.0 (/build/source/harmonia-store-path)21 Checking harmonia-utils-io v0.0.0-alpha.0 (/build/source/harmonia-utils-io)22 Checking harmonia-store-content-address v3.3.0 (/build/source/harmonia-store-content-address)23 Checking harmonia-store-ref-scan v0.0.0-alpha.0 (/build/source/harmonia-store-ref-scan)24 Checking harmonia-store-fs v3.3.0 (/build/source/harmonia-store-fs)25 Checking harmonia-file-nar v3.3.0 (/build/source/harmonia-file-nar)26 Checking harmonia-store-derivation v0.0.0-alpha.0 (/build/source/harmonia-store-derivation)27 Checking harmonia-store-path-info v3.3.0 (/build/source/harmonia-store-path-info)28 Checking harmonia-store-nar-info v3.3.0 (/build/source/harmonia-store-nar-info)29 Checking harmonia-store-db v3.3.0 (/build/source/harmonia-store-db)30 Checking harmonia-store-aterm v0.0.0-alpha.0 (/build/source/harmonia-store-aterm)31 Checking harmonia-store-build-result v3.3.0 (/build/source/harmonia-store-build-result)32 Checking harmonia-store-gc v3.3.0 (/build/source/harmonia-store-gc)33 Checking harmonia-protocol v3.3.0 (/build/source/harmonia-protocol)34 Checking harmonia-cache v3.3.0 (/build/source/harmonia-cache)35error: using `clone` on type `RawLogMessageType` which implements the `Copy` trait36 --> harmonia-protocol/src/daemon_wire/logger.rs:53:3237 |3853 | #[nix(try_from = "u64", into = "u64")]39 | ^^^^^ help: try dereferencing it: `(*"u64")`40 |41 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy42 = note: `-D clippy::clone-on-copy` implied by `-D warnings`43 = help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`4445error: using `clone` on type `Operation` which implements the `Copy` trait46 --> harmonia-protocol/src/daemon_wire/types.rs:25:3247 |4825 | #[nix(try_from = "u64", into = "u64")]49 | ^^^^^ help: try dereferencing it: `(*"u64")`50 |51 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy5253error: using `clone` on type `FileIngestionMethod` which implements the `Copy` trait54 --> harmonia-protocol/src/daemon_wire/types2.rs:61:3255 |5661 | #[nix(try_from = "u16", into = "u16")]57 | ^^^^^ help: try dereferencing it: `(*"u16")`58 |59 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy6061error: using `clone` on type `BuildMode` which implements the `Copy` trait62 --> harmonia-protocol/src/daemon_wire/types2.rs:84:3263 |6484 | #[nix(try_from = "u16", into = "u16")]65 | ^^^^^ help: try dereferencing it: `(*"u16")`66 |67 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy6869error: using `clone` on type `GCAction` which implements the `Copy` trait70 --> harmonia-protocol/src/daemon_wire/types2.rs:108:3271 |72108 | #[nix(try_from = "u16", into = "u16")]73 | ^^^^^ help: try dereferencing it: `(*"u16")`74 |75 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy7677error: using `clone` on type `u16` which implements the `Copy` trait78 --> harmonia-protocol/src/ser/int.rs:31:1879 |8031 | #[nix(into = "u64")]81 | ^^^^^ help: try dereferencing it: `(*"u64")`82 |83 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy8485error: using `clone` on type `u32` which implements the `Copy` trait86 --> harmonia-protocol/src/ser/int.rs:35:1887 |8835 | #[nix(into = "u64")]89 | ^^^^^ help: try dereferencing it: `(*"u64")`90 |91 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy9293error: using `clone` on type `ProtocolVersion` which implements the `Copy` trait94 --> harmonia-protocol/src/version.rs:72:2895 |9672 | #[nix(from = "u16", into = "u16")]97 | ^^^^^ help: try dereferencing it: `(*"u16")`98 |99 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy100101error: using `clone` on type `Verbosity` which implements the `Copy` trait102 --> harmonia-protocol/src/store_impls.rs:563:18103 |104563 | #[nix(into = "u16")]105 | ^^^^^ help: try dereferencing it: `(*"u16")`106 |107 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy108109error: using `clone` on type `ActivityType` which implements the `Copy` trait110 --> harmonia-protocol/src/store_impls.rs:573:18111 |112573 | #[nix(into = "u16")]113 | ^^^^^ help: try dereferencing it: `(*"u16")`114 |115 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy116117error: using `clone` on type `ResultType` which implements the `Copy` trait118 --> harmonia-protocol/src/store_impls.rs:583:18119 |120583 | #[nix(into = "u16")]121 | ^^^^^ help: try dereferencing it: `(*"u16")`122 |123 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy124125error: using `clone` on type `FieldType` which implements the `Copy` trait126 --> harmonia-protocol/src/store_impls.rs:593:18127 |128593 | #[nix(into = "u16")]129 | ^^^^^ help: try dereferencing it: `(*"u16")`130 |131 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy132133error: using `clone` on type `NarHash` which implements the `Copy` trait134 --> harmonia-protocol/src/store_impls.rs:691:16135 |136691 | into = "harmonia_utils_hash::fmt::Bare<harmonia_utils_hash::fmt::Base16<crate::NarHash>>"137 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `(*"harmonia_utils_hash::fmt::Bare<harmonia_utils_hash::fmt::Base16<crate::NarHash>>")`138 |139 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy140141error: using `clone` on type `Hash` which implements the `Copy` trait142 --> harmonia-protocol/src/store_impls.rs:725:18143 |144725 | #[nix(into = "harmonia_utils_hash::fmt::Base32<harmonia_utils_hash::Hash>")]145 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `(*"harmonia_utils_hash::fmt::Base32<harmonia_utils_hash::Hash>")`146 |147 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy148149error: could not compile `harmonia-protocol` (lib) due to 14 previous errors150warning: build failed, waiting for other jobs to finish...151error: could not compile `harmonia-protocol` (lib test) due to 14 previous errors