[INFO] fetching crate grout 0.2.0... [INFO] testing grout-0.2.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate grout 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate grout 0.2.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-7/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-core v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ed1af66fe8ac6747de5cf86c0aa58d4ae119616a117987d6454c89c2cee96f7 [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" "0ed1af66fe8ac6747de5cf86c0aa58d4ae119616a117987d6454c89c2cee96f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ed1af66fe8ac6747de5cf86c0aa58d4ae119616a117987d6454c89c2cee96f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed1af66fe8ac6747de5cf86c0aa58d4ae119616a117987d6454c89c2cee96f7", kill_on_drop: false }` [INFO] [stdout] 0ed1af66fe8ac6747de5cf86c0aa58d4ae119616a117987d6454c89c2cee96f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0622bec8d019e4b75053a2702db3e70582f1706ee5be0e02dc8ce70f5a1409f [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" "b0622bec8d019e4b75053a2702db3e70582f1706ee5be0e02dc8ce70f5a1409f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling tracing-core v0.1.14 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling http v0.2.1 [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 time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [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 01s [INFO] running `Command { std: "docker" "inspect" "b0622bec8d019e4b75053a2702db3e70582f1706ee5be0e02dc8ce70f5a1409f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0622bec8d019e4b75053a2702db3e70582f1706ee5be0e02dc8ce70f5a1409f", kill_on_drop: false }` [INFO] [stdout] b0622bec8d019e4b75053a2702db3e70582f1706ee5be0e02dc8ce70f5a1409f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ee8097324e7e2e202a5d4fea40a5704c70f9d6b6c4b0e5afd2ddf25ba99a7d [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" "c5ee8097324e7e2e202a5d4fea40a5704c70f9d6b6c4b0e5afd2ddf25ba99a7d", kill_on_drop: false }` [INFO] [stderr] Compiling grout v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.78s [INFO] running `Command { std: "docker" "inspect" "c5ee8097324e7e2e202a5d4fea40a5704c70f9d6b6c4b0e5afd2ddf25ba99a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ee8097324e7e2e202a5d4fea40a5704c70f9d6b6c4b0e5afd2ddf25ba99a7d", kill_on_drop: false }` [INFO] [stdout] c5ee8097324e7e2e202a5d4fea40a5704c70f9d6b6c4b0e5afd2ddf25ba99a7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c672c35676715af731b971f8f05c3e5f92442ce6bedd81caca2476da5083b398 [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" "c672c35676715af731b971f8f05c3e5f92442ce6bedd81caca2476da5083b398", 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] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/grout-18dc894a04b70a0e) [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/route.rs - path (line 15) ... FAILED [INFO] [stdout] test src/router.rs - router::Router (line 110) ... 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/route.rs - 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] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [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::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 - path (line 15) [INFO] [stdout] src/route.rs - route::Route (line 46) [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.77s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c672c35676715af731b971f8f05c3e5f92442ce6bedd81caca2476da5083b398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c672c35676715af731b971f8f05c3e5f92442ce6bedd81caca2476da5083b398", kill_on_drop: false }` [INFO] [stdout] c672c35676715af731b971f8f05c3e5f92442ce6bedd81caca2476da5083b398