[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e15817495efa9bb4133479c9e3146f25df279098 [INFO] checking kjellkongsvik/rocket_jwt against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [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 e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "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" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "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" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef331720f4c70c7f95988d6b36b5c5e91e4168d72c47bbc013c5032dec205cfd [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" "ef331720f4c70c7f95988d6b36b5c5e91e4168d72c47bbc013c5032dec205cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef331720f4c70c7f95988d6b36b5c5e91e4168d72c47bbc013c5032dec205cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef331720f4c70c7f95988d6b36b5c5e91e4168d72c47bbc013c5032dec205cfd", kill_on_drop: false }` [INFO] [stdout] ef331720f4c70c7f95988d6b36b5c5e91e4168d72c47bbc013c5032dec205cfd [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" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eee0567e29ff9b78c150d7de4ba899d7faea3b8e2e65272e457d3827e963eb0e [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" "eee0567e29ff9b78c150d7de4ba899d7faea3b8e2e65272e457d3827e963eb0e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking atomic v0.4.6 [INFO] [stderr] Checking base16 v0.2.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling pear_codegen v0.1.4 [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] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket?branch=async#4419dd3b) [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket?branch=async#4419dd3b) [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking http-body v0.3.1 [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] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=e58b3ac9a#e58b3ac9) [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [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 pear v0.1.4 [INFO] [stderr] Compiling tokio v0.2.21 [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 tokio-util v0.3.1 [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 jsonwebtoken v7.2.0 [INFO] [stderr] Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket?branch=async#4419dd3b) [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[E0277]: `std::result::Result<_, rocket::Rocket>` is not a future [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .attach(AdHoc::on_attach("TokenSecret", |r| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `std::result::Result<_, rocket::Rocket>` is not a future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rocket-8bf16d9ca7e90bdc/4419dd3/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::AdHoc::on_attach` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `std::result::Result<_, rocket::Rocket>` [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/4419dd3/core/lib/src/rocket.rs:951:38 [INFO] [stdout] | [INFO] [stdout] 951 | 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] [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[E0432]: unresolved import `rocket::local::Client` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use rocket::local::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `client` [INFO] [stdout] | no `Client` in `local` [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]: `std::result::Result<_, rocket::Rocket>` is not a future [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .attach(AdHoc::on_attach("TokenSecret", |r| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `std::result::Result<_, rocket::Rocket>` is not a future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rocket-8bf16d9ca7e90bdc/4419dd3/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::AdHoc::on_attach` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `std::result::Result<_, rocket::Rocket>` [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/4419dd3/core/lib/src/rocket.rs:951:38 [INFO] [stdout] | [INFO] [stdout] 951 | 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[E0277]: `std::result::Result` is not a future [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] | ^^^^^^^^^^^^^^^^ `std::result::Result` is not a future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rocket-8bf16d9ca7e90bdc/4419dd3/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::AdHoc::on_attach` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, 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" "eee0567e29ff9b78c150d7de4ba899d7faea3b8e2e65272e457d3827e963eb0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eee0567e29ff9b78c150d7de4ba899d7faea3b8e2e65272e457d3827e963eb0e", kill_on_drop: false }` [INFO] [stdout] eee0567e29ff9b78c150d7de4ba899d7faea3b8e2e65272e457d3827e963eb0e