[INFO] fetching crate grant 0.0.1-beta.3...
[INFO] checking grant-0.0.1-beta.3 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] extracting crate grant 0.0.1-beta.3 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate grant 0.0.1-beta.3 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sha2 v0.9.8
[INFO] [stderr]   Downloaded phf v0.10.0
[INFO] [stderr]   Downloaded ascii_table v3.0.2
[INFO] [stderr]   Downloaded postgres-protocol v0.6.2
[INFO] [stderr]   Downloaded indoc v1.0.3
[INFO] [stderr]   Downloaded anyhow v1.0.45
[INFO] [stderr]   Downloaded serde_yaml v0.8.21
[INFO] [stderr]   Downloaded unindent v0.1.7
[INFO] [stderr]   Downloaded postgres v0.19.2
[INFO] [stderr]   Downloaded postgres-types v0.2.2
[INFO] [stderr]   Downloaded tokio-postgres v0.7.5
[INFO] [stderr]   Downloaded tokio v1.13.1
[INFO] [stderr]   Downloaded libc v0.2.107
[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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1bffa79beb88f8fdd48b4a7881fddf40c44e8c13dd9238d59a87620ccf64a3d2
[INFO] running `Command { std: "docker" "start" "-a" "1bffa79beb88f8fdd48b4a7881fddf40c44e8c13dd9238d59a87620ccf64a3d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1bffa79beb88f8fdd48b4a7881fddf40c44e8c13dd9238d59a87620ccf64a3d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bffa79beb88f8fdd48b4a7881fddf40c44e8c13dd9238d59a87620ccf64a3d2", kill_on_drop: false }`
[INFO] [stdout] 1bffa79beb88f8fdd48b4a7881fddf40c44e8c13dd9238d59a87620ccf64a3d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85e1728bc4409f17c91c10165f1fa7e55bbe50091c7785c59610e25c33cc837f
[INFO] running `Command { std: "docker" "start" "-a" "85e1728bc4409f17c91c10165f1fa7e55bbe50091c7785c59610e25c33cc837f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.107
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[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 futures-macro v0.3.17
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling tokio v1.13.1
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]     Checking futures-io v0.3.17
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking siphasher v0.3.7
[INFO] [stderr]     Checking indexmap v1.7.0
[INFO] [stderr]    Compiling anyhow v1.0.45
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]    Compiling unindent v0.1.7
[INFO] [stderr]     Checking fsio v0.3.0
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling indoc v1.0.3
[INFO] [stderr]     Checking ascii_table v3.0.2
[INFO] [stderr]     Checking phf_shared v0.10.0
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking predicates v2.1.0
[INFO] [stderr]     Checking phf v0.10.0
[INFO] [stderr]     Checking envmnt v0.9.1
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking socket2 v0.4.2
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking assert_cmd v2.0.2
[INFO] [stderr]     Checking generic-array v0.14.4
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[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 proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking md-5 v0.9.1
[INFO] [stderr]     Checking sha2 v0.9.8
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking postgres-protocol v0.6.2
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking postgres-types v0.2.2
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking structopt v0.3.25
[INFO] [stderr]     Checking serde v1.0.130
[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 19.47s
[INFO] running `Command { std: "docker" "inspect" "85e1728bc4409f17c91c10165f1fa7e55bbe50091c7785c59610e25c33cc837f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85e1728bc4409f17c91c10165f1fa7e55bbe50091c7785c59610e25c33cc837f", kill_on_drop: false }`
[INFO] [stdout] 85e1728bc4409f17c91c10165f1fa7e55bbe50091c7785c59610e25c33cc837f
