[INFO] cloning repository https://github.com/dmtaylor/freetote [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmtaylor/freetote" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmtaylor%2Ffreetote", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmtaylor%2Ffreetote'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa71eb9c4aae6ce2e701c530c5114628ca449787 [INFO] building dmtaylor/freetote against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmtaylor%2Ffreetote" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmtaylor/freetote on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dmtaylor/freetote [INFO] finished tweaking git repo https://github.com/dmtaylor/freetote [INFO] tweaked toml for git repo https://github.com/dmtaylor/freetote written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/dmtaylor/freetote already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81263a5635bbae7fe64b0346754d97f5604950a22831e88ee8ca88d60e4891d0 [INFO] running `Command { std: "docker" "start" "-a" "81263a5635bbae7fe64b0346754d97f5604950a22831e88ee8ca88d60e4891d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81263a5635bbae7fe64b0346754d97f5604950a22831e88ee8ca88d60e4891d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81263a5635bbae7fe64b0346754d97f5604950a22831e88ee8ca88d60e4891d0", kill_on_drop: false }` [INFO] [stdout] 81263a5635bbae7fe64b0346754d97f5604950a22831e88ee8ca88d60e4891d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3f954a7892352435f2a72386e0de27b07ce58881aab40dda787a85fee7cfde8 [INFO] running `Command { std: "docker" "start" "-a" "f3f954a7892352435f2a72386e0de27b07ce58881aab40dda787a85fee7cfde8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling freetote v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Environment` [INFO] [stdout] --> src/settings.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use config::{Config, ConfigError, Environment, File}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/settings.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/bets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/users.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/outcomes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/winners.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bets::*` [INFO] [stdout] --> src/winners.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::bets::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/winners.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::bets` [INFO] [stdout] --> src/winners.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::schema::bets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/main.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | fn start_cli(db: db::FTDB) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/winners.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut bet: Bet = crate::schema::bets::dsl::bets.find(bet_id). [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: associated function is never used: `get_bet_by_id` [INFO] [stdout] --> src/bets.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_bet_by_id(&self, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bet_by_name` [INFO] [stdout] --> src/bets.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_bet_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_bet` [INFO] [stdout] --> src/bets.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new_bet<'a>(&self, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_user` [INFO] [stdout] --> src/users.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new_user<'a> ( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_by_username` [INFO] [stdout] --> src/users.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_by_username(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_wager` [INFO] [stdout] --> src/outcomes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new_wager<'a> ( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_outcome_by_name` [INFO] [stdout] --> src/outcomes.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn find_outcome_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ClosedBet` [INFO] [stdout] --> src/winners.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ClosedBet(chrono::NaiveDateTime), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WinnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/winners.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EmptyBetClose` [INFO] [stdout] --> src/winners.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | EmptyBetClose, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WinnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/winners.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_winner` [INFO] [stdout] --> src/winners.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_winner<'a> ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.73s [INFO] running `Command { std: "docker" "inspect" "f3f954a7892352435f2a72386e0de27b07ce58881aab40dda787a85fee7cfde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f954a7892352435f2a72386e0de27b07ce58881aab40dda787a85fee7cfde8", kill_on_drop: false }` [INFO] [stdout] f3f954a7892352435f2a72386e0de27b07ce58881aab40dda787a85fee7cfde8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 823a18e424a01aa89ea39ebdcf8cbf300dea5980157e6ef8fbffaf60d333444a [INFO] running `Command { std: "docker" "start" "-a" "823a18e424a01aa89ea39ebdcf8cbf300dea5980157e6ef8fbffaf60d333444a", kill_on_drop: false }` [INFO] [stderr] Compiling freetote v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Environment` [INFO] [stdout] --> src/settings.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use config::{Config, ConfigError, Environment, File}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/settings.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/bets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/users.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/outcomes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/winners.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bets::*` [INFO] [stdout] --> src/winners.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::bets::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/winners.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::bets` [INFO] [stdout] --> src/winners.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::schema::bets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/main.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | fn start_cli(db: db::FTDB) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/winners.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut bet: Bet = crate::schema::bets::dsl::bets.find(bet_id). [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: associated function is never used: `get_bet_by_id` [INFO] [stdout] --> src/bets.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_bet_by_id(&self, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bet_by_name` [INFO] [stdout] --> src/bets.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_bet_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_bet` [INFO] [stdout] --> src/bets.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new_bet<'a>(&self, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_user` [INFO] [stdout] --> src/users.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new_user<'a> ( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_by_username` [INFO] [stdout] --> src/users.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_by_username(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_wager` [INFO] [stdout] --> src/outcomes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new_wager<'a> ( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_outcome_by_name` [INFO] [stdout] --> src/outcomes.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn find_outcome_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ClosedBet` [INFO] [stdout] --> src/winners.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ClosedBet(chrono::NaiveDateTime), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WinnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/winners.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EmptyBetClose` [INFO] [stdout] --> src/winners.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | EmptyBetClose, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WinnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/winners.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_winner` [INFO] [stdout] --> src/winners.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_winner<'a> ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.20s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/freetote-0a2add01a33d96c4) [INFO] running `Command { std: "docker" "inspect" "823a18e424a01aa89ea39ebdcf8cbf300dea5980157e6ef8fbffaf60d333444a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823a18e424a01aa89ea39ebdcf8cbf300dea5980157e6ef8fbffaf60d333444a", kill_on_drop: false }` [INFO] [stdout] 823a18e424a01aa89ea39ebdcf8cbf300dea5980157e6ef8fbffaf60d333444a