[INFO] fetching crate infer_schema_internals 1.4.0... [INFO] checking infer_schema_internals-1.4.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate infer_schema_internals 1.4.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate infer_schema_internals 1.4.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94894e43f91281e91a891666d1681ad8389ff508c28e3a70aedcca356f562393 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "94894e43f91281e91a891666d1681ad8389ff508c28e3a70aedcca356f562393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94894e43f91281e91a891666d1681ad8389ff508c28e3a70aedcca356f562393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94894e43f91281e91a891666d1681ad8389ff508c28e3a70aedcca356f562393", kill_on_drop: false }` [INFO] [stdout] 94894e43f91281e91a891666d1681ad8389ff508c28e3a70aedcca356f562393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c72938fc566dca880de9a222fdbd38ca2f6bba98df15065dbadc2b936842792 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c72938fc566dca880de9a222fdbd38ca2f6bba98df15065dbadc2b936842792", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.5 [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: 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: 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(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 = 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::*` [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 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inference.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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(bare_trait_objects)]` implied by `#[deny(warnings)]` [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> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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(database_url: &str) -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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::>>()?; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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: 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(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 = 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::*` [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 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inference.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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(bare_trait_objects)]` implied by `#[deny(warnings)]` [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> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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(database_url: &str) -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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::>>()?; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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: 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(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 = 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 a macro (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: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `infer_schema_internals` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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(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 = 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 a macro (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: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6c72938fc566dca880de9a222fdbd38ca2f6bba98df15065dbadc2b936842792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c72938fc566dca880de9a222fdbd38ca2f6bba98df15065dbadc2b936842792", kill_on_drop: false }` [INFO] [stdout] 6c72938fc566dca880de9a222fdbd38ca2f6bba98df15065dbadc2b936842792