[INFO] fetching crate saphir 2.2.7... [INFO] checking saphir-2.2.7 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate saphir 2.2.7 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate saphir 2.2.7 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate saphir 2.2.7 [INFO] finished tweaking crates.io crate saphir 2.2.7 [INFO] tweaked toml for crates.io crate saphir 2.2.7 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate saphir 2.2.7 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 18c592366265d59a80c5fed0edf1e19495bccbb1579f4bc868dbdbe44b1a7873 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "18c592366265d59a80c5fed0edf1e19495bccbb1579f4bc868dbdbe44b1a7873"` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking saphir-cookie v0.13.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling saphir_macro v2.0.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking tokio v0.2.16 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking saphir v2.2.7 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_urlencoded` [INFO] [stderr] --> examples/macro.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `serde_urlencoded` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Multipart` [INFO] [stderr] --> examples/macro.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `Multipart` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Json` in this scope [INFO] [stderr] --> examples/macro.rs:37:42 [INFO] [stderr] | [INFO] [stderr] 37 | async fn post_user_json(&self, user: Json) -> (u16, Json) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Json` in this scope [INFO] [stderr] --> examples/macro.rs:37:63 [INFO] [stderr] | [INFO] [stderr] 37 | async fn post_user_json(&self, user: Json) -> (u16, Json) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stderr] --> examples/macro.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Form` in this scope [INFO] [stderr] --> examples/macro.rs:43:37 [INFO] [stderr] | [INFO] [stderr] 43 | async fn user_form(&self, user: Form) -> (u16, Form) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Form` in this scope [INFO] [stderr] --> examples/macro.rs:43:58 [INFO] [stderr] | [INFO] [stderr] 43 | async fn user_form(&self, user: Form) -> (u16, Form) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Form` in this scope [INFO] [stderr] --> examples/macro.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `form` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Form` in this scope [INFO] [stderr] --> examples/macro.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Json` in this scope [INFO] [stderr] --> examples/macro.rs:49:46 [INFO] [stderr] | [INFO] [stderr] 49 | fn get_user_sync(&self, mut req: Request>) -> (u16, Json) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Json` in this scope [INFO] [stderr] --> examples/macro.rs:49:68 [INFO] [stderr] | [INFO] [stderr] 49 | fn get_user_sync(&self, mut req: Request>) -> (u16, Json) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stderr] --> examples/macro.rs:52:15 [INFO] [stderr] | [INFO] [stderr] 52 | (200, Json(u.clone())) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Multipart` in this scope [INFO] [stderr] --> examples/macro.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | async fn multipart(&self, mul: Multipart) -> (u16, String) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: field is never read: `entered` [INFO] [stderr] --> examples/basic.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | entered: RwLock, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `exited` [INFO] [stderr] --> examples/basic.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | exited: RwLock, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `SerdeUrlDe` found for enum `saphir::error::SaphirError` in the current scope [INFO] [stderr] --> examples/macro.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `saphir::error::SaphirError` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/macro.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | let mut multipart_image_count = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/macro.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | let _ = f.save(format!("/tmp/{}.png", f.name())).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433, E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `saphir`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "18c592366265d59a80c5fed0edf1e19495bccbb1579f4bc868dbdbe44b1a7873"` [INFO] running `"docker" "rm" "-f" "18c592366265d59a80c5fed0edf1e19495bccbb1579f4bc868dbdbe44b1a7873"` [INFO] [stdout] 18c592366265d59a80c5fed0edf1e19495bccbb1579f4bc868dbdbe44b1a7873