[INFO] fetching crate infer_schema_internals 1.4.0...
[INFO] checking infer_schema_internals-1.4.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate infer_schema_internals 1.4.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate infer_schema_internals 1.4.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate infer_schema_internals 1.4.0
[INFO] finished tweaking crates.io crate infer_schema_internals 1.4.0
[INFO] tweaked toml for crates.io crate infer_schema_internals 1.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 63 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding aho-corasick v0.6.10 (latest: v1.1.3)
[INFO] [stderr]       Adding bitflags v0.9.1 (latest: v2.5.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding clippy v0.0.195 (latest: v0.0.302)
[INFO] [stderr]       Adding clippy_lints v0.0.195 (latest: v0.0.212)
[INFO] [stderr]       Adding derive-error-chain v0.10.1 (latest: v0.11.2)
[INFO] [stderr]       Adding diesel v1.4.8 (latest: v2.1.6)
[INFO] [stderr]       Adding diesel_derives v1.4.1 (latest: v2.1.4)
[INFO] [stderr]       Adding dotenv v0.10.1 (latest: v0.15.0)
[INFO] [stderr]       Adding error-chain v0.10.0 (latest: v0.12.4)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding idna v0.1.5 (latest: v0.5.0)
[INFO] [stderr]       Adding if_chain v0.1.3 (latest: v1.0.2)
[INFO] [stderr]       Adding itertools v0.7.11 (latest: v0.12.1)
[INFO] [stderr]       Adding libsqlite3-sys v0.22.2 (latest: v0.28.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding percent-encoding v1.0.1 (latest: v2.3.1)
[INFO] [stderr]       Adding pq-sys v0.4.8 (latest: v0.5.0)
[INFO] [stderr]       Adding pulldown-cmark v0.1.2 (latest: v0.10.3)
[INFO] [stderr]       Adding quote v0.3.15 (latest: v1.0.36)
[INFO] [stderr]       Adding regex v0.2.11 (latest: v1.10.4)
[INFO] [stderr]       Adding regex-syntax v0.5.6 (latest: v0.8.3)
[INFO] [stderr]       Adding semver v0.9.0 (latest: v1.0.22)
[INFO] [stderr]       Adding semver-parser v0.7.0 (latest: v0.10.2)
[INFO] [stderr]       Adding syn v0.11.11 (latest: v2.0.60)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding thread_local v0.3.6 (latest: v1.1.8)
[INFO] [stderr]       Adding toml v0.4.10 (latest: v0.8.12)
[INFO] [stderr]       Adding ucd-util v0.1.10 (latest: v0.2.1)
[INFO] [stderr]       Adding unicode-xid v0.0.4 (latest: v0.2.4)
[INFO] [stderr]       Adding url v1.7.2 (latest: v2.5.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive-error-chain v0.10.1
[INFO] [stderr]   Downloaded quine-mc_cluskey v0.2.4
[INFO] [stderr]   Downloaded dotenv v0.10.1
[INFO] [stderr]   Downloaded clippy v0.0.195
[INFO] [stderr]   Downloaded pulldown-cmark v0.1.2
[INFO] [stderr]   Downloaded clippy_lints v0.0.195
[INFO] [stderr]   Downloaded if_chain v0.1.3
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae3d5da9a38e0d4565a13a6edfaa38e5aaf9911d80c5fc055f8fb56eaa682e09
[INFO] running `Command { std: "docker" "start" "-a" "ae3d5da9a38e0d4565a13a6edfaa38e5aaf9911d80c5fc055f8fb56eaa682e09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae3d5da9a38e0d4565a13a6edfaa38e5aaf9911d80c5fc055f8fb56eaa682e09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae3d5da9a38e0d4565a13a6edfaa38e5aaf9911d80c5fc055f8fb56eaa682e09", kill_on_drop: false }`
[INFO] [stdout] ae3d5da9a38e0d4565a13a6edfaa38e5aaf9911d80c5fc055f8fb56eaa682e09
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc489228a157683c5dd87b27f45adf81c8b0fd3ea24bcd575331a9c295e8c62e
[INFO] running `Command { std: "docker" "start" "-a" "fc489228a157683c5dd87b27f45adf81c8b0fd3ea24bcd575331a9c295e8c62e", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking ucd-util v0.1.10
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking utf8-ranges v1.0.5
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling derive-error-chain v0.10.1
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]     Checking dotenv v0.10.1
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking infer_schema_internals v1.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: At least one backend must be specified for use with this crate.
[INFO] [stdout]         In Cargo.toml, please specify `features = ["postgresql"]`, `features = ["mysql"]`, or `features = ["sqlite"]`
[INFO] [stdout]        
[INFO] [stdout]         ex. `infer_schema_internals { features = ["postgres"] }`
[INFO] [stdout]         
[INFO] [stdout]   --> src/inference.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |           _ => compile_error!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 71 | |             "At least one backend must be specified for use with this crate.\n \
[INFO] [stdout] 72 | |              In Cargo.toml, please specify `features = [\"postgresql\"]`, \
[INFO] [stdout] 73 | |              `features = [\"mysql\"]`, or `features = [\"sqlite\"]`\n\n \
[INFO] [stdout] 74 | |              ex. `infer_schema_internals { features = [\"postgres\"] }`\n "
[INFO] [stdout] 75 | |         ),
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: At least one backend must be specified for use with this crate.
[INFO] [stdout]         In Cargo.toml, please specify `features = ["postgresql"]`, `features = ["mysql"]`, or `features = ["sqlite"]`
[INFO] [stdout]        
[INFO] [stdout]         ex. `infer_schema_internals { features = ["postgres"] }`
[INFO] [stdout]         
[INFO] [stdout]   --> src/inference.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |           _ => compile_error!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 71 | |             "At least one backend must be specified for use with this crate.\n \
[INFO] [stdout] 72 | |              In Cargo.toml, please specify `features = [\"postgresql\"]`, \
[INFO] [stdout] 73 | |              `features = [\"mysql\"]`, or `features = [\"sqlite\"]`\n\n \
[INFO] [stdout] 74 | |              ex. `infer_schema_internals { features = [\"postgres\"] }`\n "
[INFO] [stdout] 75 | |         ),
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![deny(warnings, missing_debug_implementations, missing_copy_implementations)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `diesel::deserialize::FromSqlRow`
[INFO] [stdout]  --> src/data_structures.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use diesel::deserialize::FromSqlRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/inference.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let connection = try!(establish_connection(database_url));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/inference.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let connection = try!(establish_connection(database_url));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![deny(warnings, missing_debug_implementations, missing_copy_implementations)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `diesel::deserialize::FromSqlRow`
[INFO] [stdout]  --> src/data_structures.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use diesel::deserialize::FromSqlRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/inference.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let connection = try!(establish_connection(database_url));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/inference.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let connection = try!(establish_connection(database_url));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 | ) -> Result<Vec<TableName>, Box<Error>> {
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 29 | ) -> Result<Vec<TableName>, Box<dyn Error>> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:42:87
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) fn establish_connection(database_url: &str) -> Result<InferConnection, Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) fn establish_connection(database_url: &str) -> Result<InferConnection, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:79:76
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn establish_real_connection<Conn>(database_url: &str) -> Result<Conn, Box<Error>>
[INFO] [stdout]    |                                                                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn establish_real_connection<Conn>(database_url: &str) -> Result<Conn, Box<dyn Error>>
[INFO] [stdout]    |                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:94:41
[INFO] [stdout]    |
[INFO] [stdout] 94 | ) -> Result<Vec<ColumnInformation>, Box<Error>> {
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 | ) -> Result<Vec<ColumnInformation>, Box<dyn Error>> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 | ) -> Result<ColumnType, Box<Error>> {
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | ) -> Result<ColumnType, Box<dyn Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:127:30
[INFO] [stdout]     |
[INFO] [stdout] 127 | ) -> Result<Vec<String>, Box<Error>> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 127 | ) -> Result<Vec<String>, Box<dyn Error>> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:160:44
[INFO] [stdout]     |
[INFO] [stdout] 160 | ) -> Result<Vec<ForeignKeyConstraint>, Box<Error>> {
[INFO] [stdout]     |                                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 160 | ) -> Result<Vec<ForeignKeyConstraint>, Box<dyn Error>> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:192:86
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn load_table_data(database_url: &str, name: TableName) -> Result<TableData, Box<Error>> {
[INFO] [stdout]     |                                                                                      ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn load_table_data(database_url: &str, name: TableName) -> Result<TableData, Box<dyn Error>> {
[INFO] [stdout]     |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 | ) -> Result<Vec<TableName>, Box<Error>> {
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 29 | ) -> Result<Vec<TableName>, Box<dyn Error>> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:42:87
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) fn establish_connection(database_url: &str) -> Result<InferConnection, Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) fn establish_connection(database_url: &str) -> Result<InferConnection, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:79:76
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn establish_real_connection<Conn>(database_url: &str) -> Result<Conn, Box<Error>>
[INFO] [stdout]    |                                                                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn establish_real_connection<Conn>(database_url: &str) -> Result<Conn, Box<dyn Error>>
[INFO] [stdout]    |                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:94:41
[INFO] [stdout]    |
[INFO] [stdout] 94 | ) -> Result<Vec<ColumnInformation>, Box<Error>> {
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 | ) -> Result<Vec<ColumnInformation>, Box<dyn Error>> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 | ) -> Result<ColumnType, Box<Error>> {
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | ) -> Result<ColumnType, Box<dyn Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:127:30
[INFO] [stdout]     |
[INFO] [stdout] 127 | ) -> Result<Vec<String>, Box<Error>> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 127 | ) -> Result<Vec<String>, Box<dyn Error>> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:160:44
[INFO] [stdout]     |
[INFO] [stdout] 160 | ) -> Result<Vec<ForeignKeyConstraint>, Box<Error>> {
[INFO] [stdout]     |                                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 160 | ) -> Result<Vec<ForeignKeyConstraint>, Box<dyn Error>> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:192:86
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn load_table_data(database_url: &str, name: TableName) -> Result<TableData, Box<Error>> {
[INFO] [stdout]     |                                                                                      ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn load_table_data(database_url: &str, name: TableName) -> Result<TableData, Box<dyn Error>> {
[INFO] [stdout]     |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable expression
[INFO] [stdout]    --> src/inference.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 95  |       let column_info = match *conn {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 96  | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 97  | |         InferConnection::Sqlite(ref c) => ::sqlite::get_table_data(c, table),
[INFO] [stdout] 98  | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |         InferConnection::Mysql(ref c) => ::information_schema::get_table_data(c, table),
[INFO] [stdout] 102 | |     };
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 103 | /     if let Err(NotFound) = column_info {
[INFO] [stdout] 104 | |         Err(format!("no table exists named {}", table.to_string()).into())
[INFO] [stdout] 105 | |     } else {
[INFO] [stdout] 106 | |         column_info.map_err(Into::into)
[INFO] [stdout] 107 | |     }
[INFO] [stdout]     | |_____^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable arm
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |        let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |   _____________________________________^____-
[INFO] [stdout]     |  |_____________________________________|
[INFO] [stdout]     | ||
[INFO] [stdout] 129 | ||         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | ||         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | ||         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   ||
[INFO] [stdout] 134 | ||         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | ||     });
[INFO] [stdout]     | ||_____-^ unreachable arm
[INFO] [stdout]     |  |_____|
[INFO] [stdout]     |        any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:128:42
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 129 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | |         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | |     });
[INFO] [stdout]     | |_____^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable expression
[INFO] [stdout]    --> src/inference.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 95  |       let column_info = match *conn {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 96  | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 97  | |         InferConnection::Sqlite(ref c) => ::sqlite::get_table_data(c, table),
[INFO] [stdout] 98  | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |         InferConnection::Mysql(ref c) => ::information_schema::get_table_data(c, table),
[INFO] [stdout] 102 | |     };
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 103 | /     if let Err(NotFound) = column_info {
[INFO] [stdout] 104 | |         Err(format!("no table exists named {}", table.to_string()).into())
[INFO] [stdout] 105 | |     } else {
[INFO] [stdout] 106 | |         column_info.map_err(Into::into)
[INFO] [stdout] 107 | |     }
[INFO] [stdout]     | |_____^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable arm
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |        let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |   _____________________________________^____-
[INFO] [stdout]     |  |_____________________________________|
[INFO] [stdout]     | ||
[INFO] [stdout] 129 | ||         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | ||         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | ||         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   ||
[INFO] [stdout] 134 | ||         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | ||     });
[INFO] [stdout]     | ||_____-^ unreachable arm
[INFO] [stdout]     |  |_____|
[INFO] [stdout]     |        any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:128:42
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 129 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | |         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | |     });
[INFO] [stdout]     | |_____^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 129 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | |         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | |     });
[INFO] [stdout]     | |      ^
[INFO] [stdout]     | |      |
[INFO] [stdout]     | |______cannot infer type
[INFO] [stdout]     |        required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `Box<dyn std::error::Error>: From<_>` found in the following crates: `alloc`, `core`:
[INFO] [stdout]             - impl<'a, 'b> From<Cow<'b, str>> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<'a, E> From<E> for Box<(dyn std::error::Error + 'a)>
[INFO] [stdout]               where E: std::error::Error, E: 'a;
[INFO] [stdout]             - impl<'a> From<&str> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<'a> From<String> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<T> From<T> for T;
[INFO] [stdout]     = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable expression
[INFO] [stdout]    --> src/inference.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |       let constraints = match connection {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 164 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 165 | |         InferConnection::Sqlite(c) => ::sqlite::load_foreign_key_constraints(&c, schema_name),
[INFO] [stdout] 166 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |         }
[INFO] [stdout] 174 | |     };
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 175 |
[INFO] [stdout] 176 | /     constraints.map(|mut ct| {
[INFO] [stdout] 177 | |         ct.sort();
[INFO] [stdout] 178 | |         ct
[INFO] [stdout] 179 | |     })
[INFO] [stdout]     | |______^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let constraints = match connection {
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     constraints.map(|mut ct| {
[INFO] [stdout]     |     ----------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `constraints` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let constraints: /* Type */ = match connection {
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:238:34
[INFO] [stdout]     |
[INFO] [stdout] 238 |         .collect::<Result<_, Box<Error>>>()?;
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 238 |         .collect::<Result<_, Box<dyn Error>>>()?;
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 129 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | |         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | |     });
[INFO] [stdout]     | |      ^
[INFO] [stdout]     | |      |
[INFO] [stdout]     | |______cannot infer type
[INFO] [stdout]     |        required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `Box<dyn std::error::Error>: From<_>` found in the following crates: `alloc`, `core`:
[INFO] [stdout]             - impl<'a, 'b> From<Cow<'b, str>> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<'a, E> From<E> for Box<(dyn std::error::Error + 'a)>
[INFO] [stdout]               where E: std::error::Error, E: 'a;
[INFO] [stdout]             - impl<'a> From<&str> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<'a> From<String> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<T> From<T> for T;
[INFO] [stdout]     = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable expression
[INFO] [stdout]    --> src/inference.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |       let constraints = match connection {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 164 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 165 | |         InferConnection::Sqlite(c) => ::sqlite::load_foreign_key_constraints(&c, schema_name),
[INFO] [stdout] 166 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |         }
[INFO] [stdout] 174 | |     };
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 175 |
[INFO] [stdout] 176 | /     constraints.map(|mut ct| {
[INFO] [stdout] 177 | |         ct.sort();
[INFO] [stdout] 178 | |         ct
[INFO] [stdout] 179 | |     })
[INFO] [stdout]     | |______^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let constraints = match connection {
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     constraints.map(|mut ct| {
[INFO] [stdout]     |     ----------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `constraints` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let constraints: /* Type */ = match connection {
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `diesel`
[INFO] [stdout]  --> src/data_structures.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::*;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:238:34
[INFO] [stdout]     |
[INFO] [stdout] 238 |         .collect::<Result<_, Box<Error>>>()?;
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 238 |         .collect::<Result<_, Box<dyn Error>>>()?;
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable definition
[INFO] [stdout]   --> src/foreign_keys.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let conn = establish_connection(database_url)
[INFO] [stdout]    |  ________________-
[INFO] [stdout] 11 | |         .expect(&format!("Could not connect to `{}`", database_url));
[INFO] [stdout]    | |____________________________________________________________________- any code following this expression is unreachable
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |       let duplicates = foreign_keys
[INFO] [stdout]    |           ^^^^^^^^^^ unreachable definition
[INFO] [stdout]    |
[INFO] [stdout] note: this expression has type `InferConnection`, which is uninhabited
[INFO] [stdout]   --> src/foreign_keys.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let conn = establish_connection(database_url)
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 11 | |         .expect(&format!("Could not connect to `{}`", database_url));
[INFO] [stdout]    | |____________________________________________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `conn`
[INFO] [stdout]   --> src/foreign_keys.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let conn = establish_connection(database_url)
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unused_variables)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `foreign_keys`
[INFO] [stdout]  --> src/foreign_keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     foreign_keys: &[ForeignKeyConstraint],
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_foreign_keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `safe_tables`
[INFO] [stdout]  --> src/foreign_keys.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     safe_tables: &[TableName],
[INFO] [stdout]   |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_safe_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `diesel`
[INFO] [stdout]  --> src/data_structures.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::*;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `schema_name`
[INFO] [stdout]   --> src/inference.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     schema_name: Option<&str>,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `column_info`
[INFO] [stdout]   --> src/inference.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let column_info = match *conn {
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `table`
[INFO] [stdout]   --> src/inference.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     table: &TableName,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `attr`
[INFO] [stdout]    --> src/inference.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     attr: &ColumnInformation,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_attr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable definition
[INFO] [stdout]   --> src/foreign_keys.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let conn = establish_connection(database_url)
[INFO] [stdout]    |  ________________-
[INFO] [stdout] 11 | |         .expect(&format!("Could not connect to `{}`", database_url));
[INFO] [stdout]    | |____________________________________________________________________- any code following this expression is unreachable
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |       let duplicates = foreign_keys
[INFO] [stdout]    |           ^^^^^^^^^^ unreachable definition
[INFO] [stdout]    |
[INFO] [stdout] note: this expression has type `InferConnection`, which is uninhabited
[INFO] [stdout]   --> src/foreign_keys.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let conn = establish_connection(database_url)
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 11 | |         .expect(&format!("Could not connect to `{}`", database_url));
[INFO] [stdout]    | |____________________________________________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `conn`
[INFO] [stdout]   --> src/foreign_keys.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let conn = establish_connection(database_url)
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unused_variables)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `foreign_keys`
[INFO] [stdout]  --> src/foreign_keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     foreign_keys: &[ForeignKeyConstraint],
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_foreign_keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `safe_tables`
[INFO] [stdout]  --> src/foreign_keys.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     safe_tables: &[TableName],
[INFO] [stdout]   |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_safe_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `schema_name`
[INFO] [stdout]   --> src/inference.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     schema_name: Option<&str>,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `column_info`
[INFO] [stdout]   --> src/inference.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let column_info = match *conn {
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `table`
[INFO] [stdout]   --> src/inference.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     table: &TableName,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `attr`
[INFO] [stdout]    --> src/inference.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     attr: &ColumnInformation,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_attr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0283.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `infer_schema_internals` (lib) due to 31 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 30 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0283.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `infer_schema_internals` (lib test) due to 31 previous errors
[INFO] running `Command { std: "docker" "inspect" "fc489228a157683c5dd87b27f45adf81c8b0fd3ea24bcd575331a9c295e8c62e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc489228a157683c5dd87b27f45adf81c8b0fd3ea24bcd575331a9c295e8c62e", kill_on_drop: false }`
[INFO] [stdout] fc489228a157683c5dd87b27f45adf81c8b0fd3ea24bcd575331a9c295e8c62e
[INFO] checking infer_schema_internals-1.4.0 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate infer_schema_internals 1.4.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate infer_schema_internals 1.4.0 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate infer_schema_internals 1.4.0
[INFO] finished tweaking crates.io crate infer_schema_internals 1.4.0
[INFO] tweaked toml for crates.io crate infer_schema_internals 1.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 63 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding aho-corasick v0.6.10 (latest: v1.1.3)
[INFO] [stderr]       Adding bitflags v0.9.1 (latest: v2.5.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding clippy v0.0.195 (latest: v0.0.302)
[INFO] [stderr]       Adding clippy_lints v0.0.195 (latest: v0.0.212)
[INFO] [stderr]       Adding derive-error-chain v0.10.1 (latest: v0.11.2)
[INFO] [stderr]       Adding diesel v1.4.8 (latest: v2.1.6)
[INFO] [stderr]       Adding diesel_derives v1.4.1 (latest: v2.1.4)
[INFO] [stderr]       Adding dotenv v0.10.1 (latest: v0.15.0)
[INFO] [stderr]       Adding error-chain v0.10.0 (latest: v0.12.4)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding idna v0.1.5 (latest: v0.5.0)
[INFO] [stderr]       Adding if_chain v0.1.3 (latest: v1.0.2)
[INFO] [stderr]       Adding itertools v0.7.11 (latest: v0.12.1)
[INFO] [stderr]       Adding libsqlite3-sys v0.22.2 (latest: v0.28.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding percent-encoding v1.0.1 (latest: v2.3.1)
[INFO] [stderr]       Adding pq-sys v0.4.8 (latest: v0.5.0)
[INFO] [stderr]       Adding pulldown-cmark v0.1.2 (latest: v0.10.3)
[INFO] [stderr]       Adding quote v0.3.15 (latest: v1.0.36)
[INFO] [stderr]       Adding regex v0.2.11 (latest: v1.10.4)
[INFO] [stderr]       Adding regex-syntax v0.5.6 (latest: v0.8.3)
[INFO] [stderr]       Adding semver v0.9.0 (latest: v1.0.22)
[INFO] [stderr]       Adding semver-parser v0.7.0 (latest: v0.10.2)
[INFO] [stderr]       Adding syn v0.11.11 (latest: v2.0.60)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding thread_local v0.3.6 (latest: v1.1.8)
[INFO] [stderr]       Adding toml v0.4.10 (latest: v0.8.12)
[INFO] [stderr]       Adding ucd-util v0.1.10 (latest: v0.2.1)
[INFO] [stderr]       Adding unicode-xid v0.0.4 (latest: v0.2.4)
[INFO] [stderr]       Adding url v1.7.2 (latest: v2.5.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2c3174811ce79e8f61e1597f93e5912e3358f07d0e9c73eda9da1c6dd01f2fe7
[INFO] running `Command { std: "docker" "start" "-a" "2c3174811ce79e8f61e1597f93e5912e3358f07d0e9c73eda9da1c6dd01f2fe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c3174811ce79e8f61e1597f93e5912e3358f07d0e9c73eda9da1c6dd01f2fe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c3174811ce79e8f61e1597f93e5912e3358f07d0e9c73eda9da1c6dd01f2fe7", kill_on_drop: false }`
[INFO] [stdout] 2c3174811ce79e8f61e1597f93e5912e3358f07d0e9c73eda9da1c6dd01f2fe7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e79b4f1a619023bf8478e8cacd0da66a268d28c9bf7a8ef5de84f4d9e76e6cb0
[INFO] running `Command { std: "docker" "start" "-a" "e79b4f1a619023bf8478e8cacd0da66a268d28c9bf7a8ef5de84f4d9e76e6cb0", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking ucd-util v0.1.10
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking utf8-ranges v1.0.5
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling derive-error-chain v0.10.1
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking dotenv v0.10.1
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking infer_schema_internals v1.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: At least one backend must be specified for use with this crate.
[INFO] [stdout]         In Cargo.toml, please specify `features = ["postgresql"]`, `features = ["mysql"]`, or `features = ["sqlite"]`
[INFO] [stdout]        
[INFO] [stdout]         ex. `infer_schema_internals { features = ["postgres"] }`
[INFO] [stdout]         
[INFO] [stdout]   --> src/inference.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |           _ => compile_error!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 71 | |             "At least one backend must be specified for use with this crate.\n \
[INFO] [stdout] 72 | |              In Cargo.toml, please specify `features = [\"postgresql\"]`, \
[INFO] [stdout] 73 | |              `features = [\"mysql\"]`, or `features = [\"sqlite\"]`\n\n \
[INFO] [stdout] 74 | |              ex. `infer_schema_internals { features = [\"postgres\"] }`\n "
[INFO] [stdout] 75 | |         ),
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: At least one backend must be specified for use with this crate.
[INFO] [stdout]         In Cargo.toml, please specify `features = ["postgresql"]`, `features = ["mysql"]`, or `features = ["sqlite"]`
[INFO] [stdout]        
[INFO] [stdout]         ex. `infer_schema_internals { features = ["postgres"] }`
[INFO] [stdout]         
[INFO] [stdout]   --> src/inference.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |           _ => compile_error!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 71 | |             "At least one backend must be specified for use with this crate.\n \
[INFO] [stdout] 72 | |              In Cargo.toml, please specify `features = [\"postgresql\"]`, \
[INFO] [stdout] 73 | |              `features = [\"mysql\"]`, or `features = [\"sqlite\"]`\n\n \
[INFO] [stdout] 74 | |              ex. `infer_schema_internals { features = [\"postgres\"] }`\n "
[INFO] [stdout] 75 | |         ),
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![deny(warnings, missing_debug_implementations, missing_copy_implementations)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `diesel::deserialize::FromSqlRow`
[INFO] [stdout]  --> src/data_structures.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use diesel::deserialize::FromSqlRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/inference.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let connection = try!(establish_connection(database_url));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/inference.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let connection = try!(establish_connection(database_url));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![deny(warnings, missing_debug_implementations, missing_copy_implementations)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `diesel::deserialize::FromSqlRow`
[INFO] [stdout]  --> src/data_structures.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use diesel::deserialize::FromSqlRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/inference.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let connection = try!(establish_connection(database_url));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/inference.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let connection = try!(establish_connection(database_url));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 | ) -> Result<Vec<TableName>, Box<Error>> {
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 29 | ) -> Result<Vec<TableName>, Box<dyn Error>> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:42:87
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) fn establish_connection(database_url: &str) -> Result<InferConnection, Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) fn establish_connection(database_url: &str) -> Result<InferConnection, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:79:76
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn establish_real_connection<Conn>(database_url: &str) -> Result<Conn, Box<Error>>
[INFO] [stdout]    |                                                                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn establish_real_connection<Conn>(database_url: &str) -> Result<Conn, Box<dyn Error>>
[INFO] [stdout]    |                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:94:41
[INFO] [stdout]    |
[INFO] [stdout] 94 | ) -> Result<Vec<ColumnInformation>, Box<Error>> {
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 | ) -> Result<Vec<ColumnInformation>, Box<dyn Error>> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 | ) -> Result<ColumnType, Box<Error>> {
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | ) -> Result<ColumnType, Box<dyn Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:127:30
[INFO] [stdout]     |
[INFO] [stdout] 127 | ) -> Result<Vec<String>, Box<Error>> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 127 | ) -> Result<Vec<String>, Box<dyn Error>> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:160:44
[INFO] [stdout]     |
[INFO] [stdout] 160 | ) -> Result<Vec<ForeignKeyConstraint>, Box<Error>> {
[INFO] [stdout]     |                                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 160 | ) -> Result<Vec<ForeignKeyConstraint>, Box<dyn Error>> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:192:86
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn load_table_data(database_url: &str, name: TableName) -> Result<TableData, Box<Error>> {
[INFO] [stdout]     |                                                                                      ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn load_table_data(database_url: &str, name: TableName) -> Result<TableData, Box<dyn Error>> {
[INFO] [stdout]     |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 | ) -> Result<Vec<TableName>, Box<Error>> {
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 29 | ) -> Result<Vec<TableName>, Box<dyn Error>> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:42:87
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) fn establish_connection(database_url: &str) -> Result<InferConnection, Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) fn establish_connection(database_url: &str) -> Result<InferConnection, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:79:76
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn establish_real_connection<Conn>(database_url: &str) -> Result<Conn, Box<Error>>
[INFO] [stdout]    |                                                                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn establish_real_connection<Conn>(database_url: &str) -> Result<Conn, Box<dyn Error>>
[INFO] [stdout]    |                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/inference.rs:94:41
[INFO] [stdout]    |
[INFO] [stdout] 94 | ) -> Result<Vec<ColumnInformation>, Box<Error>> {
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 | ) -> Result<Vec<ColumnInformation>, Box<dyn Error>> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 | ) -> Result<ColumnType, Box<Error>> {
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | ) -> Result<ColumnType, Box<dyn Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:127:30
[INFO] [stdout]     |
[INFO] [stdout] 127 | ) -> Result<Vec<String>, Box<Error>> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 127 | ) -> Result<Vec<String>, Box<dyn Error>> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:160:44
[INFO] [stdout]     |
[INFO] [stdout] 160 | ) -> Result<Vec<ForeignKeyConstraint>, Box<Error>> {
[INFO] [stdout]     |                                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 160 | ) -> Result<Vec<ForeignKeyConstraint>, Box<dyn Error>> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:192:86
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn load_table_data(database_url: &str, name: TableName) -> Result<TableData, Box<Error>> {
[INFO] [stdout]     |                                                                                      ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn load_table_data(database_url: &str, name: TableName) -> Result<TableData, Box<dyn Error>> {
[INFO] [stdout]     |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable expression
[INFO] [stdout]    --> src/inference.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 95  |       let column_info = match *conn {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 96  | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 97  | |         InferConnection::Sqlite(ref c) => ::sqlite::get_table_data(c, table),
[INFO] [stdout] 98  | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |         InferConnection::Mysql(ref c) => ::information_schema::get_table_data(c, table),
[INFO] [stdout] 102 | |     };
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 103 | /     if let Err(NotFound) = column_info {
[INFO] [stdout] 104 | |         Err(format!("no table exists named {}", table.to_string()).into())
[INFO] [stdout] 105 | |     } else {
[INFO] [stdout] 106 | |         column_info.map_err(Into::into)
[INFO] [stdout] 107 | |     }
[INFO] [stdout]     | |_____^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable arm
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |        let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |   _____________________________________^____-
[INFO] [stdout]     |  |_____________________________________|
[INFO] [stdout]     | ||
[INFO] [stdout] 129 | ||         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | ||         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | ||         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   ||
[INFO] [stdout] 134 | ||         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | ||     });
[INFO] [stdout]     | ||_____-^ unreachable arm
[INFO] [stdout]     |  |_____|
[INFO] [stdout]     |        any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:128:42
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 129 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | |         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | |     });
[INFO] [stdout]     | |_____^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable expression
[INFO] [stdout]    --> src/inference.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 95  |       let column_info = match *conn {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 96  | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 97  | |         InferConnection::Sqlite(ref c) => ::sqlite::get_table_data(c, table),
[INFO] [stdout] 98  | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |         InferConnection::Mysql(ref c) => ::information_schema::get_table_data(c, table),
[INFO] [stdout] 102 | |     };
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 103 | /     if let Err(NotFound) = column_info {
[INFO] [stdout] 104 | |         Err(format!("no table exists named {}", table.to_string()).into())
[INFO] [stdout] 105 | |     } else {
[INFO] [stdout] 106 | |         column_info.map_err(Into::into)
[INFO] [stdout] 107 | |     }
[INFO] [stdout]     | |_____^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable arm
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |        let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |   _____________________________________^____-
[INFO] [stdout]     |  |_____________________________________|
[INFO] [stdout]     | ||
[INFO] [stdout] 129 | ||         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | ||         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | ||         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   ||
[INFO] [stdout] 134 | ||         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | ||     });
[INFO] [stdout]     | ||_____-^ unreachable arm
[INFO] [stdout]     |  |_____|
[INFO] [stdout]     |        any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 129 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | |         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | |     });
[INFO] [stdout]     | |      ^
[INFO] [stdout]     | |      |
[INFO] [stdout]     | |______cannot infer type
[INFO] [stdout]     |        required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `Box<dyn std::error::Error>: From<_>` found in the following crates: `alloc`, `core`:
[INFO] [stdout]             - impl<'a, 'b> From<Cow<'b, str>> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<'a, E> From<E> for Box<(dyn std::error::Error + 'a)>
[INFO] [stdout]               where E: std::error::Error, E: 'a;
[INFO] [stdout]             - impl<'a> From<&str> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<'a> From<String> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<T> From<T> for T;
[INFO] [stdout]     = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable expression
[INFO] [stdout]    --> src/inference.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |       let constraints = match connection {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 164 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 165 | |         InferConnection::Sqlite(c) => ::sqlite::load_foreign_key_constraints(&c, schema_name),
[INFO] [stdout] 166 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |         }
[INFO] [stdout] 174 | |     };
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 175 |
[INFO] [stdout] 176 | /     constraints.map(|mut ct| {
[INFO] [stdout] 177 | |         ct.sort();
[INFO] [stdout] 178 | |         ct
[INFO] [stdout] 179 | |     })
[INFO] [stdout]     | |______^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let constraints = match connection {
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     constraints.map(|mut ct| {
[INFO] [stdout]     |     ----------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `constraints` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let constraints: /* Type */ = match connection {
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:238:34
[INFO] [stdout]     |
[INFO] [stdout] 238 |         .collect::<Result<_, Box<Error>>>()?;
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 238 |         .collect::<Result<_, Box<dyn Error>>>()?;
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:128:42
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 129 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | |         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | |     });
[INFO] [stdout]     | |_____^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `diesel`
[INFO] [stdout]  --> src/data_structures.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::*;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable definition
[INFO] [stdout]   --> src/foreign_keys.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let conn = establish_connection(database_url)
[INFO] [stdout]    |  ________________-
[INFO] [stdout] 11 | |         .expect(&format!("Could not connect to `{}`", database_url));
[INFO] [stdout]    | |____________________________________________________________________- any code following this expression is unreachable
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |       let duplicates = foreign_keys
[INFO] [stdout]    |           ^^^^^^^^^^ unreachable definition
[INFO] [stdout]    |
[INFO] [stdout] note: this expression has type `InferConnection`, which is uninhabited
[INFO] [stdout]   --> src/foreign_keys.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let conn = establish_connection(database_url)
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 11 | |         .expect(&format!("Could not connect to `{}`", database_url));
[INFO] [stdout]    | |____________________________________________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `conn`
[INFO] [stdout]   --> src/foreign_keys.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let conn = establish_connection(database_url)
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unused_variables)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `foreign_keys`
[INFO] [stdout]  --> src/foreign_keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     foreign_keys: &[ForeignKeyConstraint],
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_foreign_keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `safe_tables`
[INFO] [stdout]  --> src/foreign_keys.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     safe_tables: &[TableName],
[INFO] [stdout]   |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_safe_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let primary_keys: Vec<String> = try!(match *conn {
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 129 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 130 | |         InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table),
[INFO] [stdout] 131 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table),
[INFO] [stdout] 135 | |     });
[INFO] [stdout]     | |      ^
[INFO] [stdout]     | |      |
[INFO] [stdout]     | |______cannot infer type
[INFO] [stdout]     |        required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `Box<dyn std::error::Error>: From<_>` found in the following crates: `alloc`, `core`:
[INFO] [stdout]             - impl<'a, 'b> From<Cow<'b, str>> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<'a, E> From<E> for Box<(dyn std::error::Error + 'a)>
[INFO] [stdout]               where E: std::error::Error, E: 'a;
[INFO] [stdout]             - impl<'a> From<&str> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<'a> From<String> for Box<(dyn std::error::Error + 'a)>;
[INFO] [stdout]             - impl<T> From<T> for T;
[INFO] [stdout]     = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unreachable expression
[INFO] [stdout]    --> src/inference.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |       let constraints = match connection {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 164 | |         #[cfg(feature = "sqlite")]
[INFO] [stdout] 165 | |         InferConnection::Sqlite(c) => ::sqlite::load_foreign_key_constraints(&c, schema_name),
[INFO] [stdout] 166 | |         #[cfg(feature = "postgres")]
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |         }
[INFO] [stdout] 174 | |     };
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 175 |
[INFO] [stdout] 176 | /     constraints.map(|mut ct| {
[INFO] [stdout] 177 | |         ct.sort();
[INFO] [stdout] 178 | |         ct
[INFO] [stdout] 179 | |     })
[INFO] [stdout]     | |______^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/inference.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let constraints = match connection {
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     constraints.map(|mut ct| {
[INFO] [stdout]     |     ----------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `constraints` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let constraints: /* Type */ = match connection {
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `schema_name`
[INFO] [stdout]   --> src/inference.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     schema_name: Option<&str>,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `column_info`
[INFO] [stdout]   --> src/inference.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let column_info = match *conn {
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `table`
[INFO] [stdout]   --> src/inference.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     table: &TableName,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `attr`
[INFO] [stdout]    --> src/inference.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     attr: &ColumnInformation,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_attr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/inference.rs:238:34
[INFO] [stdout]     |
[INFO] [stdout] 238 |         .collect::<Result<_, Box<Error>>>()?;
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 238 |         .collect::<Result<_, Box<dyn Error>>>()?;
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `diesel`
[INFO] [stdout]  --> src/data_structures.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::*;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0283.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error: unreachable definition
[INFO] [stdout]   --> src/foreign_keys.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let conn = establish_connection(database_url)
[INFO] [stdout]    |  ________________-
[INFO] [stdout] 11 | |         .expect(&format!("Could not connect to `{}`", database_url));
[INFO] [stdout]    | |____________________________________________________________________- any code following this expression is unreachable
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |       let duplicates = foreign_keys
[INFO] [stdout]    |           ^^^^^^^^^^ unreachable definition
[INFO] [stdout]    |
[INFO] [stdout] note: this expression has type `InferConnection`, which is uninhabited
[INFO] [stdout]   --> src/foreign_keys.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let conn = establish_connection(database_url)
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 11 | |         .expect(&format!("Could not connect to `{}`", database_url));
[INFO] [stdout]    | |____________________________________________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `conn`
[INFO] [stdout]   --> src/foreign_keys.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let conn = establish_connection(database_url)
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unused_variables)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `foreign_keys`
[INFO] [stdout]  --> src/foreign_keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     foreign_keys: &[ForeignKeyConstraint],
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_foreign_keys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `safe_tables`
[INFO] [stdout]  --> src/foreign_keys.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     safe_tables: &[TableName],
[INFO] [stdout]   |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_safe_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `schema_name`
[INFO] [stdout]   --> src/inference.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     schema_name: Option<&str>,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `column_info`
[INFO] [stdout]   --> src/inference.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let column_info = match *conn {
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `table`
[INFO] [stdout]   --> src/inference.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     table: &TableName,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused variable: `attr`
[INFO] [stdout]    --> src/inference.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     attr: &ColumnInformation,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_attr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `infer_schema_internals` (lib test) due to 31 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 30 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0283.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `infer_schema_internals` (lib) due to 31 previous errors
[INFO] running `Command { std: "docker" "inspect" "e79b4f1a619023bf8478e8cacd0da66a268d28c9bf7a8ef5de84f4d9e76e6cb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e79b4f1a619023bf8478e8cacd0da66a268d28c9bf7a8ef5de84f4d9e76e6cb0", kill_on_drop: false }`
[INFO] [stdout] e79b4f1a619023bf8478e8cacd0da66a268d28c9bf7a8ef5de84f4d9e76e6cb0
