[INFO] fetching crate grout 0.2.0... [INFO] testing grout-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate grout 0.2.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate grout 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate grout 0.2.0 [INFO] finished tweaking crates.io crate grout 0.2.0 [INFO] tweaked toml for crates.io crate grout 0.2.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate grout 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75b72064fe3a816d8d5efb7e87a66904e1a42430f34f45cfa9b5aeef7276dee0 [INFO] running `Command { std: "docker" "start" "-a" "75b72064fe3a816d8d5efb7e87a66904e1a42430f34f45cfa9b5aeef7276dee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75b72064fe3a816d8d5efb7e87a66904e1a42430f34f45cfa9b5aeef7276dee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b72064fe3a816d8d5efb7e87a66904e1a42430f34f45cfa9b5aeef7276dee0", kill_on_drop: false }` [INFO] [stdout] 75b72064fe3a816d8d5efb7e87a66904e1a42430f34f45cfa9b5aeef7276dee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb094949e81d1acf35c265df3ec2e6a180b518176aafda415238f735a40c5759 [INFO] running `Command { std: "docker" "start" "-a" "cb094949e81d1acf35c265df3ec2e6a180b518176aafda415238f735a40c5759", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.14 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling grout v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "cb094949e81d1acf35c265df3ec2e6a180b518176aafda415238f735a40c5759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb094949e81d1acf35c265df3ec2e6a180b518176aafda415238f735a40c5759", kill_on_drop: false }` [INFO] [stdout] cb094949e81d1acf35c265df3ec2e6a180b518176aafda415238f735a40c5759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13bce4e94a46817f6e368caa59f1e0f1e62d7ac1be5d9003b7f0c84b1f9d086a [INFO] running `Command { std: "docker" "start" "-a" "13bce4e94a46817f6e368caa59f1e0f1e62d7ac1be5d9003b7f0c84b1f9d086a", kill_on_drop: false }` [INFO] [stderr] Compiling grout v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.18s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/grout-2bfa4bcc078dfdf0) [INFO] running `Command { std: "docker" "inspect" "13bce4e94a46817f6e368caa59f1e0f1e62d7ac1be5d9003b7f0c84b1f9d086a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13bce4e94a46817f6e368caa59f1e0f1e62d7ac1be5d9003b7f0c84b1f9d086a", kill_on_drop: false }` [INFO] [stdout] 13bce4e94a46817f6e368caa59f1e0f1e62d7ac1be5d9003b7f0c84b1f9d086a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 505fa03d7880400391320f7ef1b7323c76ebdb8cef78f16a07d552db201617ea [INFO] running `Command { std: "docker" "start" "-a" "505fa03d7880400391320f7ef1b7323c76ebdb8cef78f16a07d552db201617ea", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/grout-2bfa4bcc078dfdf0) [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 grout [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/router.rs - router::Router (line 110) ... FAILED [INFO] [stdout] test src/route.rs - route::path (line 15) ... FAILED [INFO] [stdout] test src/route.rs - route::Route (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/router.rs - router::Router (line 110) stdout ---- [INFO] [stdout] error: the async keyword is missing from the function declaration [INFO] [stdout] --> src/router.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/router.rs:117:2 [INFO] [stdout] | [INFO] [stdout] 8 | } [INFO] [stdout] | ^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/route.rs - route::path (line 15) stdout ---- [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> src/route.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 3 | path![foo / _ / bar / _] // -> vec![Static("foo"), Dynamic, Static("bar"), Dynamic] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] grout::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/route.rs - route::Route (line 46) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/route.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 3 | async fn handler(params: Vec, req: Request) -> Response {} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use grout::Request; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/route.rs:47:56 [INFO] [stdout] | [INFO] [stdout] 3 | async fn handler(params: Vec, req: Request) -> Response {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use grout::Response; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Response; [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `grout::Body`, `grout::Method`, `grout::Server` [INFO] [stdout] --> src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 3 | use grout::{path, Body, Method, Request, Response, ResponseBuilder, RouterBuilder, Server}; [INFO] [stdout] | ^^^^ ^^^^^^ no `Method` in the root ^^^^^^ no `Server` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Body` in the root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathSegment` [INFO] [stdout] --> src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 14 | .register(Method::GET, path![foo / _], handler) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PathSegment` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathSegment` [INFO] [stdout] --> src/lib.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 15 | .register(Method::POST, path![foo / _], handler) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PathSegment` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathSegment` [INFO] [stdout] --> src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 14 | .register(Method::GET, path![foo / _], handler) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use grout::PathSegment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathSegment` [INFO] [stdout] --> src/lib.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 15 | .register(Method::POST, path![foo / _], handler) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use grout::PathSegment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 3) [INFO] [stdout] src/route.rs - route::Route (line 46) [INFO] [stdout] src/route.rs - route::path (line 15) [INFO] [stdout] src/router.rs - router::Router (line 110) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "505fa03d7880400391320f7ef1b7323c76ebdb8cef78f16a07d552db201617ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505fa03d7880400391320f7ef1b7323c76ebdb8cef78f16a07d552db201617ea", kill_on_drop: false }` [INFO] [stdout] 505fa03d7880400391320f7ef1b7323c76ebdb8cef78f16a07d552db201617ea