[INFO] cloning repository https://github.com/mkiefel/fooskill-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkiefel/fooskill-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkiefel%2Ffooskill-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkiefel%2Ffooskill-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa62a08126fc4060b0922fdf3861d1335defa04c [INFO] checking mkiefel/fooskill-backend/fa62a08126fc4060b0922fdf3861d1335defa04c against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkiefel%2Ffooskill-backend" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkiefel/fooskill-backend on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mkiefel/fooskill-backend [INFO] finished tweaking git repo https://github.com/mkiefel/fooskill-backend [INFO] tweaked toml for git repo https://github.com/mkiefel/fooskill-backend written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mkiefel/fooskill-backend 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f04c65d8f0223b464e3cba79289ddd795347823a9773bbd85bfa36f3dd1f6776 [INFO] running `Command { std: "docker" "start" "-a" "f04c65d8f0223b464e3cba79289ddd795347823a9773bbd85bfa36f3dd1f6776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04c65d8f0223b464e3cba79289ddd795347823a9773bbd85bfa36f3dd1f6776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04c65d8f0223b464e3cba79289ddd795347823a9773bbd85bfa36f3dd1f6776", kill_on_drop: false }` [INFO] [stdout] f04c65d8f0223b464e3cba79289ddd795347823a9773bbd85bfa36f3dd1f6776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae3f93b40c96b6342dc5a56c98bc5186b30d4f098545f03e7252d01a4d43ea70 [INFO] running `Command { std: "docker" "start" "-a" "ae3f93b40c96b6342dc5a56c98bc5186b30d4f098545f03e7252d01a4d43ea70", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.7 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.1.0-rc.2 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking deadpool-runtime v0.1.2 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking ubyte v0.10.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking redis v0.21.5 [INFO] [stderr] Checking rocket_http v0.5.0-rc.2 [INFO] [stderr] Checking deadpool-redis v0.10.2 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking rocket_db_pools v0.1.0-rc.2 [INFO] [stderr] Checking fooskill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/skill_base.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct GameId(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/skill_base.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct GameId(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/skill_base.rs:379:1 [INFO] [stdout] | [INFO] [stdout] 379 | / pub async fn create_user( [INFO] [stdout] 380 | | con: &mut Connection, [INFO] [stdout] 381 | | group_id: &GroupId, [INFO] [stdout] 382 | | user_id: &UserId, [INFO] [stdout] 383 | | name: &str, [INFO] [stdout] 384 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/skill_base.rs:394:39 [INFO] [stdout] | [INFO] [stdout] 394 | redis::cmd("WATCH").arg(&key).query_async(con).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/skill_base.rs:379:1 [INFO] [stdout] | [INFO] [stdout] 379 | / pub async fn create_user( [INFO] [stdout] 380 | | con: &mut Connection, [INFO] [stdout] 381 | | group_id: &GroupId, [INFO] [stdout] 382 | | user_id: &UserId, [INFO] [stdout] 383 | | name: &str, [INFO] [stdout] 384 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/skill_base.rs:394:39 [INFO] [stdout] | [INFO] [stdout] 394 | redis::cmd("WATCH").arg(&key).query_async(con).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `get_node` do not match the trait declaration [INFO] [stdout] --> src/merge.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 49 | async fn get_node(&mut self, index: &Self::Index) [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] | this bound might be missing in the impl [INFO] [stdout] ... [INFO] [stdout] 232 | async fn get_node( [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `set_node` do not match the trait declaration [INFO] [stdout] --> src/merge.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 57 | async fn set_node(&mut self, index: &Self::Index, item: Mergeable); [INFO] [stdout] | ---------------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] | this bound might be missing in the impl [INFO] [stdout] ... [INFO] [stdout] 239 | async fn set_node( [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/skill_base.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | async fn get_node( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/skill_base.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | .query_async(self.con) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/skill_base.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | async fn get_node( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/skill_base.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | .query_async(self.con) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/merge.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | let r = t(&mut ops)?; [INFO] [stdout] | ^^^^^^^^^^^^ the `?` operator cannot be applied to type `R` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `R` [INFO] [stdout] | [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, R: std::ops::Try [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(find_first.unwrap(), "first"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | impl std::future::Future>> [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl std::future::Future>>` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/merge.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(find_first.unwrap(), "first"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `impl std::future::Future>>` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/merge.rs:280:38 [INFO] [stdout] | [INFO] [stdout] 280 | let find_second = store.run(&find(1)); [INFO] [stdout] | ^^^^ - argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn find(ctx: &mut C, index: K) -> Result> [INFO] [stdout] | ^^^^ ----------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 280 | let find_second = store.run(&find(/* ctx */, 1)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:280:38 [INFO] [stdout] | [INFO] [stdout] 280 | let find_second = store.run(&find(1)); [INFO] [stdout] | --- ^^^^^^^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:280:37 [INFO] [stdout] | [INFO] [stdout] 280 | let find_second = store.run(&find(1)); [INFO] [stdout] | --- ^^^^^^^^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/merge.rs:288:32 [INFO] [stdout] | [INFO] [stdout] 288 | let merge = store.run(&merge(0, 1, |left: &String, right: &mut String| { [INFO] [stdout] | ^^^^^ - argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | pub async fn merge( [INFO] [stdout] | ^^^^^ [INFO] [stdout] 188 | ctx: &mut C, [INFO] [stdout] | ----------- [INFO] [stdout] 189 | left_index: K, [INFO] [stdout] | ------------- [INFO] [stdout] 190 | right_index: K, [INFO] [stdout] | -------------- [INFO] [stdout] 191 | merge_op: F, [INFO] [stdout] | ----------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 288 ~ let merge = store.run(&merge(/* ctx */, 1, 0, |left: &String, right: &mut String| { [INFO] [stdout] 289 + *right = left.to_owned() + " " + right [INFO] [stdout] 290 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:288:32 [INFO] [stdout] | [INFO] [stdout] 288 | let merge = store.run(&merge(0, 1, |left: &String, right: &mut String| { [INFO] [stdout] | ___________________________---__^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 289 | | *right = left.to_owned() + " " + right [INFO] [stdout] 290 | | })); [INFO] [stdout] | |__________^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:288:31 [INFO] [stdout] | [INFO] [stdout] 288 | let merge = store.run(&merge(0, 1, |left: &String, right: &mut String| { [INFO] [stdout] | ___________________________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 289 | | *right = left.to_owned() + " " + right [INFO] [stdout] 290 | | })); [INFO] [stdout] | |__________^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/merge.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | let find_first = store.run(&find(0)); [INFO] [stdout] | ^^^^ - argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn find(ctx: &mut C, index: K) -> Result> [INFO] [stdout] | ^^^^ ----------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 295 | let find_first = store.run(&find(/* ctx */, 0)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | let find_first = store.run(&find(0)); [INFO] [stdout] | --- ^^^^^^^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:295:36 [INFO] [stdout] | [INFO] [stdout] 295 | let find_first = store.run(&find(0)); [INFO] [stdout] | --- ^^^^^^^^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/merge.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 299 | let find_second = store.run(&find(1)); [INFO] [stdout] | ^^^^ - argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn find(ctx: &mut C, index: K) -> Result> [INFO] [stdout] | ^^^^ ----------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 299 | let find_second = store.run(&find(/* ctx */, 1)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 299 | let find_second = store.run(&find(1)); [INFO] [stdout] | --- ^^^^^^^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | let find_second = store.run(&find(1)); [INFO] [stdout] | --- ^^^^^^^^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/merge.rs:303:37 [INFO] [stdout] | [INFO] [stdout] 303 | let find_third = store.run(&find(2)); [INFO] [stdout] | ^^^^ - argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn find(ctx: &mut C, index: K) -> Result> [INFO] [stdout] | ^^^^ ----------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 303 | let find_third = store.run(&find(/* ctx */, 2)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:303:37 [INFO] [stdout] | [INFO] [stdout] 303 | let find_third = store.run(&find(2)); [INFO] [stdout] | --- ^^^^^^^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:303:36 [INFO] [stdout] | [INFO] [stdout] 303 | let find_third = store.run(&find(2)); [INFO] [stdout] | --- ^^^^^^^^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/merge.rs:311:34 [INFO] [stdout] | [INFO] [stdout] 311 | let missing = store.run(&find(14)); [INFO] [stdout] | ^^^^ -- argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn find(ctx: &mut C, index: K) -> Result> [INFO] [stdout] | ^^^^ ----------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 311 | let missing = store.run(&find(/* ctx */, 14)); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:311:34 [INFO] [stdout] | [INFO] [stdout] 311 | let missing = store.run(&find(14)); [INFO] [stdout] | --- ^^^^^^^^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:311:33 [INFO] [stdout] | [INFO] [stdout] 311 | let missing = store.run(&find(14)); [INFO] [stdout] | --- ^^^^^^^^^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/merge.rs:323:41 [INFO] [stdout] | [INFO] [stdout] 323 | let missing_parent = store.run(&find(0)); [INFO] [stdout] | ^^^^ - argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn find(ctx: &mut C, index: K) -> Result> [INFO] [stdout] | ^^^^ ----------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 323 | let missing_parent = store.run(&find(/* ctx */, 0)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:323:41 [INFO] [stdout] | [INFO] [stdout] 323 | let missing_parent = store.run(&find(0)); [INFO] [stdout] | --- ^^^^^^^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:323:40 [INFO] [stdout] | [INFO] [stdout] 323 | let missing_parent = store.run(&find(0)); [INFO] [stdout] | --- ^^^^^^^^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/merge.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | let find_on_leaf = store.run(&find(3)); [INFO] [stdout] | ^^^^ - argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn find(ctx: &mut C, index: K) -> Result> [INFO] [stdout] | ^^^^ ----------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 340 | let find_on_leaf = store.run(&find(/* ctx */, 3)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | let find_on_leaf = store.run(&find(3)); [INFO] [stdout] | --- ^^^^^^^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:340:38 [INFO] [stdout] | [INFO] [stdout] 340 | let find_on_leaf = store.run(&find(3)); [INFO] [stdout] | --- ^^^^^^^^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/merge.rs:343:39 [INFO] [stdout] | [INFO] [stdout] 343 | let find_on_leaf = store.run(&find(3)); [INFO] [stdout] | ^^^^ - argument #1 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/merge.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn find(ctx: &mut C, index: K) -> Result> [INFO] [stdout] | ^^^^ ----------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 343 | let find_on_leaf = store.run(&find(/* ctx */, 3)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:343:39 [INFO] [stdout] | [INFO] [stdout] 343 | let find_on_leaf = store.run(&find(3)); [INFO] [stdout] | --- ^^^^^^^ expected an `Fn(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] = note: required for `&impl std::future::Future>>` to implement `for<'a> Fn(&'a mut MemoryStoreCtx)` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] --> src/merge.rs:343:38 [INFO] [stdout] | [INFO] [stdout] 343 | let find_on_leaf = store.run(&find(3)); [INFO] [stdout] | --- ^^^^^^^^ expected an `FnOnce(&mut MemoryStoreCtx)` closure, found `impl std::future::Future>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> FnOnce(&'a mut MemoryStoreCtx)` is not implemented for `impl std::future::Future>>` [INFO] [stdout] note: required by a bound in `MemoryStore::run` [INFO] [stdout] --> src/merge.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn run(&mut self, t: T) -> Result> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 252 | where [INFO] [stdout] 253 | T: Fn(&mut MemoryStoreCtx) -> R, [INFO] [stdout] | ^ required by this bound in `MemoryStore::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_merge` is never used [INFO] [stdout] --> src/merge.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | async fn run_merge( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge` is never used [INFO] [stdout] --> src/merge.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | pub async fn merge( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Draw` and `Lost` are never constructed [INFO] [stdout] --> src/true_skill.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum GameResult { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 6 | Won, [INFO] [stdout] 7 | Draw, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Lost, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0195, E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fooskill` (lib test) due to 32 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ae3f93b40c96b6342dc5a56c98bc5186b30d4f098545f03e7252d01a4d43ea70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3f93b40c96b6342dc5a56c98bc5186b30d4f098545f03e7252d01a4d43ea70", kill_on_drop: false }` [INFO] [stdout] ae3f93b40c96b6342dc5a56c98bc5186b30d4f098545f03e7252d01a4d43ea70