[INFO] fetching crate habitica_rust_client 0.1.8... [INFO] testing habitica_rust_client-0.1.8 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate habitica_rust_client 0.1.8 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate habitica_rust_client 0.1.8 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 160 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd38e013494675e7a8d9d573daf27823cfa7e58954c5ec987de44c278394d041 [INFO] running `Command { std: "docker" "start" "-a" "bd38e013494675e7a8d9d573daf27823cfa7e58954c5ec987de44c278394d041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd38e013494675e7a8d9d573daf27823cfa7e58954c5ec987de44c278394d041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd38e013494675e7a8d9d573daf27823cfa7e58954c5ec987de44c278394d041", kill_on_drop: false }` [INFO] [stdout] bd38e013494675e7a8d9d573daf27823cfa7e58954c5ec987de44c278394d041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93a5b8f2860c623000bf131defdd550d0b6c0ad04d5a9e161271d23a6a1c0fae [INFO] running `Command { std: "docker" "start" "-a" "93a5b8f2860c623000bf131defdd550d0b6c0ad04d5a9e161271d23a6a1c0fae", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling habitica_rust_client v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "93a5b8f2860c623000bf131defdd550d0b6c0ad04d5a9e161271d23a6a1c0fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a5b8f2860c623000bf131defdd550d0b6c0ad04d5a9e161271d23a6a1c0fae", kill_on_drop: false }` [INFO] [stdout] 93a5b8f2860c623000bf131defdd550d0b6c0ad04d5a9e161271d23a6a1c0fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7d6585368453e9107ca66167c4d9d8fa733d42a5799843d69c80e0d72a5851 [INFO] running `Command { std: "docker" "start" "-a" "6e7d6585368453e9107ca66167c4d9d8fa733d42a5799843d69c80e0d72a5851", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `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] [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] [stderr] error: could not compile `habitica_rust_client` (test "task_integration_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "6e7d6585368453e9107ca66167c4d9d8fa733d42a5799843d69c80e0d72a5851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7d6585368453e9107ca66167c4d9d8fa733d42a5799843d69c80e0d72a5851", kill_on_drop: false }` [INFO] [stdout] 6e7d6585368453e9107ca66167c4d9d8fa733d42a5799843d69c80e0d72a5851