[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] checking dmtaylor/freetote against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmtaylor%2Ffreetote" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmtaylor/freetote on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded config v0.9.3 [INFO] [stderr] Downloaded rust-ini v0.13.0 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded ryu v1.0.4 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded diesel v1.4.4 [INFO] [stderr] Downloaded syn v1.0.27 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded serde-hjson v0.8.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5435d24490338226609523eafddcf0a80ef8f923e06ecc27178a12237c7170df [INFO] running `Command { std: "docker" "start" "-a" "5435d24490338226609523eafddcf0a80ef8f923e06ecc27178a12237c7170df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5435d24490338226609523eafddcf0a80ef8f923e06ecc27178a12237c7170df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5435d24490338226609523eafddcf0a80ef8f923e06ecc27178a12237c7170df", kill_on_drop: false }` [INFO] [stdout] 5435d24490338226609523eafddcf0a80ef8f923e06ecc27178a12237c7170df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64c1435cc934f7f3970eae660a5dc962c23e78205e3f07f890630fefa30310fb [INFO] running `Command { std: "docker" "start" "-a" "64c1435cc934f7f3970eae660a5dc962c23e78205e3f07f890630fefa30310fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Checking 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: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/db.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] 2 | use diesel::pg::PgConnection; [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: the item `Bet` is imported redundantly [INFO] [stdout] --> src/bets.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Bet, NewBet}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `Bet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NewBet` is imported redundantly [INFO] [stdout] --> src/bets.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Bet, NewBet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `NewBet` is already imported here [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: the item `User` is imported redundantly [INFO] [stdout] --> src/users.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{User, NewUser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `User` is already imported here [INFO] [stdout] [INFO] [stdout] [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: the item `NewUser` is imported redundantly [INFO] [stdout] --> src/users.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{User, NewUser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `NewUser` is already imported here [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: `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: the item `Outcome` is imported redundantly [INFO] [stdout] --> src/outcomes.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Outcome, NewOutcome}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `Outcome` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/db.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] 2 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NewOutcome` is imported redundantly [INFO] [stdout] --> src/outcomes.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Outcome, NewOutcome}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `NewOutcome` is already imported here [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/outcomes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bet` is imported redundantly [INFO] [stdout] --> src/bets.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Bet, NewBet}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `Bet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NewBet` is imported redundantly [INFO] [stdout] --> src/bets.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Bet, NewBet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `NewBet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Winner` is imported redundantly [INFO] [stdout] --> src/winners.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Winner, NewWinner, Bet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `Winner` is already imported here [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: the item `NewWinner` is imported redundantly [INFO] [stdout] --> src/winners.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Winner, NewWinner, Bet}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `NewWinner` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/users.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{User, NewUser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `User` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bet` is imported redundantly [INFO] [stdout] --> src/winners.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Winner, NewWinner, Bet}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `Bet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NewUser` is imported redundantly [INFO] [stdout] --> src/users.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{User, NewUser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `NewUser` is already imported here [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::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: the item `Outcome` is imported redundantly [INFO] [stdout] --> src/outcomes.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Outcome, NewOutcome}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `Outcome` is already imported here [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: the item `NewOutcome` is imported redundantly [INFO] [stdout] --> src/outcomes.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Outcome, NewOutcome}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `NewOutcome` is already imported here [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::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::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: the item `Winner` is imported redundantly [INFO] [stdout] --> src/winners.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Winner, NewWinner, Bet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `Winner` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::chrono; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate chrono; [INFO] [stdout] | -------------------- the item `chrono` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NewWinner` is imported redundantly [INFO] [stdout] --> src/winners.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Winner, NewWinner, Bet}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `NewWinner` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bet` is imported redundantly [INFO] [stdout] --> src/winners.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Winner, NewWinner, Bet}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | use crate::db::FTDB; [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ---------------- the item `Bet` is already imported here [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: the item `chrono` is imported redundantly [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::chrono; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate chrono; [INFO] [stdout] | -------------------- the item `chrono` is already imported here [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: 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: 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: 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: field `conn` is never read [INFO] [stdout] --> src/db.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FTDB { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | pub conn: PgConnection, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bet_by_id`, `get_bet_by_name`, and `new_bet` are never used [INFO] [stdout] --> src/bets.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FTDB { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 7 | pub fn get_bet_by_id(&self, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get_bet_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new_bet<'a>(&self, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_user` and `find_by_username` are never used [INFO] [stdout] --> src/users.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FTDB { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 7 | pub fn new_user<'a> ( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn find_by_username(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_wager` and `find_outcome_by_name` are never used [INFO] [stdout] --> src/outcomes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FTDB { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 7 | [INFO] [stdout] 8 | pub fn new_wager<'a> ( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn find_outcome_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ClosedBet` and `EmptyBetClose` are never constructed [INFO] [stdout] --> src/winners.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum WinnerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | #[error("bet closed on `{0}`, cannot add winner")] [INFO] [stdout] 14 | ClosedBet(chrono::NaiveDateTime), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | #[error("Bet close is empty when expected non-empty")] [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] [INFO] [stdout] [INFO] [stdout] warning: method `new_winner` is never used [INFO] [stdout] --> src/winners.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FTDB { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 20 | pub fn new_winner<'a> ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conn` is never read [INFO] [stdout] --> src/db.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FTDB { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | pub conn: PgConnection, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bet_by_id`, `get_bet_by_name`, and `new_bet` are never used [INFO] [stdout] --> src/bets.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FTDB { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 7 | pub fn get_bet_by_id(&self, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get_bet_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new_bet<'a>(&self, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_user` and `find_by_username` are never used [INFO] [stdout] --> src/users.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FTDB { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 7 | pub fn new_user<'a> ( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn find_by_username(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_wager` and `find_outcome_by_name` are never used [INFO] [stdout] --> src/outcomes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FTDB { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 7 | [INFO] [stdout] 8 | pub fn new_wager<'a> ( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn find_outcome_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ClosedBet` and `EmptyBetClose` are never constructed [INFO] [stdout] --> src/winners.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum WinnerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | #[error("bet closed on `{0}`, cannot add winner")] [INFO] [stdout] 14 | ClosedBet(chrono::NaiveDateTime), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | #[error("Bet close is empty when expected non-empty")] [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] [INFO] [stdout] [INFO] [stdout] warning: method `new_winner` is never used [INFO] [stdout] --> src/winners.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FTDB { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 20 | pub fn new_winner<'a> ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "64c1435cc934f7f3970eae660a5dc962c23e78205e3f07f890630fefa30310fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c1435cc934f7f3970eae660a5dc962c23e78205e3f07f890630fefa30310fb", kill_on_drop: false }` [INFO] [stdout] 64c1435cc934f7f3970eae660a5dc962c23e78205e3f07f890630fefa30310fb [INFO] checking dmtaylor/freetote against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmtaylor%2Ffreetote" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmtaylor/freetote on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ad3af92a98896d93d13e378fa17b3ddf535af7b1ed435bf56e9198280744f35 [INFO] running `Command { std: "docker" "start" "-a" "7ad3af92a98896d93d13e378fa17b3ddf535af7b1ed435bf56e9198280744f35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ad3af92a98896d93d13e378fa17b3ddf535af7b1ed435bf56e9198280744f35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad3af92a98896d93d13e378fa17b3ddf535af7b1ed435bf56e9198280744f35", kill_on_drop: false }` [INFO] [stdout] 7ad3af92a98896d93d13e378fa17b3ddf535af7b1ed435bf56e9198280744f35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87589fcdf95e75c97d112c63feabf186b9e0574021c6a68ef384b871fe8180e2 [INFO] running `Command { std: "docker" "start" "-a" "87589fcdf95e75c97d112c63feabf186b9e0574021c6a68ef384b871fe8180e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.7/src/exec.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | / match dfa::Fsm::reverse( [INFO] [stdout] 837 | | &self.ro.dfa_reverse, [INFO] [stdout] 838 | | self.cache.value(), [INFO] [stdout] 839 | | false, [INFO] [stdout] ... | [INFO] [stdout] 850 | | Quit => return Some(Quit), [INFO] [stdout] 851 | | }; [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "87589fcdf95e75c97d112c63feabf186b9e0574021c6a68ef384b871fe8180e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87589fcdf95e75c97d112c63feabf186b9e0574021c6a68ef384b871fe8180e2", kill_on_drop: false }` [INFO] [stdout] 87589fcdf95e75c97d112c63feabf186b9e0574021c6a68ef384b871fe8180e2