setup
checks.x86_64-linux.clippy
· build #308
· raw
1these 13 derivations will be built:2 /nix/store/3i1dbhc1vsm10xv45wzsqjcaqxhj8j61-Cargo.toml.drv3 /nix/store/5s90v6xgn52qlainfzghr40h7jr88jwp-Cargo.toml.drv4 /nix/store/ax92fdvw9l1lk1jq2f7cbz9vc9byjgbc-Cargo.toml.drv5 /nix/store/bxncc3hsbc01accgsi2zygsavgd8npfh-Cargo.toml.drv6 /nix/store/dw12wab1y85q4xzmi75qm9rp0h8lzcrh-Cargo.toml.drv7 /nix/store/j3kjh7dlpvrbb9isn2ra6ljl9rjf2zcg-Cargo.toml.drv8 /nix/store/l30m910825qn26fxv26fifbrk21kqak3-Cargo.toml.drv9 /nix/store/qqs6w34547acq5g1n1j5rszm52a3lwnj-Cargo.toml.drv10 /nix/store/rr2bn7aikinxx7cwy00z4i8k0dwrl1vz-Cargo.toml.drv11 /nix/store/zyz0gava2cacajbcc700xkvgnaqgkhhw-Cargo.toml.drv12 /nix/store/8wlj19pcrk3bfl65n238nsybqpcwmynh-source.drv13 /nix/store/h4llyccbxa76sxn4nvdp7ym1ri15s5ks-tincd-deps-0.1.0.drv14 /nix/store/1ir4l5fp8zq4lhl9i9hx0dc4kjm7wd4y-tincd-clippy-0.1.0.drv15error: Cannot build '/nix/store/1ir4l5fp8zq4lhl9i9hx0dc4kjm7wd4y-tincd-clippy-0.1.0.drv'.16 Reason: builder failed with exit code 101.17 Output paths:18 /nix/store/cs6iyhj3snkrv6jsl7l1i20bwnl8c1br-tincd-clippy-0.1.019 Last 25 log lines:20 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^21 > |22 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assert_is_empty23 > = note: `-D clippy::assert-is-empty` implied by `-D warnings`24 > = help: to override `-D warnings` add `#[allow(clippy::assert_is_empty)]`25 > help: use `assert_eq!` to show the value on failure26 > |27 > 218 - assert!(d.names().unwrap().is_empty());28 > 218 + assert_eq!(d.names().unwrap(), [] as [std::string::String; 0]);29 > |30 >31 > error: used `assert!` to check that a value is empty32 > --> crates/tinc-conf/src/hostdirs.rs:247:933 > |34 > 247 | assert!(d.overridden().is_empty());35 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^36 > |37 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assert_is_empty38 > help: use `assert_eq!` to show the value on failure39 > |40 > 247 - assert!(d.overridden().is_empty());41 > 247 + assert_eq!(d.overridden(), [] as [std::string::String; 0]);42 > |43 >44 > error: could not compile `tinc-conf` (lib test) due to 2 previous errors45 For full logs, run:46 nix log /nix/store/1ir4l5fp8zq4lhl9i9hx0dc4kjm7wd4y-tincd-clippy-0.1.0.drv