[INFO] fetching crate grout 0.2.0... [INFO] testing grout-0.2.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate grout 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate grout 0.2.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-2/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0b98ef9c65c3c58715c9da74d90ecbbcff56209306cb4e4c97558701de4ba0fd [INFO] running `Command { std: "docker" "start" "-a" "0b98ef9c65c3c58715c9da74d90ecbbcff56209306cb4e4c97558701de4ba0fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b98ef9c65c3c58715c9da74d90ecbbcff56209306cb4e4c97558701de4ba0fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b98ef9c65c3c58715c9da74d90ecbbcff56209306cb4e4c97558701de4ba0fd", kill_on_drop: false }` [INFO] [stdout] 0b98ef9c65c3c58715c9da74d90ecbbcff56209306cb4e4c97558701de4ba0fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ae0febdd8cc3cefe5bcf319c35d7d92ba574113cbbd9c5ceb7834e831421948 [INFO] running `Command { std: "docker" "start" "-a" "9ae0febdd8cc3cefe5bcf319c35d7d92ba574113cbbd9c5ceb7834e831421948", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.14 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tracing v0.1.19 [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 32.33s [INFO] running `Command { std: "docker" "inspect" "9ae0febdd8cc3cefe5bcf319c35d7d92ba574113cbbd9c5ceb7834e831421948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae0febdd8cc3cefe5bcf319c35d7d92ba574113cbbd9c5ceb7834e831421948", kill_on_drop: false }` [INFO] [stdout] 9ae0febdd8cc3cefe5bcf319c35d7d92ba574113cbbd9c5ceb7834e831421948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bb5b56c1224746421a77eaeae54d432616118ea76cce4975133620b488b6b44 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9bb5b56c1224746421a77eaeae54d432616118ea76cce4975133620b488b6b44", kill_on_drop: false }` [INFO] [stderr] Compiling grout v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.64s [INFO] running `Command { std: "docker" "inspect" "9bb5b56c1224746421a77eaeae54d432616118ea76cce4975133620b488b6b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bb5b56c1224746421a77eaeae54d432616118ea76cce4975133620b488b6b44", kill_on_drop: false }` [INFO] [stdout] 9bb5b56c1224746421a77eaeae54d432616118ea76cce4975133620b488b6b44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0d47c686fedd7ddf219e2be27660b354168dcba01d69690e430e3ed90039e97 [INFO] running `Command { std: "docker" "start" "-a" "b0d47c686fedd7ddf219e2be27660b354168dcba01d69690e430e3ed90039e97", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/grout-6ec3f826bf0e9dc0) [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:110:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | #[tokio::main] [INFO] [stdout] 3 | | fn main() -> Result<(), Box> { [INFO] [stdout] 4 | | let addr = ([127, 0, 0, 1], 3000).into(); [INFO] [stdout] ... | [INFO] [stdout] 7 | | Ok(()) [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.69s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b0d47c686fedd7ddf219e2be27660b354168dcba01d69690e430e3ed90039e97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d47c686fedd7ddf219e2be27660b354168dcba01d69690e430e3ed90039e97", kill_on_drop: false }` [INFO] [stdout] b0d47c686fedd7ddf219e2be27660b354168dcba01d69690e430e3ed90039e97