[INFO] cloning repository https://github.com/tsullens/arc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsullens/arc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsullens%2Farc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsullens%2Farc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd8a8a6cdb2ffe7c7b67f65b9a302a8232f09a18 [INFO] checking tsullens/arc against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsullens%2Farc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tsullens/arc [INFO] finished tweaking git repo https://github.com/tsullens/arc [INFO] tweaked toml for git repo https://github.com/tsullens/arc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tsullens/arc on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tsullens/arc 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `arc` (manifest) generated 1 warning [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded thread_local v0.3.5 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded dtoa v0.4.2 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded itoa v0.4.1 [INFO] [stderr] Downloaded aho-corasick v0.6.4 [INFO] [stderr] Downloaded toml v0.4.6 [INFO] [stderr] Downloaded yaml-rust v0.4.0 [INFO] [stderr] Downloaded serde_json v1.0.17 [INFO] [stderr] Downloaded regex-syntax v0.6.0 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] [stderr] Downloaded regex v1.0.0 [INFO] [stderr] Downloaded serde v1.0.59 [INFO] [stderr] Downloaded serde-hjson v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 19128d5c85d1d854e6618b21e8faf094302b056b9c8d4d3e0c88a1cf1fc886ea [INFO] running `Command { std: "docker" "start" "19128d5c85d1d854e6618b21e8faf094302b056b9c8d4d3e0c88a1cf1fc886ea", 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" "19128d5c85d1d854e6618b21e8faf094302b056b9c8d4d3e0c88a1cf1fc886ea" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19128d5c85d1d854e6618b21e8faf094302b056b9c8d4d3e0c88a1cf1fc886ea", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "19128d5c85d1d854e6618b21e8faf094302b056b9c8d4d3e0c88a1cf1fc886ea" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `arc` (manifest) generated 1 warning [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling serde v1.0.59 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking regex-syntax v0.6.0 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking rand_core v0.2.0 [INFO] [stderr] Checking rand v0.5.0 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking serde-hjson v0.8.1 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking serde_json v1.0.17 [INFO] [stderr] Checking config v0.8.0 [INFO] [stderr] Checking arc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/commands.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | /* [INFO] [stdout] 15 | | * I have no idea if this makes sense or if it is correct. [INFO] [stdout] 16 | | * I'm not actually sure if this is thread safe either... [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(stream: &'a TcpStream) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(stream: &'a TcpStream) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/commands.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | /* [INFO] [stdout] 15 | | * I have no idea if this makes sense or if it is correct. [INFO] [stdout] 16 | | * I'm not actually sure if this is thread safe either... [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(stream: &'a TcpStream) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(stream: &'a TcpStream) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigError` is never constructed [INFO] [stdout] --> src/server.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ConfigError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `db`, and `key_count` are never read [INFO] [stdout] --> src/server.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct ArcServer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 143 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 144 | pub db: RwLock, [INFO] [stdout] | ^^ [INFO] [stdout] 145 | pub key_count: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArcServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inc_key_count` and `dec_key_count` are never used [INFO] [stdout] --> src/server.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl ArcServer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn inc_key_count(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn dec_key_count(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/commands.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping_command` is never used [INFO] [stdout] --> src/commands.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn ping_command(_server: &mut Arc, _args: &Vec<&str>) -> ClientResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_command` is never used [INFO] [stdout] --> src/commands.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn config_command(server: &mut Arc, args: &Vec<&str>) -> ClientResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_get_command` is never used [INFO] [stdout] --> src/commands.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn config_get_command(server: &mut Arc, key: &str) -> ClientResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_command` is never used [INFO] [stdout] --> src/commands.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn set_command(server: &mut Arc, args: &Vec<&str>) -> ClientResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_command` is never used [INFO] [stdout] --> src/commands.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_command(server: &mut Arc, args: &Vec<&str>) -> ClientResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del_command` is never used [INFO] [stdout] --> src/commands.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn del_command(server: &mut Arc, args: &Vec<&str>) -> ClientResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sadd_command` is never used [INFO] [stdout] --> src/commands.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn sadd_command(server: &mut Arc, args: &Vec<&str>) -> ClientResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/database.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | db: HashMap, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `update_string`, `update_or_insert_set`, `try_update_set`, `get`, and `delete` are never used [INFO] [stdout] --> src/database.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update(&mut self, key: &str, val: DatabaseVal) -> () { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn update_string(&mut self, key: &str, val: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn update_or_insert_set(&mut self, key: &str, vals: &Vec<&str>) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn try_update_set(&mut self, key: &str, vals: &Vec<&str>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get(&self, key: &str) -> Option<&DatabaseVal> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn delete(&mut self, key: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseError` is never constructed [INFO] [stdout] --> src/database.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct DatabaseError(String); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StringVal` and `SetVal` are never constructed [INFO] [stdout] --> src/database.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum DatabaseVal { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 94 | StringVal(StringValType), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | SetVal(SetValType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseVal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/database.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl DatabaseVal { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 99 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/database.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl StringValType { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 123 | pub fn from(val: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from` and `add` are never used [INFO] [stdout] --> src/database.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl SetValType { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 145 | pub fn from(vals: &Vec<&str>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn add(&mut self, vals: &Vec<&str>) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigError` is never constructed [INFO] [stdout] --> src/server.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ConfigError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inc_key_count` is never used [INFO] [stdout] --> src/server.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl ArcServer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn inc_key_count(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "19128d5c85d1d854e6618b21e8faf094302b056b9c8d4d3e0c88a1cf1fc886ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19128d5c85d1d854e6618b21e8faf094302b056b9c8d4d3e0c88a1cf1fc886ea", kill_on_drop: false }` [INFO] [stdout] 19128d5c85d1d854e6618b21e8faf094302b056b9c8d4d3e0c88a1cf1fc886ea