[INFO] fetching crate habitica_rust_client 0.1.8... [INFO] checking habitica_rust_client-0.1.8 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate habitica_rust_client 0.1.8 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate habitica_rust_client 0.1.8 [INFO] finished tweaking crates.io crate habitica_rust_client 0.1.8 [INFO] tweaked toml for crates.io crate habitica_rust_client 0.1.8 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate habitica_rust_client 0.1.8 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 167 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4f595756385912d9f3e2ea8e0683fbd3da2016d19249f189f6da4ee2c62200e [INFO] running `Command { std: "docker" "start" "-a" "d4f595756385912d9f3e2ea8e0683fbd3da2016d19249f189f6da4ee2c62200e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4f595756385912d9f3e2ea8e0683fbd3da2016d19249f189f6da4ee2c62200e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f595756385912d9f3e2ea8e0683fbd3da2016d19249f189f6da4ee2c62200e", kill_on_drop: false }` [INFO] [stdout] d4f595756385912d9f3e2ea8e0683fbd3da2016d19249f189f6da4ee2c62200e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45f322d67765e69a34f5a0244c8978c2ecfafd4c63f1ed954d93368fff1245ee [INFO] running `Command { std: "docker" "start" "-a" "45f322d67765e69a34f5a0244c8978c2ecfafd4c63f1ed954d93368fff1245ee", kill_on_drop: false }` [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking habitica_rust_client v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `get` do not match the trait declaration [INFO] [stdout] --> src/task/habitica_client.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | fn get(&self, _url: &str) -> Result { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/task/rest_client.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] 10 | pub trait RestOperations { [INFO] [stdout] 11 | async fn get(&self, url: &str) -> Result; [INFO] [stdout] | --------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this bound might be missing in the impl [INFO] [stdout] | | this bound might be missing in the impl [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `get` do not match the trait declaration [INFO] [stdout] --> src/task/habitica_client.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | fn get(&self, _url: &str) -> Result { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/task/rest_client.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] 10 | pub trait RestOperations { [INFO] [stdout] 11 | async fn get(&self, url: &str) -> Result; [INFO] [stdout] | --------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this bound might be missing in the impl [INFO] [stdout] | | this bound might be missing in the impl [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/task/habitica_client.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(tasks.is_ok()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `inspect_ok` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/mod.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | / fn inspect_ok(self, f: F) -> InspectOk [INFO] [stdout] 468 | | where [INFO] [stdout] 469 | | F: FnOnce(&Self::Ok), [INFO] [stdout] 470 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 82 | assert!(tasks.await.is_ok()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/task/habitica_client.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(tasks.is_err()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `inspect_err` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/mod.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | / fn inspect_err(self, f: F) -> InspectErr [INFO] [stdout] 494 | | where [INFO] [stdout] 495 | | F: FnOnce(&Self::Error), [INFO] [stdout] 496 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 94 | assert!(tasks.await.is_err()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0195, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0195`. [INFO] [stdout] [INFO] [stderr] error: could not compile `habitica_rust_client` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/task_integration_test.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(tasks.unwrap().get_tasks().len() > 1); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 17 | assert!(tasks.await.unwrap().get_tasks().len() > 1); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `habitica_rust_client` (test "task_integration_test") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "45f322d67765e69a34f5a0244c8978c2ecfafd4c63f1ed954d93368fff1245ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f322d67765e69a34f5a0244c8978c2ecfafd4c63f1ed954d93368fff1245ee", kill_on_drop: false }` [INFO] [stdout] 45f322d67765e69a34f5a0244c8978c2ecfafd4c63f1ed954d93368fff1245ee