[INFO] fetching crate dioxus-provider-macros 0.2.1... [INFO] testing dioxus-provider-macros-0.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate dioxus-provider-macros 0.2.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate dioxus-provider-macros 0.2.1 [INFO] finished tweaking crates.io crate dioxus-provider-macros 0.2.1 [INFO] tweaked toml for crates.io crate dioxus-provider-macros 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dioxus-provider-macros 0.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dioxus-provider-macros 0.2.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfec662c96917da1386d58a58ee20dcdbb001746afa3cd4200b897aa69384130 [INFO] running `Command { std: "docker" "start" "-a" "bfec662c96917da1386d58a58ee20dcdbb001746afa3cd4200b897aa69384130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfec662c96917da1386d58a58ee20dcdbb001746afa3cd4200b897aa69384130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfec662c96917da1386d58a58ee20dcdbb001746afa3cd4200b897aa69384130", kill_on_drop: false }` [INFO] [stdout] bfec662c96917da1386d58a58ee20dcdbb001746afa3cd4200b897aa69384130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e2cd552748ae03a014a6447a26422d00b389e970a0447ab5d329f9d5d811733 [INFO] running `Command { std: "docker" "start" "-a" "7e2cd552748ae03a014a6447a26422d00b389e970a0447ab5d329f9d5d811733", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling dioxus-provider-macros v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.89s [INFO] running `Command { std: "docker" "inspect" "7e2cd552748ae03a014a6447a26422d00b389e970a0447ab5d329f9d5d811733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e2cd552748ae03a014a6447a26422d00b389e970a0447ab5d329f9d5d811733", kill_on_drop: false }` [INFO] [stdout] 7e2cd552748ae03a014a6447a26422d00b389e970a0447ab5d329f9d5d811733 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a78c5dea719dbf204c3e02f61811c5500e024e81854487b96f147629cd3af4a [INFO] running `Command { std: "docker" "start" "-a" "3a78c5dea719dbf204c3e02f61811c5500e024e81854487b96f147629cd3af4a", kill_on_drop: false }` [INFO] [stderr] Compiling dioxus-provider-macros v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "3a78c5dea719dbf204c3e02f61811c5500e024e81854487b96f147629cd3af4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a78c5dea719dbf204c3e02f61811c5500e024e81854487b96f147629cd3af4a", kill_on_drop: false }` [INFO] [stdout] 3a78c5dea719dbf204c3e02f61811c5500e024e81854487b96f147629cd3af4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68b9679cf5751c5d0e51edb00d9cf85bf8d0ad8761b68add6a77e8b7f4f63cc7 [INFO] running `Command { std: "docker" "start" "-a" "68b9679cf5751c5d0e51edb00d9cf85bf8d0ad8761b68add6a77e8b7f4f63cc7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dioxus_provider_macros-26470b4fd352f01b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests dioxus_provider_macros [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - provider (line 163) ... FAILED [INFO] [stdout] test src/lib.rs - mutation (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - provider (line 130) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - provider (line 163) stdout ---- [INFO] [stdout] error: cannot find attribute `provider` in this scope [INFO] [stdout] --> src/lib.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | #[provider(compose = [fetch_user, fetch_settings], cache_expiration = "3min")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 163 + use dioxus_provider_macros::provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `provider` in this scope [INFO] [stdout] --> src/lib.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[provider(cache_expiration = "5min")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 163 + use dioxus_provider_macros::provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | async fn fetch_user(id: u32) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 165 | async fn fetch_user(id: u32) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FullProfile` in this scope [INFO] [stdout] --> src/lib.rs:170:53 [INFO] [stdout] | [INFO] [stdout] 170 | async fn fetch_full_profile(user_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 170 | async fn fetch_full_profile(user_id: u32) -> Result { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `__dioxus_composed_fetch_user_result` in this scope [INFO] [stdout] --> src/lib.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | let user = __dioxus_composed_fetch_user_result?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `__dioxus_composed_fetch_settings_result` in this scope [INFO] [stdout] --> src/lib.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | let settings = __dioxus_composed_fetch_settings_result?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FullProfile` in this scope [INFO] [stdout] --> src/lib.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | Ok(FullProfile { user, settings }) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - mutation (line 232) stdout ---- [INFO] [stdout] error: cannot find attribute `mutation` in this scope [INFO] [stdout] --> src/lib.rs:256:3 [INFO] [stdout] | [INFO] [stdout] 256 | #[mutation( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 232 + use dioxus_provider_macros::mutation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `mutation` in this scope [INFO] [stdout] --> src/lib.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | #[mutation( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 232 + use dioxus_provider_macros::mutation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `mutation` in this scope [INFO] [stdout] --> src/lib.rs:234:3 [INFO] [stdout] | [INFO] [stdout] 234 | #[mutation(invalidates = [fetch_user, fetch_user_list])] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 232 + use dioxus_provider_macros::mutation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | async fn update_user(user: User) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:235:44 [INFO] [stdout] | [INFO] [stdout] 235 | async fn update_user(user: User) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 235 | async fn update_user(user: User) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutationContext` in this scope [INFO] [stdout] --> src/lib.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | ctx: MutationContext, Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 249 | ctx: MutationContext, Error>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 232 + use syn::Item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | ctx: MutationContext, Error>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 232 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | ) -> Result, Error> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 232 + use syn::Item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 232 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/lib.rs:252:16 [INFO] [stdout] | [INFO] [stdout] 252 | .ok_or(Error::NoData) [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 232 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutationContext` in this scope [INFO] [stdout] --> src/lib.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | ctx: MutationContext, Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | ctx: MutationContext, Error>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 232 + use syn::Item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:267:37 [INFO] [stdout] | [INFO] [stdout] 267 | ctx: MutationContext, Error>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 232 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | ) -> Result, Error> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 232 + use syn::Item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:268:24 [INFO] [stdout] | [INFO] [stdout] 268 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 232 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/lib.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | }).ok_or(Error::NoData) [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 232 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 232 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | ctx.map_current(|items| items.retain(|i| i.id != id)) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 251 | ctx.map_current(|items: /* Type */| items.retain(|i| i.id != id)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | ctx.map_current(|items| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 270 | if let Some(item) = items.iter_mut().find(|i| i.id == id) { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 269 | ctx.map_current(|items: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - provider (line 130) stdout ---- [INFO] [stdout] error[E0428]: the name `fetch_user_profile` is defined multiple times [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 133 | async fn fetch_user_profile(user_id: u32) -> Result { [INFO] [stdout] | ------------------------------------------------------------------- previous definition of the value `fetch_user_profile` here [INFO] [stdout] ... [INFO] [stdout] 139 | async fn fetch_user_profile(config: NonCloneConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `fetch_user_profile` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `fetch_user_profile` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `fetch_user_profile` is defined multiple times [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 133 | async fn fetch_user_profile(user_id: u32) -> Result { [INFO] [stdout] | ------------------------------------------------------------------- previous definition of the value `fetch_user_profile` here [INFO] [stdout] ... [INFO] [stdout] 148 | async fn fetch_user_profile(config: UserConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `fetch_user_profile` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `fetch_user_profile` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `provider` in this scope [INFO] [stdout] --> src/lib.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | #[provider(compose = [fetch_permissions])] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 130 + use dioxus_provider_macros::provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `provider` in this scope [INFO] [stdout] --> src/lib.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | #[provider(compose = [fetch_permissions])] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 130 + use dioxus_provider_macros::provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `provider` in this scope [INFO] [stdout] --> src/lib.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[provider(compose = [fetch_permissions])] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 130 + use dioxus_provider_macros::provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Profile` in this scope [INFO] [stdout] --> src/lib.rs:133:53 [INFO] [stdout] | [INFO] [stdout] 133 | async fn fetch_user_profile(user_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 133 | async fn fetch_user_profile(user_id: u32) -> Result { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:133:62 [INFO] [stdout] | [INFO] [stdout] 133 | async fn fetch_user_profile(user_id: u32) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonCloneConfig` in this scope [INFO] [stdout] --> src/lib.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | async fn fetch_user_profile(config: NonCloneConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Profile` in this scope [INFO] [stdout] --> src/lib.rs:139:63 [INFO] [stdout] | [INFO] [stdout] 139 | async fn fetch_user_profile(config: NonCloneConfig) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 139 | async fn fetch_user_profile(config: NonCloneConfig) -> Result { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:139:72 [INFO] [stdout] | [INFO] [stdout] 139 | async fn fetch_user_profile(config: NonCloneConfig) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Profile` in this scope [INFO] [stdout] --> src/lib.rs:148:59 [INFO] [stdout] | [INFO] [stdout] 148 | async fn fetch_user_profile(config: UserConfig) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 148 | async fn fetch_user_profile(config: UserConfig) -> Result { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:148:68 [INFO] [stdout] | [INFO] [stdout] 148 | async fn fetch_user_profile(config: UserConfig) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 130 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0428. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - mutation (line 232) [INFO] [stdout] src/lib.rs - provider (line 130) [INFO] [stdout] src/lib.rs - provider (line 163) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.59s; merged doctests compilation took 0.25s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "68b9679cf5751c5d0e51edb00d9cf85bf8d0ad8761b68add6a77e8b7f4f63cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b9679cf5751c5d0e51edb00d9cf85bf8d0ad8761b68add6a77e8b7f4f63cc7", kill_on_drop: false }` [INFO] [stdout] 68b9679cf5751c5d0e51edb00d9cf85bf8d0ad8761b68add6a77e8b7f4f63cc7