[INFO] fetching crate resty_macros 0.1.6...
[INFO] testing resty_macros-0.1.6 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate resty_macros 0.1.6 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate resty_macros 0.1.6
[INFO] finished tweaking crates.io crate resty_macros 0.1.6
[INFO] tweaked toml for crates.io crate resty_macros 0.1.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate resty_macros 0.1.6 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate resty_macros 0.1.6 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9
[INFO] running `Command { std: "docker" "start" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling proc_macro_argue v0.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling resty_macros v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.14s
[INFO] running `Command { std: "docker" "inspect" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling resty_macros v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.73s
[INFO] running `Command { std: "docker" "inspect" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/resty_macros/3bfec04e50400d61/out/resty_macros-3bfec04e50400d61)
[INFO] [stderr]    Doc-tests resty_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 2 tests
[INFO] [stdout] test src/../docs/macros/endpoint.md - endpoint (line 12) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/../docs/macros/middleware.md - middleware (line 22) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/../docs/macros/endpoint.md - endpoint (line 12) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `resty` in this scope
[INFO] [stdout]   --> src/../docs/macros/endpoint.md:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[resty::endpoint(
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `resty`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/../docs/macros/endpoint.md:19:41
[INFO] [stdout]    |
[INFO] [stdout] 19 | async fn get_hello_world<'a>(_req: &mut Request<'a>, res: &mut Response<'a, &'static str>) {
[INFO] [stdout]    |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/../docs/macros/endpoint.md:19:64
[INFO] [stdout]    |
[INFO] [stdout] 19 | async fn get_hello_world<'a>(_req: &mut Request<'a>, res: &mut Response<'a, &'static str>) {
[INFO] [stdout]    |                                                                ^^^^^^^^ not found in this scope
[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] ---- src/../docs/macros/middleware.md - middleware (line 22) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `resty` in this scope
[INFO] [stdout]   --> src/../docs/macros/middleware.md:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[resty::middleware(
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `resty`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/../docs/macros/middleware.md:27:29
[INFO] [stdout]    |
[INFO] [stdout] 27 | async fn auth<'a>(req: &mut Request<'a>, res: &mut Response<'a, &'static str>) {
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/../docs/macros/middleware.md:27:52
[INFO] [stdout]    |
[INFO] [stdout] 27 | async fn auth<'a>(req: &mut Request<'a>, res: &mut Response<'a, &'static str>) {
[INFO] [stdout]    |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `authenticate` in this scope
[INFO] [stdout]   --> src/../docs/macros/middleware.md:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     if !authenticate(req) {
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../docs/macros/middleware.md:29:48
[INFO] [stdout]    |
[INFO] [stdout] 27 |   async fn auth<'a>(req: &mut Request<'a>, res: &mut Response<'a, &'static str>) {
[INFO] [stdout]    |  ________________________________________________________________________________-
[INFO] [stdout] 28 | |     if !authenticate(req) {
[INFO] [stdout] 29 | |         res.status(403, "Not Authorized").await?;
[INFO] [stdout]    | |                                                ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 30 | |         res.close().await?;
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |     Ok(())
[INFO] [stdout] 34 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../docs/macros/middleware.md:30:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |   async fn auth<'a>(req: &mut Request<'a>, res: &mut Response<'a, &'static str>) {
[INFO] [stdout]    |  ________________________________________________________________________________-
[INFO] [stdout] 28 | |     if !authenticate(req) {
[INFO] [stdout] 29 | |         res.status(403, "Not Authorized").await?;
[INFO] [stdout] 30 | |         res.close().await?;
[INFO] [stdout]    | |                          ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |     Ok(())
[INFO] [stdout] 34 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/../docs/macros/middleware.md:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     Ok(())
[INFO] [stdout]    |     ^^^^^^ expected `()`, found `Result<(), _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../docs/macros/endpoint.md - endpoint (line 12)
[INFO] [stdout]     src/../docs/macros/middleware.md - middleware (line 22)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.33s; merged doctests compilation took 0.17s
[INFO] running `Command { std: "docker" "inspect" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9", kill_on_drop: false }`
[INFO] [stdout] 362726e13fd9891e0d9965fa7fdccf456e97edbd566f4f1fdc9917d5120076c9
