[INFO] cloning repository https://github.com/akorchyn/light-watcher-pi3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akorchyn/light-watcher-pi3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakorchyn%2Flight-watcher-pi3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakorchyn%2Flight-watcher-pi3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69bde35b6956df275a4713c495397b5313aec6eb [INFO] testing akorchyn/light-watcher-pi3 against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakorchyn%2Flight-watcher-pi3" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/akorchyn/light-watcher-pi3 [INFO] finished tweaking git repo https://github.com/akorchyn/light-watcher-pi3 [INFO] tweaked toml for git repo https://github.com/akorchyn/light-watcher-pi3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akorchyn/light-watcher-pi3 on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/akorchyn/light-watcher-pi3 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.49 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded teloxide-macros v0.7.0 [INFO] [stderr] Downloaded takecell v0.1.1 [INFO] [stderr] Downloaded serde_with_macros v1.5.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.33 [INFO] [stderr] Downloaded bumpalo v3.11.1 [INFO] [stderr] Downloaded teloxide v0.11.3 [INFO] [stderr] Downloaded reqwest v0.11.13 [INFO] [stderr] Downloaded teloxide-core v0.8.0 [INFO] [stderr] Downloaded openssl-sys v0.9.80 [INFO] [stderr] Downloaded ipnet v2.7.0 [INFO] [stderr] Downloaded openssl v0.10.45 [INFO] [stderr] Downloaded rc-box v1.2.0 [INFO] [stderr] Downloaded erasable v1.2.1 [INFO] [stderr] Downloaded never v0.1.0 [INFO] [stderr] Downloaded semver v1.0.16 [INFO] [stderr] Downloaded chrono v0.4.23 [INFO] [stderr] Downloaded dptree v0.3.0 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.85 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.85 [INFO] [stderr] Downloaded scratch v1.0.3 [INFO] [stderr] Downloaded cxx-build v1.0.85 [INFO] [stderr] Downloaded redis v0.22.1 [INFO] [stderr] Downloaded aquamarine v0.1.12 [INFO] [stderr] Downloaded cxx v1.0.85 [INFO] [stderr] Downloaded regex v1.7.0 [INFO] [stderr] Downloaded async-trait v0.1.60 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631 [INFO] running `Command { std: "docker" "start" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rc-box v1.2.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling async-trait v0.1.60 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling teloxide-macros v0.7.0 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling redis v0.22.1 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling teloxide-core v0.8.0 [INFO] [stderr] Compiling teloxide v0.11.3 [INFO] [stderr] Compiling power-watcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::ensure` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::ensure; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recipient` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | types::{ForwardedFrom, Recipient}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / pub fn set( [INFO] [stdout] 28 | | &self, [INFO] [stdout] 29 | | key: &str, [INFO] [stdout] 30 | | value: chrono::DateTime, [INFO] [stdout] 31 | | ) -> Result<(), anyhow::Error> { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | connection.set(key, value)?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 35 | connection.set::<_, _, ()>(key, value)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn manage_user(&self, user_id: UserId, value: &str) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | connection.set(user_id.to_string(), value)?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 47 | connection.set::<_, _, ()>(user_id.to_string(), value)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45, power-watcher v0.1.0 (/opt/rustwide/workdir), redis v0.22.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling power-watcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::ensure` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::ensure; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recipient` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | types::{ForwardedFrom, Recipient}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / pub fn set( [INFO] [stdout] 28 | | &self, [INFO] [stdout] 29 | | key: &str, [INFO] [stdout] 30 | | value: chrono::DateTime, [INFO] [stdout] 31 | | ) -> Result<(), anyhow::Error> { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | connection.set(key, value)?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 35 | connection.set::<_, _, ()>(key, value)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn manage_user(&self, user_id: UserId, value: &str) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | connection.set(user_id.to_string(), value)?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 47 | connection.set::<_, _, ()>(user_id.to_string(), value)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45, power-watcher v0.1.0 (/opt/rustwide/workdir), redis v0.22.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `anyhow::ensure` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::ensure; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Recipient` [INFO] [stderr] --> src/main.rs:4:28 [INFO] [stderr] | [INFO] [stderr] 4 | types::{ForwardedFrom, Recipient}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / pub fn set( [INFO] [stderr] 28 | | &self, [INFO] [stderr] 29 | | key: &str, [INFO] [stderr] 30 | | value: chrono::DateTime, [INFO] [stderr] 31 | | ) -> Result<(), anyhow::Error> { [INFO] [stderr] | |__________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/redis.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | connection.set(key, value)?; [INFO] [stderr] | ^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 35 | connection.set::<_, _, ()>(key, value)?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | fn manage_user(&self, user_id: UserId, value: &str) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/redis.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | connection.set(user_id.to_string(), value)?; [INFO] [stderr] | ^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 47 | connection.set::<_, _, ()>(user_id.to_string(), value)?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: `power-watcher` (bin "power-watcher" test) generated 4 warnings (run `cargo fix --bin "power-watcher" -p power-watcher --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45, power-watcher v0.1.0 (/opt/rustwide/workdir), redis v0.22.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/power_watcher-5131d8044af2d5e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631", kill_on_drop: false }` [INFO] [stdout] 9ac70a15d06454cb550482c17cdbd7ab463abacdaf0ca6b3e7743f9ff2d92631