[INFO] fetching crate saphir 2.8.2... [INFO] checking saphir-2.8.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate saphir 2.8.2 into /workspace/builds/worker-114/source [INFO] validating manifest of crates.io crate saphir 2.8.2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-114/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 saphir-cookie v0.13.2 [INFO] [stderr] Downloaded saphir_macro v2.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78aa0cd2f1b88defe722ea6a6bd7ecdc29e924150d9364e2444b04cdc6a546e1 [INFO] running `Command { std: "docker" "start" "-a" "78aa0cd2f1b88defe722ea6a6bd7ecdc29e924150d9364e2444b04cdc6a546e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78aa0cd2f1b88defe722ea6a6bd7ecdc29e924150d9364e2444b04cdc6a546e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78aa0cd2f1b88defe722ea6a6bd7ecdc29e924150d9364e2444b04cdc6a546e1", kill_on_drop: false }` [INFO] [stdout] 78aa0cd2f1b88defe722ea6a6bd7ecdc29e924150d9364e2444b04cdc6a546e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64e2e133a78981b5917b3ed1e2e846c2be91181d67f0b1de383b408ab708f760 [INFO] running `Command { std: "docker" "start" "-a" "64e2e133a78981b5917b3ed1e2e846c2be91181d67f0b1de383b408ab708f760", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] log v0.4.14: std [INFO] [stderr] tokio v0.2.25: winapi [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.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 tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking saphir-cookie v0.13.2 [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 futures-util v0.3.13 [INFO] [stderr] Checking tokio v0.2.25 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/macro.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/basic.rs from 2018 edition to 2021 [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 the attribute macro `controller` (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 the attribute macro `controller` (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 the attribute macro `controller` (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 the attribute macro `controller` (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 the attribute macro `controller` (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 the attribute macro `controller` (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] 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 the attribute macro `controller` (in Nightly builds, run with -Z macro-backtrace for more info) [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `saphir` due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "64e2e133a78981b5917b3ed1e2e846c2be91181d67f0b1de383b408ab708f760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e2e133a78981b5917b3ed1e2e846c2be91181d67f0b1de383b408ab708f760", kill_on_drop: false }` [INFO] [stdout] 64e2e133a78981b5917b3ed1e2e846c2be91181d67f0b1de383b408ab708f760