[INFO] fetching crate ya-service-bus 0.7.3... [INFO] checking ya-service-bus-0.7.3 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate ya-service-bus 0.7.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate ya-service-bus 0.7.3 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ya-service-bus 0.7.3 [INFO] finished tweaking crates.io crate ya-service-bus 0.7.3 [INFO] tweaked toml for crates.io crate ya-service-bus 0.7.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate ya-service-bus 0.7.3 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ya-sb-util v0.5.1 [INFO] [stderr] Downloaded pin-project-internal v0.4.30 [INFO] [stderr] Downloaded actix_derive v0.6.0 [INFO] [stderr] Downloaded pin-project v0.4.30 [INFO] [stderr] Downloaded ya-sb-proto v0.6.2 [INFO] [stderr] Downloaded actix-macros v0.2.4 [INFO] [stderr] Downloaded actix v0.13.3 [INFO] [stderr] Downloaded pest v2.7.9 [INFO] [stderr] Downloaded async-stream-impl v0.2.1 [INFO] [stderr] Downloaded async-stream v0.2.1 [INFO] [stderr] Downloaded flexbuffers v2.0.0 [INFO] [stderr] Downloaded semver-parser v0.10.2 [INFO] [stderr] Downloaded semver v0.11.0 [INFO] [stderr] Downloaded ya-packet-trace v0.1.0 [INFO] [stderr] Downloaded prost-derive v0.10.1 [INFO] [stderr] Downloaded prost v0.10.4 [INFO] [stderr] Downloaded prost-types v0.10.1 [INFO] [stderr] Downloaded prost-build v0.10.4 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7cb8b8b3bddcb7714c8423b90458435c35e841816339ab680d7bc76917d8acf [INFO] running `Command { std: "docker" "start" "-a" "a7cb8b8b3bddcb7714c8423b90458435c35e841816339ab680d7bc76917d8acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7cb8b8b3bddcb7714c8423b90458435c35e841816339ab680d7bc76917d8acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7cb8b8b3bddcb7714c8423b90458435c35e841816339ab680d7bc76917d8acf", kill_on_drop: false }` [INFO] [stdout] a7cb8b8b3bddcb7714c8423b90458435c35e841816339ab680d7bc76917d8acf [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d40b267bc551444f26f848228eecd524792be0ebf475e9bf722e84fa7d562774 [INFO] running `Command { std: "docker" "start" "-a" "d40b267bc551444f26f848228eecd524792be0ebf475e9bf722e84fa7d562774", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking ya-packet-trace v0.1.0 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pest v2.7.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking actix v0.13.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ya-sb-util v0.5.1 [INFO] [stderr] Compiling ya-sb-proto v0.6.2 [INFO] [stderr] Checking flexbuffers v2.0.0 [INFO] [stderr] Checking ya-service-bus v0.7.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.47s [INFO] running `Command { std: "docker" "inspect" "d40b267bc551444f26f848228eecd524792be0ebf475e9bf722e84fa7d562774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d40b267bc551444f26f848228eecd524792be0ebf475e9bf722e84fa7d562774", kill_on_drop: false }` [INFO] [stdout] d40b267bc551444f26f848228eecd524792be0ebf475e9bf722e84fa7d562774 [INFO] checking ya-service-bus-0.7.3 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate ya-service-bus 0.7.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ya-service-bus 0.7.3 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ya-service-bus 0.7.3 [INFO] finished tweaking crates.io crate ya-service-bus 0.7.3 [INFO] tweaked toml for crates.io crate ya-service-bus 0.7.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate ya-service-bus 0.7.3 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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11b1c2086aefe679dcc6884084a016da3bff35e966faa2f447b205f579c846eb [INFO] running `Command { std: "docker" "start" "-a" "11b1c2086aefe679dcc6884084a016da3bff35e966faa2f447b205f579c846eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11b1c2086aefe679dcc6884084a016da3bff35e966faa2f447b205f579c846eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b1c2086aefe679dcc6884084a016da3bff35e966faa2f447b205f579c846eb", kill_on_drop: false }` [INFO] [stdout] 11b1c2086aefe679dcc6884084a016da3bff35e966faa2f447b205f579c846eb [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c888664534bd0da8230c30603579da555af520e6696476f40655c3dcb98872c [INFO] running `Command { std: "docker" "start" "-a" "9c888664534bd0da8230c30603579da555af520e6696476f40655c3dcb98872c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (4 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking ya-packet-trace v0.1.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking pest v2.7.9 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking actix v0.13.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling ya-sb-proto v0.6.2 [INFO] [stderr] Checking ya-sb-util v0.5.1 [INFO] [stderr] Checking flexbuffers v2.0.0 [INFO] [stderr] Checking ya-service-bus v0.7.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/connection.rs (1 fix) [INFO] [stderr] Migrating examples/test_async_aw.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/test_async_aw.rs (1 fix) [INFO] [stderr] Migrating examples/test_compat.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/test_compat.rs (1 fix) [INFO] [stderr] Migrating examples/test_router_raw.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/test_router_raw.rs (1 fix) [INFO] [stderr] Migrating tests/test_streaming.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/test_actix_service.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/test_actix_service.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.55s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ya-service-bus v0.7.3 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/actix_rpc.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 49 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 53 | b.forward(self.addr.as_ref(), RpcEnvelope::local(msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures::Future as actix::Message>::Result, error::Error>> + 'static`'s explicit `'static` bound to the lifetime of argument `self` [INFO] [stdout] | [INFO] [stdout] 51 | ) -> impl Future as Message>::Result, BusError>> + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 49 | &'static actix_rpc::Endpoint, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `b` [INFO] [stdout] --> src/actix_rpc.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | b.forward(self.addr.as_ref(), RpcEnvelope::local(msg)) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `b` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/actix_rpc.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 57 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 62 | b.forward(self.addr.as_ref(), RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures::Future as actix::Message>::Result, error::Error>> + 'static`'s explicit `'static` bound to the lifetime of argument `self` [INFO] [stdout] | [INFO] [stdout] 60 | ) -> impl Future as Message>::Result, BusError>> + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 57 | &'static actix_rpc::Endpoint, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `b` [INFO] [stdout] --> src/actix_rpc.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | b.forward(self.addr.as_ref(), RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `b` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/actix_rpc.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 66 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 70 | b.push(self.addr.as_ref(), RpcEnvelope::local(msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures::Future> + 'static`'s explicit `'static` bound to the lifetime of argument `self` [INFO] [stdout] | [INFO] [stdout] 68 | ) -> impl Future> + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 66 | &'static actix_rpc::Endpoint, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `b` [INFO] [stdout] --> src/actix_rpc.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | b.push(self.addr.as_ref(), RpcEnvelope::local(msg)) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `b` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/actix_rpc.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 79 | b.push(self.addr.as_ref(), RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures::Future> + 'static`'s explicit `'static` bound to the lifetime of argument `self` [INFO] [stdout] | [INFO] [stdout] 77 | ) -> impl Future> + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 74 | &'static actix_rpc::Endpoint, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `b` [INFO] [stdout] --> src/actix_rpc.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | b.push(self.addr.as_ref(), RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `b` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/actix_rpc.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 83 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 87 | // self.router [INFO] [stdout] 88 | || .lock() [INFO] [stdout] 89 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 90 | | .streaming_forward(&self.addr, msg) [INFO] [stdout] | |________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 91 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/actix_rpc.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 49 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 53 | b.forward(self.addr.as_ref(), RpcEnvelope::local(msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures::Future as actix::Message>::Result, error::Error>> + 'static`'s explicit `'static` bound to the lifetime of argument `self` [INFO] [stdout] | [INFO] [stdout] 51 | ) -> impl Future as Message>::Result, BusError>> + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 49 | &'static actix_rpc::Endpoint, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `b` [INFO] [stdout] --> src/actix_rpc.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | b.forward(self.addr.as_ref(), RpcEnvelope::local(msg)) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `b` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/actix_rpc.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 57 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 62 | b.forward(self.addr.as_ref(), RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures::Future as actix::Message>::Result, error::Error>> + 'static`'s explicit `'static` bound to the lifetime of argument `self` [INFO] [stdout] | [INFO] [stdout] 60 | ) -> impl Future as Message>::Result, BusError>> + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 57 | &'static actix_rpc::Endpoint, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `b` [INFO] [stdout] --> src/actix_rpc.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | b.forward(self.addr.as_ref(), RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `b` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/actix_rpc.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 66 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 70 | b.push(self.addr.as_ref(), RpcEnvelope::local(msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures::Future> + 'static`'s explicit `'static` bound to the lifetime of argument `self` [INFO] [stdout] | [INFO] [stdout] 68 | ) -> impl Future> + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 66 | &'static actix_rpc::Endpoint, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `b` [INFO] [stdout] --> src/actix_rpc.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | b.push(self.addr.as_ref(), RpcEnvelope::local(msg)) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `b` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/actix_rpc.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 79 | b.push(self.addr.as_ref(), RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures::Future> + 'static`'s explicit `'static` bound to the lifetime of argument `self` [INFO] [stdout] | [INFO] [stdout] 77 | ) -> impl Future> + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 74 | &'static actix_rpc::Endpoint, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `b` [INFO] [stdout] --> src/actix_rpc.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | b.push(self.addr.as_ref(), RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `b` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/actix_rpc.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 83 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 87 | // self.router [INFO] [stdout] 88 | || .lock() [INFO] [stdout] 89 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 90 | | .streaming_forward(&self.addr, msg) [INFO] [stdout] | |________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 91 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let future = { router().lock().unwrap().unbind(addr) }; [INFO] [stdout] | ^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 46 | future.await [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let future = { router().lock().unwrap().unbind(addr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 46 | future.await [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 81 | // self.router [INFO] [stdout] 82 | || .lock() [INFO] [stdout] 83 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 84 | | .forward(&self.addr, RpcEnvelope::local(msg)) [INFO] [stdout] | |__________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 85 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 88 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 92 | // self.router [INFO] [stdout] 93 | || .lock() [INFO] [stdout] 94 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 95 | | .forward(&self.addr, RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | |________________________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 96 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 102 | // self.router [INFO] [stdout] 103 | || .lock() [INFO] [stdout] 104 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 105 | | .streaming_forward(&self.addr, msg) [INFO] [stdout] | |________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 106 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 109 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 113 | // self.router [INFO] [stdout] 114 | || .lock() [INFO] [stdout] 115 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 116 | | .forward_bytes(&self.addr, caller, msg, false) [INFO] [stdout] | |___________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 117 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn push(&self, msg: T) -> impl Future> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 120 | // self.router [INFO] [stdout] 121 | || .lock() [INFO] [stdout] 122 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 123 | | .push(&self.addr, RpcEnvelope::local(msg)) [INFO] [stdout] | |_______________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 124 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 127 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 131 | // self.router [INFO] [stdout] 132 | || .lock() [INFO] [stdout] 133 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 134 | | .push(&self.addr, RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | |_____________________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 135 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 138 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 142 | // self.router [INFO] [stdout] 143 | || .lock() [INFO] [stdout] 144 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 145 | | .forward_bytes(&self.addr, caller, msg, true) [INFO] [stdout] | |__________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 146 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/untyped.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | router() [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____creates a temporary value which is freed while still in use [INFO] [stdout] | | [INFO] [stdout] 43 | | .lock() [INFO] [stdout] 44 | | .unwrap() [INFO] [stdout] 45 | | .forward_bytes(addr, caller, bytes.into(), no_reply) [INFO] [stdout] | |____________________________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] 46 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/untyped.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | // router() [INFO] [stdout] 43 | || .lock() [INFO] [stdout] 44 | || .unwrap() [INFO] [stdout] | ||_________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 45 | | .forward_bytes(addr, caller, bytes.into(), no_reply) [INFO] [stdout] | |_____________________________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] 46 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let future = { router().lock().unwrap().unbind(addr) }; [INFO] [stdout] | ^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 46 | future.await [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let future = { router().lock().unwrap().unbind(addr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 46 | future.await [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 81 | // self.router [INFO] [stdout] 82 | || .lock() [INFO] [stdout] 83 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 84 | | .forward(&self.addr, RpcEnvelope::local(msg)) [INFO] [stdout] | |__________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 85 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 88 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 92 | // self.router [INFO] [stdout] 93 | || .lock() [INFO] [stdout] 94 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 95 | | .forward(&self.addr, RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | |________________________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 96 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 102 | // self.router [INFO] [stdout] 103 | || .lock() [INFO] [stdout] 104 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 105 | | .streaming_forward(&self.addr, msg) [INFO] [stdout] | |________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 106 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 109 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 113 | // self.router [INFO] [stdout] 114 | || .lock() [INFO] [stdout] 115 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 116 | | .forward_bytes(&self.addr, caller, msg, false) [INFO] [stdout] | |___________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 117 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn push(&self, msg: T) -> impl Future> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 120 | // self.router [INFO] [stdout] 121 | || .lock() [INFO] [stdout] 122 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 123 | | .push(&self.addr, RpcEnvelope::local(msg)) [INFO] [stdout] | |_______________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 124 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 127 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 131 | // self.router [INFO] [stdout] 132 | || .lock() [INFO] [stdout] 133 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 134 | | .push(&self.addr, RpcEnvelope::with_caller(caller, msg)) [INFO] [stdout] | |_____________________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 135 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/typed.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 138 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 142 | // self.router [INFO] [stdout] 143 | || .lock() [INFO] [stdout] 144 | || .unwrap() [INFO] [stdout] | ||_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 145 | | .forward_bytes(&self.addr, caller, msg, true) [INFO] [stdout] | |__________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 146 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/untyped.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | router() [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____creates a temporary value which is freed while still in use [INFO] [stdout] | | [INFO] [stdout] 43 | | .lock() [INFO] [stdout] 44 | | .unwrap() [INFO] [stdout] 45 | | .forward_bytes(addr, caller, bytes.into(), no_reply) [INFO] [stdout] | |____________________________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] 46 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/untyped.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | // router() [INFO] [stdout] 43 | || .lock() [INFO] [stdout] 44 | || .unwrap() [INFO] [stdout] | ||_________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 45 | | .forward_bytes(addr, caller, bytes.into(), no_reply) [INFO] [stdout] | |_____________________________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] 46 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | // router() [INFO] [stdout] 118 | || .lock() [INFO] [stdout] 119 | || .unwrap() [INFO] [stdout] | ||_____________________- temporary value created here [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |___________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | router() [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | _________temporary value created here [INFO] [stdout] | | [INFO] [stdout] 118 | | .lock() [INFO] [stdout] 119 | | .unwrap() [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `data` [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / router() [INFO] [stdout] 118 | | .lock() [INFO] [stdout] 119 | | .unwrap() [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] | | ---- `data` is borrowed here [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `address` [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / router() [INFO] [stdout] 118 | | .lock() [INFO] [stdout] 119 | | .unwrap() [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] | | -------- `address` is borrowed here [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `caller` [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / router() [INFO] [stdout] 118 | | .lock() [INFO] [stdout] 119 | | .unwrap() [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] | | ------- `caller` is borrowed here [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | // router() [INFO] [stdout] 118 | || .lock() [INFO] [stdout] 119 | || .unwrap() [INFO] [stdout] | ||_____________________- temporary value created here [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |___________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | router() [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | _________temporary value created here [INFO] [stdout] | | [INFO] [stdout] 118 | | .lock() [INFO] [stdout] 119 | | .unwrap() [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `data` [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / router() [INFO] [stdout] 118 | | .lock() [INFO] [stdout] 119 | | .unwrap() [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] | | ---- `data` is borrowed here [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `address` [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / router() [INFO] [stdout] 118 | | .lock() [INFO] [stdout] 119 | | .unwrap() [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] | | -------- `address` is borrowed here [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `caller` [INFO] [stdout] --> src/connection.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / router() [INFO] [stdout] 118 | | .lock() [INFO] [stdout] 119 | | .unwrap() [INFO] [stdout] 120 | | .forward_bytes_local(&address, &caller, data.as_ref(), no_reply) [INFO] [stdout] | | ------- `caller` is borrowed here [INFO] [stdout] 121 | | .boxed_local() [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/remote_router.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 75 | let connection = [INFO] [stdout] | ---------- variable defined here [INFO] [stdout] ... [INFO] [stdout] 84 | .map(move |service_id| connection.bind(service_id)), [INFO] [stdout] | - ----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | returns a closure that contains a reference to a captured variable, which then escapes the closure body [INFO] [stdout] | | variable captured here [INFO] [stdout] | inferred to be a `FnMut` closure [INFO] [stdout] | [INFO] [stdout] = note: `FnMut` closures only have access to their captured variables while they are executing... [INFO] [stdout] = note: ...therefore, they cannot allow references to captured variables to escape [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `connection` [INFO] [stdout] --> src/remote_router.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | connection.call(msg.caller, msg.addr, msg.body, msg.no_reply) [INFO] [stdout] | ----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `connection` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/typed.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | fn send(&self, msg: T) -> Self::Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 156 | Endpoint::call(self, msg).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/typed.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 159 | fn send_as(&self, caller: impl ToString + 'static, msg: T) -> Self::Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 160 | Endpoint::call_as(self, caller, msg).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/untyped.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | addr: &str, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 29 | / router() [INFO] [stdout] 30 | | .lock() [INFO] [stdout] 31 | | .unwrap() [INFO] [stdout] 32 | | .streaming_forward_bytes(addr, caller, bytes.into()) [INFO] [stdout] 33 | | .boxed_local() [INFO] [stdout] | |______________________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `addr`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Pin> + '_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/untyped.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | caller: &str, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 29 | / router() [INFO] [stdout] 30 | | .lock() [INFO] [stdout] 31 | | .unwrap() [INFO] [stdout] 32 | | .streaming_forward_bytes(addr, caller, bytes.into()) [INFO] [stdout] 33 | | .boxed_local() [INFO] [stdout] | |______________________^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `caller`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Pin> + '_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/untyped.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | // router() [INFO] [stdout] 30 | || .lock() [INFO] [stdout] 31 | || .unwrap() [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] 32 | | .streaming_forward_bytes(addr, caller, bytes.into()) [INFO] [stdout] 33 | | .boxed_local() [INFO] [stdout] | |_______________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/untyped.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | router() [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | _____temporary value created here [INFO] [stdout] | | [INFO] [stdout] 30 | | .lock() [INFO] [stdout] 31 | | .unwrap() [INFO] [stdout] 32 | | .streaming_forward_bytes(addr, caller, bytes.into()) [INFO] [stdout] 33 | | .boxed_local() [INFO] [stdout] | |______________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ya-service-bus` (lib) due to 34 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/remote_router.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 75 | let connection = [INFO] [stdout] | ---------- variable defined here [INFO] [stdout] ... [INFO] [stdout] 84 | .map(move |service_id| connection.bind(service_id)), [INFO] [stdout] | - ----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | returns a closure that contains a reference to a captured variable, which then escapes the closure body [INFO] [stdout] | | variable captured here [INFO] [stdout] | inferred to be a `FnMut` closure [INFO] [stdout] | [INFO] [stdout] = note: `FnMut` closures only have access to their captured variables while they are executing... [INFO] [stdout] = note: ...therefore, they cannot allow references to captured variables to escape [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `connection` [INFO] [stdout] --> src/remote_router.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | connection.call(msg.caller, msg.addr, msg.body, msg.no_reply) [INFO] [stdout] | ----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `connection` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/typed.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | fn send(&self, msg: T) -> Self::Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 156 | Endpoint::call(self, msg).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/typed.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 159 | fn send_as(&self, caller: impl ToString + 'static, msg: T) -> Self::Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 160 | Endpoint::call_as(self, caller, msg).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/untyped.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | addr: &str, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 29 | / router() [INFO] [stdout] 30 | | .lock() [INFO] [stdout] 31 | | .unwrap() [INFO] [stdout] 32 | | .streaming_forward_bytes(addr, caller, bytes.into()) [INFO] [stdout] 33 | | .boxed_local() [INFO] [stdout] | |______________________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `addr`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Pin> + '_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/untyped.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | caller: &str, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 29 | / router() [INFO] [stdout] 30 | | .lock() [INFO] [stdout] 31 | | .unwrap() [INFO] [stdout] 32 | | .streaming_forward_bytes(addr, caller, bytes.into()) [INFO] [stdout] 33 | | .boxed_local() [INFO] [stdout] | |______________________^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `caller`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Pin> + '_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/untyped.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | // router() [INFO] [stdout] 30 | || .lock() [INFO] [stdout] 31 | || .unwrap() [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] 32 | | .streaming_forward_bytes(addr, caller, bytes.into()) [INFO] [stdout] 33 | | .boxed_local() [INFO] [stdout] | |_______________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/untyped.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | router() [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | _____temporary value created here [INFO] [stdout] | | [INFO] [stdout] 30 | | .lock() [INFO] [stdout] 31 | | .unwrap() [INFO] [stdout] 32 | | .streaming_forward_bytes(addr, caller, bytes.into()) [INFO] [stdout] 33 | | .boxed_local() [INFO] [stdout] | |______________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ya-service-bus` (lib test) due to 34 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9c888664534bd0da8230c30603579da555af520e6696476f40655c3dcb98872c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c888664534bd0da8230c30603579da555af520e6696476f40655c3dcb98872c", kill_on_drop: false }` [INFO] [stdout] 9c888664534bd0da8230c30603579da555af520e6696476f40655c3dcb98872c