[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fnumber-generator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jyasuu/number-generator on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redis v0.21.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f152f3955a24b188b288ee0c91a1a7ce288482954a11cefb64d8d221e5d62f15 [INFO] running `Command { std: "docker" "start" "-a" "f152f3955a24b188b288ee0c91a1a7ce288482954a11cefb64d8d221e5d62f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f152f3955a24b188b288ee0c91a1a7ce288482954a11cefb64d8d221e5d62f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f152f3955a24b188b288ee0c91a1a7ce288482954a11cefb64d8d221e5d62f15", kill_on_drop: false }` [INFO] [stdout] f152f3955a24b188b288ee0c91a1a7ce288482954a11cefb64d8d221e5d62f15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 118e527bc7a56d910da5b21beb4efd89860df6099665205dc5a0f8420af1032e [INFO] running `Command { std: "docker" "start" "-a" "118e527bc7a56d910da5b21beb4efd89860df6099665205dc5a0f8420af1032e", kill_on_drop: false }` [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [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 async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [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 47.83s [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 6` [INFO] running `Command { std: "docker" "inspect" "118e527bc7a56d910da5b21beb4efd89860df6099665205dc5a0f8420af1032e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118e527bc7a56d910da5b21beb4efd89860df6099665205dc5a0f8420af1032e", kill_on_drop: false }` [INFO] [stdout] 118e527bc7a56d910da5b21beb4efd89860df6099665205dc5a0f8420af1032e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad853da7c97418a50e63d6e0551f75b7214ad2f01ffeb24e118147401790658d [INFO] running `Command { std: "docker" "start" "-a" "ad853da7c97418a50e63d6e0551f75b7214ad2f01ffeb24e118147401790658d", 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] [stderr] Compiling number-generator v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 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 3.57s [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 7` [INFO] running `Command { std: "docker" "inspect" "ad853da7c97418a50e63d6e0551f75b7214ad2f01ffeb24e118147401790658d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad853da7c97418a50e63d6e0551f75b7214ad2f01ffeb24e118147401790658d", kill_on_drop: false }` [INFO] [stdout] ad853da7c97418a50e63d6e0551f75b7214ad2f01ffeb24e118147401790658d