[INFO] fetching crate pliantdb-server 0.1.0-dev.4... [INFO] checking pliantdb-server-0.1.0-dev.4 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate pliantdb-server 0.1.0-dev.4 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate pliantdb-server 0.1.0-dev.4 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pliantdb-server 0.1.0-dev.4 [INFO] finished tweaking crates.io crate pliantdb-server 0.1.0-dev.4 [INFO] tweaked toml for crates.io crate pliantdb-server 0.1.0-dev.4 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rcgen v0.8.12 [INFO] [stderr] Downloaded quinn v0.7.2 [INFO] [stderr] Downloaded allochronic-util v0.0.1-dev-1 [INFO] [stderr] Downloaded actionable v0.1.0-dev.4 [INFO] [stderr] Downloaded quinn-proto v0.7.3 [INFO] [stderr] Downloaded fabruic v0.0.1-dev.2 [INFO] [stderr] Downloaded circulate v0.1.0 [INFO] [stderr] Downloaded pliantdb-jobs v0.1.0-dev.4 [INFO] [stderr] Downloaded pliantdb-macros v0.1.0-dev.4 [INFO] [stderr] Downloaded pliantdb-core v0.1.0-dev.4 [INFO] [stderr] Downloaded pliantdb-local v0.1.0-dev.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a362599ec3239eb93dea05e09c657d2d30a4ed699ba4204e9ea845a4ffef6d21 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a362599ec3239eb93dea05e09c657d2d30a4ed699ba4204e9ea845a4ffef6d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a362599ec3239eb93dea05e09c657d2d30a4ed699ba4204e9ea845a4ffef6d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a362599ec3239eb93dea05e09c657d2d30a4ed699ba4204e9ea845a4ffef6d21", kill_on_drop: false }` [INFO] [stdout] a362599ec3239eb93dea05e09c657d2d30a4ed699ba4204e9ea845a4ffef6d21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 20a8ccecd52e0f12d2b996e99978707a8c8a3b68df20d22fa3afc9d34f848129 [INFO] running `Command { std: "docker" "start" "-a" "20a8ccecd52e0f12d2b996e99978707a8c8a3b68df20d22fa3afc9d34f848129", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] memchr v2.3.4 (as host dependency): default [INFO] [stderr] pliantdb-core v0.1.0-dev.4: test-util, tokio [INFO] [stderr] tokio v1.10.0: winapi [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking nanorand v0.6.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking yasna v0.4.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rcgen v0.8.12 [INFO] [stderr] Checking rusticata-macros v3.2.0 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling der-oid-macro v0.4.0 [INFO] [stderr] Compiling pliantdb-macros v0.1.0-dev.4 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling allochronic-util-macros v0.0.1-dev-1 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking der-parser v5.1.2 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking oid-registry v0.1.5 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking x509-parser v0.9.2 [INFO] [stderr] Checking flume v0.10.8 [INFO] [stderr] Compiling actionable-macros v0.1.0-dev.4 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking quinn-proto v0.7.3 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking quinn v0.7.2 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking actionable v0.1.0-dev.4 [INFO] [stderr] Checking pliantdb-jobs v0.1.0-dev.4 [INFO] [stderr] Checking circulate v0.1.0 [INFO] [stderr] Checking pliantdb-core v0.1.0-dev.4 [INFO] [stderr] Checking trybuild v1.0.45 [INFO] [stderr] Checking allochronic-util v0.0.1-dev-1 [INFO] [stderr] Checking fabruic v0.0.1-dev.2 [INFO] [stderr] Checking pliantdb-local v0.1.0-dev.4 [INFO] [stderr] Checking pliantdb-server v0.1.0-dev.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:765:21 [INFO] [stdout] | [INFO] [stdout] 765 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:794:21 [INFO] [stdout] | [INFO] [stdout] 794 | fn resource_name<'a>(&self, database: &'a String) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:816:21 [INFO] [stdout] | [INFO] [stdout] 816 | fn resource_name(&self) -> ResourceName<'static> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:840:21 [INFO] [stdout] | [INFO] [stdout] 840 | fn resource_name(&self) -> ResourceName<'static> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:878:21 [INFO] [stdout] | [INFO] [stdout] 878 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:949:21 [INFO] [stdout] | [INFO] [stdout] 949 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:990:21 [INFO] [stdout] | [INFO] [stdout] 990 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1080:21 [INFO] [stdout] | [INFO] [stdout] 1080 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | fn resource_name(&self) -> ResourceName<'_> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1136:21 [INFO] [stdout] | [INFO] [stdout] 1136 | fn resource_name(&self) -> ResourceName<'_> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1176:21 [INFO] [stdout] | [INFO] [stdout] 1176 | fn resource_name<'a>(&'a self, topic: &'a String, _payload: &'a Vec) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1258:21 [INFO] [stdout] | [INFO] [stdout] 1258 | fn resource_name<'a>(&'a self, _subscriber_id: &'a u64, topic: &'a String) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1289:21 [INFO] [stdout] | [INFO] [stdout] 1289 | fn resource_name<'a>(&'a self, _subscriber_id: &'a u64, topic: &'a String) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1347:21 [INFO] [stdout] | [INFO] [stdout] 1347 | fn resource_name<'a>(&'a self, op: &'a KeyOperation) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/server.rs:1157:41 [INFO] [stdout] | [INFO] [stdout] 1157 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1158 | | task_self [INFO] [stdout] 1159 | | .forward_notifications_for(subscriber.id, subscriber.receiver, response_sender.clone()) [INFO] [stdout] | | ------------- ------------------- in Rust 2018, this closure captures all of `subscriber`, but in Rust 2021, it will only capture `subscriber.receiver` [INFO] [stdout] | | | [INFO] [stdout] | | in Rust 2018, this closure captures all of `subscriber`, but in Rust 2021, it will only capture `subscriber.id` [INFO] [stdout] 1160 | | .await [INFO] [stdout] 1161 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 1169 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `subscriber` is dropped here, but in Rust 2021, only `subscriber.id` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `subscriber` is dropped here, but in Rust 2021, only `subscriber.receiver` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `subscriber` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1157 ~ tokio::spawn(async move { [INFO] [stdout] 1158 + let _ = &subscriber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0195`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pliantdb-server` due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:765:21 [INFO] [stdout] | [INFO] [stdout] 765 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:794:21 [INFO] [stdout] | [INFO] [stdout] 794 | fn resource_name<'a>(&self, database: &'a String) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:816:21 [INFO] [stdout] | [INFO] [stdout] 816 | fn resource_name(&self) -> ResourceName<'static> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:840:21 [INFO] [stdout] | [INFO] [stdout] 840 | fn resource_name(&self) -> ResourceName<'static> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:878:21 [INFO] [stdout] | [INFO] [stdout] 878 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:949:21 [INFO] [stdout] | [INFO] [stdout] 949 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:990:21 [INFO] [stdout] | [INFO] [stdout] 990 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1080:21 [INFO] [stdout] | [INFO] [stdout] 1080 | fn resource_name<'a>( [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | fn resource_name(&self) -> ResourceName<'_> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1136:21 [INFO] [stdout] | [INFO] [stdout] 1136 | fn resource_name(&self) -> ResourceName<'_> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1176:21 [INFO] [stdout] | [INFO] [stdout] 1176 | fn resource_name<'a>(&'a self, topic: &'a String, _payload: &'a Vec) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1258:21 [INFO] [stdout] | [INFO] [stdout] 1258 | fn resource_name<'a>(&'a self, _subscriber_id: &'a u64, topic: &'a String) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1289:21 [INFO] [stdout] | [INFO] [stdout] 1289 | fn resource_name<'a>(&'a self, _subscriber_id: &'a u64, topic: &'a String) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `resource_name` do not match the trait declaration [INFO] [stdout] --> src/server.rs:1347:21 [INFO] [stdout] | [INFO] [stdout] 1347 | fn resource_name<'a>(&'a self, op: &'a KeyOperation) -> ResourceName<'a> { [INFO] [stdout] | ^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/server.rs:1157:41 [INFO] [stdout] | [INFO] [stdout] 1157 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1158 | | task_self [INFO] [stdout] 1159 | | .forward_notifications_for(subscriber.id, subscriber.receiver, response_sender.clone()) [INFO] [stdout] | | ------------- ------------------- in Rust 2018, this closure captures all of `subscriber`, but in Rust 2021, it will only capture `subscriber.receiver` [INFO] [stdout] | | | [INFO] [stdout] | | in Rust 2018, this closure captures all of `subscriber`, but in Rust 2021, it will only capture `subscriber.id` [INFO] [stdout] 1160 | | .await [INFO] [stdout] 1161 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 1169 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `subscriber` is dropped here, but in Rust 2021, only `subscriber.id` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `subscriber` is dropped here, but in Rust 2021, only `subscriber.receiver` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `subscriber` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1157 ~ tokio::spawn(async move { [INFO] [stdout] 1158 + let _ = &subscriber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0195`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "20a8ccecd52e0f12d2b996e99978707a8c8a3b68df20d22fa3afc9d34f848129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a8ccecd52e0f12d2b996e99978707a8c8a3b68df20d22fa3afc9d34f848129", kill_on_drop: false }` [INFO] [stdout] 20a8ccecd52e0f12d2b996e99978707a8c8a3b68df20d22fa3afc9d34f848129