[INFO] cloning repository https://github.com/jyasuu/number-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jyasuu/number-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fnumber-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fnumber-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8faa3bf839e7ea8f89f6a48af0f705d6658e26d7 [INFO] building jyasuu/number-generator against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fnumber-generator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jyasuu/number-generator [INFO] finished tweaking git repo https://github.com/jyasuu/number-generator [INFO] tweaked toml for git repo https://github.com/jyasuu/number-generator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jyasuu/number-generator on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jyasuu/number-generator 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iana-time-zone v0.1.62 [INFO] [stderr] Downloaded redis v0.21.7 [INFO] [stderr] Downloaded value-bag v1.11.1 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea6ced1819597a5dd450ade5cdcff38eccaf3b7230b69590826abbe209f5a41c [INFO] running `Command { std: "docker" "start" "-a" "ea6ced1819597a5dd450ade5cdcff38eccaf3b7230b69590826abbe209f5a41c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea6ced1819597a5dd450ade5cdcff38eccaf3b7230b69590826abbe209f5a41c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6ced1819597a5dd450ade5cdcff38eccaf3b7230b69590826abbe209f5a41c", kill_on_drop: false }` [INFO] [stdout] ea6ced1819597a5dd450ade5cdcff38eccaf3b7230b69590826abbe209f5a41c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ec54001609b7ce4d9f93fa3ed3f7fff90a9f74b49a44bff9f59e28a0a1358f3 [INFO] running `Command { std: "docker" "start" "-a" "2ec54001609b7ce4d9f93fa3ed3f7fff90a9f74b49a44bff9f59e28a0a1358f3", kill_on_drop: false }` [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling iana-time-zone v0.1.62 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling redis v0.21.7 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling number-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `sync::Arc` and `sync::Mutex` [INFO] [stdout] --> src/sequence_generator.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::Arc, fmt,sync::Mutex}; [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: `crate::prefix_rule_manager::PrefixRuleManager` [INFO] [stdout] --> src/sequence_generator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prefix_rule_manager::PrefixRuleManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | ... conn.set(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as ... [INFO] [stdout] | ^^^ [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] 73 | conn.set::<_, _, ()>(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as Box)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix_rules` is never read [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RedisPrefixRuleManager { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 31 | redis_client: Client, [INFO] [stdout] 32 | prefix_rules: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisPrefixRuleManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::Arc` and `sync::Mutex` [INFO] [stdout] --> src/sequence_generator.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::Arc, fmt,sync::Mutex}; [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: `crate::prefix_rule_manager::PrefixRuleManager` [INFO] [stdout] --> src/sequence_generator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prefix_rule_manager::PrefixRuleManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut manager = prefix_rule_manager_clone.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let mut manager = prefix_rule_manager_clone.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | ... conn.set(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as ... [INFO] [stdout] | ^^^ [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] 73 | conn.set::<_, _, ()>(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as Box)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PrefixNotFound` is never constructed [INFO] [stdout] --> src/sequence_generator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SequenceGeneratorError { [INFO] [stdout] | ---------------------- variant in this enum [INFO] [stdout] 14 | RedisError(RedisError), [INFO] [stdout] 15 | PrefixNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SequenceGeneratorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RedisPrefixRuleManagerError` is never used [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum RedisPrefixRuleManagerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix_rules` is never read [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RedisPrefixRuleManager { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 31 | redis_client: Client, [INFO] [stdout] 32 | prefix_rules: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisPrefixRuleManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: number-generator v0.1.0 (/opt/rustwide/workdir), redis v0.21.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2ec54001609b7ce4d9f93fa3ed3f7fff90a9f74b49a44bff9f59e28a0a1358f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec54001609b7ce4d9f93fa3ed3f7fff90a9f74b49a44bff9f59e28a0a1358f3", kill_on_drop: false }` [INFO] [stdout] 2ec54001609b7ce4d9f93fa3ed3f7fff90a9f74b49a44bff9f59e28a0a1358f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba4cedf908f3851da31dda760be3f8db6b45cffd43793a1d62e43fee3ea106f5 [INFO] running `Command { std: "docker" "start" "-a" "ba4cedf908f3851da31dda760be3f8db6b45cffd43793a1d62e43fee3ea106f5", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `sync::Arc` and `sync::Mutex` [INFO] [stdout] --> src/sequence_generator.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::Arc, fmt,sync::Mutex}; [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: `crate::prefix_rule_manager::PrefixRuleManager` [INFO] [stdout] --> src/sequence_generator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prefix_rule_manager::PrefixRuleManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | ... conn.set(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as ... [INFO] [stdout] | ^^^ [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] 73 | conn.set::<_, _, ()>(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as Box)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix_rules` is never read [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RedisPrefixRuleManager { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 31 | redis_client: Client, [INFO] [stdout] 32 | prefix_rules: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisPrefixRuleManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling number-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `sync::Arc` and `sync::Mutex` [INFO] [stdout] --> src/sequence_generator.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::Arc, fmt,sync::Mutex}; [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: `crate::prefix_rule_manager::PrefixRuleManager` [INFO] [stdout] --> src/sequence_generator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prefix_rule_manager::PrefixRuleManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | ... conn.set(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as ... [INFO] [stdout] | ^^^ [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] 73 | conn.set::<_, _, ()>(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as Box)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix_rules` is never read [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RedisPrefixRuleManager { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 31 | redis_client: Client, [INFO] [stdout] 32 | prefix_rules: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisPrefixRuleManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::Arc` and `sync::Mutex` [INFO] [stdout] --> src/sequence_generator.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::Arc, fmt,sync::Mutex}; [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: `crate::prefix_rule_manager::PrefixRuleManager` [INFO] [stdout] --> src/sequence_generator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prefix_rule_manager::PrefixRuleManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut manager = prefix_rule_manager_clone.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let mut manager = prefix_rule_manager_clone.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | ... conn.set(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as ... [INFO] [stdout] | ^^^ [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] 73 | conn.set::<_, _, ()>(redis_key, prefix_rule_json).await.map_err(|e| Box::new(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())) as Box)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PrefixNotFound` is never constructed [INFO] [stdout] --> src/sequence_generator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SequenceGeneratorError { [INFO] [stdout] | ---------------------- variant in this enum [INFO] [stdout] 14 | RedisError(RedisError), [INFO] [stdout] 15 | PrefixNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SequenceGeneratorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RedisPrefixRuleManagerError` is never used [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum RedisPrefixRuleManagerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix_rules` is never read [INFO] [stdout] --> src/redis_prefix_rule_manager.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RedisPrefixRuleManager { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 31 | redis_client: Client, [INFO] [stdout] 32 | prefix_rules: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisPrefixRuleManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: number-generator v0.1.0 (/opt/rustwide/workdir), redis v0.21.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "ba4cedf908f3851da31dda760be3f8db6b45cffd43793a1d62e43fee3ea106f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4cedf908f3851da31dda760be3f8db6b45cffd43793a1d62e43fee3ea106f5", kill_on_drop: false }` [INFO] [stdout] ba4cedf908f3851da31dda760be3f8db6b45cffd43793a1d62e43fee3ea106f5