nixbot

builds

succeeded setup checks.x86_64-linux.clippy · build #665 · raw

1this derivation will be built:2 /nix/store/lngbkbf3a2v3w24pm2q3krbml6n1j1m9-harmonia-clippy-3.3.0.drv3error: Cannot build '/nix/store/lngbkbf3a2v3w24pm2q3krbml6n1j1m9-harmonia-clippy-3.3.0.drv'.4 Reason: builder failed with exit code 101.5 Output paths:6 /nix/store/xvs8bj53hyb74395b4m85lllnyhin2xg-harmonia-clippy-3.3.07 Last 25 log lines:8 > Checking harmonia-store-db v3.3.0 (/build/source/harmonia-store-db)9 > Checking harmonia-store-aterm v0.0.0-alpha.0 (/build/source/harmonia-store-aterm)10 > Checking harmonia-store-build-result v3.3.0 (/build/source/harmonia-store-build-result)11 > Checking harmonia-protocol v3.3.0 (/build/source/harmonia-protocol)12 > Checking harmonia-store-gc v3.3.0 (/build/source/harmonia-store-gc)13 > Checking harmonia-cache v3.3.0 (/build/source/harmonia-cache)14 > error: use of a fallible conversion when an infallible one could be used15 > --> harmonia-protocol/src/store_impls.rs:569:2216 > |17 > 569 | #[nix(try_from = "u16")]18 > | ^^^^^19 > |20 > = note: converting `u16` to `ActivityType` cannot fail21 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions22 > = note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings`23 > = help: to override `-D warnings` add `#[allow(clippy::unnecessary_fallible_conversions)]`24 > help: use25 > |26 > 569 - #[nix(try_from = "u16")]27 > 569 + #[nix(try_from = From::from)]28 > |29 >30 > error: could not compile `harmonia-protocol` (lib) due to 1 previous error31 > warning: build failed, waiting for other jobs to finish...32 > error: could not compile `harmonia-protocol` (lib test) due to 1 previous error33 For full logs, run:34 nix log /nix/store/lngbkbf3a2v3w24pm2q3krbml6n1j1m9-harmonia-clippy-3.3.0.drv