Bugzilla – Bug 1222926
kanidm fails to build on Leap 15.6 - unused imports: `AccessTokenRequest`, `AccessTokenResponse`, `CodeChallengeMethod`, `ErrorResponse`
Last modified: 2024-04-23 03:06:51 UTC
Hello package kanidm fails to build on Leap 15.6 https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/kanidm/standard/x86_64 [ 280s] error: unused imports: `AccessTokenRequest`, `AccessTokenResponse`, `CodeChallengeMethod`, `ErrorResponse` [ 280s] --> server/web_ui/src/oauth2.rs:3:5 [ 280s] | [ 280s] 3 | AccessTokenRequest, AccessTokenResponse, AuthorisationRequest, AuthorisationResponse, [ 280s] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [ 280s] 4 | CodeChallengeMethod, ErrorResponse, [ 280s] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [ 280s] | [ 280s] note: the lint level is defined here [ 280s] --> server/web_ui/src/lib.rs:2:9 [ 280s] | [ 280s] 2 | #![deny(warnings)] [ 280s] | ^^^^^^^^ [ 280s] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [ 280s] [ 280s] error: unused import: `web_sys::InputEvent` [ 280s] --> server/web_ui/src/utils.rs:5:9 [ 280s] | [ 280s] 5 | pub use web_sys::InputEvent; [ 280s] | ^^^^^^^^^^^^^^^^^^^ [ 280s] [ 281s] error: could not compile `kanidmd_web_ui` (lib) due to 2 previous errors [ 281s] warning: build failed, waiting for other jobs to finish... [ 305s] error: Bad exit status from /var/tmp/rpm-tmp.5kPNrG (%build) Could you please have a look into it?
The issue is that every time I try to submit to 15-SP6 backports, they are always rejected with various messages.