[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#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiigmir%2Ficanhazdadjoke-to-github-api-by-rust" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iigmir/icanhazdadjoke-to-github-api-by-rust on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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-1/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 38d1f244ae7a414324910bddc5844a6f82982bf4e47540a8a008416d21297077 [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" "38d1f244ae7a414324910bddc5844a6f82982bf4e47540a8a008416d21297077"` [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] Checking smallvec v1.2.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking slash-formatter v2.2.5 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling libnghttp2-sys v0.1.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.25 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rocket v0.4.2 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking sluice v0.4.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling cookie v0.11.2 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling isahc v0.7.6 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking surf v1.0.3 [INFO] [stderr] Compiling educe v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking rocket_http v0.4.2 [INFO] [stderr] Checking easy-http-request v0.2.5 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [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[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[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: 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[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: 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: 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" "38d1f244ae7a414324910bddc5844a6f82982bf4e47540a8a008416d21297077"` [INFO] running `"docker" "rm" "-f" "38d1f244ae7a414324910bddc5844a6f82982bf4e47540a8a008416d21297077"` [INFO] [stdout] 38d1f244ae7a414324910bddc5844a6f82982bf4e47540a8a008416d21297077