[INFO] fetching crate saphir 2.7.7... [INFO] checking saphir-2.7.7 against beta for pr-78714 [INFO] extracting crate saphir 2.7.7 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate saphir 2.7.7 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate saphir 2.7.7 [INFO] finished tweaking crates.io crate saphir 2.7.7 [INFO] tweaked toml for crates.io crate saphir 2.7.7 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate saphir 2.7.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 449729b73256c7c69e3a19fd98eb57d861aab223fb96982ac47b5e9ace1ca573 [INFO] running `Command { std: "docker" "start" "-a" "449729b73256c7c69e3a19fd98eb57d861aab223fb96982ac47b5e9ace1ca573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "449729b73256c7c69e3a19fd98eb57d861aab223fb96982ac47b5e9ace1ca573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "449729b73256c7c69e3a19fd98eb57d861aab223fb96982ac47b5e9ace1ca573", kill_on_drop: false }` [INFO] [stdout] 449729b73256c7c69e3a19fd98eb57d861aab223fb96982ac47b5e9ace1ca573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd0bf61509f3218364165126a7c31530fb47516a5a2a85cc2539a9323cc0dc0 [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" "9cd0bf61509f3218364165126a7c31530fb47516a5a2a85cc2539a9323cc0dc0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking saphir-cookie v0.13.2 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling saphir_macro v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking saphir v2.7.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `file` in `saphir` [INFO] [stdout] --> examples/macro.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use saphir::{file::middleware::FileMiddlewareBuilder, prelude::*}; [INFO] [stdout] | ^^^^ could not find `file` in `saphir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multipart` [INFO] [stdout] --> examples/macro.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Multipart` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileMiddlewareBuilder` [INFO] [stdout] --> examples/macro.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | let file_middleware = FileMiddlewareBuilder::new("op", "./saphir/examples/files_to_serve").build()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FileMiddlewareBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read_query_string_to_hashmap` in module `saphir::utils` [INFO] [stdout] --> examples/macro.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `saphir::utils` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> examples/macro.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | async fn post_user_json(&self, user: Json) -> (u16, Json) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> examples/macro.rs:37:63 [INFO] [stdout] | [INFO] [stdout] 37 | async fn post_user_json(&self, user: Json) -> (u16, Json) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> examples/macro.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Form` in this scope [INFO] [stdout] --> examples/macro.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | async fn user_form(&self, user: Form) -> (u16, Form) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Form` in this scope [INFO] [stdout] --> examples/macro.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | async fn user_form(&self, user: Form) -> (u16, Form) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_query_string_to_type` in module `saphir::utils` [INFO] [stdout] --> examples/macro.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `saphir::utils` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Form` in this scope [INFO] [stdout] --> examples/macro.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `form` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Form` in this scope [INFO] [stdout] --> examples/macro.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> examples/macro.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_user_sync(&self, mut req: Request>) -> (u16, Json) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> examples/macro.rs:49:68 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_user_sync(&self, mut req: Request>) -> (u16, Json) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> examples/macro.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | (200, Json(u.clone())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multipart` in this scope [INFO] [stdout] --> examples/macro.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | async fn multipart(&self, mul: Multipart) -> (u16, String) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in this scope [INFO] [stdout] --> examples/macro.rs:75:72 [INFO] [stdout] | [INFO] [stdout] 75 | async fn file(&self, _req: Request>>) -> (u16, Option) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::fs::File [INFO] [stdout] tokio::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> examples/macro.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | match File::open("/path/to/file").await { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::fs::File [INFO] [stdout] tokio::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entered` [INFO] [stdout] --> examples/basic.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | entered: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `exited` [INFO] [stdout] --> examples/basic.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | exited: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SerdeUrlDe` found for enum `saphir::error::SaphirError` in the current scope [INFO] [stdout] --> examples/macro.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `saphir::error::SaphirError` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/macro.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut multipart_image_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/macro.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let _ = f.save(format!("/tmp/{}.png", f.name())).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/macro.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `saphir` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9cd0bf61509f3218364165126a7c31530fb47516a5a2a85cc2539a9323cc0dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd0bf61509f3218364165126a7c31530fb47516a5a2a85cc2539a9323cc0dc0", kill_on_drop: false }` [INFO] [stdout] 9cd0bf61509f3218364165126a7c31530fb47516a5a2a85cc2539a9323cc0dc0