[INFO] cloning repository https://github.com/YuukiKawabata/FlowVersion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YuukiKawabata/FlowVersion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuukiKawabata%2FFlowVersion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuukiKawabata%2FFlowVersion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f53274fd077ea2618d6573bc38233ae25357dc84 [INFO] testing YuukiKawabata/FlowVersion against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuukiKawabata%2FFlowVersion" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 93% (7406/7880) Updating files: 94% (7408/7880) Updating files: 95% (7486/7880) Updating files: 96% (7565/7880) Updating files: 97% (7644/7880) Updating files: 98% (7723/7880) Updating files: 99% (7802/7880) Updating files: 100% (7880/7880) Updating files: 100% (7880/7880), done. [INFO] started tweaking git repo https://github.com/YuukiKawabata/FlowVersion [INFO] finished tweaking git repo https://github.com/YuukiKawabata/FlowVersion [INFO] tweaked toml for git repo https://github.com/YuukiKawabata/FlowVersion written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YuukiKawabata/FlowVersion on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YuukiKawabata/FlowVersion already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 016d72f39cff25b4c558a7716fe9704ebe26b1614b3c2270b7dad4c09ce40c90 [INFO] running `Command { std: "docker" "start" "-a" "016d72f39cff25b4c558a7716fe9704ebe26b1614b3c2270b7dad4c09ce40c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "016d72f39cff25b4c558a7716fe9704ebe26b1614b3c2270b7dad4c09ce40c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "016d72f39cff25b4c558a7716fe9704ebe26b1614b3c2270b7dad4c09ce40c90", kill_on_drop: false }` [INFO] [stdout] 016d72f39cff25b4c558a7716fe9704ebe26b1614b3c2270b7dad4c09ce40c90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c481ef8bc0668bb1c8e7ac3b5a01b561a7578e4d34e94c492cbeffa69ce24d46 [INFO] running `Command { std: "docker" "start" "-a" "c481ef8bc0668bb1c8e7ac3b5a01b561a7578e4d34e94c492cbeffa69ce24d46", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling globset v0.4.16 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling hex v0.4.3 [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 flowversion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::repository::Repository` [INFO] [stdout] --> src/cli/commands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core::repository::Repository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `intention` [INFO] [stdout] --> src/cli/handlers.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 108 | let intention = Intention::new(goal, context, impact, confidence.unwrap_or(0.8)); [INFO] [stdout] | --------- move occurs because `intention` has type `Intention`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 111 | let commit_id = repo.commit_with_intention(intention).await?; [INFO] [stdout] | --------- value moved here [INFO] [stdout] ... [INFO] [stdout] 126 | println!("Confidence: {:.1}%", intention.confidence * 100.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `commit_with_intention` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/core/repository.rs:104:58 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn commit_with_intention(&self, intention: Intention) -> Result { [INFO] [stdout] | --------------------- in this method ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 111 | let commit_id = repo.commit_with_intention(intention.clone()).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/cli/handlers.rs:139:47 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn handle(&self, oneline: bool, graph: bool, intentions: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::sync::RwLock>: Serialize` is not satisfied [INFO] [stdout] --> src/storage/index.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `tokio::sync::RwLock>` [INFO] [stdout] 16 | pub struct Index { [INFO] [stdout] 17 | entries: RwLock>, [INFO] [stdout] | -------------------------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tokio::sync::RwLock>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 162 others [INFO] [stdout] note: required by a bound in `intention::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1865 | where [INFO] [stdout] 1866 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::sync::RwLock>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/storage/index.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | entries: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `tokio::sync::RwLock>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tokio::sync::RwLock>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 173 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::sync::RwLock>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/storage/index.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | entries: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `tokio::sync::RwLock>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tokio::sync::RwLock>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 173 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::sync::RwLock>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/storage/index.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `tokio::sync::RwLock>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tokio::sync::RwLock>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 173 others [INFO] [stdout] note: required by a bound in `intention::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/core/intention.rs:124:59 [INFO] [stdout] | [INFO] [stdout] 124 | let self_words: std::collections::HashSet<&str> = self.goal [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 125 | | .to_lowercase() [INFO] [stdout] | |___________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 126 | .split_whitespace() [INFO] [stdout] 127 | .collect(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 133 | let intersection = self_words.intersection(&other_words).count(); [INFO] [stdout] | ---------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 124 ~ let binding = self.goal [INFO] [stdout] 125 + .to_lowercase(); [INFO] [stdout] 126 ~ let self_words: std::collections::HashSet<&str> = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/core/intention.rs:128:60 [INFO] [stdout] | [INFO] [stdout] 128 | let other_words: std::collections::HashSet<&str> = other.goal [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 129 | | .to_lowercase() [INFO] [stdout] | |___________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 130 | .split_whitespace() [INFO] [stdout] 131 | .collect(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 132 | [INFO] [stdout] 133 | let intersection = self_words.intersection(&other_words).count(); [INFO] [stdout] | ------------ borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 128 ~ let binding = other.goal [INFO] [stdout] 129 + .to_lowercase(); [INFO] [stdout] 130 ~ let other_words: std::collections::HashSet<&str> = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flowversion` (bin "flow") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c481ef8bc0668bb1c8e7ac3b5a01b561a7578e4d34e94c492cbeffa69ce24d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c481ef8bc0668bb1c8e7ac3b5a01b561a7578e4d34e94c492cbeffa69ce24d46", kill_on_drop: false }` [INFO] [stdout] c481ef8bc0668bb1c8e7ac3b5a01b561a7578e4d34e94c492cbeffa69ce24d46