[INFO] cloning repository https://github.com/kjellkongsvik/rocket_jwt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjellkongsvik/rocket_jwt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjellkongsvik%2Frocket_jwt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjellkongsvik%2Frocket_jwt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e15817495efa9bb4133479c9e3146f25df279098 [INFO] checking kjellkongsvik/rocket_jwt against try#40b20bc1bf55bfe3b99c09c905e596d3e650663c for pr-73084-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjellkongsvik%2Frocket_jwt" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjellkongsvik/rocket_jwt on toolchain 40b20bc1bf55bfe3b99c09c905e596d3e650663c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+40b20bc1bf55bfe3b99c09c905e596d3e650663c" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kjellkongsvik/rocket_jwt [INFO] finished tweaking git repo https://github.com/kjellkongsvik/rocket_jwt [INFO] tweaked toml for git repo https://github.com/kjellkongsvik/rocket_jwt written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+40b20bc1bf55bfe3b99c09c905e596d3e650663c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/Rocket` [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/Devise.git` [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/cookie-rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+40b20bc1bf55bfe3b99c09c905e596d3e650663c" "fetch" "--locked" "--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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+40b20bc1bf55bfe3b99c09c905e596d3e650663c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e295971d889d13ed79abbb7ef581180e80898c3eccf9b198d10382ac7679cdd [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" "7e295971d889d13ed79abbb7ef581180e80898c3eccf9b198d10382ac7679cdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e295971d889d13ed79abbb7ef581180e80898c3eccf9b198d10382ac7679cdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e295971d889d13ed79abbb7ef581180e80898c3eccf9b198d10382ac7679cdd", kill_on_drop: false }` [INFO] [stdout] 7e295971d889d13ed79abbb7ef581180e80898c3eccf9b198d10382ac7679cdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+40b20bc1bf55bfe3b99c09c905e596d3e650663c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a90e40954fab797b566ca4482e9d06b83658e401375a4adc733115879150b97 [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" "1a90e40954fab797b566ca4482e9d06b83658e401375a4adc733115879150b97", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.55 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking base16 v0.2.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket?branch=async#f3a817b6) [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket?branch=async#f3a817b6) [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking simple_asn1 v0.4.0 [INFO] [stderr] Checking cookie v0.12.0 (https://github.com/SergioBenitez/cookie-rs?rev=e0f3e6c#e0f3e6c4) [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=e58b3ac9a#e58b3ac9) [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=e58b3ac9a#e58b3ac9) [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling ref-cast v1.0.2 [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=e58b3ac9a#e58b3ac9) [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.55 [INFO] [stderr] Checking jsonwebtoken v7.1.2 [INFO] [stderr] Checking rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket?branch=async#f3a817b6) [INFO] [stderr] Checking rocket_jwt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `get_string` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/main.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | let token_val = match r.config().get_string("token_secret") { [INFO] [stdout] | ^^^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_string` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/main.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | let token_val = match r.config().get_string("token_secret") { [INFO] [stdout] | ^^^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<_, rocket::rocket::Rocket>: std::future::Future` is not satisfied [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .attach(AdHoc::on_attach("TokenSecret", |r| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<_, rocket::rocket::Rocket>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rocket-8bf16d9ca7e90bdc/f3a817b/core/lib/src/fairing/ad_hoc.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | Fut: Future> + Send + 'static, [INFO] [stdout] | ------------------------------------- required by this bound in `rocket::fairing::ad_hoc::AdHoc::on_attach` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<_, rocket::rocket::Rocket>: std::future::Future` is not satisfied [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .attach(AdHoc::on_attach("TokenSecret", |r| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<_, rocket::rocket::Rocket>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rocket-8bf16d9ca7e90bdc/f3a817b/core/lib/src/fairing/ad_hoc.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | Fut: Future> + Send + 'static, [INFO] [stdout] | ------------------------------------- required by this bound in `rocket::fairing::ad_hoc::AdHoc::on_attach` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn main() -> Result<(), rocket::error::Error> { [INFO] [stdout] | -------------------------------- expected `std::result::Result<(), rocket::error::Error>` because of return type [INFO] [stdout] 16 | / rocket() [INFO] [stdout] 17 | | .attach(AdHoc::on_attach("TokenSecret", |r| { [INFO] [stdout] 18 | | let token_val = match r.config().get_string("token_secret") { [INFO] [stdout] 19 | | Ok(t) => t, [INFO] [stdout] ... | [INFO] [stdout] 23 | | })) [INFO] [stdout] 24 | | .launch() [INFO] [stdout] | |_________________^ expected enum `std::result::Result`, found opaque type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rocket-8bf16d9ca7e90bdc/f3a817b/core/lib/src/rocket.rs:948:38 [INFO] [stdout] | [INFO] [stdout] 948 | pub async fn launch(mut self) -> Result<(), crate::error::Error> { [INFO] [stdout] | ------------------------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), rocket::error::Error>` [INFO] [stdout] found opaque type `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn main() -> Result<(), rocket::error::Error> { [INFO] [stdout] | -------------------------------- expected `std::result::Result<(), rocket::error::Error>` because of return type [INFO] [stdout] 16 | / rocket() [INFO] [stdout] 17 | | .attach(AdHoc::on_attach("TokenSecret", |r| { [INFO] [stdout] 18 | | let token_val = match r.config().get_string("token_secret") { [INFO] [stdout] 19 | | Ok(t) => t, [INFO] [stdout] ... | [INFO] [stdout] 23 | | })) [INFO] [stdout] 24 | | .launch() [INFO] [stdout] | |_________________^ expected enum `std::result::Result`, found opaque type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rocket-8bf16d9ca7e90bdc/f3a817b/core/lib/src/rocket.rs:948:38 [INFO] [stdout] | [INFO] [stdout] 948 | pub async fn launch(mut self) -> Result<(), crate::error::Error> { [INFO] [stdout] | ------------------------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), rocket::error::Error>` [INFO] [stdout] found opaque type `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result: std::future::Future` is not satisfied [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | AdHoc::on_attach("TokenSecret", |r| Ok(r.manage(TokenSecret(secret_key())))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rocket-8bf16d9ca7e90bdc/f3a817b/core/lib/src/fairing/ad_hoc.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | Fut: Future> + Send + 'static, [INFO] [stdout] | ------------------------------------- required by this bound in `rocket::fairing::ad_hoc::AdHoc::on_attach` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/main.rs:58:74 [INFO] [stdout] | [INFO] [stdout] 58 | let client = Client::new(rocket().attach(manage_token_secret())).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/main.rs:66:74 [INFO] [stdout] | [INFO] [stdout] 66 | let client = Client::new(rocket().attach(manage_token_secret())).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_jwt`. [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] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1a90e40954fab797b566ca4482e9d06b83658e401375a4adc733115879150b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a90e40954fab797b566ca4482e9d06b83658e401375a4adc733115879150b97", kill_on_drop: false }` [INFO] [stdout] 1a90e40954fab797b566ca4482e9d06b83658e401375a4adc733115879150b97