[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] abb67ccd12870159be2aab35e8aeab2f88933174
[INFO] checking wistrandj/rust-zk against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwistrandj%2Frust-zk" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wistrandj/rust-zk on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14c3c608f2b4c1c43cffff89865cce96a0e4ec17b23a07d634cfa9610c1f4054
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "14c3c608f2b4c1c43cffff89865cce96a0e4ec17b23a07d634cfa9610c1f4054", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14c3c608f2b4c1c43cffff89865cce96a0e4ec17b23a07d634cfa9610c1f4054", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14c3c608f2b4c1c43cffff89865cce96a0e4ec17b23a07d634cfa9610c1f4054", kill_on_drop: false }`
[INFO] [stdout] 14c3c608f2b4c1c43cffff89865cce96a0e4ec17b23a07d634cfa9610c1f4054
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92ef2b65a35ac80ba58f753c91a43c8777e9334a7fbc66b269c9043a83eeda5e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "92ef2b65a35ac80ba58f753c91a43c8777e9334a7fbc66b269c9043a83eeda5e", kill_on_drop: false }`
[INFO] [stderr] Compiling typenum v1.12.0
[INFO] [stderr] Compiling pkg-config v0.3.19
[INFO] [stderr] Checking ahash v0.4.6
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Checking smallvec v1.4.2
[INFO] [stderr] Checking cpuid-bool v0.1.2
[INFO] [stderr] Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr] Checking fallible-iterator v0.2.0
[INFO] [stderr] Checking opaque-debug v0.3.0
[INFO] [stderr] Compiling generic-array v0.14.4
[INFO] [stderr] Checking time v0.1.44
[INFO] [stderr] Checking hashbrown v0.9.1
[INFO] [stderr] Checking chrono v0.4.19
[INFO] [stderr] Compiling libsqlite3-sys v0.20.1
[INFO] [stderr] Checking hashlink v0.6.0
[INFO] [stderr] Checking rusqlite v0.24.1
[INFO] [stderr] Checking digest v0.9.0
[INFO] [stderr] Checking block-buffer v0.9.0
[INFO] [stderr] Checking sha2 v0.9.2
[INFO] [stderr] Checking rust-zk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `params`
[INFO] [stdout] --> src/control/content.rs:4:28
[INFO] [stdout] |
[INFO] [stdout] 4 | use rusqlite::{Connection, params};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout] --> src/control/content.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | use std::fs;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::hash`
[INFO] [stdout] --> src/control/content.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | use crate::hash;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::card::Face`
[INFO] [stdout] --> src/model/blob.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use crate::card::Face;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `params`
[INFO] [stdout] --> src/control/content.rs:4:28
[INFO] [stdout] |
[INFO] [stdout] 4 | use rusqlite::{Connection, params};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout] --> src/control/content.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | use std::fs;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::hash`
[INFO] [stdout] --> src/control/content.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | use crate::hash;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::card::Face`
[INFO] [stdout] --> src/model/blob.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use crate::card::Face;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout] --> src/control/content.rs:12:23
[INFO] [stdout] |
[INFO] [stdout] 12 | fn all_timeline_cards(conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `folder`
[INFO] [stdout] --> src/control/content.rs:16:19
[INFO] [stdout] |
[INFO] [stdout] 16 | fn all_open_cards(folder: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout] --> src/control/content.rs:20:22
[INFO] [stdout] |
[INFO] [stdout] 20 | fn timestamp_of_file(file: &Path) -> Timestamp {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout] --> src/model/carddb.rs:28:16
[INFO] [stdout] |
[INFO] [stdout] 28 | if let Err(msg) = success {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/card/meta.rs:26:18
[INFO] [stdout] |
[INFO] [stdout] 26 | fn eq(&self, other: &Timestamp) -> bool {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/card/meta.rs:35:27
[INFO] [stdout] |
[INFO] [stdout] 35 | fn partial_cmp(&self, other: &Timestamp) -> Option {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/feature.rs:8:23
[INFO] [stdout] |
[INFO] [stdout] 8 | pub fn enable_feature(name: &str, conn: &mut Connection, feature: &dyn Feature) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/feature.rs:12:26
[INFO] [stdout] |
[INFO] [stdout] 12 | pub fn has_feature_table(name: &str, conn: &Connection) -> bool {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/feature.rs:29:12
[INFO] [stdout] |
[INFO] [stdout] 29 | pub fn has(name: &str, conn: &Connection) -> bool {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `set`
[INFO] [stdout] --> src/hash.rs:92:9
[INFO] [stdout] |
[INFO] [stdout] 92 | let set = b"0123456789abcdef";
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `hi`
[INFO] [stdout] --> src/hash.rs:90:17
[INFO] [stdout] |
[INFO] [stdout] 90 | fn hexcharvalue(hi: u8, lo: u8) -> u8 {
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `lo`
[INFO] [stdout] --> src/hash.rs:90:25
[INFO] [stdout] |
[INFO] [stdout] 90 | fn hexcharvalue(hi: u8, lo: u8) -> u8 {
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lo`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout] --> src/hash.rs:65:21
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn from_str(slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout] --> src/control/content.rs:12:23
[INFO] [stdout] |
[INFO] [stdout] 12 | fn all_timeline_cards(conn: &Connection) -> Vec {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `folder`
[INFO] [stdout] --> src/control/content.rs:16:19
[INFO] [stdout] |
[INFO] [stdout] 16 | fn all_open_cards(folder: &Path) -> Vec {
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout] --> src/control/content.rs:20:22
[INFO] [stdout] |
[INFO] [stdout] 20 | fn timestamp_of_file(file: &Path) -> Timestamp {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout] --> src/model/carddb.rs:28:16
[INFO] [stdout] |
[INFO] [stdout] 28 | if let Err(msg) = success {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/card/meta.rs:26:18
[INFO] [stdout] |
[INFO] [stdout] 26 | fn eq(&self, other: &Timestamp) -> bool {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/card/meta.rs:35:27
[INFO] [stdout] |
[INFO] [stdout] 35 | fn partial_cmp(&self, other: &Timestamp) -> Option {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/feature.rs:8:23
[INFO] [stdout] |
[INFO] [stdout] 8 | pub fn enable_feature(name: &str, conn: &mut Connection, feature: &dyn Feature) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/feature.rs:12:26
[INFO] [stdout] |
[INFO] [stdout] 12 | pub fn has_feature_table(name: &str, conn: &Connection) -> bool {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/feature.rs:29:12
[INFO] [stdout] |
[INFO] [stdout] 29 | pub fn has(name: &str, conn: &Connection) -> bool {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `set`
[INFO] [stdout] --> src/hash.rs:92:9
[INFO] [stdout] |
[INFO] [stdout] 92 | let set = b"0123456789abcdef";
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `hi`
[INFO] [stdout] --> src/hash.rs:90:17
[INFO] [stdout] |
[INFO] [stdout] 90 | fn hexcharvalue(hi: u8, lo: u8) -> u8 {
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `lo`
[INFO] [stdout] --> src/hash.rs:90:25
[INFO] [stdout] |
[INFO] [stdout] 90 | fn hexcharvalue(hi: u8, lo: u8) -> u8 {
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lo`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout] --> src/hash.rs:65:21
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn from_str(slice: &str) -> Hash {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/varg.rs:112:13
[INFO] [stdout] |
[INFO] [stdout] 112 | let mut a1: Vec = vec![];
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/varg.rs:113:13
[INFO] [stdout] |
[INFO] [stdout] 113 | let mut a2: Vec = vec!["--timeline"].iter().map(|s| s.to_string()).collect();
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/varg.rs:114:13
[INFO] [stdout] |
[INFO] [stdout] 114 | let mut a3: Vec = vec!["./timeline.db"].iter().map(|s| s.to_string()).collect();
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/varg.rs:115:13
[INFO] [stdout] |
[INFO] [stdout] 115 | let mut a4: Vec = vec!["first", "--timeline"].iter().map(|s| s.to_string()).collect();
[INFO] [stdout] | ----^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[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: 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: `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: 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: `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: 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: 36 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 32 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.43s
[INFO] running `Command { std: "docker" "inspect" "92ef2b65a35ac80ba58f753c91a43c8777e9334a7fbc66b269c9043a83eeda5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92ef2b65a35ac80ba58f753c91a43c8777e9334a7fbc66b269c9043a83eeda5e", kill_on_drop: false }`
[INFO] [stdout] 92ef2b65a35ac80ba58f753c91a43c8777e9334a7fbc66b269c9043a83eeda5e