[INFO] cloning repository https://github.com/panjihyem/pdf_encription_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panjihyem/pdf_encription_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanjihyem%2Fpdf_encription_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanjihyem%2Fpdf_encription_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcd874a71dbf8fae86e9decdc90773d72a9ce64b [INFO] testing panjihyem/pdf_encription_rust/dcd874a71dbf8fae86e9decdc90773d72a9ce64b against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanjihyem%2Fpdf_encription_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 46% (1376/2967) Updating files: 47% (1395/2967) Updating files: 48% (1425/2967) Updating files: 49% (1454/2967) Updating files: 50% (1484/2967) Updating files: 51% (1514/2967) Updating files: 52% (1543/2967) Updating files: 52% (1544/2967) Updating files: 53% (1573/2967) Updating files: 54% (1603/2967) Updating files: 55% (1632/2967) Updating files: 56% (1662/2967) Updating files: 57% (1692/2967) Updating files: 57% (1699/2967) Updating files: 58% (1721/2967) Updating files: 59% (1751/2967) Updating files: 59% (1778/2967) Updating files: 60% (1781/2967) Updating files: 61% (1810/2967) Updating files: 62% (1840/2967) Updating files: 63% (1870/2967) Updating files: 64% (1899/2967) Updating files: 65% (1929/2967) Updating files: 65% (1934/2967) Updating files: 66% (1959/2967) Updating files: 67% (1988/2967) Updating files: 68% (2018/2967) Updating files: 69% (2048/2967) Updating files: 70% (2077/2967) Updating files: 71% (2107/2967) Updating files: 72% (2137/2967) Updating files: 73% (2166/2967) Updating files: 74% (2196/2967) Updating files: 75% (2226/2967) Updating files: 76% (2255/2967) Updating files: 77% (2285/2967) Updating files: 78% (2315/2967) Updating files: 79% (2344/2967) Updating files: 80% (2374/2967) Updating files: 81% (2404/2967) Updating files: 82% (2433/2967) Updating files: 83% (2463/2967) Updating files: 84% (2493/2967) Updating files: 85% (2522/2967) Updating files: 86% (2552/2967) Updating files: 87% (2582/2967) Updating files: 88% (2611/2967) Updating files: 89% (2641/2967) Updating files: 90% (2671/2967) Updating files: 91% (2700/2967) Updating files: 92% (2730/2967) Updating files: 92% (2755/2967) Updating files: 93% (2760/2967) Updating files: 94% (2789/2967) Updating files: 95% (2819/2967) Updating files: 96% (2849/2967) Updating files: 97% (2878/2967) Updating files: 98% (2908/2967) Updating files: 98% (2924/2967) Updating files: 99% (2938/2967) Updating files: 100% (2967/2967) Updating files: 100% (2967/2967), done. [INFO] started tweaking git repo https://github.com/panjihyem/pdf_encription_rust [INFO] finished tweaking git repo https://github.com/panjihyem/pdf_encription_rust [INFO] tweaked toml for git repo https://github.com/panjihyem/pdf_encription_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/panjihyem/pdf_encription_rust on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/panjihyem/pdf_encription_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Downloaded gloo-events v0.1.2 [INFO] [stderr] Downloaded globalcache v0.2.4 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.50 [INFO] [stderr] Downloaded gloo-dialogs v0.1.1 [INFO] [stderr] Downloaded gloo-render v0.1.1 [INFO] [stderr] Downloaded yew-macro v0.20.0 [INFO] [stderr] Downloaded yew-router v0.17.0 [INFO] [stderr] Downloaded yew v0.20.0 [INFO] [stderr] Downloaded anymap2 v0.13.0 [INFO] [stderr] Downloaded gloo-history v0.1.5 [INFO] [stderr] Downloaded fax_derive v0.1.0 [INFO] [stderr] Downloaded gloo-console v0.2.3 [INFO] [stderr] Downloaded route-recognizer v0.3.1 [INFO] [stderr] Downloaded console_log v1.0.0 [INFO] [stderr] Downloaded datasize v0.2.15 [INFO] [stderr] Downloaded istring v0.3.4 [INFO] [stderr] Downloaded tuple v0.5.2 [INFO] [stderr] Downloaded snafu-derive v0.7.5 [INFO] [stderr] Downloaded pdf v0.8.1 [INFO] [stderr] Downloaded gloo v0.8.1 [INFO] [stderr] Downloaded uuid v1.15.1 [INFO] [stderr] Downloaded gloo-net v0.3.1 [INFO] [stderr] Downloaded block-padding v0.3.3 [INFO] [stderr] Downloaded stylist-core v0.12.1 [INFO] [stderr] Downloaded implicit-clone v0.3.10 [INFO] [stderr] Downloaded fax v0.2.4 [INFO] [stderr] Downloaded pinned v0.1.0 [INFO] [stderr] Downloaded stylist-macros v0.12.1 [INFO] [stderr] Downloaded cbc v0.1.2 [INFO] [stderr] Downloaded tokio v1.44.0 [INFO] [stderr] Downloaded snafu v0.7.5 [INFO] [stderr] Downloaded minicov v0.3.7 [INFO] [stderr] Downloaded deflate v1.0.0 [INFO] [stderr] Downloaded pdf_derive v0.1.22 [INFO] [stderr] Downloaded gloo-storage v0.2.2 [INFO] [stderr] Downloaded gloo-file v0.2.3 [INFO] [stderr] Downloaded gloo-worker v0.2.1 [INFO] [stderr] Downloaded yew-router-macro v0.17.0 [INFO] [stderr] Downloaded stylist v0.12.1 [INFO] [stderr] Downloaded datasize_derive v0.2.15 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded prokio v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d0d592a1ba3e177c6075acab14eb28cd259753f3aa2ccd53b96a9a8b8a47bd1 [INFO] running `Command { std: "docker" "start" "-a" "1d0d592a1ba3e177c6075acab14eb28cd259753f3aa2ccd53b96a9a8b8a47bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d0d592a1ba3e177c6075acab14eb28cd259753f3aa2ccd53b96a9a8b8a47bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d0d592a1ba3e177c6075acab14eb28cd259753f3aa2ccd53b96a9a8b8a47bd1", kill_on_drop: false }` [INFO] [stdout] 1d0d592a1ba3e177c6075acab14eb28cd259753f3aa2ccd53b96a9a8b8a47bd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca5ca68f70895b11320466022ec3ec5055cf003a3138b3b867b306e1c52c8cf2 [INFO] running `Command { std: "docker" "start" "-a" "ca5ca68f70895b11320466022ec3ec5055cf003a3138b3b867b306e1c52c8cf2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling implicit-clone v0.3.10 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling route-recognizer v0.3.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling datasize_derive v0.2.15 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling fax_derive v0.1.0 [INFO] [stderr] Compiling pdf_derive v0.1.22 [INFO] [stderr] Compiling yew-macro v0.20.0 [INFO] [stderr] Compiling yew-router-macro v0.17.0 [INFO] [stderr] Compiling datasize v0.2.15 [INFO] [stderr] Compiling fax v0.2.4 [INFO] [stderr] Compiling istring v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tuple v0.5.2 [INFO] [stderr] Compiling stylist-core v0.12.1 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling stylist-macros v0.12.1 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling globalcache v0.2.4 [INFO] [stderr] Compiling pdf v0.8.1 [INFO] [stderr] Compiling gloo-utils v0.1.7 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling console_log v1.0.0 [INFO] [stderr] Compiling gloo-console v0.2.3 [INFO] [stderr] Compiling gloo-history v0.1.5 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-net v0.3.1 [INFO] [stderr] Compiling gloo-storage v0.2.2 [INFO] [stderr] Compiling gloo-worker v0.2.1 [INFO] [stderr] Compiling gloo v0.8.1 [INFO] [stderr] Compiling yew v0.20.0 [INFO] [stderr] Compiling yew-router v0.17.0 [INFO] [stderr] Compiling stylist v0.12.1 [INFO] [stderr] Compiling pdf_encrypt_rust_wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `application` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod application; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `application`, create file "src/application.rs" or "src/application/mod.rs" [INFO] [stdout] = note: if there is a `mod application` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `storage` [INFO] [stdout] --> src/infrastructure/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `storage`, create file "src/infrastructure/storage.rs" or "src/infrastructure/storage/mod.rs" [INFO] [stdout] = note: if there is a `mod storage` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `wasm` [INFO] [stdout] --> src/infrastructure/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod wasm; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `wasm`, create file "src/infrastructure/wasm.rs" or "src/infrastructure/wasm/mod.rs" [INFO] [stdout] = note: if there is a `mod wasm` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0761]: file for module `context` found at both "src/presentation/context.rs" and "src/presentation/context/mod.rs" [INFO] [stdout] --> src/presentation/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: delete or rename one of them to remove the ambiguity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: string literals must not contain more than one class (hint: use `"border-2", "border-dashed", "rounded-lg", "p-8", "text-center", "cursor-pointer", "transition-colors"`) [INFO] [stdout] --> src/presentation/components/file_upload.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | "border-2 border-dashed rounded-lg p-8 text-center cursor-pointer transition-colors", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a valid html element [INFO] [stdout] --> src/presentation/pages/settings.rs:142:98 [INFO] [stdout] | [INFO] [stdout] 142 | ... { self.i18n.t("encryption_algorithm") }: [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::domain::entities::EncryptionStatus` [INFO] [stdout] --> src/presentation/components/encryption_controls.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::domain::entities::{EncryptionStatus, PdfDocument}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `EncryptionStatus` in `domain::entities` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 - use crate::domain::entities::{EncryptionStatus, PdfDocument}; [INFO] [stdout] 3 + use crate::domain::entities::{EncryptionParams, PdfDocument}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::infrastructure::I18nService` [INFO] [stdout] --> src/presentation/components/encryption_controls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::infrastructure::I18nService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `I18nService` in `infrastructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::infrastructure::i18n` [INFO] [stdout] --> src/presentation/components/error_boundary.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::infrastructure::i18n::I18nService; [INFO] [stdout] | ^^^^ could not find `i18n` in `infrastructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::presentation::routing` [INFO] [stdout] --> src/presentation/components/navigation.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::presentation::routing::Route; [INFO] [stdout] | ^^^^^^^ could not find `routing` in `presentation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `web_sys::HtmlIframeElement` [INFO] [stdout] --> src/presentation/components/pdf_preview.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::{HtmlIframeElement, window}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `HtmlIframeElement` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 2 - use web_sys::{HtmlIframeElement, window}; [INFO] [stdout] 2 + use web_sys::{HtmlBaseElement, window}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::infrastructure::I18nService` [INFO] [stdout] --> src/presentation/components/pdf_preview.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::infrastructure::I18nService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `I18nService` in `infrastructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `use_cases` in `application` [INFO] [stdout] --> src/presentation/pages/encrypt.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::application::use_cases::encrypt_pdf_use_case::EncryptPdfUseCase; [INFO] [stdout] | ^^^^^^^^^ could not find `use_cases` in `application` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `use_cases` in `application` [INFO] [stdout] --> src/presentation/pages/decrypt.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::application::use_cases::decrypt_pdf_use_case::DecryptPdfUseCase; [INFO] [stdout] | ^^^^^^^^^ could not find `use_cases` in `application` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::domain::error` [INFO] [stdout] --> src/presentation/pages/decrypt.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::domain::error::PdfError; [INFO] [stdout] | ^^^^^ could not find `error` in `domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::infrastructure::I18nService` [INFO] [stdout] --> src/presentation/pages/decrypt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::infrastructure::I18nService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `I18nService` in `infrastructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::infrastructure::i18n` [INFO] [stdout] --> src/presentation/pages/settings.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::infrastructure::i18n::I18nService; [INFO] [stdout] | ^^^^ could not find `i18n` in `infrastructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::presentation::routing` [INFO] [stdout] --> src/presentation/pages/not_found.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::presentation::routing::Route; [INFO] [stdout] | ^^^^^^^ could not find `routing` in `presentation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::infrastructure::i18n` [INFO] [stdout] --> src/presentation/pages/not_found.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::infrastructure::i18n::I18nService; [INFO] [stdout] | ^^^^ could not find `i18n` in `infrastructure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `settings::SettingsPage` [INFO] [stdout] --> src/presentation/pages/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use settings::SettingsPage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `SettingsPage` in `presentation::pages::settings` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 - pub use settings::SettingsPage; [INFO] [stdout] 10 + pub use settings::SettingsMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `not_found::NotFoundPage` [INFO] [stdout] --> src/presentation/pages/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use not_found::NotFoundPage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `NotFoundPage` in `presentation::pages::not_found` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - pub use not_found::NotFoundPage; [INFO] [stdout] 11 + pub use not_found::NotFound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ring` in this scope [INFO] [stdout] --> src/domain/entities/pdf_document.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::digest::{Context, SHA256}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ring` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ring`, use `cargo add ring` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ring` [INFO] [stdout] --> src/infrastructure/services/encryption.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ring::{aead, pbkdf2}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ring` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ring`, use `cargo add ring` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/infrastructure/services/encryption.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `loading_indicator::LoadingIndicatorProps` [INFO] [stdout] --> src/presentation/components/mod.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | pub use loading_indicator::{LoadingIndicator, LoadingIndicatorProps}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `LoadingIndicatorProps` in `presentation::components::loading_indicator` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 13 - pub use loading_indicator::{LoadingIndicator, LoadingIndicatorProps}; [INFO] [stdout] 13 + pub use loading_indicator::{LoadingIndicator, LoadingIndicator}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/domain/repositories/pdf_repository.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[async_trait(?Send)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/domain/repositories/settings_repository.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[async_trait(?Send)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `catch` is not a member of trait `Component` [INFO] [stdout] --> src/presentation/components/error_boundary.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / fn catch(&mut self, error: std::error::Error) -> bool { [INFO] [stdout] 42 | | log::error!("Error caught by boundary: {:?}", error); [INFO] [stdout] 43 | | self.error = Some(error.to_string()); [INFO] [stdout] 44 | | true [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ not a member of trait `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Closure` in this scope [INFO] [stdout] --> src/presentation/components/file_upload.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let onload = Closure::wrap(Box::new(move || { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Closure` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Closure; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::closure::Closure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/presentation/components/pdf_preview.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub i18n: Rc, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/domain/entities/pdf_document.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PdfMetadata` [INFO] [stdout] --> src/domain/entities/mod.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub use pdf_document::{PdfDocument, PdfMetadata, EncryptionParams}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncryptionPreferences` and `Language` [INFO] [stdout] --> src/domain/entities/mod.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub use user_settings::{EncryptionPreferences, Language, Theme, UserSettings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_repository::PdfRepository` [INFO] [stdout] --> src/domain/repositories/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use pdf_repository::PdfRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `settings_repository::SettingsRepository` [INFO] [stdout] --> src/domain/repositories/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use settings_repository::SettingsRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decrypt_pdf` and `encrypt_pdf` [INFO] [stdout] --> src/infrastructure/services/mod.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | pub use encryption::{encrypt_pdf, decrypt_pdf}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decrypt_pdf` and `encrypt_pdf` [INFO] [stdout] --> src/infrastructure/mod.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub use services::encryption::{encrypt_pdf, decrypt_pdf}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/presentation/components/pdf_preview.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `window` [INFO] [stdout] --> src/presentation/components/pdf_preview.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::{HtmlIframeElement, window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncryptionControlsProps` [INFO] [stdout] --> src/presentation/components/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub use encryption_controls::{EncryptionControls, EncryptionControlsProps}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorBoundaryProps` and `ErrorBoundary` [INFO] [stdout] --> src/presentation/components/mod.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub use error_boundary::{ErrorBoundary, ErrorBoundaryProps}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileUploadProps` [INFO] [stdout] --> src/presentation/components/mod.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub use file_upload::{FileUpload, FileUploadProps}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `navigation::NavigationMenu` [INFO] [stdout] --> src/presentation/components/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use navigation::NavigationMenu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PdfPreviewProps` [INFO] [stdout] --> src/presentation/components/mod.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub use pdf_preview::{PdfPreview, PdfPreviewProps}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProcessingStatus`, `StatusIndicatorProps`, and `StatusIndicator` [INFO] [stdout] --> src/presentation/components/mod.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub use status_indicator::{ProcessingStatus, StatusIndicator, StatusIndicatorProps}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToastComponent`, `ToastContainer`, `ToastType`, and `Toast` [INFO] [stdout] --> src/presentation/components/mod.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub use toast::{Toast, ToastComponent, ToastContainer, ToastType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::App` [INFO] [stdout] --> src/presentation/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use app::App; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/presentation/components/pdf_preview.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | let content = base64::encode(&document.content()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/presentation/components/error_boundary.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn catch(&mut self, error: std::error::Error) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use a new generic type parameter, constrained by `std::error::Error` [INFO] [stdout] | [INFO] [stdout] 41 - fn catch(&mut self, error: std::error::Error) -> bool { [INFO] [stdout] 41 + fn catch(&mut self, error: T) -> bool { [INFO] [stdout] | [INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference [INFO] [stdout] | [INFO] [stdout] 41 | fn catch(&mut self, error: impl std::error::Error) -> bool { [INFO] [stdout] | ++++ [INFO] [stdout] help: alternatively, use a trait object to accept any type that implements `std::error::Error`, accessing its methods at runtime using dynamic dispatch [INFO] [stdout] | [INFO] [stdout] 41 | fn catch(&mut self, error: &dyn std::error::Error) -> bool { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_content` found for reference `&PdfDocument` in the current scope [INFO] [stdout] --> src/infrastructure/services/encryption.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | let mut in_out = pdf.get_content().to_vec(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `content` with a similar name [INFO] [stdout] | [INFO] [stdout] 38 - let mut in_out = pdf.get_content().to_vec(); [INFO] [stdout] 38 + let mut in_out = pdf.content().to_vec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_content` found for struct `PdfDocument` in the current scope [INFO] [stdout] --> src/infrastructure/services/encryption.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | encrypted_pdf.set_content(in_out); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/domain/entities/pdf_document.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PdfDocument { [INFO] [stdout] | ---------------------- method `set_content` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `content` with a similar name, but with different arguments [INFO] [stdout] --> src/domain/entities/pdf_document.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn content(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_encryption_params` found for struct `PdfDocument` in the current scope [INFO] [stdout] --> src/infrastructure/services/encryption.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | encrypted_pdf.set_encryption_params(params); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/domain/entities/pdf_document.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PdfDocument { [INFO] [stdout] | ---------------------- method `set_encryption_params` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_encryption_params` with a similar name, but with different arguments [INFO] [stdout] --> src/domain/entities/pdf_document.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_encryption_params(&self) -> &EncryptionParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_content` found for reference `&PdfDocument` in the current scope [INFO] [stdout] --> src/infrastructure/services/encryption.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | let mut in_out = pdf.get_content().to_vec(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `content` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 - let mut in_out = pdf.get_content().to_vec(); [INFO] [stdout] 89 + let mut in_out = pdf.content().to_vec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_content` found for struct `PdfDocument` in the current scope [INFO] [stdout] --> src/infrastructure/services/encryption.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | decrypted_pdf.set_content(in_out); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/domain/entities/pdf_document.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PdfDocument { [INFO] [stdout] | ---------------------- method `set_content` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `content` with a similar name, but with different arguments [INFO] [stdout] --> src/domain/entities/pdf_document.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn content(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AssertAllProps: AllPropsFor` 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