Bugzilla – Bug 1222935
spotifyd fails to build on Leap 15.6 - the parameter type `T` may not live long enough
Last modified: 2024-05-03 09:10:46 UTC
Hello package spotifyd fails to build on Leap 15.6 https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/spotifyd/standard/x86_64 68s] error[E0310]: the parameter type `T` may not live long enough [ 68s] --> /home/abuild/rpmbuild/BUILD/spotifyd-0.3.3/vendor/rustc-serialize/src/serialize.rs:1155:5 [ 68s] | [ 68s] 1155 | fn decode<D: Decoder>(d: &mut D) -> Result<Cow<'static, T>, D::Error> { [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | | [ 68s] | the parameter type `T` must be valid for the static lifetime... [ 68s] | ...so that the type `T` will meet its required lifetime bounds... [ 68s] | [ 68s] note: ...that is required by this bound [ 68s] --> /home/abuild/rpmbuild/BUILD/rustc-1.77.0-src/library/alloc/src/borrow.rs:180:30 [ 68s] help: consider adding an explicit lifetime bound [ 68s] | [ 68s] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [ 68s] | +++++++++ [ 68s] [ 68s] Compiling form_urlencoded v1.1.0 Could you please have a look?
spotifyd was deleted in Backports, spotifyd has been removed from Factory with the same build fail