[INFO] fetching crate saphir 2.6.7... [INFO] testing saphir-2.6.7 against 1.44.0 for beta-1.45-1 [INFO] extracting crate saphir 2.6.7 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate saphir 2.6.7 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate saphir 2.6.7 [INFO] finished tweaking crates.io crate saphir 2.6.7 [INFO] tweaked toml for crates.io crate saphir 2.6.7 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate saphir 2.6.7 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bbe215099359ae489d5faba2b2e69e91f416bb3c3272a93a723be41ddcf664c4 [INFO] running `"docker" "start" "-a" "bbe215099359ae489d5faba2b2e69e91f416bb3c3272a93a723be41ddcf664c4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.20 [INFO] [stderr] Compiling saphir-cookie v0.13.1 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling saphir_macro v2.0.4 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling saphir v2.6.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `"docker" "inspect" "bbe215099359ae489d5faba2b2e69e91f416bb3c3272a93a723be41ddcf664c4"` [INFO] running `"docker" "rm" "-f" "bbe215099359ae489d5faba2b2e69e91f416bb3c3272a93a723be41ddcf664c4"` [INFO] [stdout] bbe215099359ae489d5faba2b2e69e91f416bb3c3272a93a723be41ddcf664c4 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stdout] bb85540386463ac291b47bad62e87cf31a011dfe8edb399694b95e1c81bb389d [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" "bb85540386463ac291b47bad62e87cf31a011dfe8edb399694b95e1c81bb389d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling saphir v2.6.7 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `file` in `saphir` [INFO] [stderr] --> examples/macro.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use saphir::{file::middleware::FileMiddlewareBuilder, prelude::*}; [INFO] [stderr] | ^^^^ could not find `file` in `saphir` [INFO] [stderr] [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[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> examples/macro.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | match File::open("/path/to/file").await { [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileMiddlewareBuilder` [INFO] [stderr] --> examples/macro.rs:112:27 [INFO] [stderr] | [INFO] [stderr] 112 | let file_middleware = FileMiddlewareBuilder::new("op", "./saphir/examples/files_to_serve").build()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `FileMiddlewareBuilder` [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] error[E0412]: cannot find type `File` in this scope [INFO] [stderr] --> examples/macro.rs:75:72 [INFO] [stderr] | [INFO] [stderr] 75 | async fn file(&self, _req: Request>>) -> (u16, Option) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] = note: possible candidates are found in other modules, you can import them into scope: [INFO] [stderr] std::fs::File [INFO] [stderr] tokio::fs::File [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] 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[E0282]: type annotations needed [INFO] [stderr] --> examples/macro.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | #[controller(name = "users", version = 1, prefix = "api")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0412, E0425, E0433, E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `saphir`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "bb85540386463ac291b47bad62e87cf31a011dfe8edb399694b95e1c81bb389d"` [INFO] running `"docker" "rm" "-f" "bb85540386463ac291b47bad62e87cf31a011dfe8edb399694b95e1c81bb389d"` [INFO] [stdout] bb85540386463ac291b47bad62e87cf31a011dfe8edb399694b95e1c81bb389d