[INFO] cloning repository https://github.com/aughey/plugin_rustside [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aughey/plugin_rustside" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faughey%2Fplugin_rustside", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faughey%2Fplugin_rustside'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 113c320d767129ea7fabc7418496f24631fd84c8 [INFO] checking aughey/plugin_rustside against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faughey%2Fplugin_rustside" "/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/aughey/plugin_rustside on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aughey/plugin_rustside [INFO] finished tweaking git repo https://github.com/aughey/plugin_rustside [INFO] tweaked toml for git repo https://github.com/aughey/plugin_rustside written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aughey/plugin_rustside already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rumqttc v0.23.0 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e5031eabd5d1a49e503c96ccde7d09a3b2bc1e14b7f193277ce1db6d7277561 [INFO] running `Command { std: "docker" "start" "-a" "7e5031eabd5d1a49e503c96ccde7d09a3b2bc1e14b7f193277ce1db6d7277561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e5031eabd5d1a49e503c96ccde7d09a3b2bc1e14b7f193277ce1db6d7277561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5031eabd5d1a49e503c96ccde7d09a3b2bc1e14b7f193277ce1db6d7277561", kill_on_drop: false }` [INFO] [stdout] 7e5031eabd5d1a49e503c96ccde7d09a3b2bc1e14b7f193277ce1db6d7277561 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8adf810d5601d92fe3e09b0d6a8072d2b7b49ee548607174aafd02b7dfc73a63 [INFO] running `Command { std: "docker" "start" "-a" "8adf810d5601d92fe3e09b0d6a8072d2b7b49ee548607174aafd02b7dfc73a63", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.77 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling plugin_rustside v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking rumqttc v0.23.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.60s [INFO] running `Command { std: "docker" "inspect" "8adf810d5601d92fe3e09b0d6a8072d2b7b49ee548607174aafd02b7dfc73a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8adf810d5601d92fe3e09b0d6a8072d2b7b49ee548607174aafd02b7dfc73a63", kill_on_drop: false }` [INFO] [stdout] 8adf810d5601d92fe3e09b0d6a8072d2b7b49ee548607174aafd02b7dfc73a63 [INFO] checking aughey/plugin_rustside against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faughey%2Fplugin_rustside" "/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/aughey/plugin_rustside on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aughey/plugin_rustside [INFO] finished tweaking git repo https://github.com/aughey/plugin_rustside [INFO] tweaked toml for git repo https://github.com/aughey/plugin_rustside written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aughey/plugin_rustside already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaed321c8216b7e6b97d74ffa7c6413a4016884ea8f98a13f7ce3f904095c312 [INFO] running `Command { std: "docker" "start" "-a" "aaed321c8216b7e6b97d74ffa7c6413a4016884ea8f98a13f7ce3f904095c312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaed321c8216b7e6b97d74ffa7c6413a4016884ea8f98a13f7ce3f904095c312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaed321c8216b7e6b97d74ffa7c6413a4016884ea8f98a13f7ce3f904095c312", kill_on_drop: false }` [INFO] [stdout] aaed321c8216b7e6b97d74ffa7c6413a4016884ea8f98a13f7ce3f904095c312 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af6a808503bd47b7b3a6097a71d607e196a9a20b4fec5f96dacde4c93119b2e9 [INFO] running `Command { std: "docker" "start" "-a" "af6a808503bd47b7b3a6097a71d607e196a9a20b4fec5f96dacde4c93119b2e9", 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.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling anyhow v1.0.77 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling plugin_rustside v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking rumqttc v0.23.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.67s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling plugin_rustside v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local data `id` [INFO] [stdout] --> src/rust_plugin.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut mqtt, event_loop) = MQTT::new(&id, &host, 1883).await?; [INFO] [stdout] | --- `id` is borrowed here [INFO] [stdout] 50 | mqtt.subscribe("rusty_bind/command").await?; [INFO] [stdout] 51 | Ok::<_, anyhow::Error>((mqtt, event_loop)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `id` [INFO] [stdout] --> src/rust_plugin.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut mqtt, event_loop) = MQTT::new(&id, &host, 1883).await?; [INFO] [stdout] | --- `id` is borrowed here [INFO] [stdout] 50 | mqtt.subscribe("rusty_bind/command").await?; [INFO] [stdout] 51 | Ok::<_, anyhow::Error>((mqtt, event_loop)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `host` [INFO] [stdout] --> src/rust_plugin.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut mqtt, event_loop) = MQTT::new(&id, &host, 1883).await?; [INFO] [stdout] | ----- `host` is borrowed here [INFO] [stdout] 50 | mqtt.subscribe("rusty_bind/command").await?; [INFO] [stdout] 51 | Ok::<_, anyhow::Error>((mqtt, event_loop)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `host` [INFO] [stdout] --> src/rust_plugin.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut mqtt, event_loop) = MQTT::new(&id, &host, 1883).await?; [INFO] [stdout] | ----- `host` is borrowed here [INFO] [stdout] 50 | mqtt.subscribe("rusty_bind/command").await?; [INFO] [stdout] 51 | Ok::<_, anyhow::Error>((mqtt, event_loop)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plugin_rustside` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `plugin_rustside` (lib test) due to 3 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" "af6a808503bd47b7b3a6097a71d607e196a9a20b4fec5f96dacde4c93119b2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6a808503bd47b7b3a6097a71d607e196a9a20b4fec5f96dacde4c93119b2e9", kill_on_drop: false }` [INFO] [stdout] af6a808503bd47b7b3a6097a71d607e196a9a20b4fec5f96dacde4c93119b2e9