[INFO] cloning repository https://github.com/ruofeng611/simple-starter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruofeng611/simple-starter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruofeng611%2Fsimple-starter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruofeng611%2Fsimple-starter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f5e464a969d1cc415763e7e67c5714028a6b5d9f
[INFO] testing ruofeng611/simple-starter against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruofeng611%2Fsimple-starter" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ruofeng611/simple-starter
[INFO] finished tweaking git repo https://github.com/ruofeng611/simple-starter
[INFO] tweaked toml for git repo https://github.com/ruofeng611/simple-starter written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ruofeng611/simple-starter on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ruofeng611/simple-starter 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7e156b76e6c4fee1cbfd215ab76fdca9e326e299a61ae3d757c8f62900686a2
[INFO] running `Command { std: "docker" "start" "-a" "c7e156b76e6c4fee1cbfd215ab76fdca9e326e299a61ae3d757c8f62900686a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7e156b76e6c4fee1cbfd215ab76fdca9e326e299a61ae3d757c8f62900686a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7e156b76e6c4fee1cbfd215ab76fdca9e326e299a61ae3d757c8f62900686a2", kill_on_drop: false }`
[INFO] [stdout] c7e156b76e6c4fee1cbfd215ab76fdca9e326e299a61ae3d757c8f62900686a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c895f1833d884f36dd082b1e0b1e9fefc885b28da510f68237ba5de368b1f3de
[INFO] running `Command { std: "docker" "start" "-a" "c895f1833d884f36dd082b1e0b1e9fefc885b28da510f68237ba5de368b1f3de", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling time-macros v0.2.26
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling phf_shared v0.12.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling chrono-tz v0.10.4
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling phf v0.12.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling tokio-cron-scheduler v0.15.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling inventory v0.3.21
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling time v0.3.46
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling toml v0.9.11+spec-1.1.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling simple-starter-macro v2.0.0 (/opt/rustwide/workdir/simple-starter-macro)
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling croner v3.0.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling axum v0.8.8
[INFO] [stderr]    Compiling simple-starter-core v2.0.0 (/opt/rustwide/workdir/simple-starter-core)
[INFO] [stderr]    Compiling simple-starter-web v2.0.0 (/opt/rustwide/workdir/simple-starter-web)
[INFO] [stderr]    Compiling simple-starter-security v1.0.0 (/opt/rustwide/workdir/simple-starter-security)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "c895f1833d884f36dd082b1e0b1e9fefc885b28da510f68237ba5de368b1f3de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c895f1833d884f36dd082b1e0b1e9fefc885b28da510f68237ba5de368b1f3de", kill_on_drop: false }`
[INFO] [stdout] c895f1833d884f36dd082b1e0b1e9fefc885b28da510f68237ba5de368b1f3de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c853ef1fee55a86bde9819008a12036553e8594a3bee074e20a0ba9ac59570b5
[INFO] running `Command { std: "docker" "start" "-a" "c853ef1fee55a86bde9819008a12036553e8594a3bee074e20a0ba9ac59570b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling simple-starter-macro v2.0.0 (/opt/rustwide/workdir/simple-starter-macro)
[INFO] [stderr]    Compiling simple-starter-core v2.0.0 (/opt/rustwide/workdir/simple-starter-core)
[INFO] [stderr]    Compiling simple-starter-web v2.0.0 (/opt/rustwide/workdir/simple-starter-web)
[INFO] [stderr]    Compiling simple-starter-security v1.0.0 (/opt/rustwide/workdir/simple-starter-security)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.39s
[INFO] running `Command { std: "docker" "inspect" "c853ef1fee55a86bde9819008a12036553e8594a3bee074e20a0ba9ac59570b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c853ef1fee55a86bde9819008a12036553e8594a3bee074e20a0ba9ac59570b5", kill_on_drop: false }`
[INFO] [stdout] c853ef1fee55a86bde9819008a12036553e8594a3bee074e20a0ba9ac59570b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3e424a24f61c18572502b1da316bdd82b7a708324f15afe61e1988874de5b33c
[INFO] running `Command { std: "docker" "start" "-a" "3e424a24f61c18572502b1da316bdd82b7a708324f15afe61e1988874de5b33c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_starter_core-f672bcd73c9b2d88)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_starter_macro-26e20d1a0edc237f)
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_starter_security-239fbbaf915843b9)
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_starter_web-a3376517844df16e)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests simple_starter_core
[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 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 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 simple_starter_macro
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test simple-starter-macro/src/lib.rs - json_response (line 274) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - post_mapping (line 232) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - cron_job (line 104) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - delete_mapping (line 260) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - get (line 150) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - put_mapping (line 246) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - security_resource (line 330) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - post (line 166) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - delete (line 198) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - configuration (line 70) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - inject (line 87) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - provider (line 54) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - put (line 182) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - security (line 294) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - get_mapping (line 218) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - component (line 36) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - rest_controller (line 125) ... FAILED
[INFO] [stdout] test simple-starter-macro/src/lib.rs - security_controller (line 310) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - json_response (line 274) stdout ----
[INFO] [stdout] error: cannot find attribute `json_response` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:275:3
[INFO] [stdout]     |
[INFO] [stdout] 275 | #[json_response]
[INFO] [stdout]     |   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 274 + use simple_starter_macro::json_response;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:276:24
[INFO] [stdout]     |
[INFO] [stdout] 276 | async fn get_user() -> User {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:277:5
[INFO] [stdout]     |
[INFO] [stdout] 277 |     User::new()
[INFO] [stdout]     |     ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - post_mapping (line 232) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:234:29
[INFO] [stdout]     |
[INFO] [stdout] 234 | pub async fn create_student(&self, student: StudentDTO) -> StudentVO { }
[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: cannot find attribute `post_mapping` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:233:3
[INFO] [stdout]     |
[INFO] [stdout] 233 | #[post_mapping("/students")]
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 232 + use simple_starter_macro::post_mapping;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StudentDTO` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:234:45
[INFO] [stdout]     |
[INFO] [stdout] 234 | pub async fn create_student(&self, student: StudentDTO) -> StudentVO { }
[INFO] [stdout]     |                                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StudentVO` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:234:60
[INFO] [stdout]     |
[INFO] [stdout] 234 | pub async fn create_student(&self, student: StudentDTO) -> StudentVO { }
[INFO] [stdout]     |                                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - cron_job (line 104) stdout ----
[INFO] [stdout] error: cannot find attribute `cron_job` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:105:3
[INFO] [stdout]     |
[INFO] [stdout] 105 | #[cron_job("0 0 * * * *")]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 104 + use simple_starter_macro::cron_job;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - delete_mapping (line 260) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:262:29
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub async fn delete_student(&self, id: i64) -> &'static 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: cannot find attribute `delete_mapping` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:261:3
[INFO] [stdout]     |
[INFO] [stdout] 261 | #[delete_mapping("/students/{id}")]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 260 + use simple_starter_macro::delete_mapping;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:262:61
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub async fn delete_student(&self, id: i64) -> &'static str { }
[INFO] [stdout]     |                                                             ^^^ expected `&str`, found `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - get (line 150) stdout ----
[INFO] [stdout] error: cannot find attribute `get` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:151:3
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[get("/users")]
[INFO] [stdout]     |   ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 150 + use simple_starter_macro::get;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:152:26
[INFO] [stdout]     |
[INFO] [stdout] 152 | async fn list_users() -> Json<Vec<User>> {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:152:35
[INFO] [stdout]     |
[INFO] [stdout] 152 | async fn list_users() -> Json<Vec<User>> {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 152 | async fn list_users<User>() -> Json<Vec<User>> {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 153 |     Json(vec![])
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - put_mapping (line 246) stdout ----
[INFO] [stderr] error: doctest failed, to rerun pass `-p simple-starter-macro --doc`
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:248:29
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub async fn update_student(&self, id: i64, student: StudentDTO) -> StudentVO { }
[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: cannot find attribute `put_mapping` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:247:3
[INFO] [stdout]     |
[INFO] [stdout] 247 | #[put_mapping("/students/{id}")]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 246 + use simple_starter_macro::put_mapping;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StudentDTO` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:248:54
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub async fn update_student(&self, id: i64, student: StudentDTO) -> StudentVO { }
[INFO] [stdout]     |                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StudentVO` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:248:69
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub async fn update_student(&self, id: i64, student: StudentDTO) -> StudentVO { }
[INFO] [stdout]     |                                                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - security_resource (line 330) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:333:19
[INFO] [stdout]     |
[INFO] [stdout] 333 | async fn get_user(&self, id: i64) -> Json<User> { }
[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: cannot find attribute `get_mapping` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:331:3
[INFO] [stdout]     |
[INFO] [stdout] 331 | #[get_mapping("/:id")]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 330 + use simple_starter_macro::get_mapping;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `security_resource` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:332:3
[INFO] [stdout]     |
[INFO] [stdout] 332 | #[security_resource(resource_id = "user:detail")]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 330 + use simple_starter_macro::security_resource;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:333:38
[INFO] [stdout]     |
[INFO] [stdout] 333 | async fn get_user(&self, id: i64) -> Json<User> { }
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:333:43
[INFO] [stdout]     |
[INFO] [stdout] 333 | async fn get_user(&self, id: i64) -> Json<User> { }
[INFO] [stdout]     |                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 333 | async fn get_user<User>(&self, id: i64) -> Json<User> { }
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - post (line 166) stdout ----
[INFO] [stdout] error: cannot find attribute `post` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:167:3
[INFO] [stdout]     |
[INFO] [stdout] 167 | #[post("/users")]
[INFO] [stdout]     |   ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 166 + use simple_starter_macro::post;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 | async fn create_user(user: Json<CreateUser>) -> Json<User> {
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CreateUser` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:168:33
[INFO] [stdout]     |
[INFO] [stdout] 168 | async fn create_user(user: Json<CreateUser>) -> Json<User> {
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 168 | async fn create_user<CreateUser>(user: Json<CreateUser>) -> Json<User> {
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:168:49
[INFO] [stdout]     |
[INFO] [stdout] 168 | async fn create_user(user: Json<CreateUser>) -> Json<User> {
[INFO] [stdout]     |                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:168:54
[INFO] [stdout]     |
[INFO] [stdout] 168 | async fn create_user(user: Json<CreateUser>) -> Json<User> {
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 168 | async fn create_user<User>(user: Json<CreateUser>) -> Json<User> {
[INFO] [stdout]     |                     ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:169:10
[INFO] [stdout]     |
[INFO] [stdout] 169 |     Json(User::new())
[INFO] [stdout]     |          ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:169:5
[INFO] [stdout]     |
[INFO] [stdout] 169 |     Json(User::new())
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - delete (line 198) stdout ----
[INFO] [stdout] error: cannot find attribute `delete` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:199:3
[INFO] [stdout]     |
[INFO] [stdout] 199 | #[delete("/users/:id")]
[INFO] [stdout]     |   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 198 + use simple_starter_macro::delete;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:200:26
[INFO] [stdout]     |
[INFO] [stdout] 200 | async fn delete_user(id: Path<i64>) -> &'static str {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 198 + use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 198 + use syn::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - configuration (line 70) stdout ----
[INFO] [stdout] error: cannot find attribute `configuration` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:71:3
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[configuration(prefix = "app")]
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 70 + use simple_starter_macro::configuration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - inject (line 87) stdout ----
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:88:3
[INFO] [stdout]    |
[INFO] [stdout] 88 | #[component]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 87 + use simple_starter_macro::component;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `inject` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 |     #[inject]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 87 + use simple_starter_macro::inject;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:91:22
[INFO] [stdout]    |
[INFO] [stdout] 91 |     user_repository: Arc<UserRepository>,
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 87 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `UserRepository` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:91:26
[INFO] [stdout]    |
[INFO] [stdout] 91 |     user_repository: Arc<UserRepository>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct UserService<UserRepository> {
[INFO] [stdout]    |                       ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - provider (line 54) stdout ----
[INFO] [stdout] error: cannot find attribute `provider` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:55:3
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[provider]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 54 + use simple_starter_macro::provider;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `reqwest` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 |     Ok(reqwest::Client::new())
[INFO] [stdout]    |        ^^^^^^^ use of unresolved module or unlinked crate `reqwest`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:56:32
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn create_http_client() -> anyhow::Result<reqwest::Client> {
[INFO] [stdout]    |                                ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `reqwest` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:56:47
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn create_http_client() -> anyhow::Result<reqwest::Client> {
[INFO] [stdout]    |                                               ^^^^^^^ use of unresolved module or unlinked crate `reqwest`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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] ---- simple-starter-macro/src/lib.rs - put (line 182) stdout ----
[INFO] [stdout] error: cannot find attribute `put` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:183:3
[INFO] [stdout]     |
[INFO] [stdout] 183 | #[put("/users/:id")]
[INFO] [stdout]     |   ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 182 + use simple_starter_macro::put;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:184:26
[INFO] [stdout]     |
[INFO] [stdout] 184 | async fn update_user(id: Path<i64>, user: Json<UpdateUser>) -> Json<User> {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 182 + use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 182 + use syn::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:184:43
[INFO] [stdout]     |
[INFO] [stdout] 184 | async fn update_user(id: Path<i64>, user: Json<UpdateUser>) -> Json<User> {
[INFO] [stdout]     |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `UpdateUser` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:184:48
[INFO] [stdout]     |
[INFO] [stdout] 184 | async fn update_user(id: Path<i64>, user: Json<UpdateUser>) -> Json<User> {
[INFO] [stdout]     |                                                ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 184 | async fn update_user<UpdateUser>(id: Path<i64>, user: Json<UpdateUser>) -> Json<User> {
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:184:64
[INFO] [stdout]     |
[INFO] [stdout] 184 | async fn update_user(id: Path<i64>, user: Json<UpdateUser>) -> Json<User> {
[INFO] [stdout]     |                                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:184:69
[INFO] [stdout]     |
[INFO] [stdout] 184 | async fn update_user(id: Path<i64>, user: Json<UpdateUser>) -> Json<User> {
[INFO] [stdout]     |                                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 184 | async fn update_user<User>(id: Path<i64>, user: Json<UpdateUser>) -> Json<User> {
[INFO] [stdout]     |                     ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:185:10
[INFO] [stdout]     |
[INFO] [stdout] 185 |     Json(User::new())
[INFO] [stdout]     |          ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:185:5
[INFO] [stdout]     |
[INFO] [stdout] 185 |     Json(User::new())
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - security (line 294) stdout ----
[INFO] [stdout] error: cannot find attribute `security` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:295:3
[INFO] [stdout]     |
[INFO] [stdout] 295 | #[security(resource_id = "user:list", resource_name = "查询用户")]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 294 + use simple_starter_macro::security;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:296:3
[INFO] [stdout]     |
[INFO] [stdout] 296 | #[get("/users")]
[INFO] [stdout]     |   ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 294 + use simple_starter_macro::get;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - get_mapping (line 218) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:220:26
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub async fn get_student(&self, id: i64) -> StudentVO { }
[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: cannot find attribute `get_mapping` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:219:3
[INFO] [stdout]     |
[INFO] [stdout] 219 | #[get_mapping("/student/{id}")]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 218 + use simple_starter_macro::get_mapping;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StudentVO` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:220:45
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub async fn get_student(&self, id: i64) -> StudentVO { }
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - component (line 36) stdout ----
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[component]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 36 + use simple_starter_macro::component;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `inject` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 |     #[inject]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 36 + use simple_starter_macro::inject;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     user_repository: Arc<UserRepository>,
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 36 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `UserRepository` in this scope
[INFO] [stdout]   --> simple-starter-macro/src/lib.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |     user_repository: Arc<UserRepository>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct UserService<UserRepository> {
[INFO] [stdout]    |                       ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - rest_controller (line 125) stdout ----
[INFO] [stdout] error: cannot find attribute `rest_controller` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:132:3
[INFO] [stdout]     |
[INFO] [stdout] 132 | #[rest_controller("/test")]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 125 + use simple_starter_macro::rest_controller;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_mapping` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:134:7
[INFO] [stdout]     |
[INFO] [stdout] 134 |     #[get_mapping("/student/{id}")]
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 125 + use simple_starter_macro::get_mapping;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:126:3
[INFO] [stdout]     |
[INFO] [stdout] 126 | #[component]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 125 + use simple_starter_macro::component;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `inject` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:128:7
[INFO] [stdout]     |
[INFO] [stdout] 128 |     #[inject]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 125 + use simple_starter_macro::inject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:129:22
[INFO] [stdout]     |
[INFO] [stdout] 129 |     student_service: Arc<StudentService>,
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 125 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StudentService` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:129:26
[INFO] [stdout]     |
[INFO] [stdout] 129 |     student_service: Arc<StudentService>,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct TestController<StudentService> {
[INFO] [stdout]     |                          ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:135:37
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub async fn get_student(&self, Path(id): Path<i64>) -> StudentVO {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these tuple variants
[INFO] [stdout]     |
[INFO] [stdout] 125 + use syn::Expr::Path;
[INFO] [stdout]     |
[INFO] [stdout] 125 + use syn::Meta::Path;
[INFO] [stdout]     |
[INFO] [stdout] 125 + use syn::Pat::Path;
[INFO] [stdout]     |
[INFO] [stdout] 125 + use syn::Type::Path;
[INFO] [stdout]     |
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:135:47
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub async fn get_student(&self, Path(id): Path<i64>) -> StudentVO {
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 125 + use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 125 + use syn::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StudentVO` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:135:61
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub async fn get_student(&self, Path(id): Path<i64>) -> StudentVO {
[INFO] [stdout]     |                                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- simple-starter-macro/src/lib.rs - security_controller (line 310) stdout ----
[INFO] [stdout] error: cannot find attribute `security_controller` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:311:3
[INFO] [stdout]     |
[INFO] [stdout] 311 | #[security_controller(module_id = "user", module_name = "用户管理")]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 310 + use simple_starter_macro::security_controller;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rest_controller` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:312:3
[INFO] [stdout]     |
[INFO] [stdout] 312 | #[rest_controller("/api/users")]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 310 + use simple_starter_macro::rest_controller;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_mapping` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:314:7
[INFO] [stdout]     |
[INFO] [stdout] 314 |     #[get_mapping("/:id")]
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 310 + use simple_starter_macro::get_mapping;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `security_resource` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:315:7
[INFO] [stdout]     |
[INFO] [stdout] 315 |     #[security_resource(resource_id = "user:detail", resource_name = "查询用户详情")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 310 + use simple_starter_macro::security_resource;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `UserController` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:313:6
[INFO] [stdout]     |
[INFO] [stdout] 313 | impl UserController {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:316:42
[INFO] [stdout]     |
[INFO] [stdout] 316 |     async fn get_user(&self, id: i64) -> Json<User> { }
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]    --> simple-starter-macro/src/lib.rs:316:47
[INFO] [stdout]     |
[INFO] [stdout] 316 |     async fn get_user(&self, id: i64) -> Json<User> { }
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 313 | impl<User> UserController {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     simple-starter-macro/src/lib.rs - component (line 36)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - configuration (line 70)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - cron_job (line 104)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - delete (line 198)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - delete_mapping (line 260)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - get (line 150)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - get_mapping (line 218)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - inject (line 87)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - json_response (line 274)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - post (line 166)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - post_mapping (line 232)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - provider (line 54)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - put (line 182)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - put_mapping (line 246)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - rest_controller (line 125)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - security (line 294)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - security_controller (line 310)
[INFO] [stdout]     simple-starter-macro/src/lib.rs - security_resource (line 330)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.96s; merged doctests compilation took 0.40s
[INFO] running `Command { std: "docker" "inspect" "3e424a24f61c18572502b1da316bdd82b7a708324f15afe61e1988874de5b33c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e424a24f61c18572502b1da316bdd82b7a708324f15afe61e1988874de5b33c", kill_on_drop: false }`
[INFO] [stdout] 3e424a24f61c18572502b1da316bdd82b7a708324f15afe61e1988874de5b33c
