[INFO] fetching crate seamless 0.8.0... [INFO] checking seamless-0.8.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate seamless 0.8.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate seamless 0.8.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate seamless 0.8.0 [INFO] finished tweaking crates.io crate seamless 0.8.0 [INFO] tweaked toml for crates.io crate seamless 0.8.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate seamless 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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 seamless_macros v0.8.0 [INFO] [stderr] Downloaded multipart v0.17.1 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 623db068f699001f8001b75775fa9589c9b7f03b4e2e8646b3863a6dc7e3cddf [INFO] running `Command { std: "docker" "start" "-a" "623db068f699001f8001b75775fa9589c9b7f03b4e2e8646b3863a6dc7e3cddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "623db068f699001f8001b75775fa9589c9b7f03b4e2e8646b3863a6dc7e3cddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623db068f699001f8001b75775fa9589c9b7f03b4e2e8646b3863a6dc7e3cddf", kill_on_drop: false }` [INFO] [stdout] 623db068f699001f8001b75775fa9589c9b7f03b4e2e8646b3863a6dc7e3cddf [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a383dd74bb48fb7a0a61226d67b077658ed17203889650af32537b8db24fd67 [INFO] running `Command { std: "docker" "start" "-a" "8a383dd74bb48fb7a0a61226d67b077658ed17203889650af32537b8db24fd67", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling seamless_macros v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper v0.14.8 [INFO] [stderr] Checking trybuild v1.0.42 [INFO] [stderr] Checking seamless v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking warp v0.3.1 [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> examples/rocket.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | async fn handle<'r, 's: 'r>(&'s self, req: &'r Request<'_>, data: Data) -> Outcome<'r> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | // Stream the body into `seamless`. We use the `compat` method from tokio-utils to [INFO] [stdout] 45 | | // convert from `tokio::AsyncRead` to the `futures::AsyncRead` that seamless [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::{Request, Data, Route, http::{ Method, Status }}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::handler::{ Handler, Outcome }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::data::ToByteUnit; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket` [INFO] [stdout] --> examples/rocket.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::{Request, Data, Route, http::{ Method, Status }}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[rocket::async_trait] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn rocket() -> rocket::Rocket { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | rocket::ignite().mount("/", SeamlessApi(Arc::new(api))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | .header(rocket::http::ContentType::JSON) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Outcome` [INFO] [stdout] --> examples/rocket.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | Outcome::Success(rocket_response) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Outcome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Outcome` [INFO] [stdout] --> examples/rocket.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | Outcome::failure(Status::NotFound) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Outcome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> examples/rocket.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | Outcome::failure(Status::NotFound) [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Outcome` [INFO] [stdout] --> examples/rocket.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | Outcome::failure(Status::InternalServerError) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Outcome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> examples/rocket.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | Outcome::failure(Status::InternalServerError) [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> examples/rocket.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | "GET" => Method::Get, [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> examples/rocket.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | _ => Method::Post [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/rocket.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl Handler for SeamlessApi { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Outcome` in this scope [INFO] [stdout] --> examples/rocket.rs:42:80 [INFO] [stdout] | [INFO] [stdout] 42 | async fn handle<'r, 's: 'r>(&'s self, req: &'r Request<'_>, data: Data) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> examples/rocket.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | let rocket_response = rocket::Response::build() [INFO] [stdout] | ^^^^^^^^ not found in `rocket` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 9 | use seamless::http::Response; [INFO] [stdout] | [INFO] [stdout] 9 | use warp::reply::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rocket` [INFO] [stdout] --> examples/rocket.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! This is an example of how to integrate a `seamless` Api with `rocket` (0.5.0). [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! Run this with `cargo run --example rocket` and then try: [INFO] [stdout] 4 | | //! [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/rocket.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0601, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `seamless` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8a383dd74bb48fb7a0a61226d67b077658ed17203889650af32537b8db24fd67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a383dd74bb48fb7a0a61226d67b077658ed17203889650af32537b8db24fd67", kill_on_drop: false }` [INFO] [stdout] 8a383dd74bb48fb7a0a61226d67b077658ed17203889650af32537b8db24fd67