[INFO] cloning repository https://github.com/eyemotif/eyebot-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eyemotif/eyebot-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feyemotif%2Feyebot-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feyemotif%2Feyebot-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82ccb347798e44749799cf5c28e0922bfd07c6fd [INFO] checking eyemotif/eyebot-rs against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feyemotif%2Feyebot-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eyemotif/eyebot-rs 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/eyemotif/eyebot-rs [INFO] finished tweaking git repo https://github.com/eyemotif/eyebot-rs [INFO] tweaked toml for git repo https://github.com/eyemotif/eyebot-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eyemotif/eyebot-rs 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v2.1.2 [INFO] [stderr] Downloaded toml v0.7.6 [INFO] [stderr] Downloaded toml_edit v0.19.12 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.41 [INFO] [stderr] Downloaded thiserror v1.0.41 [INFO] [stderr] Downloaded tungstenite v0.19.0 [INFO] [stderr] Downloaded anstyle-wincon v1.0.1 [INFO] [stderr] Downloaded is-terminal v0.4.8 [INFO] [stderr] Downloaded rustix v0.38.3 [INFO] [stderr] Downloaded regex-automata v0.3.0 [INFO] [stderr] Downloaded regex-syntax v0.7.3 [INFO] [stderr] Downloaded rustix v0.37.23 [INFO] [stderr] Downloaded linux-raw-sys v0.4.3 [INFO] [stderr] Downloaded clap_builder v4.3.11 [INFO] [stderr] Downloaded chrono v0.4.26 [INFO] [stderr] Downloaded tokio-util v0.6.10 [INFO] [stderr] Downloaded regex v1.9.0 [INFO] [stderr] Downloaded tokio-util v0.7.8 [INFO] [stderr] Downloaded h2 v0.3.20 [INFO] [stderr] Downloaded chunked_transfer v1.4.1 [INFO] [stderr] Downloaded bitflags v2.3.3 [INFO] [stderr] Downloaded clap_derive v4.3.2 [INFO] [stderr] Downloaded clap v4.3.11 [INFO] [stderr] Downloaded irc-proto v0.15.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.2 [INFO] [stderr] Downloaded pin-project v1.1.2 [INFO] [stderr] Downloaded irc v0.15.0 [INFO] [stderr] Downloaded base64 v0.21.2 [INFO] [stderr] Downloaded openssl-sys v0.9.90 [INFO] [stderr] Downloaded security-framework v2.9.1 [INFO] [stderr] Downloaded security-framework-sys v2.9.0 [INFO] [stderr] Downloaded tempfile v3.6.0 [INFO] [stderr] Downloaded rustls-webpki v0.101.1 [INFO] [stderr] Downloaded rustls v0.21.3 [INFO] [stderr] Downloaded tokio-tungstenite v0.19.0 [INFO] [stderr] Downloaded equivalent v1.0.0 [INFO] [stderr] Downloaded hashbrown v0.14.0 [INFO] [stderr] Downloaded indexmap v2.0.0 [INFO] [stderr] Downloaded serde_spanned v0.6.3 [INFO] [stderr] Downloaded serde_derive v1.0.166 [INFO] [stderr] Downloaded serde v1.0.166 [INFO] [stderr] Downloaded winnow v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d9fbaf8043e705cee24bc65f7b294d100d0bd614aac628a24f8906bb72980429 [INFO] running `Command { std: "docker" "start" "-a" "d9fbaf8043e705cee24bc65f7b294d100d0bd614aac628a24f8906bb72980429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9fbaf8043e705cee24bc65f7b294d100d0bd614aac628a24f8906bb72980429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9fbaf8043e705cee24bc65f7b294d100d0bd614aac628a24f8906bb72980429", kill_on_drop: false }` [INFO] [stdout] d9fbaf8043e705cee24bc65f7b294d100d0bd614aac628a24f8906bb72980429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 26cb73c8e14e0e9d034d5dc76d90d8ca7b493b626144cc1530ae1608b5e32705 [INFO] running `Command { std: "docker" "start" "-a" "26cb73c8e14e0e9d034d5dc76d90d8ca7b493b626144cc1530ae1608b5e32705", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling serde v1.0.166 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling rustls v0.21.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.41 [INFO] [stderr] Compiling rustix v0.38.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking winnow v0.4.7 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking urlencoding v2.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking is-terminal v0.4.8 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking clap_builder v4.3.11 [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 sha1 v0.10.5 [INFO] [stderr] Checking regex-automata v0.3.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.166 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.41 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.101.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Checking regex v1.9.0 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Checking clap v4.3.11 [INFO] [stderr] Checking tungstenite v0.19.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-tungstenite v0.19.0 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking irc-proto v0.15.0 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking toml_edit v0.19.12 [INFO] [stderr] Checking irc v0.15.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking eyebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.56s [INFO] running `Command { std: "docker" "inspect" "26cb73c8e14e0e9d034d5dc76d90d8ca7b493b626144cc1530ae1608b5e32705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26cb73c8e14e0e9d034d5dc76d90d8ca7b493b626144cc1530ae1608b5e32705", kill_on_drop: false }` [INFO] [stdout] 26cb73c8e14e0e9d034d5dc76d90d8ca7b493b626144cc1530ae1608b5e32705 [INFO] checking eyemotif/eyebot-rs against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feyemotif%2Feyebot-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eyemotif/eyebot-rs 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/eyemotif/eyebot-rs [INFO] finished tweaking git repo https://github.com/eyemotif/eyebot-rs [INFO] tweaked toml for git repo https://github.com/eyemotif/eyebot-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eyemotif/eyebot-rs 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c273ce7f3ef7c28499ad880ac2e121e87b5af77ef944e3683535fb37dd571bfa [INFO] running `Command { std: "docker" "start" "-a" "c273ce7f3ef7c28499ad880ac2e121e87b5af77ef944e3683535fb37dd571bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c273ce7f3ef7c28499ad880ac2e121e87b5af77ef944e3683535fb37dd571bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c273ce7f3ef7c28499ad880ac2e121e87b5af77ef944e3683535fb37dd571bfa", kill_on_drop: false }` [INFO] [stdout] c273ce7f3ef7c28499ad880ac2e121e87b5af77ef944e3683535fb37dd571bfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fe60312f18176f41738df80ad2d2bffb844aab33b385ea8dfa3952282788d9fc [INFO] running `Command { std: "docker" "start" "-a" "fe60312f18176f41738df80ad2d2bffb844aab33b385ea8dfa3952282788d9fc", 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.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling serde v1.0.166 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling rustls v0.21.3 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.41 [INFO] [stderr] Compiling rustix v0.38.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking winnow v0.4.7 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking is-terminal v0.4.8 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking urlencoding v2.1.2 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking clap_builder v4.3.11 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking regex-automata v0.3.0 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.166 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.41 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Checking regex v1.9.0 [INFO] [stderr] Checking rustls-webpki v0.101.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Checking clap v4.3.11 [INFO] [stderr] Checking tungstenite v0.19.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-tungstenite v0.19.0 [INFO] [stderr] Checking irc-proto v0.15.0 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking toml_edit v0.19.12 [INFO] [stderr] Checking irc v0.15.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking eyebot v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.74s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking eyebot v0.1.0 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/eye/builtin.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 10 | bot: &crate::bot::Bot, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 414 | / async move { [INFO] [stdout] 415 | | let mut data = data.write().await; [INFO] [stdout] 416 | | let mut builtins = vec![("shutdown", true), ("ping", true), ("commands", false)]; [INFO] [stdout] ... | [INFO] [stdout] 459 | | } [INFO] [stdout] 460 | | } [INFO] [stdout] | |_____^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures_util::Future + 'static`'s explicit `'static` bound to the lifetime of argument `bot` [INFO] [stdout] | [INFO] [stdout] 11 | ) -> impl std::future::Future + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 10 | bot: &'static bot::Bot, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/eye/builtin.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 465 | bot: &crate::bot::Bot, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 665 | / async move { [INFO] [stdout] 666 | | let mut data = data.write().await; [INFO] [stdout] 667 | | for builtin in ["get", "play-audio", "clear-audio", "ping", "volume"] { [INFO] [stdout] 668 | | data.commands.insert( [INFO] [stdout] ... | [INFO] [stdout] 675 | | tokio::join!(command_future, alias_future); [INFO] [stdout] 676 | | } [INFO] [stdout] | |_____^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures_util::Future + 'static`'s explicit `'static` bound to the lifetime of argument `bot` [INFO] [stdout] | [INFO] [stdout] 467 | ) -> impl std::future::Future + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 465 | bot: &'static bot::Bot, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/eye/builtin.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 466 | comet_server: &comet::Server, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 665 | / async move { [INFO] [stdout] 666 | | let mut data = data.write().await; [INFO] [stdout] 667 | | for builtin in ["get", "play-audio", "clear-audio", "ping", "volume"] { [INFO] [stdout] 668 | | data.commands.insert( [INFO] [stdout] ... | [INFO] [stdout] 675 | | tokio::join!(command_future, alias_future); [INFO] [stdout] 676 | | } [INFO] [stdout] | |_____^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures_util::Future + 'static`'s explicit `'static` bound to the lifetime of argument `comet_server` [INFO] [stdout] | [INFO] [stdout] 467 | ) -> impl std::future::Future + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 466 | comet_server: &'static comet::Server, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/eye/builtin.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 10 | bot: &crate::bot::Bot, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 414 | / async move { [INFO] [stdout] 415 | | let mut data = data.write().await; [INFO] [stdout] 416 | | let mut builtins = vec![("shutdown", true), ("ping", true), ("commands", false)]; [INFO] [stdout] ... | [INFO] [stdout] 459 | | } [INFO] [stdout] 460 | | } [INFO] [stdout] | |_____^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures_util::Future + 'static`'s explicit `'static` bound to the lifetime of argument `bot` [INFO] [stdout] | [INFO] [stdout] 11 | ) -> impl std::future::Future + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 10 | bot: &'static bot::Bot, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/eye/builtin.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 465 | bot: &crate::bot::Bot, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 665 | / async move { [INFO] [stdout] 666 | | let mut data = data.write().await; [INFO] [stdout] 667 | | for builtin in ["get", "play-audio", "clear-audio", "ping", "volume"] { [INFO] [stdout] 668 | | data.commands.insert( [INFO] [stdout] ... | [INFO] [stdout] 675 | | tokio::join!(command_future, alias_future); [INFO] [stdout] 676 | | } [INFO] [stdout] | |_____^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures_util::Future + 'static`'s explicit `'static` bound to the lifetime of argument `bot` [INFO] [stdout] | [INFO] [stdout] 467 | ) -> impl std::future::Future + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 465 | bot: &'static bot::Bot, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/eye/builtin.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 466 | comet_server: &comet::Server, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 665 | / async move { [INFO] [stdout] 666 | | let mut data = data.write().await; [INFO] [stdout] 667 | | for builtin in ["get", "play-audio", "clear-audio", "ping", "volume"] { [INFO] [stdout] 668 | | data.commands.insert( [INFO] [stdout] ... | [INFO] [stdout] 675 | | tokio::join!(command_future, alias_future); [INFO] [stdout] 676 | | } [INFO] [stdout] | |_____^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: consider changing `impl futures_util::Future + 'static`'s explicit `'static` bound to the lifetime of argument `comet_server` [INFO] [stdout] | [INFO] [stdout] 467 | ) -> impl std::future::Future + '_ { [INFO] [stdout] | ~~ [INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference [INFO] [stdout] | [INFO] [stdout] 466 | comet_server: &'static comet::Server, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `bot` does not live long enough [INFO] [stdout] --> src/main.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 80 | let bot = bot::Bot::new( [INFO] [stdout] | --- binding `bot` declared here [INFO] [stdout] ... [INFO] [stdout] 108 | tokio::spawn(bot.on_event::(|notif, bot| async move { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | ______________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 109 | | match twitch::stream_from_user_id( [INFO] [stdout] 110 | | ¬if.payload.event.from_broadcaster_user_id, [INFO] [stdout] 111 | | bot.helix_auth(), [INFO] [stdout] ... | [INFO] [stdout] 137 | | }; [INFO] [stdout] 138 | | })); [INFO] [stdout] | |__________- argument requires that `bot` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 208 | } [INFO] [stdout] | - `bot` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `comet_server` does not live long enough [INFO] [stdout] --> src/main.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 154 | let comet_server = [INFO] [stdout] | ------------ binding `comet_server` declared here [INFO] [stdout] ... [INFO] [stdout] 159 | tokio::spawn(bot.on_event_comet::( [INFO] [stdout] | __________________________- [INFO] [stdout] 160 | | &comet_server, [INFO] [stdout] | | ^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 161 | | |notif, bot, cmt| async move { [INFO] [stdout] 162 | | if notif.payload.event.reward.title == "Play Audio" { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }, [INFO] [stdout] 188 | | )); [INFO] [stdout] | |_____________- argument requires that `comet_server` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 193 | } [INFO] [stdout] | - `comet_server` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `comet_server` because it is borrowed [INFO] [stdout] --> src/main.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 154 | let comet_server = [INFO] [stdout] | ------------ binding `comet_server` declared here [INFO] [stdout] ... [INFO] [stdout] 159 | tokio::spawn(bot.on_event_comet::( [INFO] [stdout] | __________________________- [INFO] [stdout] 160 | | &comet_server, [INFO] [stdout] | | ------------- borrow of `comet_server` occurs here [INFO] [stdout] 161 | | |notif, bot, cmt| async move { [INFO] [stdout] 162 | | if notif.payload.event.reward.title == "Play Audio" { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }, [INFO] [stdout] 188 | | )); [INFO] [stdout] | |_____________- argument requires that `comet_server` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 192 | tokio::spawn(comet_server.accept_connections()); [INFO] [stdout] | ^^^^^^^^^^^^ move out of `comet_server` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `bot` because it is borrowed [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 80 | let bot = bot::Bot::new( [INFO] [stdout] | --- binding `bot` declared here [INFO] [stdout] ... [INFO] [stdout] 108 | tokio::spawn(bot.on_event::(|notif, bot| async move { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | ______________________borrow of `bot` occurs here [INFO] [stdout] | | [INFO] [stdout] 109 | | match twitch::stream_from_user_id( [INFO] [stdout] 110 | | ¬if.payload.event.from_broadcaster_user_id, [INFO] [stdout] 111 | | bot.helix_auth(), [INFO] [stdout] ... | [INFO] [stdout] 137 | | }; [INFO] [stdout] 138 | | })); [INFO] [stdout] | |__________- argument requires that `bot` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 205 | bot.run().await?; [INFO] [stdout] | ^^^ move out of `bot` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 211 | bot: &bot::Bot, [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] 216 | / bot.on_chat_message_comet(comet_server, move |msg, bot, cmt| { [INFO] [stdout] 217 | | let broadcaster_user_id = broadcaster_user_id.clone(); [INFO] [stdout] 218 | | async move { [INFO] [stdout] 219 | | match cmt.get_features().await { [INFO] [stdout] ... | [INFO] [stdout] 304 | | } [INFO] [stdout] 305 | | }), [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[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 212 | comet_server: &eye::comet::Server, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `comet_server` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 216 | / bot.on_chat_message_comet(comet_server, move |msg, bot, cmt| { [INFO] [stdout] 217 | | let broadcaster_user_id = broadcaster_user_id.clone(); [INFO] [stdout] 218 | | async move { [INFO] [stdout] 219 | | match cmt.get_features().await { [INFO] [stdout] ... | [INFO] [stdout] 304 | | } [INFO] [stdout] 305 | | }), [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`comet_server` escapes the function body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0521, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eyebot` (bin "eyebot" test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `bot` does not live long enough [INFO] [stdout] --> src/main.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 80 | let bot = bot::Bot::new( [INFO] [stdout] | --- binding `bot` declared here [INFO] [stdout] ... [INFO] [stdout] 108 | tokio::spawn(bot.on_event::(|notif, bot| async move { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | ______________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 109 | | match twitch::stream_from_user_id( [INFO] [stdout] 110 | | ¬if.payload.event.from_broadcaster_user_id, [INFO] [stdout] 111 | | bot.helix_auth(), [INFO] [stdout] ... | [INFO] [stdout] 137 | | }; [INFO] [stdout] 138 | | })); [INFO] [stdout] | |__________- argument requires that `bot` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 208 | } [INFO] [stdout] | - `bot` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `comet_server` does not live long enough [INFO] [stdout] --> src/main.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 154 | let comet_server = [INFO] [stdout] | ------------ binding `comet_server` declared here [INFO] [stdout] ... [INFO] [stdout] 159 | tokio::spawn(bot.on_event_comet::( [INFO] [stdout] | __________________________- [INFO] [stdout] 160 | | &comet_server, [INFO] [stdout] | | ^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 161 | | |notif, bot, cmt| async move { [INFO] [stdout] 162 | | if notif.payload.event.reward.title == "Play Audio" { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }, [INFO] [stdout] 188 | | )); [INFO] [stdout] | |_____________- argument requires that `comet_server` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 193 | } [INFO] [stdout] | - `comet_server` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `comet_server` because it is borrowed [INFO] [stdout] --> src/main.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 154 | let comet_server = [INFO] [stdout] | ------------ binding `comet_server` declared here [INFO] [stdout] ... [INFO] [stdout] 159 | tokio::spawn(bot.on_event_comet::( [INFO] [stdout] | __________________________- [INFO] [stdout] 160 | | &comet_server, [INFO] [stdout] | | ------------- borrow of `comet_server` occurs here [INFO] [stdout] 161 | | |notif, bot, cmt| async move { [INFO] [stdout] 162 | | if notif.payload.event.reward.title == "Play Audio" { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }, [INFO] [stdout] 188 | | )); [INFO] [stdout] | |_____________- argument requires that `comet_server` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 192 | tokio::spawn(comet_server.accept_connections()); [INFO] [stdout] | ^^^^^^^^^^^^ move out of `comet_server` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `bot` because it is borrowed [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 80 | let bot = bot::Bot::new( [INFO] [stdout] | --- binding `bot` declared here [INFO] [stdout] ... [INFO] [stdout] 108 | tokio::spawn(bot.on_event::(|notif, bot| async move { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | ______________________borrow of `bot` occurs here [INFO] [stdout] | | [INFO] [stdout] 109 | | match twitch::stream_from_user_id( [INFO] [stdout] 110 | | ¬if.payload.event.from_broadcaster_user_id, [INFO] [stdout] 111 | | bot.helix_auth(), [INFO] [stdout] ... | [INFO] [stdout] 137 | | }; [INFO] [stdout] 138 | | })); [INFO] [stdout] | |__________- argument requires that `bot` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 205 | bot.run().await?; [INFO] [stdout] | ^^^ move out of `bot` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 211 | bot: &bot::Bot, [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] 216 | / bot.on_chat_message_comet(comet_server, move |msg, bot, cmt| { [INFO] [stdout] 217 | | let broadcaster_user_id = broadcaster_user_id.clone(); [INFO] [stdout] 218 | | async move { [INFO] [stdout] 219 | | match cmt.get_features().await { [INFO] [stdout] ... | [INFO] [stdout] 304 | | } [INFO] [stdout] 305 | | }), [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[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 212 | comet_server: &eye::comet::Server, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `comet_server` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 216 | / bot.on_chat_message_comet(comet_server, move |msg, bot, cmt| { [INFO] [stdout] 217 | | let broadcaster_user_id = broadcaster_user_id.clone(); [INFO] [stdout] 218 | | async move { [INFO] [stdout] 219 | | match cmt.get_features().await { [INFO] [stdout] ... | [INFO] [stdout] 304 | | } [INFO] [stdout] 305 | | }), [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`comet_server` escapes the function body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0521, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eyebot` (bin "eyebot") due to 10 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" "fe60312f18176f41738df80ad2d2bffb844aab33b385ea8dfa3952282788d9fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe60312f18176f41738df80ad2d2bffb844aab33b385ea8dfa3952282788d9fc", kill_on_drop: false }` [INFO] [stdout] fe60312f18176f41738df80ad2d2bffb844aab33b385ea8dfa3952282788d9fc