[INFO] fetching crate habitica-cli 0.1.4... [INFO] testing habitica-cli-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate habitica-cli 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate habitica-cli 0.1.4 [INFO] finished tweaking crates.io crate habitica-cli 0.1.4 [INFO] tweaked toml for crates.io crate habitica-cli 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate habitica-cli 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 196 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.46) [INFO] [stderr] Adding colored v1.9.4 (available: v3.0.0) [INFO] [stderr] Adding preferences v1.1.0 (available: v2.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded preferences v1.1.0 [INFO] [stderr] Downloaded habitica_rust_client v0.1.8 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d6c0ef8a69f3e15554cd34683793433252f5f456c65409a9e8ecc8585f3fb91 [INFO] running `Command { std: "docker" "start" "-a" "7d6c0ef8a69f3e15554cd34683793433252f5f456c65409a9e8ecc8585f3fb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d6c0ef8a69f3e15554cd34683793433252f5f456c65409a9e8ecc8585f3fb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d6c0ef8a69f3e15554cd34683793433252f5f456c65409a9e8ecc8585f3fb91", kill_on_drop: false }` [INFO] [stdout] 7d6c0ef8a69f3e15554cd34683793433252f5f456c65409a9e8ecc8585f3fb91 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 189f0c210db7bb03fc718ffa88f358567fb9cb8df256ed8bcb964223bcf777b0 [INFO] running `Command { std: "docker" "start" "-a" "189f0c210db7bb03fc718ffa88f358567fb9cb8df256ed8bcb964223bcf777b0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling app_dirs v1.2.1 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling preferences v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [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 [INFO] [stderr] Compiling habitica-cli v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/config/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | config.get(key.into()).unwrap().clone() [INFO] [stdout] | ^^^ ---------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Q` declared on the method `get` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: Borrow<_>` found in the following crates: `alloc`, `core`: [INFO] [stdout] - impl Borrow for String; [INFO] [stdout] - impl Borrow for T [INFO] [stdout] where T: ?Sized; [INFO] [stdout] note: required by a bound in `HashMap::::get` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/collections/hash/map.rs:909:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 25 | config.get::(key.into()).unwrap().clone() [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/config/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | config.get(key.into()).unwrap().clone() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&_: From<&str>` found in the following crates: `core`, `potential_utf`: [INFO] [stdout] - impl<'a> From<&'a str> for &'a potential_utf::ustr::PotentialUtf8; [INFO] [stdout] - impl From for T; [INFO] [stdout] = note: required for `&str` to implement `Into<&_>` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 25 - config.get(key.into()).unwrap().clone() [INFO] [stdout] 25 + config.get(<&str as Into<&Q>>::into(key)).unwrap().clone() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/task/mod.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | get_client().get_all_tasks().unwrap() [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] 33 | get_client().get_all_tasks().await.unwrap() [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `habitica-cli` (bin "habitica-cli") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "189f0c210db7bb03fc718ffa88f358567fb9cb8df256ed8bcb964223bcf777b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "189f0c210db7bb03fc718ffa88f358567fb9cb8df256ed8bcb964223bcf777b0", kill_on_drop: false }` [INFO] [stdout] 189f0c210db7bb03fc718ffa88f358567fb9cb8df256ed8bcb964223bcf777b0