[INFO] fetching crate grout 0.2.0... [INFO] testing grout-0.2.0 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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] [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-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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1e5399402090bc8576bb6e6f00f04cfb6483bc62a9783413ab230d704c44bae [INFO] running `Command { std: "docker" "start" "-a" "b1e5399402090bc8576bb6e6f00f04cfb6483bc62a9783413ab230d704c44bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1e5399402090bc8576bb6e6f00f04cfb6483bc62a9783413ab230d704c44bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1e5399402090bc8576bb6e6f00f04cfb6483bc62a9783413ab230d704c44bae", kill_on_drop: false }` [INFO] [stdout] b1e5399402090bc8576bb6e6f00f04cfb6483bc62a9783413ab230d704c44bae [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93adde3441ce7d9736109e4fc446c0c58a925ae3a644250b8b140ab58dbdc607 [INFO] running `Command { std: "docker" "start" "-a" "93adde3441ce7d9736109e4fc446c0c58a925ae3a644250b8b140ab58dbdc607", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 memchr v2.3.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [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 num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.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 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 28.75s [INFO] running `Command { std: "docker" "inspect" "93adde3441ce7d9736109e4fc446c0c58a925ae3a644250b8b140ab58dbdc607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93adde3441ce7d9736109e4fc446c0c58a925ae3a644250b8b140ab58dbdc607", kill_on_drop: false }` [INFO] [stdout] 93adde3441ce7d9736109e4fc446c0c58a925ae3a644250b8b140ab58dbdc607 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f37403639dd9ddc70e16c79e8679cb2dd0892db96ef6f88b8b2c976fccdefc6e [INFO] running `Command { std: "docker" "start" "-a" "f37403639dd9ddc70e16c79e8679cb2dd0892db96ef6f88b8b2c976fccdefc6e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling grout v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.83s [INFO] running `Command { std: "docker" "inspect" "f37403639dd9ddc70e16c79e8679cb2dd0892db96ef6f88b8b2c976fccdefc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37403639dd9ddc70e16c79e8679cb2dd0892db96ef6f88b8b2c976fccdefc6e", kill_on_drop: false }` [INFO] [stdout] f37403639dd9ddc70e16c79e8679cb2dd0892db96ef6f88b8b2c976fccdefc6e [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fdc1681a59861bdc14ac15a921de34e69b06b181838808c880b3d6607bc15661 [INFO] running `Command { std: "docker" "start" "-a" "fdc1681a59861bdc14ac15a921de34e69b06b181838808c880b3d6607bc15661", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.80s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/grout-9626c885db23ef7f) [INFO] [stdout] [INFO] [stderr] Doc-tests grout [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 4 tests [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/route.rs - route::path (line 15) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [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::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/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/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.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fdc1681a59861bdc14ac15a921de34e69b06b181838808c880b3d6607bc15661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc1681a59861bdc14ac15a921de34e69b06b181838808c880b3d6607bc15661", kill_on_drop: false }` [INFO] [stdout] fdc1681a59861bdc14ac15a921de34e69b06b181838808c880b3d6607bc15661