` is not satisfied
[INFO] [stdout] --> src/presentation/app.rs:74:36
[INFO] [stdout] |
[INFO] [stdout] 74 | Route::Decrypt => html! { },
[INFO] [stdout] | ^^^^^^^^^^^ the trait `HasProp<_DecryptPageProps::i18n, _>` is not implemented for `AssertAllProps`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `HasProp`:
[INFO] [stdout] `CheckDecryptPagePropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckEncryptionControlsPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckErrorBoundaryPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckFileUploadPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckPdfPreviewPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckStatusIndicatorPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastContainerPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastPropsAll` implements `HasProp
>`
[INFO] [stdout] and 35 others
[INFO] [stdout] note: required for `CheckDecryptPagePropsAll` to implement `HasAllProps`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasAllProps`
[INFO] [stdout] = help: consider manually implementing `HasAllProps` to avoid undesired bounds
[INFO] [stdout] = note: required for `AssertAllProps` to implement `AllPropsFor`
[INFO] [stdout] note: required by a bound in `yew::html::component::properties::__macro::PreBuild::::build`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.20.0/src/html/component/properties.rs:76:20
[INFO] [stdout] |
[INFO] [stdout] 74 | pub fn build(self) -> B::Output
[INFO] [stdout] | ----- required by a bound in this associated function
[INFO] [stdout] 75 | where
[INFO] [stdout] 76 | Token: AllPropsFor,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PreBuild::::build`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pdf_encrypt_rust_wasm.long-type-11802431974661484299.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] = note: this error originates in the macro `html` which comes from the expansion of the derive macro `Properties` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `PdfDocument`
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | --------- in this derive macro expansion
[INFO] [stdout] 19 | pub struct EncryptionControlsProps {
[INFO] [stdout] 20 | pub document: PdfDocument,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `PdfDocument`
[INFO] [stdout] --> src/domain/entities/pdf_document.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct PdfDocument {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `PdfDocument` with `#[derive(PartialEq)]`
[INFO] [stdout] --> src/domain/entities/pdf_document.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 + #[derive(PartialEq)]
[INFO] [stdout] 8 | pub struct PdfDocument {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:80:28
[INFO] [stdout] |
[INFO] [stdout] 80 | if let Some(doc) = &ctx.props().document {
[INFO] [stdout] | ^^^^^^^^^ --------------------- this expression has type `&PdfDocument`
[INFO] [stdout] | |
[INFO] [stdout] | expected `PdfDocument`, found `Option<_>`
[INFO] [stdout] |
[INFO] [stdout] = note: expected struct `PdfDocument`
[INFO] [stdout] found enum `std::option::Option<_>`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:184:28
[INFO] [stdout] |
[INFO] [stdout] 184 | if let Some(doc) = &ctx.props().document {
[INFO] [stdout] | ^^^^^^^^^ --------------------- this expression has type `&PdfDocument`
[INFO] [stdout] | |
[INFO] [stdout] | expected `PdfDocument`, found `Option<_>`
[INFO] [stdout] |
[INFO] [stdout] = note: expected struct `PdfDocument`
[INFO] [stdout] found enum `std::option::Option<_>`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `bool: IntoPropValue>` is not satisfied
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:190:48
[INFO] [stdout] |
[INFO] [stdout] 190 | ... aria-disabled={self.password.is_empty()}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoPropValue>` is not implemented for `bool`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `IntoPropValue`:
[INFO] [stdout] `&'static [(K, V)]` implements `IntoPropValue>`
[INFO] [stdout] `&'static [T]` implements `IntoPropValue>`
[INFO] [stdout] `&'static str` implements `IntoPropValue`
[INFO] [stdout] `&'static str` implements `IntoPropValue`
[INFO] [stdout] `&'static str` implements `IntoPropValue>`
[INFO] [stdout] `&'static str` implements `IntoPropValue>`
[INFO] [stdout] `&'static str` implements `IntoPropValue`
[INFO] [stdout] `&T` implements `IntoPropValue`
[INFO] [stdout] and 11 others
[INFO] [stdout] help: consider removing this method call, as the receiver has type `String` and `String: IntoPropValue>` trivially holds
[INFO] [stdout] |
[INFO] [stdout] 190 - aria-disabled={self.password.is_empty()}
[INFO] [stdout] 190 + aria-disabled={self.password}
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `bool: IntoPropValue>` is not satisfied
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:199:48
[INFO] [stdout] |
[INFO] [stdout] 199 | ... aria-disabled={self.password.is_empty() || self.password != self.confirm_password}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoPropValue>` is not implemented for `bool`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `IntoPropValue`:
[INFO] [stdout] `&'static [(K, V)]` implements `IntoPropValue>`
[INFO] [stdout] `&'static [T]` implements `IntoPropValue>`
[INFO] [stdout] `&'static str` implements `IntoPropValue`
[INFO] [stdout] `&'static str` implements `IntoPropValue`
[INFO] [stdout] `&'static str` implements `IntoPropValue>`
[INFO] [stdout] `&'static str` implements `IntoPropValue>`
[INFO] [stdout] `&'static str` implements `IntoPropValue`
[INFO] [stdout] `&T` implements `IntoPropValue`
[INFO] [stdout] and 11 others
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout] --> src/presentation/components/file_upload.rs:119:31
[INFO] [stdout] |
[INFO] [stdout] 119 | let doc = PdfDocument::new(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 120 | file.name(),
[INFO] [stdout] | ----------- expected `Vec`, found `String`
[INFO] [stdout] 121 | content.into_bytes(),
[INFO] [stdout] | -------------------- expected `String`, found `Vec`
[INFO] [stdout] 122 | None,
[INFO] [stdout] | ---- unexpected argument #3 of type `std::option::Option<_>`
[INFO] [stdout] |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] --> src/domain/entities/pdf_document.rs:31:12
[INFO] [stdout] |
[INFO] [stdout] 31 | pub fn new(content: Vec, name: String) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout] |
[INFO] [stdout] 119 ~ let doc = PdfDocument::new(
[INFO] [stdout] 120 + content.into_bytes(),
[INFO] [stdout] 121 + file.name(),
[INFO] [stdout] 122 ~ );
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no variant or associated item named `System` found for enum `Theme` in the current scope
[INFO] [stdout] --> src/presentation/components/navigation.rs:19:24
[INFO] [stdout] |
[INFO] [stdout] 19 | Theme::System => Theme::Light,
[INFO] [stdout] | ^^^^^^ variant or associated item not found in `Theme`
[INFO] [stdout] |
[INFO] [stdout] ::: src/domain/entities/user_settings.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | pub enum Theme {
[INFO] [stdout] | -------------- variant or associated item `System` not found for this enum
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no variant or associated item named `System` found for enum `Theme` in the current scope
[INFO] [stdout] --> src/presentation/components/navigation.rs:18:39
[INFO] [stdout] |
[INFO] [stdout] 18 | Theme::Dark => Theme::System,
[INFO] [stdout] | ^^^^^^ variant or associated item not found in `Theme`
[INFO] [stdout] |
[INFO] [stdout] ::: src/domain/entities/user_settings.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | pub enum Theme {
[INFO] [stdout] | -------------- variant or associated item `System` not found for this enum
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no variant or associated item named `System` found for enum `Theme` in the current scope
[INFO] [stdout] --> src/presentation/components/navigation.rs:40:16
[INFO] [stdout] |
[INFO] [stdout] 40 | Theme::System => "⚙️",
[INFO] [stdout] | ^^^^^^ variant or associated item not found in `Theme`
[INFO] [stdout] |
[INFO] [stdout] ::: src/domain/entities/user_settings.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | pub enum Theme {
[INFO] [stdout] | -------------- variant or associated item `System` not found for this enum
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `PdfDocument`
[INFO] [stdout] --> src/presentation/components/pdf_preview.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 8 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | --------- in this derive macro expansion
[INFO] [stdout] 9 | pub struct PdfPreviewProps {
[INFO] [stdout] 10 | pub document: PdfDocument,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `PdfDocument`
[INFO] [stdout] --> src/domain/entities/pdf_document.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct PdfDocument {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `PdfDocument` with `#[derive(PartialEq)]`
[INFO] [stdout] --> src/domain/entities/pdf_document.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 + #[derive(PartialEq)]
[INFO] [stdout] 8 | pub struct PdfDocument {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: can't compare `PdfDocument` with `PdfDocument`
[INFO] [stdout] --> src/presentation/components/pdf_preview.rs:53:10
[INFO] [stdout] |
[INFO] [stdout] 35 | use_effect_with_deps(
[INFO] [stdout] | -------------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 53 | (props.document.clone(), iframe_ref.clone(), *zoom),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no implementation for `PdfDocument == PdfDocument`
[INFO] [stdout] |
[INFO] [stdout] help: the trait `PartialEq` is not implemented for `PdfDocument`
[INFO] [stdout] --> src/domain/entities/pdf_document.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct PdfDocument {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] = note: required for `(PdfDocument, NodeRef, {integer})` to implement `PartialEq`
[INFO] [stdout] note: required by a bound in `yew::use_effect_with_deps`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.20.0/src/functional/hooks/use_effect.rs:267:8
[INFO] [stdout] |
[INFO] [stdout] 265 | pub fn use_effect_with_deps(f: F, deps: T)
[INFO] [stdout] | -------------------- required by a bound in this function
[INFO] [stdout] 266 | where
[INFO] [stdout] 267 | T: PartialEq + 'static,
[INFO] [stdout] | ^^^^^^^^^ required by this bound in `use_effect_with_deps`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: can't compare `PdfDocument` with `PdfDocument`
[INFO] [stdout] --> src/presentation/components/pdf_preview.rs:35:5
[INFO] [stdout] |
[INFO] [stdout] 35 | / use_effect_with_deps(
[INFO] [stdout] 36 | | move |(document, iframe_ref, zoom)| {
[INFO] [stdout] 37 | | if let Some(iframe) = iframe_ref.cast::() {
[INFO] [stdout] ... |
[INFO] [stdout] 53 | | (props.document.clone(), iframe_ref.clone(), *zoom),
[INFO] [stdout] 54 | | );
[INFO] [stdout] | |_____^ no implementation for `PdfDocument == PdfDocument`
[INFO] [stdout] |
[INFO] [stdout] help: the trait `PartialEq` is not implemented for `PdfDocument`
[INFO] [stdout] --> src/domain/entities/pdf_document.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct PdfDocument {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] = note: required for `(PdfDocument, NodeRef, {integer})` to implement `PartialEq`
[INFO] [stdout] note: required by a bound in `yew::use_effect_with_deps`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.20.0/src/functional/hooks/use_effect.rs:267:8
[INFO] [stdout] |
[INFO] [stdout] 265 | pub fn use_effect_with_deps(f: F, deps: T)
[INFO] [stdout] | -------------------- required by a bound in this function
[INFO] [stdout] 266 | where
[INFO] [stdout] 267 | T: PartialEq + 'static,
[INFO] [stdout] | ^^^^^^^^^ required by this bound in `use_effect_with_deps`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `name` found for struct `PdfDocument` in the current scope
[INFO] [stdout] --> src/presentation/components/pdf_preview.rs:101:44
[INFO] [stdout] |
[INFO] [stdout] 101 | ... props.document.name()
[INFO] [stdout] | ^^^^ method not found in `PdfDocument`
[INFO] [stdout] |
[INFO] [stdout] ::: src/domain/entities/pdf_document.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct PdfDocument {
[INFO] [stdout] | ---------------------- method `name` not found for this struct
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] = note: the following trait defines an item `name`, perhaps you need to implement it:
[INFO] [stdout] candidate #1: `globalcache::CacheControl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `size` found for struct `PdfDocument` in the current scope
[INFO] [stdout] --> src/presentation/components/pdf_preview.rs:107:44
[INFO] [stdout] |
[INFO] [stdout] 107 | ... props.document.size() as f64 / 1024.0
[INFO] [stdout] | ^^^^ private field, not a method
[INFO] [stdout] |
[INFO] [stdout] ::: src/domain/entities/pdf_document.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct PdfDocument {
[INFO] [stdout] | ---------------------- method `size` not found for this struct
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] = note: the following traits define an item `size`, perhaps you need to implement one of them:
[INFO] [stdout] candidate #1: `globalcache::ValueSize`
[INFO] [stdout] candidate #2: `pdf::any::AnyObject`
[INFO] [stdout] candidate #3: `std::os::unix::fs::MetadataExt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout] --> src/presentation/pages/encrypt.rs:49:26
[INFO] [stdout] |
[INFO] [stdout] 49 | .context::()
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 is missing
[INFO] [stdout] |
[INFO] [stdout] note: method defined here
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.20.0/src/html/component/scope.rs:180:12
[INFO] [stdout] |
[INFO] [stdout] 180 | pub fn context(
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout] |
[INFO] [stdout] 49 | .context::(/* callback */)
[INFO] [stdout] | ++++++++++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AssertAllProps: HasProp<_EncryptionControlsProps::i18n, _>` is not satisfied
[INFO] [stdout] --> src/presentation/pages/encrypt.rs:109:34
[INFO] [stdout] |
[INFO] [stdout] 109 | ... ` is not implemented for `AssertAllProps`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `HasProp`:
[INFO] [stdout] `CheckDecryptPagePropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckEncryptionControlsPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckErrorBoundaryPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckFileUploadPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckPdfPreviewPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckStatusIndicatorPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastContainerPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastPropsAll` implements `HasProp
>`
[INFO] [stdout] and 35 others
[INFO] [stdout] note: required for `HasEncryptionControlsPropsdocument` to implement `HasProp<_EncryptionControlsProps::i18n, &dyn HasProp<_EncryptionControlsProps::i18n, _>>`
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasProp<_EncryptionControlsProps::i18n, &dyn HasProp<_EncryptionControlsProps::i18n, _>>`
[INFO] [stdout] = help: consider manually implementing `HasProp<_EncryptionControlsProps::i18n, &dyn HasProp<_EncryptionControlsProps::i18n, _>>` to avoid undesired bounds
[INFO] [stdout] = note: 2 redundant requirements hidden
[INFO] [stdout] = note: required for `HasEncryptionControlsPropson_reset<...>` to implement `HasProp>>`
[INFO] [stdout] note: required for `CheckEncryptionControlsPropsAll<...>` to implement `HasAllProps`
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasAllProps`
[INFO] [stdout] = help: consider manually implementing `HasAllProps` to avoid undesired bounds
[INFO] [stdout] = note: required for `HasEncryptionControlsPropson_reset<...>` to implement `AllPropsFor`
[INFO] [stdout] note: required by a bound in `yew::html::component::properties::__macro::PreBuild::::build`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.20.0/src/html/component/properties.rs:76:20
[INFO] [stdout] |
[INFO] [stdout] 74 | pub fn build(self) -> B::Output
[INFO] [stdout] | ----- required by a bound in this associated function
[INFO] [stdout] 75 | where
[INFO] [stdout] 76 | Token: AllPropsFor,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PreBuild::::build`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pdf_encrypt_rust_wasm.long-type-11802431974661484299.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] = note: this error originates in the macro `html` which comes from the expansion of the derive macro `Properties` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AssertAllProps: HasProp` is not satisfied
[INFO] [stdout] --> src/presentation/pages/encrypt.rs:109:34
[INFO] [stdout] |
[INFO] [stdout] 109 | ... ` is not implemented for `AssertAllProps`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `HasProp`:
[INFO] [stdout] `CheckDecryptPagePropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckEncryptionControlsPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckErrorBoundaryPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckFileUploadPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckPdfPreviewPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckStatusIndicatorPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastContainerPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastPropsAll` implements `HasProp
>`
[INFO] [stdout] and 35 others
[INFO] [stdout] note: required for `HasEncryptionControlsPropsdocument` to implement `HasProp>`
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasProp>`
[INFO] [stdout] = help: consider manually implementing `HasProp>` to avoid undesired bounds
[INFO] [stdout] = note: 2 redundant requirements hidden
[INFO] [stdout] = note: required for `HasEncryptionControlsPropson_reset<...>` to implement `HasProp>>>`
[INFO] [stdout] note: required for `CheckEncryptionControlsPropsAll<...>` to implement `HasAllProps`
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasAllProps`
[INFO] [stdout] = help: consider manually implementing `HasAllProps` to avoid undesired bounds
[INFO] [stdout] = note: required for `HasEncryptionControlsPropson_reset<...>` to implement `AllPropsFor`
[INFO] [stdout] note: required by a bound in `yew::html::component::properties::__macro::PreBuild::::build`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.20.0/src/html/component/properties.rs:76:20
[INFO] [stdout] |
[INFO] [stdout] 74 | pub fn build(self) -> B::Output
[INFO] [stdout] | ----- required by a bound in this associated function
[INFO] [stdout] 75 | where
[INFO] [stdout] 76 | Token: AllPropsFor,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PreBuild::::build`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pdf_encrypt_rust_wasm.long-type-11802431974661484299.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] = note: this error originates in the macro `html` which comes from the expansion of the derive macro `Properties` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AssertAllProps: HasProp` is not satisfied
[INFO] [stdout] --> src/presentation/pages/encrypt.rs:109:34
[INFO] [stdout] |
[INFO] [stdout] 109 | ... ` is not implemented for `AssertAllProps`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `HasProp`:
[INFO] [stdout] `CheckDecryptPagePropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckEncryptionControlsPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckErrorBoundaryPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckFileUploadPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckPdfPreviewPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckStatusIndicatorPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastContainerPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastPropsAll` implements `HasProp
>`
[INFO] [stdout] and 35 others
[INFO] [stdout] note: required for `HasEncryptionControlsPropsdocument` to implement `HasProp>`
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasProp>`
[INFO] [stdout] = help: consider manually implementing `HasProp>` to avoid undesired bounds
[INFO] [stdout] = note: 2 redundant requirements hidden
[INFO] [stdout] = note: required for `HasEncryptionControlsPropson_reset<...>` to implement `HasProp>>`
[INFO] [stdout] note: required for `CheckEncryptionControlsPropsAll<...>` to implement `HasAllProps`
[INFO] [stdout] --> src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasAllProps`
[INFO] [stdout] = help: consider manually implementing `HasAllProps` to avoid undesired bounds
[INFO] [stdout] = note: required for `HasEncryptionControlsPropson_reset<...>` to implement `AllPropsFor`
[INFO] [stdout] note: required by a bound in `yew::html::component::properties::__macro::PreBuild::::build`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.20.0/src/html/component/properties.rs:76:20
[INFO] [stdout] |
[INFO] [stdout] 74 | pub fn build(self) -> B::Output
[INFO] [stdout] | ----- required by a bound in this associated function
[INFO] [stdout] 75 | where
[INFO] [stdout] 76 | Token: AllPropsFor,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PreBuild::::build`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pdf_encrypt_rust_wasm.long-type-11802431974661484299.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] = note: this error originates in the macro `html` which comes from the expansion of the derive macro `Properties` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AssertAllProps: HasProp<_PdfPreviewProps::i18n, _>` is not satisfied
[INFO] [stdout] --> src/presentation/pages/encrypt.rs:119:30
[INFO] [stdout] |
[INFO] [stdout] 119 | ...
[INFO] [stdout] | ^^^^^^^^^^ the trait `HasProp<_PdfPreviewProps::i18n, _>` is not implemented for `AssertAllProps`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `HasProp`:
[INFO] [stdout] `CheckDecryptPagePropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckEncryptionControlsPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckErrorBoundaryPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckFileUploadPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckPdfPreviewPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckStatusIndicatorPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastContainerPropsAll` implements `HasProp
>`
[INFO] [stdout] `CheckToastPropsAll` implements `HasProp
>`
[INFO] [stdout] and 35 others
[INFO] [stdout] note: required for `HasPdfPreviewPropsdocument` to implement `HasProp<_PdfPreviewProps::i18n, &dyn HasProp<_PdfPreviewProps::i18n, _>>`
[INFO] [stdout] --> src/presentation/components/pdf_preview.rs:8:10
[INFO] [stdout] |
[INFO] [stdout] 8 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasProp<_PdfPreviewProps::i18n, &dyn HasProp<_PdfPreviewProps::i18n, _>>`
[INFO] [stdout] = help: consider manually implementing `HasProp<_PdfPreviewProps::i18n, &dyn HasProp<_PdfPreviewProps::i18n, _>>` to avoid undesired bounds
[INFO] [stdout] note: required for `CheckPdfPreviewPropsAll>` to implement `HasAllProps, ...)>`
[INFO] [stdout] --> src/presentation/components/pdf_preview.rs:8:10
[INFO] [stdout] |
[INFO] [stdout] 8 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ^^^^^^^^^^ type parameter would need to implement `HasAllProps, ...)>`
[INFO] [stdout] = help: consider manually implementing `HasAllProps, ...)>` to avoid undesired bounds
[INFO] [stdout] = note: required for `HasPdfPreviewPropsdocument` to implement `AllPropsFor`
[INFO] [stdout] note: required by a bound in `yew::html::component::properties::__macro::PreBuild::::build`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.20.0/src/html/component/properties.rs:76:20
[INFO] [stdout] |
[INFO] [stdout] 74 | pub fn build(self) -> B::Output
[INFO] [stdout] | ----- required by a bound in this associated function
[INFO] [stdout] 75 | where
[INFO] [stdout] 76 | Token: AllPropsFor,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PreBuild::::build`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pdf_encrypt_rust_wasm.long-type-11802431974661484299.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] = note: this error originates in the macro `html` which comes from the expansion of the derive macro `Properties` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0609]: no field `onfile` on type `FileUploadProps`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:104:30
[INFO] [stdout] |
[INFO] [stdout] 104 | ... {onfile}
[INFO] [stdout] | ^^^^^^ unknown field
[INFO] [stdout] |
[INFO] [stdout] = note: available field is: `on_file_selected`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0609]: no field `accept` on type `FileUploadProps`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:105:29
[INFO] [stdout] |
[INFO] [stdout] 105 | ... accept="application/pdf"
[INFO] [stdout] | ^^^^^^ unknown field
[INFO] [stdout] |
[INFO] [stdout] = note: available field is: `on_file_selected`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0609]: no field `i18n` on type `FileUploadProps`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:106:29
[INFO] [stdout] |
[INFO] [stdout] 106 | ... i18n={i18n.clone()}
[INFO] [stdout] | ^^^^ unknown field
[INFO] [stdout] |
[INFO] [stdout] = note: available field is: `on_file_selected`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `onfile` found for struct `FileUploadPropsBuilder` in the current scope
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:104:30
[INFO] [stdout] |
[INFO] [stdout] 104 | ... {onfile}
[INFO] [stdout] | ^^^^^^ method not found in `FileUploadPropsBuilder`
[INFO] [stdout] |
[INFO] [stdout] ::: src/presentation/components/file_upload.rs:7:10
[INFO] [stdout] |
[INFO] [stdout] 7 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ---------- method `onfile` not found for this struct
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `accept` found for struct `FileUploadPropsBuilder` in the current scope
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:105:29
[INFO] [stdout] |
[INFO] [stdout] 105 | ... accept="application/pdf"
[INFO] [stdout] | ^^^^^^ method not found in `FileUploadPropsBuilder`
[INFO] [stdout] |
[INFO] [stdout] ::: src/presentation/components/file_upload.rs:7:10
[INFO] [stdout] |
[INFO] [stdout] 7 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ---------- method `accept` not found for this struct
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `i18n` found for struct `FileUploadPropsBuilder` in the current scope
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:106:29
[INFO] [stdout] |
[INFO] [stdout] 106 | ... i18n={i18n.clone()}
[INFO] [stdout] | ^^^^ method not found in `FileUploadPropsBuilder`
[INFO] [stdout] |
[INFO] [stdout] ::: src/presentation/components/file_upload.rs:7:10
[INFO] [stdout] |
[INFO] [stdout] 7 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ---------- method `i18n` not found for this struct
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0609]: no field `onpassword` on type `EncryptionControlsProps`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:112:37
[INFO] [stdout] |
[INFO] [stdout] 112 | ... onpassword={onpassword}
[INFO] [stdout] | ^^^^^^^^^^ unknown field
[INFO] [stdout] |
[INFO] [stdout] = note: available fields are: `document`, `i18n`, `on_encrypt`, `on_decrypt`, `on_clear`, `on_reset`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0609]: no field `onsubmit` on type `EncryptionControlsProps`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:113:37
[INFO] [stdout] |
[INFO] [stdout] 113 | ... onsubmit={ondecrypt}
[INFO] [stdout] | ^^^^^^^^ unknown field
[INFO] [stdout] |
[INFO] [stdout] = note: available fields are: `document`, `i18n`, `on_encrypt`, `on_decrypt`, `on_clear`, `on_reset`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0609]: no field `mode` on type `EncryptionControlsProps`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:114:37
[INFO] [stdout] |
[INFO] [stdout] 114 | ... mode="decrypt"
[INFO] [stdout] | ^^^^ unknown field
[INFO] [stdout] |
[INFO] [stdout] = note: available fields are: `document`, `i18n`, `on_encrypt`, `on_decrypt`, `on_clear`, `on_reset`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0609]: no field `disabled` on type `EncryptionControlsProps`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:115:37
[INFO] [stdout] |
[INFO] [stdout] 115 | ... disabled={self.loading}
[INFO] [stdout] | ^^^^^^^^ unknown field
[INFO] [stdout] |
[INFO] [stdout] = note: available fields are: `document`, `i18n`, `on_encrypt`, `on_decrypt`, `on_clear`, `on_reset`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `onpassword` found for struct `EncryptionControlsPropsBuilder` in the current scope
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:112:37
[INFO] [stdout] |
[INFO] [stdout] 112 | ... onpassword={onpassword}
[INFO] [stdout] | ^^^^^^^^^^ method not found in `EncryptionControlsPropsBuilder`
[INFO] [stdout] |
[INFO] [stdout] ::: src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ---------- method `onpassword` not found for this struct
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `onsubmit` found for struct `EncryptionControlsPropsBuilder` in the current scope
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:113:37
[INFO] [stdout] |
[INFO] [stdout] 113 | ... onsubmit={ondecrypt}
[INFO] [stdout] | ^^^^^^^^ method not found in `EncryptionControlsPropsBuilder`
[INFO] [stdout] |
[INFO] [stdout] ::: src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ---------- method `onsubmit` not found for this struct
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `mode` found for struct `EncryptionControlsPropsBuilder` in the current scope
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:114:37
[INFO] [stdout] |
[INFO] [stdout] 114 | ... mode="decrypt"
[INFO] [stdout] | ^^^^ method not found in `EncryptionControlsPropsBuilder`
[INFO] [stdout] |
[INFO] [stdout] ::: src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ---------- method `mode` not found for this struct
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] = note: the following traits define an item `mode`, perhaps you need to implement one of them:
[INFO] [stdout] candidate #1: `DirBuilderExt`
[INFO] [stdout] candidate #2: `OpenOptionsExt`
[INFO] [stdout] candidate #3: `PermissionsExt`
[INFO] [stdout] candidate #4: `std::os::unix::fs::MetadataExt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `disabled` found for struct `EncryptionControlsPropsBuilder` in the current scope
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:115:37
[INFO] [stdout] |
[INFO] [stdout] 115 | ... disabled={self.loading}
[INFO] [stdout] | ^^^^^^^^ method not found in `EncryptionControlsPropsBuilder`
[INFO] [stdout] |
[INFO] [stdout] ::: src/presentation/components/encryption_controls.rs:18:10
[INFO] [stdout] |
[INFO] [stdout] 18 | #[derive(Properties, PartialEq)]
[INFO] [stdout] | ---------- method `disabled` not found for this struct
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0609]: no field `message` on type `()`
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:124:37
[INFO] [stdout] |
[INFO] [stdout] 124 | ... message={i18n.get_translation("decrypt.processing").unwrap_or_default()}
[INFO] [stdout] | ^^^^^^^ unknown field
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `message` found for struct `yew::html::component::properties::__macro::EmptyBuilder` in the current scope
[INFO] [stdout] --> src/presentation/pages/decrypt.rs:124:37
[INFO] [stdout] |
[INFO] [stdout] 124 | ... message={i18n.get_translation("decrypt.processing").unwrap_or_default()}
[INFO] [stdout] | ^^^^^^^ method not found in `yew::html::component::properties::__macro::EmptyBuilder`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no variant or associated item named `default` found for enum `Theme` in the current scope
[INFO] [stdout] --> src/presentation/pages/settings.rs:53:37
[INFO] [stdout] |
[INFO] [stdout] 53 | self.theme = Theme::default();
[INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Theme`
[INFO] [stdout] |
[INFO] [stdout] ::: src/domain/entities/user_settings.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | pub enum Theme {
[INFO] [stdout] | -------------- variant or associated item `default` not found for this enum
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] = note: the following traits define an item `default`, perhaps you need to implement one of them:
[INFO] [stdout] candidate #1: `std::default::Default`
[INFO] [stdout] candidate #2: `tinyvec::Array`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no function or associated item named `raw` found for struct `LocalStorage` in the current scope
[INFO] [stdout] --> src/lib.rs:18:34
[INFO] [stdout] |
[INFO] [stdout] 18 | gloo::storage::LocalStorage::raw();
[INFO] [stdout] | ^^^ function or associated item not found in `LocalStorage`
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Storage` which provides `raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout] |
[INFO] [stdout] 1 + use gloo::gloo_storage::Storage;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout] --> src/domain/entities/pdf_document.rs:33:13
[INFO] [stdout] |
[INFO] [stdout] 33 | let metadata = PdfMetadata {
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `add_toast`
[INFO] [stdout] --> src/presentation/components/toast.rs:112:9
[INFO] [stdout] |
[INFO] [stdout] 112 | let add_toast = {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_toast`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0369, E0407, E0425, E0432, E0433, E0583...
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `pdf_encrypt_rust_wasm` (lib) due to 74 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ca5ca68f70895b11320466022ec3ec5055cf003a3138b3b867b306e1c52c8cf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca5ca68f70895b11320466022ec3ec5055cf003a3138b3b867b306e1c52c8cf2", kill_on_drop: false }`
[INFO] [stdout] ca5ca68f70895b11320466022ec3ec5055cf003a3138b3b867b306e1c52c8cf2