[INFO] cloning repository https://github.com/wistrandj/rust-zk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wistrandj/rust-zk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwistrandj%2Frust-zk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwistrandj%2Frust-zk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 594332d3b6c860519676cb3f7a34cf759d99dc88
[INFO] checking wistrandj/rust-zk against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwistrandj%2Frust-zk" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wistrandj/rust-zk on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wistrandj/rust-zk
[INFO] finished tweaking git repo https://github.com/wistrandj/rust-zk
[INFO] tweaked toml for git repo https://github.com/wistrandj/rust-zk written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/wistrandj/rust-zk already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded rusqlite v0.24.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a672d7e8b26bbecd19d623a7b4338ec0e65c3e8fea916ea20eb68eb2d1f170e6
[INFO] running `Command { std: "docker" "start" "-a" "a672d7e8b26bbecd19d623a7b4338ec0e65c3e8fea916ea20eb68eb2d1f170e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a672d7e8b26bbecd19d623a7b4338ec0e65c3e8fea916ea20eb68eb2d1f170e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a672d7e8b26bbecd19d623a7b4338ec0e65c3e8fea916ea20eb68eb2d1f170e6", kill_on_drop: false }`
[INFO] [stdout] a672d7e8b26bbecd19d623a7b4338ec0e65c3e8fea916ea20eb68eb2d1f170e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75db379f5cad4d4665f1d7b0b112973928285b75c06dee6123160f721b0395bf
[INFO] running `Command { std: "docker" "start" "-a" "75db379f5cad4d4665f1d7b0b112973928285b75c06dee6123160f721b0395bf", kill_on_drop: false }`
[INFO] [stderr] Copying to /tmp/fixit
[INFO] [stderr] Running `cargo fix --edition`
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling typenum v1.12.0
[INFO] [stderr] Compiling version_check v0.9.2
[INFO] [stderr] Checking ahash v0.4.6
[INFO] [stderr] Compiling memchr v2.3.4
[INFO] [stderr] Checking opaque-debug v0.3.0
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Checking cpuid-bool v0.1.2
[INFO] [stderr] Compiling libsqlite3-sys v0.20.1
[INFO] [stderr] Checking time v0.1.44
[INFO] [stderr] Checking hashbrown v0.9.1
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling generic-array v0.14.4
[INFO] [stderr] Checking hashlink v0.6.0
[INFO] [stderr] Checking rusqlite v0.24.1
[INFO] [stderr] Checking chrono v0.4.19
[INFO] [stderr] Checking block-buffer v0.9.0
[INFO] [stderr] Checking digest v0.9.0
[INFO] [stderr] Checking sha2 v0.9.2
[INFO] [stderr] Checking rust-zk v0.1.0 (/tmp/fixit)
[INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr] Fixed src/model/blob.rs (1 fix)
[INFO] [stderr] Fixed src/model/schema.rs (1 fix)
[INFO] [stderr] Fixed src/control/tag.rs (2 fixes)
[INFO] [stderr] Fixed src/card/meta.rs (2 fixes)
[INFO] [stderr] Fixed src/feature.rs (3 fixes)
[INFO] [stderr] Fixed src/model/carddb.rs (1 fix)
[INFO] [stderr] Fixed src/zktag.rs (1 fix)
[INFO] [stderr] Fixed src/zkinit.rs (1 fix)
[INFO] [stderr] Fixed src/model/tag.rs (1 fix)
[INFO] [stderr] Fixed src/control/content.rs (6 fixes)
[INFO] [stderr] Fixed src/hash.rs (4 fixes)
[INFO] [stdout] warning: function is never used: `all_timeline_cards`
[INFO] [stdout] --> src/control/content.rs:12:4
[INFO] [stdout] |
[INFO] [stdout] 12 | fn all_timeline_cards(_conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `all_open_cards`
[INFO] [stdout] --> src/control/content.rs:16:4
[INFO] [stdout] |
[INFO] [stdout] 16 | fn all_open_cards(_folder: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `timestamp_of_file`
[INFO] [stdout] --> src/control/content.rs:20:4
[INFO] [stdout] |
[INFO] [stdout] 20 | fn timestamp_of_file(_file: &Path) -> Timestamp {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `modified_open_cards`
[INFO] [stdout] --> src/control/content.rs:25:4
[INFO] [stdout] |
[INFO] [stdout] 25 | fn modified_open_cards(folder: &Path, conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `CreateTagHistoryBatch`
[INFO] [stdout] --> src/control/tag.rs:29:12
[INFO] [stdout] |
[INFO] [stdout] 29 | pub struct CreateTagHistoryBatch<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `DropLatestTagHistoryBatch`
[INFO] [stdout] --> src/control/tag.rs:34:12
[INFO] [stdout] |
[INFO] [stdout] 34 | pub struct DropLatestTagHistoryBatch<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/control/tag.rs:147:12
[INFO] [stdout] |
[INFO] [stdout] 147 | pub fn new(connection: &'a Connection) -> Result, &'static str> {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `call_once`
[INFO] [stdout] --> src/control/tag.rs:157:12
[INFO] [stdout] |
[INFO] [stdout] 157 | pub fn call_once(&self) {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/control/tag.rs:163:12
[INFO] [stdout] |
[INFO] [stdout] 163 | pub fn new(connection: &'a Connection) -> Result, &'static str> {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `call_once`
[INFO] [stdout] --> src/control/tag.rs:172:12
[INFO] [stdout] |
[INFO] [stdout] 172 | pub fn call_once(self) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `load`
[INFO] [stdout] --> src/model/blob.rs:40:8
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn load(conn: &Connection, sha256: hash::Hash) -> Option> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `cards`
[INFO] [stdout] --> src/model/carddb.rs:6:4
[INFO] [stdout] |
[INFO] [stdout] 6 | fn cards(conn: &mut Connection) -> Vec {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `next_major_card`
[INFO] [stdout] --> src/model/cardfolder.rs:62:8
[INFO] [stdout] |
[INFO] [stdout] 62 | pub fn next_major_card(folder: &PathBuf) -> Face {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `list_cards`
[INFO] [stdout] --> src/model/cardfolder.rs:87:4
[INFO] [stdout] |
[INFO] [stdout] 87 | fn list_cards(path: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `latest_batch_id_or_zero`
[INFO] [stdout] --> src/model/tag.rs:158:12
[INFO] [stdout] |
[INFO] [stdout] 158 | pub fn latest_batch_id_or_zero(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `insert_tag_to_a_batch_history`
[INFO] [stdout] --> src/model/tag.rs:175:12
[INFO] [stdout] |
[INFO] [stdout] 175 | pub fn insert_tag_to_a_batch_history(&self, batch_id: usize, tag_name: &str, major_card_number: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `delete_card_tags_in_a_batch`
[INFO] [stdout] --> src/model/tag.rs:186:12
[INFO] [stdout] |
[INFO] [stdout] 186 | pub fn delete_card_tags_in_a_batch(&self, batch_id: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `delete_batch_from_history`
[INFO] [stdout] --> src/model/tag.rs:197:12
[INFO] [stdout] |
[INFO] [stdout] 197 | pub fn delete_batch_from_history(&self, batch_id: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `is_major`
[INFO] [stdout] --> src/card/face.rs:120:12
[INFO] [stdout] |
[INFO] [stdout] 120 | pub fn is_major(&self) -> bool {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `has`
[INFO] [stdout] --> src/feature.rs:29:8
[INFO] [stdout] |
[INFO] [stdout] 29 | pub fn has(_name: &str, conn: &Connection) -> bool {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_text`
[INFO] [stdout] --> src/hash.rs:25:12
[INFO] [stdout] |
[INFO] [stdout] 25 | pub fn from_text(slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_str`
[INFO] [stdout] --> src/hash.rs:65:12
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn from_str(_slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hexcharvalue`
[INFO] [stdout] --> src/hash.rs:90:4
[INFO] [stdout] |
[INFO] [stdout] 90 | fn hexcharvalue(_hi: u8, _lo: u8) -> u8 {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hexslice`
[INFO] [stdout] --> src/hash.rs:106:4
[INFO] [stdout] |
[INFO] [stdout] 106 | fn hexslice(slice: &str) -> [u8; Sha256_size] {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/main.rs:35:21
[INFO] [stdout] |
[INFO] [stdout] 35 | zktag::zktag(timeline_file, &args);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `Sha256_size` should have an upper case name
[INFO] [stdout] --> src/hash.rs:8:7
[INFO] [stdout] |
[INFO] [stdout] 8 | const Sha256_size: usize = 32;
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SHA256_SIZE`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/zktag.rs:41:9
[INFO] [stdout] |
[INFO] [stdout] 41 | cmd.call_once(());
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Fixed src/varg.rs (4 fixes)
[INFO] [stdout] warning: function is never used: `all_timeline_cards`
[INFO] [stdout] --> src/control/content.rs:12:4
[INFO] [stdout] |
[INFO] [stdout] 12 | fn all_timeline_cards(_conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `all_open_cards`
[INFO] [stdout] --> src/control/content.rs:16:4
[INFO] [stdout] |
[INFO] [stdout] 16 | fn all_open_cards(_folder: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `timestamp_of_file`
[INFO] [stdout] --> src/control/content.rs:20:4
[INFO] [stdout] |
[INFO] [stdout] 20 | fn timestamp_of_file(_file: &Path) -> Timestamp {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `modified_open_cards`
[INFO] [stdout] --> src/control/content.rs:25:4
[INFO] [stdout] |
[INFO] [stdout] 25 | fn modified_open_cards(folder: &Path, conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `CreateTagHistoryBatch`
[INFO] [stdout] --> src/control/tag.rs:29:12
[INFO] [stdout] |
[INFO] [stdout] 29 | pub struct CreateTagHistoryBatch<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `DropLatestTagHistoryBatch`
[INFO] [stdout] --> src/control/tag.rs:34:12
[INFO] [stdout] |
[INFO] [stdout] 34 | pub struct DropLatestTagHistoryBatch<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/control/tag.rs:147:12
[INFO] [stdout] |
[INFO] [stdout] 147 | pub fn new(connection: &'a Connection) -> Result, &'static str> {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `call_once`
[INFO] [stdout] --> src/control/tag.rs:157:12
[INFO] [stdout] |
[INFO] [stdout] 157 | pub fn call_once(&self) {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/control/tag.rs:163:12
[INFO] [stdout] |
[INFO] [stdout] 163 | pub fn new(connection: &'a Connection) -> Result, &'static str> {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `call_once`
[INFO] [stdout] --> src/control/tag.rs:172:12
[INFO] [stdout] |
[INFO] [stdout] 172 | pub fn call_once(self) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `load`
[INFO] [stdout] --> src/model/blob.rs:40:8
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn load(conn: &Connection, sha256: hash::Hash) -> Option> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `cards`
[INFO] [stdout] --> src/model/carddb.rs:6:4
[INFO] [stdout] |
[INFO] [stdout] 6 | fn cards(conn: &mut Connection) -> Vec {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `next_major_card`
[INFO] [stdout] --> src/model/cardfolder.rs:62:8
[INFO] [stdout] |
[INFO] [stdout] 62 | pub fn next_major_card(folder: &PathBuf) -> Face {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `list_cards`
[INFO] [stdout] --> src/model/cardfolder.rs:87:4
[INFO] [stdout] |
[INFO] [stdout] 87 | fn list_cards(path: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `latest_batch_id_or_zero`
[INFO] [stdout] --> src/model/tag.rs:158:12
[INFO] [stdout] |
[INFO] [stdout] 158 | pub fn latest_batch_id_or_zero(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `insert_tag_to_a_batch_history`
[INFO] [stdout] --> src/model/tag.rs:175:12
[INFO] [stdout] |
[INFO] [stdout] 175 | pub fn insert_tag_to_a_batch_history(&self, batch_id: usize, tag_name: &str, major_card_number: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `delete_card_tags_in_a_batch`
[INFO] [stdout] --> src/model/tag.rs:186:12
[INFO] [stdout] |
[INFO] [stdout] 186 | pub fn delete_card_tags_in_a_batch(&self, batch_id: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `delete_batch_from_history`
[INFO] [stdout] --> src/model/tag.rs:197:12
[INFO] [stdout] |
[INFO] [stdout] 197 | pub fn delete_batch_from_history(&self, batch_id: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `is_major`
[INFO] [stdout] --> src/card/face.rs:120:12
[INFO] [stdout] |
[INFO] [stdout] 120 | pub fn is_major(&self) -> bool {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `has`
[INFO] [stdout] --> src/feature.rs:29:8
[INFO] [stdout] |
[INFO] [stdout] 29 | pub fn has(_name: &str, conn: &Connection) -> bool {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_text`
[INFO] [stdout] --> src/hash.rs:25:12
[INFO] [stdout] |
[INFO] [stdout] 25 | pub fn from_text(slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_str`
[INFO] [stdout] --> src/hash.rs:65:12
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn from_str(_slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hexcharvalue`
[INFO] [stdout] --> src/hash.rs:90:4
[INFO] [stdout] |
[INFO] [stdout] 90 | fn hexcharvalue(_hi: u8, _lo: u8) -> u8 {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hexslice`
[INFO] [stdout] --> src/hash.rs:106:4
[INFO] [stdout] |
[INFO] [stdout] 106 | fn hexslice(slice: &str) -> [u8; Sha256_size] {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/main.rs:35:21
[INFO] [stdout] |
[INFO] [stdout] 35 | zktag::zktag(timeline_file, &args);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `Sha256_size` should have an upper case name
[INFO] [stdout] --> src/hash.rs:8:7
[INFO] [stdout] |
[INFO] [stdout] 8 | const Sha256_size: usize = 32;
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SHA256_SIZE`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/zktag.rs:41:9
[INFO] [stdout] |
[INFO] [stdout] 41 | cmd.call_once(());
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.68s
[INFO] [stderr] Running `cargo check` to verify 2021
[INFO] [stderr] Checking rust-zk v0.1.0 (/tmp/fixit)
[INFO] [stdout] warning: function is never used: `all_timeline_cards`
[INFO] [stdout] --> src/control/content.rs:12:4
[INFO] [stdout] |
[INFO] [stdout] 12 | fn all_timeline_cards(_conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `all_open_cards`
[INFO] [stdout] --> src/control/content.rs:16:4
[INFO] [stdout] |
[INFO] [stdout] 16 | fn all_open_cards(_folder: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `timestamp_of_file`
[INFO] [stdout] --> src/control/content.rs:20:4
[INFO] [stdout] |
[INFO] [stdout] 20 | fn timestamp_of_file(_file: &Path) -> Timestamp {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `modified_open_cards`
[INFO] [stdout] --> src/control/content.rs:25:4
[INFO] [stdout] |
[INFO] [stdout] 25 | fn modified_open_cards(folder: &Path, conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `CreateTagHistoryBatch`
[INFO] [stdout] --> src/control/tag.rs:29:12
[INFO] [stdout] |
[INFO] [stdout] 29 | pub struct CreateTagHistoryBatch<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `DropLatestTagHistoryBatch`
[INFO] [stdout] --> src/control/tag.rs:34:12
[INFO] [stdout] |
[INFO] [stdout] 34 | pub struct DropLatestTagHistoryBatch<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/control/tag.rs:147:12
[INFO] [stdout] |
[INFO] [stdout] 147 | pub fn new(connection: &'a Connection) -> Result, &'static str> {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `call_once`
[INFO] [stdout] --> src/control/tag.rs:157:12
[INFO] [stdout] |
[INFO] [stdout] 157 | pub fn call_once(&self) {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/control/tag.rs:163:12
[INFO] [stdout] |
[INFO] [stdout] 163 | pub fn new(connection: &'a Connection) -> Result, &'static str> {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `call_once`
[INFO] [stdout] --> src/control/tag.rs:172:12
[INFO] [stdout] |
[INFO] [stdout] 172 | pub fn call_once(self) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `load`
[INFO] [stdout] --> src/model/blob.rs:40:8
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn load(conn: &Connection, sha256: hash::Hash) -> Option> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `cards`
[INFO] [stdout] --> src/model/carddb.rs:6:4
[INFO] [stdout] |
[INFO] [stdout] 6 | fn cards(conn: &mut Connection) -> Vec {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `next_major_card`
[INFO] [stdout] --> src/model/cardfolder.rs:62:8
[INFO] [stdout] |
[INFO] [stdout] 62 | pub fn next_major_card(folder: &PathBuf) -> Face {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `list_cards`
[INFO] [stdout] --> src/model/cardfolder.rs:87:4
[INFO] [stdout] |
[INFO] [stdout] 87 | fn list_cards(path: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `latest_batch_id_or_zero`
[INFO] [stdout] --> src/model/tag.rs:158:12
[INFO] [stdout] |
[INFO] [stdout] 158 | pub fn latest_batch_id_or_zero(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `insert_tag_to_a_batch_history`
[INFO] [stdout] --> src/model/tag.rs:175:12
[INFO] [stdout] |
[INFO] [stdout] 175 | pub fn insert_tag_to_a_batch_history(&self, batch_id: usize, tag_name: &str, major_card_number: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `delete_card_tags_in_a_batch`
[INFO] [stdout] --> src/model/tag.rs:186:12
[INFO] [stdout] |
[INFO] [stdout] 186 | pub fn delete_card_tags_in_a_batch(&self, batch_id: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `delete_batch_from_history`
[INFO] [stdout] --> src/model/tag.rs:197:12
[INFO] [stdout] |
[INFO] [stdout] 197 | pub fn delete_batch_from_history(&self, batch_id: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `is_major`
[INFO] [stdout] --> src/card/face.rs:120:12
[INFO] [stdout] |
[INFO] [stdout] 120 | pub fn is_major(&self) -> bool {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `has`
[INFO] [stdout] --> src/feature.rs:29:8
[INFO] [stdout] |
[INFO] [stdout] 29 | pub fn has(_name: &str, conn: &Connection) -> bool {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_text`
[INFO] [stdout] --> src/hash.rs:25:12
[INFO] [stdout] |
[INFO] [stdout] 25 | pub fn from_text(slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_str`
[INFO] [stdout] --> src/hash.rs:65:12
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn from_str(_slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hexcharvalue`
[INFO] [stdout] --> src/hash.rs:90:4
[INFO] [stdout] |
[INFO] [stdout] 90 | fn hexcharvalue(_hi: u8, _lo: u8) -> u8 {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hexslice`
[INFO] [stdout] --> src/hash.rs:106:4
[INFO] [stdout] |
[INFO] [stdout] 106 | fn hexslice(slice: &str) -> [u8; Sha256_size] {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `all_timeline_cards`
[INFO] [stdout] --> src/control/content.rs:12:4
[INFO] [stdout] |
[INFO] [stdout] 12 | fn all_timeline_cards(_conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `all_open_cards`
[INFO] [stdout] --> src/control/content.rs:16:4
[INFO] [stdout] |
[INFO] [stdout] 16 | fn all_open_cards(_folder: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `timestamp_of_file`
[INFO] [stdout] --> src/control/content.rs:20:4
[INFO] [stdout] |
[INFO] [stdout] 20 | fn timestamp_of_file(_file: &Path) -> Timestamp {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `modified_open_cards`
[INFO] [stdout] --> src/control/content.rs:25:4
[INFO] [stdout] |
[INFO] [stdout] 25 | fn modified_open_cards(folder: &Path, conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `CreateTagHistoryBatch`
[INFO] [stdout] --> src/control/tag.rs:29:12
[INFO] [stdout] |
[INFO] [stdout] 29 | pub struct CreateTagHistoryBatch<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `DropLatestTagHistoryBatch`
[INFO] [stdout] --> src/control/tag.rs:34:12
[INFO] [stdout] |
[INFO] [stdout] 34 | pub struct DropLatestTagHistoryBatch<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/control/tag.rs:147:12
[INFO] [stdout] |
[INFO] [stdout] 147 | pub fn new(connection: &'a Connection) -> Result, &'static str> {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `call_once`
[INFO] [stdout] --> src/control/tag.rs:157:12
[INFO] [stdout] |
[INFO] [stdout] 157 | pub fn call_once(&self) {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/control/tag.rs:163:12
[INFO] [stdout] |
[INFO] [stdout] 163 | pub fn new(connection: &'a Connection) -> Result, &'static str> {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `call_once`
[INFO] [stdout] --> src/control/tag.rs:172:12
[INFO] [stdout] |
[INFO] [stdout] 172 | pub fn call_once(self) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `load`
[INFO] [stdout] --> src/model/blob.rs:40:8
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn load(conn: &Connection, sha256: hash::Hash) -> Option> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `cards`
[INFO] [stdout] --> src/model/carddb.rs:6:4
[INFO] [stdout] |
[INFO] [stdout] 6 | fn cards(conn: &mut Connection) -> Vec {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `next_major_card`
[INFO] [stdout] --> src/model/cardfolder.rs:62:8
[INFO] [stdout] |
[INFO] [stdout] 62 | pub fn next_major_card(folder: &PathBuf) -> Face {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `list_cards`
[INFO] [stdout] --> src/model/cardfolder.rs:87:4
[INFO] [stdout] |
[INFO] [stdout] 87 | fn list_cards(path: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `latest_batch_id_or_zero`
[INFO] [stdout] --> src/model/tag.rs:158:12
[INFO] [stdout] |
[INFO] [stdout] 158 | pub fn latest_batch_id_or_zero(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `insert_tag_to_a_batch_history`
[INFO] [stdout] --> src/model/tag.rs:175:12
[INFO] [stdout] |
[INFO] [stdout] 175 | pub fn insert_tag_to_a_batch_history(&self, batch_id: usize, tag_name: &str, major_card_number: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `delete_card_tags_in_a_batch`
[INFO] [stdout] --> src/model/tag.rs:186:12
[INFO] [stdout] |
[INFO] [stdout] 186 | pub fn delete_card_tags_in_a_batch(&self, batch_id: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `delete_batch_from_history`
[INFO] [stdout] --> src/model/tag.rs:197:12
[INFO] [stdout] |
[INFO] [stdout] 197 | pub fn delete_batch_from_history(&self, batch_id: usize) -> Result<(), &'static str> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `is_major`
[INFO] [stdout] --> src/card/face.rs:120:12
[INFO] [stdout] |
[INFO] [stdout] 120 | pub fn is_major(&self) -> bool {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `has`
[INFO] [stdout] --> src/feature.rs:29:8
[INFO] [stdout] |
[INFO] [stdout] 29 | pub fn has(_name: &str, conn: &Connection) -> bool {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_text`
[INFO] [stdout] --> src/hash.rs:25:12
[INFO] [stdout] |
[INFO] [stdout] 25 | pub fn from_text(slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `from_str`
[INFO] [stdout] --> src/hash.rs:65:12
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn from_str(_slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hexcharvalue`
[INFO] [stdout] --> src/hash.rs:90:4
[INFO] [stdout] |
[INFO] [stdout] 90 | fn hexcharvalue(_hi: u8, _lo: u8) -> u8 {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hexslice`
[INFO] [stdout] --> src/hash.rs:106:4
[INFO] [stdout] |
[INFO] [stdout] 106 | fn hexslice(slice: &str) -> [u8; Sha256_size] {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/main.rs:35:21
[INFO] [stdout] |
[INFO] [stdout] 35 | zktag::zktag(timeline_file, &args);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/main.rs:35:21
[INFO] [stdout] |
[INFO] [stdout] 35 | zktag::zktag(timeline_file, &args);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `Sha256_size` should have an upper case name
[INFO] [stdout] --> src/hash.rs:8:7
[INFO] [stdout] |
[INFO] [stdout] 8 | const Sha256_size: usize = 32;
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SHA256_SIZE`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `Sha256_size` should have an upper case name
[INFO] [stdout] --> src/hash.rs:8:7
[INFO] [stdout] |
[INFO] [stdout] 8 | const Sha256_size: usize = 32;
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SHA256_SIZE`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/zktag.rs:41:9
[INFO] [stdout] |
[INFO] [stdout] 41 | cmd.call_once(());
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/zktag.rs:41:9
[INFO] [stdout] |
[INFO] [stdout] 41 | cmd.call_once(());
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.65s
[INFO] running `Command { std: "docker" "inspect" "75db379f5cad4d4665f1d7b0b112973928285b75c06dee6123160f721b0395bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75db379f5cad4d4665f1d7b0b112973928285b75c06dee6123160f721b0395bf", kill_on_drop: false }`
[INFO] [stdout] 75db379f5cad4d4665f1d7b0b112973928285b75c06dee6123160f721b0395bf