[INFO] fetching crate saphir 2.8.0... [INFO] checking saphir-2.8.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate saphir 2.8.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate saphir 2.8.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate saphir 2.8.0 [INFO] finished tweaking crates.io crate saphir 2.8.0 [INFO] tweaked toml for crates.io crate saphir 2.8.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate saphir 2.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a330efc4654c8d02f49d01ea77e3e549589be05c1dc6ac70c870d9331488f815 [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" "a330efc4654c8d02f49d01ea77e3e549589be05c1dc6ac70c870d9331488f815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a330efc4654c8d02f49d01ea77e3e549589be05c1dc6ac70c870d9331488f815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a330efc4654c8d02f49d01ea77e3e549589be05c1dc6ac70c870d9331488f815", kill_on_drop: false }` [INFO] [stdout] a330efc4654c8d02f49d01ea77e3e549589be05c1dc6ac70c870d9331488f815 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7ca146965a0c94a1979a7a1224c89fea4a8ea0a9f37988ecfed7fb8f3555e6c [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" "a7ca146965a0c94a1979a7a1224c89fea4a8ea0a9f37988ecfed7fb8f3555e6c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking socket2 v0.3.16 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking saphir-cookie v0.13.2 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling saphir_macro v2.1.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking saphir v2.8.0 (/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" "a7ca146965a0c94a1979a7a1224c89fea4a8ea0a9f37988ecfed7fb8f3555e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ca146965a0c94a1979a7a1224c89fea4a8ea0a9f37988ecfed7fb8f3555e6c", kill_on_drop: false }` [INFO] [stdout] a7ca146965a0c94a1979a7a1224c89fea4a8ea0a9f37988ecfed7fb8f3555e6c