[INFO] fetching crate habitica_rust_client 0.1.8... [INFO] testing habitica_rust_client-0.1.8 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate habitica_rust_client 0.1.8 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate habitica_rust_client 0.1.8 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 168 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d4bc4aa90d3bf06b49fe70f5abae0a5dade0664ad26c7e09140a1f12041cdd9 [INFO] running `Command { std: "docker" "start" "-a" "4d4bc4aa90d3bf06b49fe70f5abae0a5dade0664ad26c7e09140a1f12041cdd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d4bc4aa90d3bf06b49fe70f5abae0a5dade0664ad26c7e09140a1f12041cdd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4bc4aa90d3bf06b49fe70f5abae0a5dade0664ad26c7e09140a1f12041cdd9", kill_on_drop: false }` [INFO] [stdout] 4d4bc4aa90d3bf06b49fe70f5abae0a5dade0664ad26c7e09140a1f12041cdd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1394a4777ed1478c1d38eee961ce00e7090bbd83a7b92fe719ea356472b65060 [INFO] running `Command { std: "docker" "start" "-a" "1394a4777ed1478c1d38eee961ce00e7090bbd83a7b92fe719ea356472b65060", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [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 zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [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 47.76s [INFO] running `Command { std: "docker" "inspect" "1394a4777ed1478c1d38eee961ce00e7090bbd83a7b92fe719ea356472b65060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1394a4777ed1478c1d38eee961ce00e7090bbd83a7b92fe719ea356472b65060", kill_on_drop: false }` [INFO] [stdout] 1394a4777ed1478c1d38eee961ce00e7090bbd83a7b92fe719ea356472b65060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c7c3269ff5e44ab43a67f3250370b32b37e41eb37f83aa6e0ca26796f692f9 [INFO] running `Command { std: "docker" "start" "-a" "a9c7c3269ff5e44ab43a67f3250370b32b37e41eb37f83aa6e0ca26796f692f9", 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] [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] 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.32/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.32/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] running `Command { std: "docker" "inspect" "a9c7c3269ff5e44ab43a67f3250370b32b37e41eb37f83aa6e0ca26796f692f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c7c3269ff5e44ab43a67f3250370b32b37e41eb37f83aa6e0ca26796f692f9", kill_on_drop: false }` [INFO] [stdout] a9c7c3269ff5e44ab43a67f3250370b32b37e41eb37f83aa6e0ca26796f692f9