[INFO] updating cached repository https://github.com/iigmir/icanhazdadjoke-to-github-api-by-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1d684b7146a18836abe86315e600765556d03b83 [INFO] checking iigmir/icanhazdadjoke-to-github-api-by-rust against master#6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 for pr-70872 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiigmir%2Ficanhazdadjoke-to-github-api-by-rust" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iigmir/icanhazdadjoke-to-github-api-by-rust on toolchain 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/iigmir/icanhazdadjoke-to-github-api-by-rust [INFO] finished tweaking git repo https://github.com/iigmir/icanhazdadjoke-to-github-api-by-rust [INFO] tweaked toml for git repo https://github.com/iigmir/icanhazdadjoke-to-github-api-by-rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/iigmir/icanhazdadjoke-to-github-api-by-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (rocket_contrib) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "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] f349a299da6d935484520e103ee5cb892bc7bf91828d1efd33418c4dd1d58f46 [INFO] running `"docker" "start" "-a" "f349a299da6d935484520e103ee5cb892bc7bf91828d1efd33418c4dd1d58f46"` [INFO] [stderr] warning: dependency (rocket_contrib) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Compiling isahc v0.7.6 [INFO] [stderr] Checking slash-formatter v2.2.5 [INFO] [stderr] Compiling libnghttp2-sys v0.1.2 [INFO] [stderr] Compiling curl-sys v0.4.25 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking libz-sys v1.0.25 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking native-tls v0.2.3 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking sluice v0.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Compiling rocket v0.4.2 [INFO] [stderr] Checking cookie v0.11.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking rocket_http v0.4.2 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling educe v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking easy-http-request v0.2.5 [INFO] [stderr] Checking surf v1.0.3 [INFO] [stderr] Checking rocket_contrib v0.4.2 [INFO] [stderr] Checking icanhazdadjoke-to-github-api-by-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `async_std` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use async_std::task; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `dyn std::error::Error + std::marker::Send + std::marker::Sync: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/main.rs:11:51 [INFO] [stderr] | [INFO] [stderr] 11 | return surf::get( "https://httpbin.org/get" ).recv_json().await?; [INFO] [stderr] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `dyn std::error::Error + std::marker::Send + std::marker::Sync` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::de::Deserialize<'_>` for `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `std::result::Result<(), std::boxed::Box>` [INFO] [stderr] = note: required because of the requirements on the impl of `serde::de::DeserializeOwned` for `std::result::Result<(), std::boxed::Box>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `impl std::future::Future: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> src/main.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | return json!({ "message": joke_request() }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `impl std::future::Future` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.48/src/value/mod.rs:954:8 [INFO] [stderr] | [INFO] [stderr] 954 | T: Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::value::to_value` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&impl std::future::Future` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `impl std::future::Future: rocket::response::Responder<'_>` is not satisfied [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[get("/joke")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ the trait `rocket::response::Responder<'_>` is not implemented for `impl std::future::Future` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rocket-0.4.2/src/handler.rs:202:20 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn from>(req: &Request, responder: T) -> Outcome<'r> { [INFO] [stderr] | ------------- required by this bound in `rocket::handler::, rocket::http::Status, rocket::Data>>::from` [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[E0432]: unresolved import `async_std` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use async_std::task; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `icanhazdadjoke-to-github-api-by-rust`. [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] error[E0277]: the trait bound `dyn std::error::Error + std::marker::Send + std::marker::Sync: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/main.rs:11:51 [INFO] [stderr] | [INFO] [stderr] 11 | return surf::get( "https://httpbin.org/get" ).recv_json().await?; [INFO] [stderr] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `dyn std::error::Error + std::marker::Send + std::marker::Sync` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::de::Deserialize<'_>` for `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `std::result::Result<(), std::boxed::Box>` [INFO] [stderr] = note: required because of the requirements on the impl of `serde::de::DeserializeOwned` for `std::result::Result<(), std::boxed::Box>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `impl std::future::Future: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> src/main.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | return json!({ "message": joke_request() }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `impl std::future::Future` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.48/src/value/mod.rs:954:8 [INFO] [stderr] | [INFO] [stderr] 954 | T: Serialize, [INFO] [stderr] | --------- required by this bound in `serde_json::value::to_value` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&impl std::future::Future` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `impl std::future::Future: rocket::response::Responder<'_>` is not satisfied [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[get("/joke")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ the trait `rocket::response::Responder<'_>` is not implemented for `impl std::future::Future` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rocket-0.4.2/src/handler.rs:202:20 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn from>(req: &Request, responder: T) -> Outcome<'r> { [INFO] [stderr] | ------------- required by this bound in `rocket::handler::, rocket::http::Status, rocket::Data>>::from` [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 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `icanhazdadjoke-to-github-api-by-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f349a299da6d935484520e103ee5cb892bc7bf91828d1efd33418c4dd1d58f46"` [INFO] running `"docker" "rm" "-f" "f349a299da6d935484520e103ee5cb892bc7bf91828d1efd33418c4dd1d58f46"` [INFO] [stdout] f349a299da6d935484520e103ee5cb892bc7bf91828d1efd33418c4dd1d58f46