[INFO] cloning repository https://github.com/upsuper/telegram-rustevalbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/upsuper/telegram-rustevalbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Ftelegram-rustevalbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Ftelegram-rustevalbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d445db2b54db08ef12c00dd752e6b04ed910fefa [INFO] checking upsuper/telegram-rustevalbot against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Ftelegram-rustevalbot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/upsuper/telegram-rustevalbot 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 git repo https://github.com/upsuper/telegram-rustevalbot [INFO] finished tweaking git repo https://github.com/upsuper/telegram-rustevalbot [INFO] tweaked toml for git repo https://github.com/upsuper/telegram-rustevalbot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/upsuper/telegram-rustevalbot 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded telegram_types v0.6.0 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded fst-subseq-ascii-caseless v0.1.1 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded rustdoc-seeker v0.6.0 [INFO] [stderr] Downloaded fst v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0af952f7b9a84fb84d4a55bc28371c18ebd3daba43929a695036fc473dab6954 [INFO] running `Command { std: "docker" "start" "-a" "0af952f7b9a84fb84d4a55bc28371c18ebd3daba43929a695036fc473dab6954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0af952f7b9a84fb84d4a55bc28371c18ebd3daba43929a695036fc473dab6954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0af952f7b9a84fb84d4a55bc28371c18ebd3daba43929a695036fc473dab6954", kill_on_drop: false }` [INFO] [stdout] 0af952f7b9a84fb84d4a55bc28371c18ebd3daba43929a695036fc473dab6954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] e57bc3e096cee5cf116b9170973fe3c95778a51c3a72a0a02dd1e821b217a3f4 [INFO] running `Command { std: "docker" "start" "-a" "e57bc3e096cee5cf116b9170973fe3c95778a51c3a72a0a02dd1e821b217a3f4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Compiling telegram-rustevalbot v0.4.29 (/opt/rustwide/workdir) [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking fst-subseq-ascii-caseless v0.1.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking telegram_types v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking rustdoc-seeker v0.6.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.43s [INFO] running `Command { std: "docker" "inspect" "e57bc3e096cee5cf116b9170973fe3c95778a51c3a72a0a02dd1e821b217a3f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57bc3e096cee5cf116b9170973fe3c95778a51c3a72a0a02dd1e821b217a3f4", kill_on_drop: false }` [INFO] [stdout] e57bc3e096cee5cf116b9170973fe3c95778a51c3a72a0a02dd1e821b217a3f4 [INFO] checking upsuper/telegram-rustevalbot against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Ftelegram-rustevalbot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/upsuper/telegram-rustevalbot 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 git repo https://github.com/upsuper/telegram-rustevalbot [INFO] finished tweaking git repo https://github.com/upsuper/telegram-rustevalbot [INFO] tweaked toml for git repo https://github.com/upsuper/telegram-rustevalbot written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/upsuper/telegram-rustevalbot 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ad0d94b1148672629e8bd895292a870674dce272cc1242b7de4133aab4d694fc [INFO] running `Command { std: "docker" "start" "-a" "ad0d94b1148672629e8bd895292a870674dce272cc1242b7de4133aab4d694fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad0d94b1148672629e8bd895292a870674dce272cc1242b7de4133aab4d694fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0d94b1148672629e8bd895292a870674dce272cc1242b7de4133aab4d694fc", kill_on_drop: false }` [INFO] [stdout] ad0d94b1148672629e8bd895292a870674dce272cc1242b7de4133aab4d694fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6e6832a675608467dcefd07f65a3ac828ba5d6ca3913a9f6c14601df14814038 [INFO] running `Command { std: "docker" "start" "-a" "6e6832a675608467dcefd07f65a3ac828ba5d6ca3913a9f6c14601df14814038", 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] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling telegram-rustevalbot v0.4.29 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking fst-subseq-ascii-caseless v0.1.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking telegram_types v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking rustdoc-seeker v0.6.0 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.35s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling telegram-rustevalbot v0.4.29 (/tmp/fixit) [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 176 | fn report_error_to_admin(bot: &Bot, error: &Error) { [INFO] [stdout] | --- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `bot` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 186 | tokio::spawn(send_message_to_admin(bot, message)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `bot` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `telegram-rustevalbot` (bin "telegram-rustevalbot") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 176 | fn report_error_to_admin(bot: &Bot, error: &Error) { [INFO] [stdout] | --- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `bot` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 186 | tokio::spawn(send_message_to_admin(bot, message)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `bot` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `telegram-rustevalbot` (bin "telegram-rustevalbot" test) due to 2 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" "6e6832a675608467dcefd07f65a3ac828ba5d6ca3913a9f6c14601df14814038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6832a675608467dcefd07f65a3ac828ba5d6ca3913a9f6c14601df14814038", kill_on_drop: false }` [INFO] [stdout] 6e6832a675608467dcefd07f65a3ac828ba5d6ca3913a9f6c14601df14814038