[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkiefel%2Ffooskill-backend" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkiefel/fooskill-backend on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-3-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_db_pools_codegen v0.1.0-rc.2 [INFO] [stderr] Downloaded rocket_db_pools v0.1.0-rc.2 [INFO] [stderr] Downloaded deadpool-redis v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d8747fbb3994d2803f8699bec406d139a097d3ff0305ee347769f3ab86d3619 [INFO] running `Command { std: "docker" "start" "-a" "6d8747fbb3994d2803f8699bec406d139a097d3ff0305ee347769f3ab86d3619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d8747fbb3994d2803f8699bec406d139a097d3ff0305ee347769f3ab86d3619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8747fbb3994d2803f8699bec406d139a097d3ff0305ee347769f3ab86d3619", kill_on_drop: false }` [INFO] [stdout] 6d8747fbb3994d2803f8699bec406d139a097d3ff0305ee347769f3ab86d3619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd6973322030a9e0477ac1fd172bef62781f5d56448f3acf90ad72f8a2bc23d6 [INFO] running `Command { std: "docker" "start" "-a" "bd6973322030a9e0477ac1fd172bef62781f5d56448f3acf90ad72f8a2bc23d6", 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 futures-core v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [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] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [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 block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking tempfile v3.3.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] Compiling convert_case v0.4.0 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking byteorder v1.4.3 [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 devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.1.0-rc.2 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking quick-error v1.2.3 [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] Checking 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] 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] 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] | ^^^^ - an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] | ^^^^^ - an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] | ^^^^ - an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] | ^^^^ - an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] | ^^^^ - an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] | ^^^^ -- an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] | ^^^^ - an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] | ^^^^ - an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] | ^^^^ - an argument 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>>`, which is required by `for<'a> &impl std::future::Future>>: Fn(&'a mut MemoryStoreCtx)` [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] error: aborting due to 32 previous errors [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 33 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bd6973322030a9e0477ac1fd172bef62781f5d56448f3acf90ad72f8a2bc23d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd6973322030a9e0477ac1fd172bef62781f5d56448f3acf90ad72f8a2bc23d6", kill_on_drop: false }` [INFO] [stdout] bd6973322030a9e0477ac1fd172bef62781f5d56448f3acf90ad72f8a2bc23d6 [INFO] checking mkiefel/fooskill-backend against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkiefel%2Ffooskill-backend" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkiefel/fooskill-backend on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-3-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 892872aa661de11cab3244434be6a56f9fdfeb3357f8808d203fa15e10c7b424 [INFO] running `Command { std: "docker" "start" "-a" "892872aa661de11cab3244434be6a56f9fdfeb3357f8808d203fa15e10c7b424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "892872aa661de11cab3244434be6a56f9fdfeb3357f8808d203fa15e10c7b424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "892872aa661de11cab3244434be6a56f9fdfeb3357f8808d203fa15e10c7b424", kill_on_drop: false }` [INFO] [stdout] 892872aa661de11cab3244434be6a56f9fdfeb3357f8808d203fa15e10c7b424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e9159095a0830c6614c9ff6ee7d500e3321d9510171d3eeb75626eb8b0be2fe [INFO] running `Command { std: "docker" "start" "-a" "2e9159095a0830c6614c9ff6ee7d500e3321d9510171d3eeb75626eb8b0be2fe", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "2e9159095a0830c6614c9ff6ee7d500e3321d9510171d3eeb75626eb8b0be2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9159095a0830c6614c9ff6ee7d500e3321d9510171d3eeb75626eb8b0be2fe", kill_on_drop: false }` [INFO] [stdout] 2e9159095a0830c6614c9ff6ee7d500e3321d9510171d3eeb75626eb8b0be2fe