[INFO] fetching crate junobuild-macros 0.1.1...
[INFO] testing junobuild-macros-0.1.1 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate junobuild-macros 0.1.1 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate junobuild-macros 0.1.1
[INFO] finished tweaking crates.io crate junobuild-macros 0.1.1
[INFO] tweaked toml for crates.io crate junobuild-macros 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate junobuild-macros 0.1.1 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate junobuild-macros 0.1.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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21c6d2c6fc3ea4fc421db2153cff2d215459e4556c50e2220cbd297ccb60a56d
[INFO] running `Command { std: "docker" "start" "-a" "21c6d2c6fc3ea4fc421db2153cff2d215459e4556c50e2220cbd297ccb60a56d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21c6d2c6fc3ea4fc421db2153cff2d215459e4556c50e2220cbd297ccb60a56d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21c6d2c6fc3ea4fc421db2153cff2d215459e4556c50e2220cbd297ccb60a56d", kill_on_drop: false }`
[INFO] [stdout] 21c6d2c6fc3ea4fc421db2153cff2d215459e4556c50e2220cbd297ccb60a56d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e3fe1876ecaa222c2fc28601ab6ed7f3490e399aeac778075714679ea73d4da
[INFO] running `Command { std: "docker" "start" "-a" "1e3fe1876ecaa222c2fc28601ab6ed7f3490e399aeac778075714679ea73d4da", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]    Compiling junobuild-macros v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.85s
[INFO] running `Command { std: "docker" "inspect" "1e3fe1876ecaa222c2fc28601ab6ed7f3490e399aeac778075714679ea73d4da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e3fe1876ecaa222c2fc28601ab6ed7f3490e399aeac778075714679ea73d4da", kill_on_drop: false }`
[INFO] [stdout] 1e3fe1876ecaa222c2fc28601ab6ed7f3490e399aeac778075714679ea73d4da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 06595dd20bbdea85b4facea8ad9f98c36a8acbcbef4fea1bed1703669b5e283d
[INFO] running `Command { std: "docker" "start" "-a" "06595dd20bbdea85b4facea8ad9f98c36a8acbcbef4fea1bed1703669b5e283d", kill_on_drop: false }`
[INFO] [stderr]    Compiling junobuild-macros v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.19s
[INFO] running `Command { std: "docker" "inspect" "06595dd20bbdea85b4facea8ad9f98c36a8acbcbef4fea1bed1703669b5e283d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06595dd20bbdea85b4facea8ad9f98c36a8acbcbef4fea1bed1703669b5e283d", kill_on_drop: false }`
[INFO] [stdout] 06595dd20bbdea85b4facea8ad9f98c36a8acbcbef4fea1bed1703669b5e283d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 55e40e58c5f0a7befe2aaca66ca7aaf46960b4273369c70c4ede9dd0798e0f78
[INFO] running `Command { std: "docker" "start" "-a" "55e40e58c5f0a7befe2aaca66ca7aaf46960b4273369c70c4ede9dd0798e0f78", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/junobuild_macros-3665bf6a66d4e983)
[INFO] [stderr]    Doc-tests junobuild_macros
[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] [stdout] 
[INFO] [stdout] running 31 tests
[INFO] [stdout] test src/lib.rs - on_delete_filtered_assets (line 265) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_doc (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_doc (line 332) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_asset (line 392) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_set_doc (line 302) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_assets (line 275) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_upload_asset (line 362) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_upload_asset (line 373) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_docs (line 148) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_doc (line 89) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_set_doc (line 313) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_docs (line 108) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_assets (line 235) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init_sync (line 499) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_asset (line 205) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_many_docs (line 59) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init (line 439) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init_random_seed (line 519) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_docs (line 119) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_doc (line 18) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_assets (line 246) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_docs (line 138) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_asset (line 216) ... FAILED
[INFO] [stdout] test src/lib.rs - on_post_upgrade (line 422) ... FAILED
[INFO] [stdout] test src/lib.rs - on_upload_asset (line 175) ... FAILED
[INFO] [stdout] test src/lib.rs - on_post_upgrade_sync (line 469) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_asset (line 403) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_doc (line 29) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_many_docs (line 48) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_doc (line 343) ... FAILED
[INFO] [stdout] test src/lib.rs - on_upload_asset (line 186) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 3 | #[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] 2 + use junobuild_macros::on_delete_filtered_assets;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteFilteredAssetsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:267:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]   |  __________________________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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 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] 3 | #[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] 2 + use junobuild_macros::on_delete_doc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteDocContext` in this scope
[INFO] [stdout]  --> src/lib.rs:80:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]   |  ___________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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_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] 3 | #[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] 2 + use junobuild_macros::assert_delete_doc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssertDeleteDocContext` in this scope
[INFO] [stdout]  --> src/lib.rs:334:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::assert_delete_asset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssertDeleteAssetContext` in this scope
[INFO] [stdout]  --> src/lib.rs:394:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::assert_set_doc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssertSetDocContext` in this scope
[INFO] [stdout]  --> src/lib.rs:304:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_delete_filtered_assets;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteFilteredAssetsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:277:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]   |  __________________________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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 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] 3 | #[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] 2 + use junobuild_macros::assert_upload_asset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssertUploadAssetContext` in this scope
[INFO] [stdout]  --> src/lib.rs:364:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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, E0412.
[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] 3 | #[assert_upload_asset(collections = ["assets"])]
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use junobuild_macros::assert_upload_asset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssertUploadAssetContext` in this scope
[INFO] [stdout]  --> src/lib.rs:375:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_delete_filtered_docs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteFilteredDocsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:150:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]   |  ______________________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_delete_doc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteDocContext` in this scope
[INFO] [stdout]  --> src/lib.rs:91:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]   |  ___________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::assert_set_doc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssertSetDocContext` in this scope
[INFO] [stdout]  --> src/lib.rs:315:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_delete_many_docs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteManyDocsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:110:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]   |  ______________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_delete_many_assets;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteManyAssetsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:237:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]   |  __________________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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 - 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] 3 | #[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] 2 + use junobuild_macros::on_delete_asset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteAssetContext` in this scope
[INFO] [stdout]  --> src/lib.rs:207:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]   |  _______________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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 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] 3 | #[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] 2 + use junobuild_macros::on_set_many_docs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnSetManyDocsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:61:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]   |  ________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + 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_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] 3 | #[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] 2 + 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 - 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] 3 | #[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] 2 + use junobuild_macros::on_delete_many_docs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteManyDocsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:121:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]   |  ______________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_set_doc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnSetDocContext` in this scope
[INFO] [stdout]  --> src/lib.rs:20:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]   |  _____________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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 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] 3 | #[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] 2 + use junobuild_macros::on_delete_many_assets;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteManyAssetsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:248:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]   |  __________________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_delete_filtered_docs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteFilteredDocsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:140:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]   |  ______________________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_delete_asset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnDeleteAssetContext` in this scope
[INFO] [stdout]  --> src/lib.rs:218:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]   |  _______________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + 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_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] 3 | #[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] 2 + use junobuild_macros::on_upload_asset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnUploadAssetContext` in this scope
[INFO] [stdout]  --> src/lib.rs:177:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]   |  _______________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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_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] 3 | #[assert_delete_asset(collections = ["assets"])]
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use junobuild_macros::assert_delete_asset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssertDeleteAssetContext` in this scope
[INFO] [stdout]  --> src/lib.rs:405:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_set_doc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnSetDocContext` in this scope
[INFO] [stdout]  --> src/lib.rs:31:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]   |  _____________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_set_many_docs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnSetManyDocsContext` in this scope
[INFO] [stdout]  --> src/lib.rs:50:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]   |  ________________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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_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] 3 | #[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] 2 + use junobuild_macros::assert_delete_doc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssertDeleteDocContext` in this scope
[INFO] [stdout]  --> src/lib.rs:345:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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, E0412.
[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] 3 | #[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] 2 + use junobuild_macros::on_upload_asset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnUploadAssetContext` in this scope
[INFO] [stdout]  --> src/lib.rs:188:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 |   async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]   |  _______________________________________________________________________________^
[INFO] [stdout] 5 | |     // Your hook logic here
[INFO] [stdout] 6 | | }
[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, E0412.
[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.82s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "55e40e58c5f0a7befe2aaca66ca7aaf46960b4273369c70c4ede9dd0798e0f78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55e40e58c5f0a7befe2aaca66ca7aaf46960b4273369c70c4ede9dd0798e0f78", kill_on_drop: false }`
[INFO] [stdout] 55e40e58c5f0a7befe2aaca66ca7aaf46960b4273369c70c4ede9dd0798e0f78
