[INFO] fetching crate saphir 2.8.2... [INFO] checking saphir-2.8.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate saphir 2.8.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate saphir 2.8.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate saphir 2.8.2 [INFO] finished tweaking crates.io crate saphir 2.8.2 [INFO] tweaked toml for crates.io crate saphir 2.8.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate saphir 2.8.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.1 [INFO] [stderr] Downloaded serde_json v1.0.62 [INFO] [stderr] Downloaded brotli-decompressor v2.3.1 [INFO] [stderr] Downloaded brotli v3.3.0 [INFO] [stderr] Downloaded saphir_macro v2.1.2 [INFO] [stderr] Downloaded saphir-cookie v0.13.2 [INFO] [stderr] Downloaded once_cell v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] f156cf2ea90d749f1707ecaf1a2a8e96d56bb996f6d8aed4ce0bfa1ed8b32e6d [INFO] running `Command { std: "docker" "start" "-a" "f156cf2ea90d749f1707ecaf1a2a8e96d56bb996f6d8aed4ce0bfa1ed8b32e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f156cf2ea90d749f1707ecaf1a2a8e96d56bb996f6d8aed4ce0bfa1ed8b32e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f156cf2ea90d749f1707ecaf1a2a8e96d56bb996f6d8aed4ce0bfa1ed8b32e6d", kill_on_drop: false }` [INFO] [stdout] f156cf2ea90d749f1707ecaf1a2a8e96d56bb996f6d8aed4ce0bfa1ed8b32e6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--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] 299ee8dc07ab730e49d63b23e7602690dbc2bbe7865e172431ff779c2a57b5c9 [INFO] running `Command { std: "docker" "start" "-a" "299ee8dc07ab730e49d63b23e7602690dbc2bbe7865e172431ff779c2a57b5c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking saphir-cookie v0.13.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling saphir_macro v2.1.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking saphir v2.8.2 (/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" "299ee8dc07ab730e49d63b23e7602690dbc2bbe7865e172431ff779c2a57b5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "299ee8dc07ab730e49d63b23e7602690dbc2bbe7865e172431ff779c2a57b5c9", kill_on_drop: false }` [INFO] [stdout] 299ee8dc07ab730e49d63b23e7602690dbc2bbe7865e172431ff779c2a57b5c9