Skip to content

Bump leptos from 0.4.1 to 0.5.1 #93

Bump leptos from 0.4.1 to 0.5.1

Bump leptos from 0.4.1 to 0.5.1 #93

Triggered via pull request October 9, 2023 09:04
Status Failure
Total duration 2m 19s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

check.yml

on: pull_request
nightly / fmt
16s
nightly / fmt
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

36 errors and 18 warnings
the trait bound `app::functions::theme::SetDarkTheme: types::_::_serde::Serialize` is not satisfied: src/app/functions/theme.rs#L3
error[E0277]: the trait bound `app::functions::theme::SetDarkTheme: types::_::_serde::Serialize` is not satisfied --> src/app/functions/theme.rs:3:10 | 3 | #[server(SetDarkTheme, "/api")] | ^^^^^^^^^^^^ the trait `types::_::_serde::Serialize` is not implemented for `app::functions::theme::SetDarkTheme` | = help: the following other types implement trait `types::_::_serde::Serialize`: bool char isize i8 i16 i32 i64 i128 and 240 others note: required by a bound in `leptos::server_fn::ServerFn` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/server_fn-0.5.1/src/lib.rs:336:11 | 334 | pub trait ServerFn<T: 'static> | -------- required by a bound in this trait 335 | where 336 | Self: Serialize + DeserializeOwned + Sized + 'static, | ^^^^^^^^^ required by this bound in `ServerFn`
the trait bound `for<'de> app::functions::theme::SetDarkTheme: types::_::_serde::Deserialize<'de>` is not satisfied: src/app/functions/theme.rs#L3
error[E0277]: the trait bound `for<'de> app::functions::theme::SetDarkTheme: types::_::_serde::Deserialize<'de>` is not satisfied --> src/app/functions/theme.rs:3:10 | 3 | #[server(SetDarkTheme, "/api")] | ^^^^^^^^^^^^ the trait `for<'de> types::_::_serde::Deserialize<'de>` is not implemented for `app::functions::theme::SetDarkTheme` | = help: the following other types implement trait `types::_::_serde::Deserialize<'de>`: <bool as types::_::_serde::Deserialize<'de>> <char as types::_::_serde::Deserialize<'de>> <isize as types::_::_serde::Deserialize<'de>> <i8 as types::_::_serde::Deserialize<'de>> <i16 as types::_::_serde::Deserialize<'de>> <i32 as types::_::_serde::Deserialize<'de>> <i64 as types::_::_serde::Deserialize<'de>> <i128 as types::_::_serde::Deserialize<'de>> and 176 others = note: required for `app::functions::theme::SetDarkTheme` to implement `types::_::_serde::de::DeserializeOwned` note: required by a bound in `leptos::server_fn::ServerFn` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/server_fn-0.5.1/src/lib.rs:336:23 | 334 | pub trait ServerFn<T: 'static> | -------- required by a bound in this trait 335 | where 336 | Self: Serialize + DeserializeOwned + Sized + 'static, | ^^^^^^^^^^^^^^^^ required by this bound in `ServerFn`
the trait bound `app::functions::locale::SetLocale: types::_::_serde::Serialize` is not satisfied: src/app/functions/locale.rs#L5
error[E0277]: the trait bound `app::functions::locale::SetLocale: types::_::_serde::Serialize` is not satisfied --> src/app/functions/locale.rs:5:10 | 5 | #[server(SetLocale, "/api")] | ^^^^^^^^^ the trait `types::_::_serde::Serialize` is not implemented for `app::functions::locale::SetLocale` | = help: the following other types implement trait `types::_::_serde::Serialize`: bool char isize i8 i16 i32 i64 i128 and 240 others note: required by a bound in `leptos::server_fn::ServerFn` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/server_fn-0.5.1/src/lib.rs:336:11 | 334 | pub trait ServerFn<T: 'static> | -------- required by a bound in this trait 335 | where 336 | Self: Serialize + DeserializeOwned + Sized + 'static, | ^^^^^^^^^ required by this bound in `ServerFn`
the trait bound `for<'de> app::functions::locale::SetLocale: types::_::_serde::Deserialize<'de>` is not satisfied: src/app/functions/locale.rs#L5
error[E0277]: the trait bound `for<'de> app::functions::locale::SetLocale: types::_::_serde::Deserialize<'de>` is not satisfied --> src/app/functions/locale.rs:5:10 | 5 | #[server(SetLocale, "/api")] | ^^^^^^^^^ the trait `for<'de> types::_::_serde::Deserialize<'de>` is not implemented for `app::functions::locale::SetLocale` | = help: the following other types implement trait `types::_::_serde::Deserialize<'de>`: <bool as types::_::_serde::Deserialize<'de>> <char as types::_::_serde::Deserialize<'de>> <isize as types::_::_serde::Deserialize<'de>> <i8 as types::_::_serde::Deserialize<'de>> <i16 as types::_::_serde::Deserialize<'de>> <i32 as types::_::_serde::Deserialize<'de>> <i64 as types::_::_serde::Deserialize<'de>> <i128 as types::_::_serde::Deserialize<'de>> and 176 others = note: required for `app::functions::locale::SetLocale` to implement `types::_::_serde::de::DeserializeOwned` note: required by a bound in `leptos::server_fn::ServerFn` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/server_fn-0.5.1/src/lib.rs:336:23 | 334 | pub trait ServerFn<T: 'static> | -------- required by a bound in this trait 335 | where 336 | Self: Serialize + DeserializeOwned + Sized + 'static, | ^^^^^^^^^^^^^^^^ required by this bound in `ServerFn`
cannot find type `Scope` in this scope: src/error_template.rs#L11
error[E0412]: cannot find type `Scope` in this scope --> src/error_template.rs:11:7 | 11 | cx: Scope, | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app.rs#L29
error[E0412]: cannot find type `Scope` in this scope --> src/app.rs:29:16 | 29 | pub fn App(cx: Scope) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/routes/inscription.rs#L31
error[E0412]: cannot find type `Scope` in this scope --> src/app/routes/inscription.rs:31:24 | 31 | pub fn Inscription(cx: Scope) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/routes/inscription.rs#L22
error[E0412]: cannot find type `Scope` in this scope --> src/app/routes/inscription.rs:22:18 | 22 | pub fn Label(cx: Scope, children: Children) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/routes/inscription.rs#L17
error[E0412]: cannot find type `Scope` in this scope --> src/app/routes/inscription.rs:17:18 | 17 | pub fn Title(cx: Scope, children: Children) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/routes/inscription.rs#L8
error[E0412]: cannot find type `Scope` in this scope --> src/app/routes/inscription.rs:8:22 | 8 | pub fn Container(cx: Scope, children: Children) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/routes/home.rs#L25
error[E0412]: cannot find type `Scope` in this scope --> src/app/routes/home.rs:25:19 | 25 | fn get_icon(cx: Scope, m: &Media) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/routes/home.rs#L9
error[E0412]: cannot find type `Scope` in this scope --> src/app/routes/home.rs:9:17 | 9 | pub fn Home(cx: Scope) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/providers/theme.rs#L40
error[E0412]: cannot find type `Scope` in this scope --> src/app/providers/theme.rs:40:34 | 40 | pub fn provide_theme_context(cx: Scope) { | ^^^^^ not found in this scope | help: consider importing one of these items | 1 + use crate::app::theme::thread::Scope; | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/providers/theme.rs#L15
error[E0412]: cannot find type `Scope` in this scope --> src/app/providers/theme.rs:15:23 | 15 | fn initial_theme(_cx: Scope) -> bool { | ^^^^^ not found in this scope | help: consider importing one of these items | 1 + use crate::app::theme::thread::Scope; | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/providers/stream.rs#L15
error[E0412]: cannot find type `Scope` in this scope --> src/app/providers/stream.rs:15:35 | 15 | pub fn provide_stream_context(cx: Scope) { | ^^^^^ not found in this scope | help: consider importing one of these items | 2 + use crate::app::stream::thread::Scope; | 2 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/providers/i18n.rs#L40
error[E0412]: cannot find type `Scope` in this scope --> src/app/providers/i18n.rs:40:33 | 40 | pub fn provide_i18n_context(cx: Scope) { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/providers/i18n.rs#L8
error[E0412]: cannot find type `Scope` in this scope --> src/app/providers/i18n.rs:8:24 | 8 | fn initial_locale(_cx: Scope) -> Locale { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/i18n/context.rs#L40
error[E0412]: cannot find type `Scope` in this scope --> src/app/i18n/context.rs:40:30 | 40 | pub fn translate(self, cx: Scope, t: T, args: Option<TranslationArgs>) -> Memo<String> { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/functions/theme.rs#L5
error[E0412]: cannot find type `Scope` in this scope --> src/app/functions/theme.rs:5:34 | 5 | #[allow(unused_variables)] cx: Scope, | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/functions/locale.rs#L7
error[E0412]: cannot find type `Scope` in this scope --> src/app/functions/locale.rs:7:34 | 7 | #[allow(unused_variables)] cx: Scope, | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/theme_toggle.rs#L6
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/theme_toggle.rs:6:24 | 6 | pub fn ThemeToggle(cx: Scope) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/preview.rs#L5
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/preview.rs:5:7 | 5 | cx: Scope, | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/livegrid.rs#L26
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/livegrid.rs:26:7 | 26 | cx: Scope, | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/livegrid.rs#L14
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/livegrid.rs:14:18 | 14 | pub fn new(cx: Scope, key: usize, hash: String) -> Self { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/icon.rs#L146
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/icon.rs:146:23 | 146 | pub fn IconLoader(cx: Scope, #[prop(optional)] class: &'static str) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/icon.rs#L126
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/icon.rs:126:23 | 126 | pub fn IconIframe(cx: Scope, #[prop(optional)] class: &'static str) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/icon.rs#L109
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/icon.rs:109:20 | 109 | pub fn IconPdf(cx: Scope, #[prop(optional)] class: &'static str) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/icon.rs#L88
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/icon.rs:88:21 | 88 | pub fn IconText(cx: Scope, #[prop(optional)] class: &'static str) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/icon.rs#L67
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/icon.rs:67:24 | 67 | pub fn IconUnknown(cx: Scope, #[prop(optional)] class: &'static str) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/icon.rs#L46
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/icon.rs:46:22 | 46 | pub fn IconImage(cx: Scope, #[prop(optional)] class: &'static str) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/icon.rs#L26
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/icon.rs:26:22 | 26 | pub fn IconVideo(cx: Scope, #[prop(optional)] class: &'static str) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/icon.rs#L5
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/icon.rs:5:22 | 5 | pub fn IconAudio(cx: Scope, #[prop(optional)] class: &'static str) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/header.rs#L8
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/header.rs:8:19 | 8 | pub fn Header(cx: Scope) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
cannot find type `Scope` in this scope: src/app/components/footer.rs#L10
error[E0412]: cannot find type `Scope` in this scope --> src/app/components/footer.rs:10:19 | 10 | pub fn Footer(cx: Scope) -> impl IntoView { | ^^^^^ not found in this scope | help: consider importing this struct | 1 + use std::thread::Scope; |
unresolved import `leptos::Scope`: src/app/i18n/mod.rs#L11
error[E0432]: unresolved import `leptos::Scope` --> src/app/i18n/mod.rs:11:36 | 11 | use leptos::{expect_context, Memo, Scope}; | ^^^^^ no `Scope` in the root | = help: consider importing this struct instead: std::thread::Scope
nightly / clippy
Clippy had exited with the 101 exit code
unused import: `crate::app::i18n::T`: src/app/routes/inscription.rs#L3
warning: unused import: `crate::app::i18n::T` --> src/app/routes/inscription.rs:3:5 | 3 | use crate::app::i18n::T; | ^^^^^^^^^^^^^^^^^^^
unused import: `crate::app::components::preview::*`: src/app/routes/inscription.rs#L1
warning: unused import: `crate::app::components::preview::*` --> src/app/routes/inscription.rs:1:5 | 1 | use crate::app::components::preview::*; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `crate::app::components::*`: src/app/routes/home.rs#L1
warning: unused import: `crate::app::components::*` --> src/app/routes/home.rs:1:5 | 1 | use crate::app::components::*; | ^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `leptos_router::ActionForm`: src/app/components/theme_toggle.rs#L3
warning: unused import: `leptos_router::ActionForm` --> src/app/components/theme_toggle.rs:3:5 | 3 | use leptos_router::ActionForm; | ^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `leptos_router::*`: src/app/components/livegrid.rs#L3
warning: unused import: `leptos_router::*` --> src/app/components/livegrid.rs:3:5 | 3 | use leptos_router::*; | ^^^^^^^^^^^^^^^^
unused import: `crate::app::components::preview::*`: src/app/components/livegrid.rs#L1
warning: unused import: `crate::app::components::preview::*` --> src/app/components/livegrid.rs:1:5 | 1 | use crate::app::components::preview::*; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `leptos_router::*`: src/app/components/header.rs#L5
warning: unused import: `leptos_router::*` --> src/app/components/header.rs:5:5 | 5 | use leptos_router::*; | ^^^^^^^^^^^^^^^^
unused import: `crate::t`: src/app/components/header.rs#L3
warning: unused import: `crate::t` --> src/app/components/header.rs:3:5 | 3 | use crate::t; | ^^^^^^^^
unused import: `crate::app::i18n::T`: src/app/components/header.rs#L2
warning: unused import: `crate::app::i18n::T` --> src/app/components/header.rs:2:5 | 2 | use crate::app::i18n::T; | ^^^^^^^^^^^^^^^^^^^
unused import: `crate::app::components::ThemeToggle`: src/app/components/header.rs#L1
warning: unused import: `crate::app::components::ThemeToggle` --> src/app/components/header.rs:1:5 | 1 | use crate::app::components::ThemeToggle; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `strum::IntoEnumIterator`: src/app/components/footer.rs#L5
warning: unused import: `strum::IntoEnumIterator` --> src/app/components/footer.rs:5:5 | 5 | use strum::IntoEnumIterator; | ^^^^^^^^^^^^^^^^^^^^^^^
unused import: `leptos_router::*`: src/app/components/footer.rs#L4
warning: unused import: `leptos_router::*` --> src/app/components/footer.rs:4:5 | 4 | use leptos_router::*; | ^^^^^^^^^^^^^^^^
unused import: `Locale`: src/app/components/footer.rs#L2
warning: unused import: `Locale` --> src/app/components/footer.rs:2:37 | 2 | use crate::app::i18n::{I18nContext, Locale}; | ^^^^^^
unused import: `crate::app::components::IconLoader`: src/app/components/footer.rs#L1
warning: unused import: `crate::app::components::IconLoader` --> src/app/components/footer.rs:1:5 | 1 | use crate::app::components::IconLoader; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `leptos_router::*`: src/app.rs#L7
warning: unused import: `leptos_router::*` --> src/app.rs:7:5 | 7 | use leptos_router::*; | ^^^^^^^^^^^^^^^^
unused import: `crate::app::routes::*`: src/app.rs#L3
warning: unused import: `crate::app::routes::*` --> src/app.rs:3:5 | 3 | use crate::app::routes::*; | ^^^^^^^^^^^^^^^^^^^^^
unused import: `crate::app::components::*`: src/app.rs#L1
warning: unused import: `crate::app::components::*` --> src/app.rs:1:5 | 1 | use crate::app::components::*; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
nightly / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/