[INFO] fetching crate saphir 2.8.2... [INFO] building saphir-2.8.2 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate saphir 2.8.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate saphir 2.8.2 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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-5/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b30dfc9e06d3c30ca9dc3d04465a85ca7a876e112d86c9000031124168b3c25 [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" "2b30dfc9e06d3c30ca9dc3d04465a85ca7a876e112d86c9000031124168b3c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b30dfc9e06d3c30ca9dc3d04465a85ca7a876e112d86c9000031124168b3c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b30dfc9e06d3c30ca9dc3d04465a85ca7a876e112d86c9000031124168b3c25", kill_on_drop: false }` [INFO] [stdout] 2b30dfc9e06d3c30ca9dc3d04465a85ca7a876e112d86c9000031124168b3c25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--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] 20595b52f4089531631b8dded360514fe860514d89087709eb5ebccd0713feff [INFO] running `Command { std: "docker" "start" "-a" "20595b52f4089531631b8dded360514fe860514d89087709eb5ebccd0713feff", kill_on_drop: false }` [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 log v0.4.14 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling saphir-cookie v0.13.2 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling saphir_macro v2.1.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling saphir v2.8.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.74s [INFO] running `Command { std: "docker" "inspect" "20595b52f4089531631b8dded360514fe860514d89087709eb5ebccd0713feff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20595b52f4089531631b8dded360514fe860514d89087709eb5ebccd0713feff", kill_on_drop: false }` [INFO] [stdout] 20595b52f4089531631b8dded360514fe860514d89087709eb5ebccd0713feff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a29f159189baec49daa31ec780598b2e2404902d9e3e0419ef9af9bf69ac926a [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" "a29f159189baec49daa31ec780598b2e2404902d9e3e0419ef9af9bf69ac926a", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling 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 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] 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] 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a29f159189baec49daa31ec780598b2e2404902d9e3e0419ef9af9bf69ac926a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29f159189baec49daa31ec780598b2e2404902d9e3e0419ef9af9bf69ac926a", kill_on_drop: false }` [INFO] [stdout] a29f159189baec49daa31ec780598b2e2404902d9e3e0419ef9af9bf69ac926a