[INFO] fetching crate grant 0.0.1-beta.3...
[INFO] checking grant-0.0.1-beta.3 against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] extracting crate grant 0.0.1-beta.3 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate grant 0.0.1-beta.3
[INFO] finished tweaking crates.io crate grant 0.0.1-beta.3
[INFO] tweaked toml for crates.io crate grant 0.0.1-beta.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate grant 0.0.1-beta.3 on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate grant 0.0.1-beta.3 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.2.3
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.15
[INFO] [stderr]   Downloaded predicates v2.1.0
[INFO] [stderr]   Downloaded proc-macro-nested v0.1.7
[INFO] [stderr]   Downloaded futures-macro v0.3.17
[INFO] [stderr]   Downloaded futures-io v0.3.17
[INFO] [stderr]   Downloaded futures-task v0.3.17
[INFO] [stderr]   Downloaded indoc v1.0.3
[INFO] [stderr]   Downloaded futures-sink v0.3.17
[INFO] [stderr]   Downloaded cpufeatures v0.2.1
[INFO] [stderr]   Downloaded predicates-tree v1.0.4
[INFO] [stderr]   Downloaded ascii_table v3.0.2
[INFO] [stderr]   Downloaded md-5 v0.9.1
[INFO] [stderr]   Downloaded dunce v1.0.2
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.19
[INFO] [stderr]   Downloaded unindent v0.1.7
[INFO] [stderr]   Downloaded phf v0.10.0
[INFO] [stderr]   Downloaded termtree v0.2.3
[INFO] [stderr]   Downloaded siphasher v0.3.7
[INFO] [stderr]   Downloaded smallvec v1.7.0
[INFO] [stderr]   Downloaded predicates-core v1.0.2
[INFO] [stderr]   Downloaded sha2 v0.9.8
[INFO] [stderr]   Downloaded futures-executor v0.3.17
[INFO] [stderr]   Downloaded async-trait v0.1.51
[INFO] [stderr]   Downloaded postgres-protocol v0.6.2
[INFO] [stderr]   Downloaded lock_api v0.4.5
[INFO] [stderr]   Downloaded stringprep v0.1.2
[INFO] [stderr]   Downloaded assert_cmd v2.0.2
[INFO] [stderr]   Downloaded postgres v0.19.2
[INFO] [stderr]   Downloaded postgres-types v0.2.2
[INFO] [stderr]   Downloaded futures-core v0.3.17
[INFO] [stderr]   Downloaded anyhow v1.0.45
[INFO] [stderr]   Downloaded typenum v1.14.0
[INFO] [stderr]   Downloaded futures-channel v0.3.17
[INFO] [stderr]   Downloaded futures v0.3.17
[INFO] [stderr]   Downloaded tokio-postgres v0.7.5
[INFO] [stderr]   Downloaded tokio-util v0.6.9
[INFO] [stderr]   Downloaded syn v1.0.81
[INFO] [stderr]   Downloaded futures-util v0.3.17
[INFO] [stderr]   Downloaded libc v0.2.107
[INFO] [stderr]   Downloaded tokio v1.13.1
[INFO] [stderr]   Downloaded fsio v0.3.0
[INFO] [stderr]   Downloaded envmnt v0.9.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75e868922717374407916fb0a0775ba77c9eb1cdd31810b434dc7f5c3f16f9be
[INFO] running `Command { std: "docker" "start" "-a" "75e868922717374407916fb0a0775ba77c9eb1cdd31810b434dc7f5c3f16f9be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75e868922717374407916fb0a0775ba77c9eb1cdd31810b434dc7f5c3f16f9be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75e868922717374407916fb0a0775ba77c9eb1cdd31810b434dc7f5c3f16f9be", kill_on_drop: false }`
[INFO] [stdout] 75e868922717374407916fb0a0775ba77c9eb1cdd31810b434dc7f5c3f16f9be
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1410bb0a045396efd1dd4f5307fe55613040bdee59338d878e0f2722258b8e07
[INFO] running `Command { std: "docker" "start" "-a" "1410bb0a045396efd1dd4f5307fe55613040bdee59338d878e0f2722258b8e07", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.107
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling tokio v1.13.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]     Checking futures-io v0.3.17
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking siphasher v0.3.7
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking phf_shared v0.10.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking phf v0.10.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking socket2 v0.4.2
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]    Compiling anyhow v1.0.45
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking dtoa v0.4.8
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking predicates-core v1.0.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling unindent v0.1.7
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking fsio v0.3.0
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking termtree v0.2.3
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]    Compiling indoc v1.0.3
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking ascii_table v3.0.2
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking sha2 v0.9.8
[INFO] [stderr]     Checking md-5 v0.9.1
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking predicates-tree v1.0.4
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking envmnt v0.9.1
[INFO] [stderr]     Checking postgres-protocol v0.6.2
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking postgres-types v0.2.2
[INFO] [stderr]     Checking predicates v2.1.0
[INFO] [stderr]     Checking assert_cmd v2.0.2
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking structopt v0.3.25
[INFO] [stderr]     Checking futures-executor v0.3.17
[INFO] [stderr]     Checking futures v0.3.17
[INFO] [stderr]     Checking tokio-postgres v0.7.5
[INFO] [stderr]     Checking postgres v0.19.2
[INFO] [stderr]     Checking serde_yaml v0.8.21
[INFO] [stderr]     Checking grant v0.0.1-beta.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/cli.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct CustomError(String);
[INFO] [stdout]   |            ----------- ^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout]   = note: `CustomError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/cli.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct CustomError(String);
[INFO] [stdout]   |            ----------- ^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout]   = note: `CustomError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CustomError` is never constructed
[INFO] [stdout]  --> src/cli.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct CustomError(String);
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/config.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Connection {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 33 |     pub fn new(type_: ConnectionType, url: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RoleLevelType` is never used
[INFO] [stdout]   --> src/config.rs:73:10
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub enum RoleLevelType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `validate`, `get_level_type`, and `is_none` are never used
[INFO] [stdout]    --> src/config.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl RoleLevelType {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout]  90 |     pub fn validate(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn get_level_type(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn is_none(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_sql_revoke` is never used
[INFO] [stdout]    --> src/config.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl RoleDatabaseLevel {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn to_sql_revoke(&self, user: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_sql_revoke` is never used
[INFO] [stdout]    --> src/config.rs:248:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl RoleSchemaLevel {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 248 |     pub fn to_sql_revoke(&self, user: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_sql_revoke` is never used
[INFO] [stdout]    --> src/config.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 292 | impl RoleTableLevel {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 333 |     pub fn to_sql_revoke(&self, user: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_sql_create`, `to_sql_drop`, and `get_roles` are never used
[INFO] [stdout]    --> src/config.rs:389:12
[INFO] [stdout]     |
[INFO] [stdout] 388 | impl User {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 389 |     pub fn to_sql_create(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 398 |     pub fn to_sql_drop(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 422 |     pub fn get_roles(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/config.rs:440:12
[INFO] [stdout]     |
[INFO] [stdout] 439 | impl Role {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 440 |     pub fn to_sql(&self, user: String, grant: bool) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 448 |     pub fn to_sql_grant(&self, user: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 452 |     pub fn to_sql_revoke(&self, user: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 472 |     pub fn get_level(&self) -> RoleLevelType {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 480 |     pub fn get_grants(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 488 |     pub fn get_databases(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 496 |     pub fn get_schemas(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 504 |     pub fn get_tables(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]    --> src/config.rs:558:12
[INFO] [stdout]     |
[INFO] [stdout] 545 | impl Config {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 558 |     pub fn from_str(config_str: &str) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection_info` is never read
[INFO] [stdout]   --> src/connection.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct DbConnection {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 11 |     pub connection_info: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `database_name`, `has_create`, and `has_temp` are never read
[INFO] [stdout]   --> src/connection.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct UserDatabaseRole {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 36 |     pub name: String,
[INFO] [stdout] 37 |     pub database_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub has_create: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 39 |     pub has_temp: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserDatabaseRole` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `schema_name`, `has_create`, and `has_usage` are never read
[INFO] [stdout]   --> src/connection.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct UserSchemaRole {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 44 |     pub name: String,
[INFO] [stdout] 45 |     pub schema_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 46 |     pub has_create: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 47 |     pub has_usage: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserSchemaRole` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/connection.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct UserTableRole {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 52 |     pub name: String,
[INFO] [stdout] 53 |     pub schema_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 54 |     pub table_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 55 |     pub has_select: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 56 |     pub has_insert: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 57 |     pub has_update: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub has_delete: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 59 |     pub has_references: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserTableRole` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_from_string`, `connection_info`, `drop_user`, and `update_user_password` are never used
[INFO] [stdout]    --> src/connection.rs:88:12
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl DbConnection {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn new_from_string(connection_info: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn connection_info(self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn drop_user(&mut self, user: &User) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn update_user_password(&mut self, user: &User) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CustomError` is never constructed
[INFO] [stdout]  --> src/cli.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct CustomError(String);
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/config.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Connection {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 33 |     pub fn new(type_: ConnectionType, url: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `validate`, `get_level_type`, and `is_none` are never used
[INFO] [stdout]    --> src/config.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl RoleLevelType {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout]  90 |     pub fn validate(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn get_level_type(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn is_none(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_sql_revoke` is never used
[INFO] [stdout]    --> src/config.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl RoleDatabaseLevel {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn to_sql_revoke(&self, user: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_sql_revoke` is never used
[INFO] [stdout]    --> src/config.rs:248:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl RoleSchemaLevel {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 248 |     pub fn to_sql_revoke(&self, user: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_sql_revoke` is never used
[INFO] [stdout]    --> src/config.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 292 | impl RoleTableLevel {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 333 |     pub fn to_sql_revoke(&self, user: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection_info` is never read
[INFO] [stdout]   --> src/connection.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct DbConnection {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 11 |     pub connection_info: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `database_name` and `has_temp` are never read
[INFO] [stdout]   --> src/connection.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct UserDatabaseRole {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 36 |     pub name: String,
[INFO] [stdout] 37 |     pub database_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub has_create: bool,
[INFO] [stdout] 39 |     pub has_temp: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserDatabaseRole` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `schema_name` is never read
[INFO] [stdout]   --> src/connection.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct UserSchemaRole {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 44 |     pub name: String,
[INFO] [stdout] 45 |     pub schema_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserSchemaRole` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `schema_name`, `table_name`, `has_insert`, `has_update`, `has_delete`, and `has_references` are never read
[INFO] [stdout]   --> src/connection.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct UserTableRole {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 52 |     pub name: String,
[INFO] [stdout] 53 |     pub schema_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 54 |     pub table_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 55 |     pub has_select: bool,
[INFO] [stdout] 56 |     pub has_insert: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 57 |     pub has_update: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub has_delete: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 59 |     pub has_references: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserTableRole` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `connection_info` and `update_user_password` are never used
[INFO] [stdout]    --> src/connection.rs:97:12
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl DbConnection {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn connection_info(self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn update_user_password(&mut self, user: &User) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.62s
[INFO] running `Command { std: "docker" "inspect" "1410bb0a045396efd1dd4f5307fe55613040bdee59338d878e0f2722258b8e07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1410bb0a045396efd1dd4f5307fe55613040bdee59338d878e0f2722258b8e07", kill_on_drop: false }`
[INFO] [stdout] 1410bb0a045396efd1dd4f5307fe55613040bdee59338d878e0f2722258b8e07
