[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] testing kjellkongsvik/rocket_jwt against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjellkongsvik%2Frocket_jwt" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjellkongsvik/rocket_jwt on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99f93286d94c22ed6978dc2131603620248c5d03bc5624bdff87eaa68dac4d24 [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" "99f93286d94c22ed6978dc2131603620248c5d03bc5624bdff87eaa68dac4d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99f93286d94c22ed6978dc2131603620248c5d03bc5624bdff87eaa68dac4d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f93286d94c22ed6978dc2131603620248c5d03bc5624bdff87eaa68dac4d24", kill_on_drop: false }` [INFO] [stdout] 99f93286d94c22ed6978dc2131603620248c5d03bc5624bdff87eaa68dac4d24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35a698a2c23cbf785a559fa7bf2d3c7e131706c7442510ff9b4d7499b558aec9 [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" "35a698a2c23cbf785a559fa7bf2d3c7e131706c7442510ff9b4d7499b558aec9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [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 percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling atomic v0.4.6 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling pear_codegen v0.1.4 [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] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.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] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling pem v0.8.1 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling 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 futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [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 tokio v0.2.22 [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=e58b3ac9a#e58b3ac9) [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket?branch=async#4419dd3b) [INFO] [stderr] Compiling 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] running `Command { std: "docker" "inspect" "35a698a2c23cbf785a559fa7bf2d3c7e131706c7442510ff9b4d7499b558aec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a698a2c23cbf785a559fa7bf2d3c7e131706c7442510ff9b4d7499b558aec9", kill_on_drop: false }` [INFO] [stdout] 35a698a2c23cbf785a559fa7bf2d3c7e131706c7442510ff9b4d7499b558aec9