[INFO] fetching crate junobuild-macros 0.2.0...
[INFO] testing junobuild-macros-0.2.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate junobuild-macros 0.2.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate junobuild-macros 0.2.0
[INFO] finished tweaking crates.io crate junobuild-macros 0.2.0
[INFO] tweaked toml for crates.io crate junobuild-macros 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate junobuild-macros 0.2.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate junobuild-macros 0.2.0 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.225
[INFO] [stderr]   Downloaded serde_core v1.0.225
[INFO] [stderr]   Downloaded serde_derive v1.0.225
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29514b0b979d41d6eec0040cbe89a7354fa7748d8a4d3435afa9f7daaa2bcdc9
[INFO] running `Command { std: "docker" "start" "-a" "29514b0b979d41d6eec0040cbe89a7354fa7748d8a4d3435afa9f7daaa2bcdc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29514b0b979d41d6eec0040cbe89a7354fa7748d8a4d3435afa9f7daaa2bcdc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29514b0b979d41d6eec0040cbe89a7354fa7748d8a4d3435afa9f7daaa2bcdc9", kill_on_drop: false }`
[INFO] [stdout] 29514b0b979d41d6eec0040cbe89a7354fa7748d8a4d3435afa9f7daaa2bcdc9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb9340cc5331353fc0d864fccf79b1d86053f4fa8e8f9694d4b0ee025ea484b4
[INFO] running `Command { std: "docker" "start" "-a" "eb9340cc5331353fc0d864fccf79b1d86053f4fa8e8f9694d4b0ee025ea484b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.225
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]    Compiling junobuild-macros v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.48s
[INFO] running `Command { std: "docker" "inspect" "eb9340cc5331353fc0d864fccf79b1d86053f4fa8e8f9694d4b0ee025ea484b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb9340cc5331353fc0d864fccf79b1d86053f4fa8e8f9694d4b0ee025ea484b4", kill_on_drop: false }`
[INFO] [stdout] eb9340cc5331353fc0d864fccf79b1d86053f4fa8e8f9694d4b0ee025ea484b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 90b6598c7a0549e6e6230c587c05858f36ba1cb4cc7271089f3d7904316f8cb5
[INFO] running `Command { std: "docker" "start" "-a" "90b6598c7a0549e6e6230c587c05858f36ba1cb4cc7271089f3d7904316f8cb5", kill_on_drop: false }`
[INFO] [stderr]    Compiling junobuild-macros v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] running `Command { std: "docker" "inspect" "90b6598c7a0549e6e6230c587c05858f36ba1cb4cc7271089f3d7904316f8cb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90b6598c7a0549e6e6230c587c05858f36ba1cb4cc7271089f3d7904316f8cb5", kill_on_drop: false }`
[INFO] [stdout] 90b6598c7a0549e6e6230c587c05858f36ba1cb4cc7271089f3d7904316f8cb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f03f1889b2aca2f38ca13d69c483b170981d6b1d55baf489617de99ffa43765e
[INFO] running `Command { std: "docker" "start" "-a" "f03f1889b2aca2f38ca13d69c483b170981d6b1d55baf489617de99ffa43765e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/junobuild_macros-56cb3d3cdac7f0bd)
[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 junobuild_macros
[INFO] [stdout] 
[INFO] [stdout] running 31 tests
[INFO] [stdout] test src/lib.rs - on_delete_doc (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_docs (line 148) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_asset (line 205) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_set_doc (line 313) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_asset (line 216) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_asset (line 392) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_doc (line 89) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_set_doc (line 302) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_upload_asset (line 373) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_assets (line 265) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_asset (line 403) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init_random_seed (line 519) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_upload_asset (line 362) ... FAILED
[INFO] [stdout] test src/lib.rs - on_post_upgrade_sync (line 469) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_doc (line 332) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_assets (line 235) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_assets (line 275) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init_sync (line 499) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_doc (line 343) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_doc (line 18) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_docs (line 138) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_docs (line 108) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_many_docs (line 48) ... FAILED
[INFO] [stdout] test src/lib.rs - on_upload_asset (line 175) ... FAILED
[INFO] [stdout] test src/lib.rs - on_upload_asset (line 186) ... FAILED
[INFO] [stdout] test src/lib.rs - on_post_upgrade (line 422) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_assets (line 246) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_docs (line 119) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init (line 439) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_many_docs (line 59) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_doc (line 29) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - on_delete_doc (line 78) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_doc` in this scope
[INFO] [stdout]   --> src/lib.rs:79:3
[INFO] [stdout]    |
[INFO] [stdout] 79 | #[on_delete_doc]
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_delete_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 78 + use junobuild_macros::on_delete_doc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteDocContext` in this scope
[INFO] [stdout]   --> src/lib.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 | async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:80:75
[INFO] [stdout]    |
[INFO] [stdout] 80 |   async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]    |  ___________________________________________________________________________^
[INFO] [stdout] 81 | |     // Your hook logic here
[INFO] [stdout] 82 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_filtered_docs (line 148) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_filtered_docs` in this scope
[INFO] [stdout]    --> src/lib.rs:149:3
[INFO] [stdout]     |
[INFO] [stdout] 149 | #[on_delete_filtered_docs(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_filtered_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 148 + use junobuild_macros::on_delete_filtered_docs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteFilteredDocsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:150:43
[INFO] [stdout]     |
[INFO] [stdout] 150 | async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:150:94
[INFO] [stdout]     |
[INFO] [stdout] 150 |   async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]     |  ______________________________________________________________________________________________^
[INFO] [stdout] 151 | |     // Your hook logic here
[INFO] [stdout] 152 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_asset (line 205) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:206:3
[INFO] [stdout]     |
[INFO] [stdout] 206 | #[on_delete_asset]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 205 + use junobuild_macros::on_delete_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:207:35
[INFO] [stdout]     |
[INFO] [stdout] 207 | async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:207:79
[INFO] [stdout]     |
[INFO] [stdout] 207 |   async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 208 | |     // Your hook logic here
[INFO] [stdout] 209 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_set_doc (line 313) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_set_doc` in this scope
[INFO] [stdout]    --> src/lib.rs:314:3
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[assert_set_doc(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_set_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 313 + use junobuild_macros::assert_set_doc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertSetDocContext` in this scope
[INFO] [stdout]    --> src/lib.rs:315:28
[INFO] [stdout]     |
[INFO] [stdout] 315 | fn assert_set_doc(context: AssertSetDocContext) -> Result<(), String> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:315:52
[INFO] [stdout]     |
[INFO] [stdout] 315 | fn assert_set_doc(context: AssertSetDocContext) -> Result<(), String> {
[INFO] [stdout]     |    --------------                                  ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_asset (line 216) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:217:3
[INFO] [stdout]     |
[INFO] [stdout] 217 | #[on_delete_asset(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 216 + use junobuild_macros::on_delete_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:218:35
[INFO] [stdout]     |
[INFO] [stdout] 218 | async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:218:79
[INFO] [stdout]     |
[INFO] [stdout] 218 |   async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 219 | |     // Your hook logic here
[INFO] [stdout] 220 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_delete_asset (line 392) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_delete_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:393:3
[INFO] [stdout]     |
[INFO] [stdout] 393 | #[assert_delete_asset]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_delete_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 392 + use junobuild_macros::assert_delete_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertDeleteAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:394:33
[INFO] [stdout]     |
[INFO] [stdout] 394 | fn assert_delete_asset(context: AssertDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:394:62
[INFO] [stdout]     |
[INFO] [stdout] 394 | fn assert_delete_asset(context: AssertDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |    -------------------                                       ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_doc (line 89) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_doc` in this scope
[INFO] [stdout]   --> src/lib.rs:90:3
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[on_delete_doc(collections = ["demo"])]
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_delete_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 89 + use junobuild_macros::on_delete_doc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteDocContext` in this scope
[INFO] [stdout]   --> src/lib.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 | async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:91:75
[INFO] [stdout]    |
[INFO] [stdout] 91 |   async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]    |  ___________________________________________________________________________^
[INFO] [stdout] 92 | |     // Your hook logic here
[INFO] [stdout] 93 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_set_doc (line 302) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_set_doc` in this scope
[INFO] [stdout]    --> src/lib.rs:303:3
[INFO] [stdout]     |
[INFO] [stdout] 303 | #[assert_set_doc]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_set_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 302 + use junobuild_macros::assert_set_doc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertSetDocContext` in this scope
[INFO] [stdout]    --> src/lib.rs:304:28
[INFO] [stdout]     |
[INFO] [stdout] 304 | fn assert_set_doc(context: AssertSetDocContext) -> Result<(), String> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:304:52
[INFO] [stdout]     |
[INFO] [stdout] 304 | fn assert_set_doc(context: AssertSetDocContext) -> Result<(), String> {
[INFO] [stdout]     |    --------------                                  ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_upload_asset (line 373) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_upload_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:374:3
[INFO] [stdout]     |
[INFO] [stdout] 374 | #[assert_upload_asset(collections = ["assets"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 373 + use junobuild_macros::assert_upload_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertUploadAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:375:38
[INFO] [stdout]     |
[INFO] [stdout] 375 | fn juno_assert_upload_asset(context: AssertUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:375:67
[INFO] [stdout]     |
[INFO] [stdout] 375 | fn juno_assert_upload_asset(context: AssertUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |    ------------------------                                       ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_filtered_assets (line 265) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_filtered_assets` in this scope
[INFO] [stdout]    --> src/lib.rs:266:3
[INFO] [stdout]     |
[INFO] [stdout] 266 | #[on_delete_filtered_assets]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_filtered_assets` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 265 + use junobuild_macros::on_delete_filtered_assets;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteFilteredAssetsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:267:45
[INFO] [stdout]     |
[INFO] [stdout] 267 | async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:267:98
[INFO] [stdout]     |
[INFO] [stdout] 267 |   async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |  __________________________________________________________________________________________________^
[INFO] [stdout] 268 | |     // Your hook logic here
[INFO] [stdout] 269 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_delete_asset (line 403) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_delete_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:404:3
[INFO] [stdout]     |
[INFO] [stdout] 404 | #[assert_delete_asset(collections = ["assets"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 403 + use junobuild_macros::assert_delete_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertDeleteAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:405:38
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn juno_assert_delete_asset(context: AssertDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:405:67
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn juno_assert_delete_asset(context: AssertDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |    ------------------------                                       ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_init_random_seed (line 519) stdout ----
[INFO] [stdout] error: cannot find attribute `on_init_random_seed` in this scope
[INFO] [stdout]    --> src/lib.rs:520:3
[INFO] [stdout]     |
[INFO] [stdout] 520 | #[on_init_random_seed]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_init_random_seed` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 519 + use junobuild_macros::on_init_random_seed;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_upload_asset (line 362) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_upload_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:363:3
[INFO] [stdout]     |
[INFO] [stdout] 363 | #[assert_upload_asset]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_upload_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 362 + use junobuild_macros::assert_upload_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertUploadAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:364:33
[INFO] [stdout]     |
[INFO] [stdout] 364 | fn assert_upload_asset(context: AssertUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:364:62
[INFO] [stdout]     |
[INFO] [stdout] 364 | fn assert_upload_asset(context: AssertUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |    -------------------                                       ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_post_upgrade_sync (line 469) stdout ----
[INFO] [stdout] error: cannot find attribute `on_post_upgrade_sync` in this scope
[INFO] [stdout]    --> src/lib.rs:470:3
[INFO] [stdout]     |
[INFO] [stdout] 470 | #[on_post_upgrade_sync]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_post_upgrade_sync` is in scope, but it is a function, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_delete_doc (line 332) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_delete_doc` in this scope
[INFO] [stdout]    --> src/lib.rs:333:3
[INFO] [stdout]     |
[INFO] [stdout] 333 | #[assert_delete_doc]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_delete_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 332 + use junobuild_macros::assert_delete_doc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertDeleteDocContext` in this scope
[INFO] [stdout]    --> src/lib.rs:334:31
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn assert_delete_doc(context: AssertDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:334:58
[INFO] [stdout]     |
[INFO] [stdout] 334 | fn assert_delete_doc(context: AssertDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]     |    -----------------                                     ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_many_assets (line 235) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_many_assets` in this scope
[INFO] [stdout]    --> src/lib.rs:236:3
[INFO] [stdout]     |
[INFO] [stdout] 236 | #[on_delete_many_assets]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_many_assets` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 235 + use junobuild_macros::on_delete_many_assets;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteManyAssetsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:237:41
[INFO] [stdout]     |
[INFO] [stdout] 237 | async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:237:90
[INFO] [stdout]     |
[INFO] [stdout] 237 |   async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |  __________________________________________________________________________________________^
[INFO] [stdout] 238 | |     // Your hook logic here
[INFO] [stdout] 239 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_filtered_assets (line 275) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_filtered_assets` in this scope
[INFO] [stdout]    --> src/lib.rs:276:3
[INFO] [stdout]     |
[INFO] [stdout] 276 | #[on_delete_filtered_assets(collections = ["assets_collection"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_filtered_assets` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 275 + use junobuild_macros::on_delete_filtered_assets;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteFilteredAssetsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:277:45
[INFO] [stdout]     |
[INFO] [stdout] 277 | async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:277:98
[INFO] [stdout]     |
[INFO] [stdout] 277 |   async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |  __________________________________________________________________________________________________^
[INFO] [stdout] 278 | |     // Your hook logic here
[INFO] [stdout] 279 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_init_sync (line 499) stdout ----
[INFO] [stdout] error: cannot find attribute `on_init_sync` in this scope
[INFO] [stdout]    --> src/lib.rs:500:3
[INFO] [stdout]     |
[INFO] [stdout] 500 | #[on_init_sync]
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_init_sync` is in scope, but it is a function, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_delete_doc (line 343) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_delete_doc` in this scope
[INFO] [stdout]    --> src/lib.rs:344:3
[INFO] [stdout]     |
[INFO] [stdout] 344 | #[assert_delete_doc(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_delete_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 343 + use junobuild_macros::assert_delete_doc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertDeleteDocContext` in this scope
[INFO] [stdout]    --> src/lib.rs:345:31
[INFO] [stdout]     |
[INFO] [stdout] 345 | fn assert_delete_doc(context: AssertDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:345:58
[INFO] [stdout]     |
[INFO] [stdout] 345 | fn assert_delete_doc(context: AssertDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]     |    -----------------                                     ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_set_doc (line 18) stdout ----
[INFO] [stdout] error: cannot find attribute `on_set_doc` in this scope
[INFO] [stdout]   --> src/lib.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[on_set_doc]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_set_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 18 + use junobuild_macros::on_set_doc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnSetDocContext` in this scope
[INFO] [stdout]   --> src/lib.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:20:69
[INFO] [stdout]    |
[INFO] [stdout] 20 |   async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 21 | |     // Your hook logic here
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_filtered_docs (line 138) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_filtered_docs` in this scope
[INFO] [stdout]    --> src/lib.rs:139:3
[INFO] [stdout]     |
[INFO] [stdout] 139 | #[on_delete_filtered_docs]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_filtered_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 138 + use junobuild_macros::on_delete_filtered_docs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteFilteredDocsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:140:43
[INFO] [stdout]     |
[INFO] [stdout] 140 | async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:140:94
[INFO] [stdout]     |
[INFO] [stdout] 140 |   async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]     |  ______________________________________________________________________________________________^
[INFO] [stdout] 141 | |     // Your hook logic here
[INFO] [stdout] 142 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_many_docs (line 108) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_many_docs` in this scope
[INFO] [stdout]    --> src/lib.rs:109:3
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[on_delete_many_docs]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_many_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 108 + use junobuild_macros::on_delete_many_docs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteManyDocsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:110:39
[INFO] [stdout]     |
[INFO] [stdout] 110 | async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:110:86
[INFO] [stdout]     |
[INFO] [stdout] 110 |   async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 111 | |     // Your hook logic here
[INFO] [stdout] 112 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_set_many_docs (line 48) stdout ----
[INFO] [stdout] error: cannot find attribute `on_set_many_docs` in this scope
[INFO] [stdout]   --> src/lib.rs:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[on_set_many_docs]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_set_many_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 48 + use junobuild_macros::on_set_many_docs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnSetManyDocsContext` in this scope
[INFO] [stdout]   --> src/lib.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 | async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:50:80
[INFO] [stdout]    |
[INFO] [stdout] 50 |   async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]    |  ________________________________________________________________________________^
[INFO] [stdout] 51 | |     // Your hook logic here
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_upload_asset (line 175) stdout ----
[INFO] [stdout] error: cannot find attribute `on_upload_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:176:3
[INFO] [stdout]     |
[INFO] [stdout] 176 | #[on_upload_asset]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_upload_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 175 + use junobuild_macros::on_upload_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnUploadAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:177:35
[INFO] [stdout]     |
[INFO] [stdout] 177 | async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:177:79
[INFO] [stdout]     |
[INFO] [stdout] 177 |   async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 178 | |     // Your hook logic here
[INFO] [stdout] 179 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_upload_asset (line 186) stdout ----
[INFO] [stdout] error: cannot find attribute `on_upload_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:187:3
[INFO] [stdout]     |
[INFO] [stdout] 187 | #[on_upload_asset(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_upload_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 186 + use junobuild_macros::on_upload_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnUploadAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:188:35
[INFO] [stdout]     |
[INFO] [stdout] 188 | async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:188:79
[INFO] [stdout]     |
[INFO] [stdout] 188 |   async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 189 | |     // Your hook logic here
[INFO] [stdout] 190 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_post_upgrade (line 422) stdout ----
[INFO] [stdout] error: cannot find attribute `on_post_upgrade` in this scope
[INFO] [stdout]    --> src/lib.rs:423:3
[INFO] [stdout]     |
[INFO] [stdout] 423 | #[on_post_upgrade]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_post_upgrade` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 422 + use junobuild_macros::on_post_upgrade;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_many_assets (line 246) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_many_assets` in this scope
[INFO] [stdout]    --> src/lib.rs:247:3
[INFO] [stdout]     |
[INFO] [stdout] 247 | #[on_delete_many_assets(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_many_assets` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 246 + use junobuild_macros::on_delete_many_assets;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteManyAssetsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:248:41
[INFO] [stdout]     |
[INFO] [stdout] 248 | async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:248:90
[INFO] [stdout]     |
[INFO] [stdout] 248 |   async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |  __________________________________________________________________________________________^
[INFO] [stdout] 249 | |     // Your hook logic here
[INFO] [stdout] 250 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_many_docs (line 119) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_many_docs` in this scope
[INFO] [stdout]    --> src/lib.rs:120:3
[INFO] [stdout]     |
[INFO] [stdout] 120 | #[on_delete_many_docs(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_many_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 119 + use junobuild_macros::on_delete_many_docs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteManyDocsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:121:39
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:121:86
[INFO] [stdout]     |
[INFO] [stdout] 121 |   async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 122 | |     // Your hook logic here
[INFO] [stdout] 123 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_init (line 439) stdout ----
[INFO] [stdout] error: cannot find attribute `on_init` in this scope
[INFO] [stdout]    --> src/lib.rs:440:3
[INFO] [stdout]     |
[INFO] [stdout] 440 | #[on_init]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_init` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 439 + use junobuild_macros::on_init;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_set_many_docs (line 59) stdout ----
[INFO] [stdout] error: cannot find attribute `on_set_many_docs` in this scope
[INFO] [stdout]   --> src/lib.rs:60:3
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[on_set_many_docs(collections = ["demo"])]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_set_many_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 59 + use junobuild_macros::on_set_many_docs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnSetManyDocsContext` in this scope
[INFO] [stdout]   --> src/lib.rs:61:36
[INFO] [stdout]    |
[INFO] [stdout] 61 | async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:61:80
[INFO] [stdout]    |
[INFO] [stdout] 61 |   async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]    |  ________________________________________________________________________________^
[INFO] [stdout] 62 | |     // Your hook logic here
[INFO] [stdout] 63 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_set_doc (line 29) stdout ----
[INFO] [stdout] error: cannot find attribute `on_set_doc` in this scope
[INFO] [stdout]   --> src/lib.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[on_set_doc(collections = ["demo"])]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_set_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 29 + use junobuild_macros::on_set_doc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnSetDocContext` in this scope
[INFO] [stdout]   --> src/lib.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 | async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:31:69
[INFO] [stdout]    |
[INFO] [stdout] 31 |   async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 32 | |     // Your hook logic here
[INFO] [stdout] 33 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - assert_delete_asset (line 392)
[INFO] [stdout]     src/lib.rs - assert_delete_asset (line 403)
[INFO] [stdout]     src/lib.rs - assert_delete_doc (line 332)
[INFO] [stdout]     src/lib.rs - assert_delete_doc (line 343)
[INFO] [stdout]     src/lib.rs - assert_set_doc (line 302)
[INFO] [stdout]     src/lib.rs - assert_set_doc (line 313)
[INFO] [stdout]     src/lib.rs - assert_upload_asset (line 362)
[INFO] [stdout]     src/lib.rs - assert_upload_asset (line 373)
[INFO] [stdout]     src/lib.rs - on_delete_asset (line 205)
[INFO] [stdout]     src/lib.rs - on_delete_asset (line 216)
[INFO] [stdout]     src/lib.rs - on_delete_doc (line 78)
[INFO] [stdout]     src/lib.rs - on_delete_doc (line 89)
[INFO] [stdout]     src/lib.rs - on_delete_filtered_assets (line 265)
[INFO] [stdout]     src/lib.rs - on_delete_filtered_assets (line 275)
[INFO] [stdout]     src/lib.rs - on_delete_filtered_docs (line 138)
[INFO] [stdout]     src/lib.rs - on_delete_filtered_docs (line 148)
[INFO] [stdout]     src/lib.rs - on_delete_many_assets (line 235)
[INFO] [stdout]     src/lib.rs - on_delete_many_assets (line 246)
[INFO] [stdout]     src/lib.rs - on_delete_many_docs (line 108)
[INFO] [stdout]     src/lib.rs - on_delete_many_docs (line 119)
[INFO] [stdout]     src/lib.rs - on_init (line 439)
[INFO] [stdout]     src/lib.rs - on_init_random_seed (line 519)
[INFO] [stdout]     src/lib.rs - on_init_sync (line 499)
[INFO] [stdout]     src/lib.rs - on_post_upgrade (line 422)
[INFO] [stdout]     src/lib.rs - on_post_upgrade_sync (line 469)
[INFO] [stdout]     src/lib.rs - on_set_doc (line 18)
[INFO] [stdout]     src/lib.rs - on_set_doc (line 29)
[INFO] [stdout]     src/lib.rs - on_set_many_docs (line 48)
[INFO] [stdout]     src/lib.rs - on_set_many_docs (line 59)
[INFO] [stdout]     src/lib.rs - on_upload_asset (line 175)
[INFO] [stdout]     src/lib.rs - on_upload_asset (line 186)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 31 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.80s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f03f1889b2aca2f38ca13d69c483b170981d6b1d55baf489617de99ffa43765e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f03f1889b2aca2f38ca13d69c483b170981d6b1d55baf489617de99ffa43765e", kill_on_drop: false }`
[INFO] [stdout] f03f1889b2aca2f38ca13d69c483b170981d6b1d55baf489617de99ffa43765e
