[INFO] crate saphir 2.0.2 is already in cache [INFO] checking saphir-2.0.2 against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] extracting crate saphir 2.0.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate saphir 2.0.2 on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate saphir 2.0.2 [INFO] finished tweaking crates.io crate saphir 2.0.2 [INFO] tweaked toml for crates.io crate saphir 2.0.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate saphir 2.0.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 86c7527f9adc8068fd7de81e56624534d75c6149399053b422f6b54b617d992b [INFO] running `"docker" "start" "-a" "86c7527f9adc8068fd7de81e56624534d75c6149399053b422f6b54b617d992b"` [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Checking saphir-cookie v0.13.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Compiling saphir_macro v1.0.0 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking h2 v0.2.2 [INFO] [stderr] Checking hyper v0.13.3 [INFO] [stderr] Checking saphir v2.0.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_urlencoded` [INFO] [stderr] --> examples/macro.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[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[E0412]: cannot find type `Json` in this scope [INFO] [stderr] --> examples/macro.rs:30:42 [INFO] [stderr] | [INFO] [stderr] 30 | 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:30:63 [INFO] [stderr] | [INFO] [stderr] 30 | 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:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[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:36:37 [INFO] [stderr] | [INFO] [stderr] 36 | 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:36:58 [INFO] [stderr] | [INFO] [stderr] 36 | 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:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[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:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[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:42:46 [INFO] [stderr] | [INFO] [stderr] 42 | 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:42:68 [INFO] [stderr] | [INFO] [stderr] 42 | 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:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | (200, Json(u.clone())) [INFO] [stderr] | ^^^^ not found in this scope [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:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[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: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [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" "86c7527f9adc8068fd7de81e56624534d75c6149399053b422f6b54b617d992b"` [INFO] running `"docker" "rm" "-f" "86c7527f9adc8068fd7de81e56624534d75c6149399053b422f6b54b617d992b"` [INFO] [stdout] 86c7527f9adc8068fd7de81e56624534d75c6149399053b422f6b54b617d992b