[INFO] fetching crate rocal-macro 0.3.4...
[INFO] testing rocal-macro-0.3.4 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate rocal-macro 0.3.4 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate rocal-macro 0.3.4
[INFO] finished tweaking crates.io crate rocal-macro 0.3.4
[INFO] tweaked toml for crates.io crate rocal-macro 0.3.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rocal-macro 0.3.4 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rocal-macro 0.3.4 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d4f6ac87e43005963b0e824c4ca3fc5f1c25e4f4212d205916838ca79c73b8a1
[INFO] running `Command { std: "docker" "start" "-a" "d4f6ac87e43005963b0e824c4ca3fc5f1c25e4f4212d205916838ca79c73b8a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4f6ac87e43005963b0e824c4ca3fc5f1c25e4f4212d205916838ca79c73b8a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4f6ac87e43005963b0e824c4ca3fc5f1c25e4f4212d205916838ca79c73b8a1", kill_on_drop: false }`
[INFO] [stdout] d4f6ac87e43005963b0e824c4ca3fc5f1c25e4f4212d205916838ca79c73b8a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a2b9f51322480832c2b4599df5a600be1649ed282d94819257acf79d38bfd37
[INFO] running `Command { std: "docker" "start" "-a" "4a2b9f51322480832c2b4599df5a600be1649ed282d94819257acf79d38bfd37", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.100
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling bumpalo v3.17.0
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling rustversion v1.0.19
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.100
[INFO] [stderr]    Compiling rocal-ui v0.1.4
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.100
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling js-sys v0.3.77
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling web-sys v0.3.77
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.6.5
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.50
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling rocal-core v0.3.0
[INFO] [stderr]    Compiling rocal-macro v0.3.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.73s
[INFO] running `Command { std: "docker" "inspect" "4a2b9f51322480832c2b4599df5a600be1649ed282d94819257acf79d38bfd37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a2b9f51322480832c2b4599df5a600be1649ed282d94819257acf79d38bfd37", kill_on_drop: false }`
[INFO] [stdout] 4a2b9f51322480832c2b4599df5a600be1649ed282d94819257acf79d38bfd37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0b6f0a22580376640e6486f48670beb413310748b15a7bcb08fa6a6ae457511
[INFO] running `Command { std: "docker" "start" "-a" "f0b6f0a22580376640e6486f48670beb413310748b15a7bcb08fa6a6ae457511", kill_on_drop: false }`
[INFO] [stderr]    Compiling rocal-macro v0.3.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "f0b6f0a22580376640e6486f48670beb413310748b15a7bcb08fa6a6ae457511", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0b6f0a22580376640e6486f48670beb413310748b15a7bcb08fa6a6ae457511", kill_on_drop: false }`
[INFO] [stdout] f0b6f0a22580376640e6486f48670beb413310748b15a7bcb08fa6a6ae457511
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2b396d5c20aca8c7e9c8a3a8d34404fd25b635eed09ee62018854dc932210798
[INFO] running `Command { std: "docker" "start" "-a" "2b396d5c20aca8c7e9c8a3a8d34404fd25b635eed09ee62018854dc932210798", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocal_macro-fc1f848eef31b3f7)
[INFO] [stderr]    Doc-tests rocal_macro
[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 8 tests
[INFO] [stdout] test src/lib.rs - view (line 100) ... FAILED
[INFO] [stdout] test src/lib.rs - config (line 73) ... FAILED
[INFO] [stdout] test src/lib.rs - main (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - action (line 26) ... FAILED
[INFO] [stdout] test src/lib.rs - route (line 58) ... FAILED
[INFO] [stdout] test src/lib.rs - migrate (line 89) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 11) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - view (line 100) stdout ----
[INFO] [stdout] error: cannot find macro `view` in this scope
[INFO] [stdout]    --> src/lib.rs:101:1
[INFO] [stdout]     |
[INFO] [stdout] 101 | view! {
[INFO] [stdout]     | ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 100 + use rocal_macro::view;
[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 - config (line 73) stdout ----
[INFO] [stdout] error: cannot find macro `config` in this scope
[INFO] [stdout]   --> src/lib.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | config! {
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 73 + use rocal_macro::config;
[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 - main (line 11) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `rocal`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rocal::config;
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `rocal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rocal`, use `cargo add rocal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocal`
[INFO] [stdout]   --> src/lib.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[rocal::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `rocal`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - action (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `views` in the crate root
[INFO] [stdout]   --> src/lib.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | use crate::views::root_view::RootView;
[INFO] [stdout]    |            ^^^^^ could not find `views` in the crate root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocal`
[INFO] [stdout]   --> src/lib.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use rocal::rocal_core::traits::{Controller, SharedRouter};
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `rocal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rocal`, use `cargo add rocal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocal`
[INFO] [stdout]   --> src/lib.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 |     #[rocal::action]
[INFO] [stdout]    |       ^^^^^ use of unresolved module or unlinked crate `rocal`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - route (line 58) stdout ----
[INFO] [stdout] error: cannot find macro `route` in this scope
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | route! {
[INFO] [stdout]    | ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 58 + use rocal_macro::route;
[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 - migrate (line 89) stdout ----
[INFO] [stdout] error: cannot find macro `migrate` in this scope
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | migrate!("db/migrations");
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 89 + use rocal_macro::migrate;
[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 - (line 116) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]    --> src/lib.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | use serde::Deserialize;
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONFIG` in the crate root
[INFO] [stdout]    --> src/lib.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 | let database = crate::CONFIG.get_database().clone();
[INFO] [stdout]     |                       ^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]    --> src/lib.rs:128:31
[INFO] [stdout]     |
[INFO] [stdout] 128 | let result: Result<Vec<User>, JsValue> = database.query("select id, first_name, last_name from users;").fetch().await;
[INFO] [stdout]     |                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0<JsValue>() {
[INFO] [stdout]     |                                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:128:113
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 128 | let result: Result<Vec<User>, JsValue> = database.query("select id, first_name, last_name from users;").fetch().await;
[INFO] [stdout]     |                                                                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 138 |   .await;
[INFO] [stdout]     |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 11) stdout ----
[INFO] [stdout] error[E0428]: the name `index` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn index(&self) {
[INFO] [stdout]    | ------------------- previous definition of the value `index` here
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub fn index(&self, message: &str) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `index` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `index` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn index(&self) {
[INFO] [stdout]    |              ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/lib.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn index(&self, message: &str) {
[INFO] [stdout]    |              ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/lib.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn body(&self, data: Self::Data) -> String {
[INFO] [stdout]    |         ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocal`
[INFO] [stdout]   --> src/lib.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[rocal::action]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `rocal`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `view` in this scope
[INFO] [stdout]   --> src/lib.rs:55:3
[INFO] [stdout]    |
[INFO] [stdout] 55 |   view! {
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 11 + use rocal_macro::view;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `view` in this scope
[INFO] [stdout]   --> src/lib.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 |   view! {
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 11 + use rocal_macro::view;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `route` in this scope
[INFO] [stdout]   --> src/lib.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   route! {
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 11 + use rocal_macro::route;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `migrate` in this scope
[INFO] [stdout]   --> src/lib.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   migrate!("db/migrations");
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 11 + use rocal_macro::migrate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Controller` in this scope
[INFO] [stdout]   --> src/lib.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Controller for HelloWorldController {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 11 + use rocal_core::traits::Controller;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HelloWorldController` in this scope
[INFO] [stdout]   --> src/lib.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Controller for HelloWorldController {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `UserView` in this scope
[INFO] [stdout]   --> src/lib.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |   type View = UserView;
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HelloWorldTemplate`
[INFO] [stdout]   --> src/lib.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |   let template = HelloWorldTemplate::new(self.router.clone());
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^ use of undeclared type `HelloWorldTemplate`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/lib.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn body(&self, data: Self::Data) -> String {
[INFO] [stdout]    |                      ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0428, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 11)
[INFO] [stdout]     src/lib.rs - (line 116)
[INFO] [stdout]     src/lib.rs - action (line 26)
[INFO] [stdout]     src/lib.rs - config (line 73)
[INFO] [stdout]     src/lib.rs - main (line 11)
[INFO] [stdout]     src/lib.rs - migrate (line 89)
[INFO] [stdout]     src/lib.rs - route (line 58)
[INFO] [stdout]     src/lib.rs - view (line 100)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2b396d5c20aca8c7e9c8a3a8d34404fd25b635eed09ee62018854dc932210798", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b396d5c20aca8c7e9c8a3a8d34404fd25b635eed09ee62018854dc932210798", kill_on_drop: false }`
[INFO] [stdout] 2b396d5c20aca8c7e9c8a3a8d34404fd25b635eed09ee62018854dc932210798
