[INFO] cloning repository https://github.com/OwczarekGit/mini-kvdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OwczarekGit/mini-kvdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwczarekGit%2Fmini-kvdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwczarekGit%2Fmini-kvdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9cc03a8339076abea0f8b44995385ae8c6c899b [INFO] checking OwczarekGit/mini-kvdb against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwczarekGit%2Fmini-kvdb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OwczarekGit/mini-kvdb [INFO] finished tweaking git repo https://github.com/OwczarekGit/mini-kvdb [INFO] tweaked toml for git repo https://github.com/OwczarekGit/mini-kvdb written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OwczarekGit/mini-kvdb on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OwczarekGit/mini-kvdb 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f [INFO] running `Command { std: "docker" "start" "07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f", 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" "07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f", 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" "07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking minikvdb-macros v0.1.0 (/opt/rustwide/workdir/minikvdb-macros) [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking minikvdb v0.2.0 (/opt/rustwide/workdir/minikvdb) [INFO] [stderr] Checking test-app v0.1.0 (/opt/rustwide/workdir/test-app) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dbg!(db.increment("visits", 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = dbg!(db.increment("visits", 1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(db.set("long1", 8i64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = dbg!(db.set("long1", 8i64)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | dbg!(db.increment("long1", 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = dbg!(db.increment("long1", 1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | dbg!(db.list_contains(format!("{}", "things"), true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = dbg!(db.list_contains(format!("{}", "things"), true)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | dbg!(db.list_remove(("things", true))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = dbg!(db.list_remove(("things", true))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | dbg!(db.list_contains("things", true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = dbg!(db.list_contains("things", true)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | dbg!(db.pop_back("things")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = dbg!(db.pop_back("things")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | dbg!(db.pop_front("things")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = dbg!(db.pop_front("things")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | dbg!(db.list_len("things")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = dbg!(db.list_len("things")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dbg!(db.list_range(("things", 0_usize, 5_usize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = dbg!(db.list_range(("things", 0_usize, 5_usize))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | dbg!(db.list_range(("things", 2_usize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = dbg!(db.list_range(("things", 2_usize))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | dbg!(db.list_range(("things",))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = dbg!(db.list_range(("things",))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | dbg!(db.hash_get_object::("user:2")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = dbg!(db.hash_get_object::("user:2")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | dbg!(db.hash_get_object::("cred:3.141529")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = dbg!(db.hash_get_object::("cred:3.141529")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | dbg!(db.hash_contains_key("user:2")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = dbg!(db.hash_contains_key("user:2")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dbg!(db.increment("visits", 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = dbg!(db.increment("visits", 1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(db.set("long1", 8i64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = dbg!(db.set("long1", 8i64)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | dbg!(db.increment("long1", 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = dbg!(db.increment("long1", 1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | dbg!(db.list_contains(format!("{}", "things"), true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = dbg!(db.list_contains(format!("{}", "things"), true)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | dbg!(db.list_remove(("things", true))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = dbg!(db.list_remove(("things", true))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | dbg!(db.list_contains("things", true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = dbg!(db.list_contains("things", true)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | dbg!(db.pop_back("things")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = dbg!(db.pop_back("things")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | dbg!(db.pop_front("things")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = dbg!(db.pop_front("things")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | dbg!(db.list_len("things")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = dbg!(db.list_len("things")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dbg!(db.list_range(("things", 0_usize, 5_usize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = dbg!(db.list_range(("things", 0_usize, 5_usize))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | dbg!(db.list_range(("things", 2_usize))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = dbg!(db.list_range(("things", 2_usize))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | dbg!(db.list_range(("things",))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = dbg!(db.list_range(("things",))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | dbg!(db.hash_get_object::("user:2")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = dbg!(db.hash_get_object::("user:2")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | dbg!(db.hash_get_object::("cred:3.141529")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = dbg!(db.hash_get_object::("cred:3.141529")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-app/src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | dbg!(db.hash_contains_key("user:2")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = dbg!(db.hash_contains_key("user:2")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/list_store/mod.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | db.0.get("mixed".into()).unwrap().clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 368 - db.0.get("mixed".into()).unwrap().clone(), [INFO] [stdout] 368 + db.0.get("mixed").unwrap().clone(), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 368 - db.0.get("mixed".into()).unwrap().clone(), [INFO] [stdout] 368 + db.0.get(<&str as Into<_>>::into("mixed")).unwrap().clone(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/list_store/mod.rs:383:22 [INFO] [stdout] | [INFO] [stdout] 383 | db.0.get("mixed".into()).unwrap().clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 383 - db.0.get("mixed".into()).unwrap().clone(), [INFO] [stdout] 383 + db.0.get("mixed").unwrap().clone(), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 383 - db.0.get("mixed".into()).unwrap().clone(), [INFO] [stdout] 383 + db.0.get(<&str as Into<_>>::into("mixed")).unwrap().clone(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | *ret.unwrap().get("name".into()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 138 - *ret.unwrap().get("name".into()).unwrap(), [INFO] [stdout] 138 + *ret.unwrap().get("name").unwrap(), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 138 - *ret.unwrap().get("name".into()).unwrap(), [INFO] [stdout] 138 + *ret.unwrap().get(<&str as Into<_>>::into("name")).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | *db.0.get("a".into()).unwrap().get("name").unwrap(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 143 - *db.0.get("a".into()).unwrap().get("name").unwrap(), [INFO] [stdout] 143 + *db.0.get("a").unwrap().get("name").unwrap(), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 143 - *db.0.get("a".into()).unwrap().get("name").unwrap(), [INFO] [stdout] 143 + *db.0.get(<&str as Into<_>>::into("a")).unwrap().get("name").unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | *res.get("name".into()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 180 - *res.get("name".into()).unwrap(), [INFO] [stdout] 180 + *res.get("name").unwrap(), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 180 - *res.get("name".into()).unwrap(), [INFO] [stdout] 180 + *res.get(<&str as Into<_>>::into("name")).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(22.into())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 184 - assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(22.into())); [INFO] [stdout] 184 + assert_eq!(*res.get("age").unwrap(), KVDBValue::Int(22.into())); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 184 - assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(22.into())); [INFO] [stdout] 184 + assert_eq!(*res.get(<&str as Into<_>>::into("age")).unwrap(), KVDBValue::Int(22.into())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `i32` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:184:68 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(22.into())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 184 - assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(22.into())); [INFO] [stdout] 184 + assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(22)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 184 - assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(22.into())); [INFO] [stdout] 184 + assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(>::into(22))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | *res.get("name".into()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 202 - *res.get("name".into()).unwrap(), [INFO] [stdout] 202 + *res.get("name").unwrap(), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 202 - *res.get("name".into()).unwrap(), [INFO] [stdout] 202 + *res.get(<&str as Into<_>>::into("name")).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:205:29 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(42.into())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 205 - assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(42.into())); [INFO] [stdout] 205 + assert_eq!(*res.get("age").unwrap(), KVDBValue::Int(42.into())); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 205 - assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(42.into())); [INFO] [stdout] 205 + assert_eq!(*res.get(<&str as Into<_>>::into("age")).unwrap(), KVDBValue::Int(42.into())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `i32` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:205:68 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(42.into())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 205 - assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(42.into())); [INFO] [stdout] 205 + assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(42)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 205 - assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(42.into())); [INFO] [stdout] 205 + assert_eq!(*res.get("age".into()).unwrap(), KVDBValue::Int(>::into(42))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> minikvdb/src/map_store/mod.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | assert!(db.0.get("b".into()).is_none()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 206 - assert!(db.0.get("b".into()).is_none()); [INFO] [stdout] 206 + assert!(db.0.get("b").is_none()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 206 - assert!(db.0.get("b".into()).is_none()); [INFO] [stdout] 206 + assert!(db.0.get(<&str as Into<_>>::into("b")).is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minikvdb` (lib test) due to 11 previous errors [INFO] [stderr] warning: unused dependency `clap` [INFO] [stderr] --> test-app/Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | clap = { version = "4.5.11", features = ["derive"] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `clap` [INFO] [stderr] warning: unused dependency `serde_json` [INFO] [stderr] --> test-app/Cargo.toml:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | serde_json = "1.0.120" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_json` [INFO] [stderr] warning: `test-app` (manifest) generated 2 warnings [INFO] running `Command { std: "docker" "inspect" "07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f", kill_on_drop: false }` [INFO] [stdout] 07b7dc622c9c40b1444ca2998a2872cfa248d47564c56517062c49bc09eb330f