[INFO] fetching crate repos 0.1.8...
[INFO] testing repos-0.1.8 against beta-2021-08-01 for beta-1.55-1
[INFO] extracting crate repos 0.1.8 into /workspace/builds/worker-51/source
[INFO] validating manifest of crates.io crate repos 0.1.8 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate repos 0.1.8
[INFO] finished tweaking crates.io crate repos 0.1.8
[INFO] tweaked toml for crates.io crate repos 0.1.8 written to /workspace/builds/worker-51/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 461ca0d3608931635ac2cbfc7b2950f66868da066032e8c77a1f481ac406cda7
[INFO] running `Command { std: "docker" "start" "-a" "461ca0d3608931635ac2cbfc7b2950f66868da066032e8c77a1f481ac406cda7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "461ca0d3608931635ac2cbfc7b2950f66868da066032e8c77a1f481ac406cda7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "461ca0d3608931635ac2cbfc7b2950f66868da066032e8c77a1f481ac406cda7", kill_on_drop: false }`
[INFO] [stdout] 461ca0d3608931635ac2cbfc7b2950f66868da066032e8c77a1f481ac406cda7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9c5c9d2ec49f011366a102f5dcb4c833b30e633ae375914b69e3e3954c6dca3
[INFO] running `Command { std: "docker" "start" "-a" "d9c5c9d2ec49f011366a102f5dcb4c833b30e633ae375914b69e3e3954c6dca3", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling antidote v1.0.0
[INFO] [stderr]    Compiling phf_shared v0.7.15
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling hex v0.2.0
[INFO] [stderr]    Compiling byteorder v0.5.3
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling scheduled-thread-pool v0.1.0
[INFO] [stderr]    Compiling phf v0.7.15
[INFO] [stderr]    Compiling r2d2 v0.7.4
[INFO] [stderr]    Compiling postgres v0.11.12
[INFO] [stderr]    Compiling r2d2_postgres v0.10.1
[INFO] [stderr]    Compiling repos v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ::std::collections::BTreeMap<&'a str,&'a ::postgres::types::ToSql>{
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::postgres::types::ToSql)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:95:65
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a ToSql;
[INFO] [stdout]    |                                                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:103:38
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn list2(query: &str, params: &[&ToSql]) -> Vec<Self> where Self: Sized;
[INFO] [stdout]     |                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:106:30
[INFO] [stdout]     |
[INFO] [stdout] 106 |                   params: &[&ToSql],
[INFO] [stdout]     |                              ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn count2(query: &str, params: &[&ToSql]) -> i32;
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:117:65
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a ToSql {
[INFO] [stdout]     |                                                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:174:38
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn list2(query: &str, params: &[&ToSql]) -> Vec<Self> {
[INFO] [stdout]     |                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:193:30
[INFO] [stdout]     |
[INFO] [stdout] 193 |                   params: &[&ToSql],
[INFO] [stdout]     |                              ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:214:39
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn count2(query: &str, params: &[&ToSql]) -> i32 {
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:281:52
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn find_one<T: Entity>(query: &str, params: &[&ToSql]) -> Option<T> {
[INFO] [stdout]     |                                                    ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:298:53
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn find_list<T: Entity>(query: &str, params: &[&ToSql]) -> Vec<T> {
[INFO] [stdout]     |                                                     ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:316:40
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn execute(query: &str, params: &[&ToSql]) -> u64 {
[INFO] [stdout]     |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:240:1
[INFO] [stdout]     |
[INFO] [stdout] 240 | / lazy_static! {
[INFO] [stdout] 241 | |     static ref POSTGRES_POOL: RwLock<Option<Pool<PostgresConnectionManager>>>  = RwLock::new(None);
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:240:1
[INFO] [stdout]     |
[INFO] [stdout] 240 | / lazy_static! {
[INFO] [stdout] 241 | |     static ref POSTGRES_POOL: RwLock<Option<Pool<PostgresConnectionManager>>>  = RwLock::new(None);
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/lib.rs:235:35
[INFO] [stdout]     |
[INFO] [stdout] 235 |         order_field = order_field.trim_left_matches('-').into();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 284 | /     match conn.query(query, params) {
[INFO] [stdout] 285 | |         Ok(rows) => {
[INFO] [stdout] 286 | |             return rows.into_iter().next().map(T::convert);
[INFO] [stdout] 287 | |         }
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |         }
[INFO] [stdout] 294 | |     }
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 295 |       None
[INFO] [stdout]     |       ^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:312:5
[INFO] [stdout]     |
[INFO] [stdout] 301 | /     match conn.query(query, params) {
[INFO] [stdout] 302 | |         Ok(rows) => {
[INFO] [stdout] 303 | |             return rows.into_iter().map(T::convert).collect();
[INFO] [stdout] 304 | |         }
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |         }
[INFO] [stdout] 311 | |     }
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 312 |       vec![]
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.91s
[INFO] running `Command { std: "docker" "inspect" "d9c5c9d2ec49f011366a102f5dcb4c833b30e633ae375914b69e3e3954c6dca3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9c5c9d2ec49f011366a102f5dcb4c833b30e633ae375914b69e3e3954c6dca3", kill_on_drop: false }`
[INFO] [stdout] d9c5c9d2ec49f011366a102f5dcb4c833b30e633ae375914b69e3e3954c6dca3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0b5074e5c29a9f177259f78f3cea0c12f3c85444626c268b3fac60ae7951aadd
[INFO] running `Command { std: "docker" "start" "-a" "0b5074e5c29a9f177259f78f3cea0c12f3c85444626c268b3fac60ae7951aadd", kill_on_drop: false }`
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ::std::collections::BTreeMap<&'a str,&'a ::postgres::types::ToSql>{
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::postgres::types::ToSql)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:95:65
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a ToSql;
[INFO] [stdout]    |                                                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:103:38
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn list2(query: &str, params: &[&ToSql]) -> Vec<Self> where Self: Sized;
[INFO] [stdout]     |                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling repos v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:106:30
[INFO] [stdout]     |
[INFO] [stdout] 106 |                   params: &[&ToSql],
[INFO] [stdout]     |                              ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn count2(query: &str, params: &[&ToSql]) -> i32;
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:117:65
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a ToSql {
[INFO] [stdout]     |                                                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:174:38
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn list2(query: &str, params: &[&ToSql]) -> Vec<Self> {
[INFO] [stdout]     |                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:193:30
[INFO] [stdout]     |
[INFO] [stdout] 193 |                   params: &[&ToSql],
[INFO] [stdout]     |                              ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:214:39
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn count2(query: &str, params: &[&ToSql]) -> i32 {
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:281:52
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn find_one<T: Entity>(query: &str, params: &[&ToSql]) -> Option<T> {
[INFO] [stdout]     |                                                    ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:298:53
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn find_list<T: Entity>(query: &str, params: &[&ToSql]) -> Vec<T> {
[INFO] [stdout]     |                                                     ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:316:40
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn execute(query: &str, params: &[&ToSql]) -> u64 {
[INFO] [stdout]     |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:240:1
[INFO] [stdout]     |
[INFO] [stdout] 240 | / lazy_static! {
[INFO] [stdout] 241 | |     static ref POSTGRES_POOL: RwLock<Option<Pool<PostgresConnectionManager>>>  = RwLock::new(None);
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:240:1
[INFO] [stdout]     |
[INFO] [stdout] 240 | / lazy_static! {
[INFO] [stdout] 241 | |     static ref POSTGRES_POOL: RwLock<Option<Pool<PostgresConnectionManager>>>  = RwLock::new(None);
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/lib.rs:235:35
[INFO] [stdout]     |
[INFO] [stdout] 235 |         order_field = order_field.trim_left_matches('-').into();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 284 | /     match conn.query(query, params) {
[INFO] [stdout] 285 | |         Ok(rows) => {
[INFO] [stdout] 286 | |             return rows.into_iter().next().map(T::convert);
[INFO] [stdout] 287 | |         }
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |         }
[INFO] [stdout] 294 | |     }
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 295 |       None
[INFO] [stdout]     |       ^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:312:5
[INFO] [stdout]     |
[INFO] [stdout] 301 | /     match conn.query(query, params) {
[INFO] [stdout] 302 | |         Ok(rows) => {
[INFO] [stdout] 303 | |             return rows.into_iter().map(T::convert).collect();
[INFO] [stdout] 304 | |         }
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |         }
[INFO] [stdout] 311 | |     }
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 312 |       vec![]
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> examples/simple.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / reposable! {struct Account(account){
[INFO] [stdout] 13 | |     name: Option<String>,
[INFO] [stdout] 14 | |     email: Option<String>,
[INFO] [stdout] 15 | |     url: Option<String>,
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | |     avatar: Option<String>,
[INFO] [stdout] 21 | | }}
[INFO] [stdout]    | |__^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `reposable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> examples/simple.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / reposable! {struct Account(account){
[INFO] [stdout] 13 | |     name: Option<String>,
[INFO] [stdout] 14 | |     email: Option<String>,
[INFO] [stdout] 15 | |     url: Option<String>,
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | |     avatar: Option<String>,
[INFO] [stdout] 21 | | }}
[INFO] [stdout]    | |__^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `reposable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/simple.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use] extern crate lazy_static;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/simple.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use] extern crate log;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/simple.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[macro_use] extern crate repos;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ::std::collections::BTreeMap<&'a str,&'a ::postgres::types::ToSql>{
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::postgres::types::ToSql)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:95:65
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a ToSql;
[INFO] [stdout]    |                                                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:103:38
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn list2(query: &str, params: &[&ToSql]) -> Vec<Self> where Self: Sized;
[INFO] [stdout]     |                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:106:30
[INFO] [stdout]     |
[INFO] [stdout] 106 |                   params: &[&ToSql],
[INFO] [stdout]     |                              ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn count2(query: &str, params: &[&ToSql]) -> i32;
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:117:65
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a ToSql {
[INFO] [stdout]     |                                                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:174:38
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn list2(query: &str, params: &[&ToSql]) -> Vec<Self> {
[INFO] [stdout]     |                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:193:30
[INFO] [stdout]     |
[INFO] [stdout] 193 |                   params: &[&ToSql],
[INFO] [stdout]     |                              ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:214:39
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn count2(query: &str, params: &[&ToSql]) -> i32 {
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:281:52
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn find_one<T: Entity>(query: &str, params: &[&ToSql]) -> Option<T> {
[INFO] [stdout]     |                                                    ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:298:53
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn find_list<T: Entity>(query: &str, params: &[&ToSql]) -> Vec<T> {
[INFO] [stdout]     |                                                     ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:316:40
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn execute(query: &str, params: &[&ToSql]) -> u64 {
[INFO] [stdout]     |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:240:1
[INFO] [stdout]     |
[INFO] [stdout] 240 | / lazy_static! {
[INFO] [stdout] 241 | |     static ref POSTGRES_POOL: RwLock<Option<Pool<PostgresConnectionManager>>>  = RwLock::new(None);
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:240:1
[INFO] [stdout]     |
[INFO] [stdout] 240 | / lazy_static! {
[INFO] [stdout] 241 | |     static ref POSTGRES_POOL: RwLock<Option<Pool<PostgresConnectionManager>>>  = RwLock::new(None);
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/lib.rs:235:35
[INFO] [stdout]     |
[INFO] [stdout] 235 |         order_field = order_field.trim_left_matches('-').into();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 284 | /     match conn.query(query, params) {
[INFO] [stdout] 285 | |         Ok(rows) => {
[INFO] [stdout] 286 | |             return rows.into_iter().next().map(T::convert);
[INFO] [stdout] 287 | |         }
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |         }
[INFO] [stdout] 294 | |     }
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 295 |       None
[INFO] [stdout]     |       ^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:312:5
[INFO] [stdout]     |
[INFO] [stdout] 301 | /     match conn.query(query, params) {
[INFO] [stdout] 302 | |         Ok(rows) => {
[INFO] [stdout] 303 | |             return rows.into_iter().map(T::convert).collect();
[INFO] [stdout] 304 | |         }
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |         }
[INFO] [stdout] 311 | |     }
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 312 |       vec![]
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.50s
[INFO] running `Command { std: "docker" "inspect" "0b5074e5c29a9f177259f78f3cea0c12f3c85444626c268b3fac60ae7951aadd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b5074e5c29a9f177259f78f3cea0c12f3c85444626c268b3fac60ae7951aadd", kill_on_drop: false }`
[INFO] [stdout] 0b5074e5c29a9f177259f78f3cea0c12f3c85444626c268b3fac60ae7951aadd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9b4adeb25a901adf2f4eca059e5c77aaf8e639f89a78af60163dc17852f4e1c0
[INFO] running `Command { std: "docker" "start" "-a" "9b4adeb25a901adf2f4eca059e5c77aaf8e639f89a78af60163dc17852f4e1c0", kill_on_drop: false }`
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/lib.rs:7:1
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/lib.rs:22:50
[INFO] [stderr]    |
[INFO] [stderr] 22 |         ::std::collections::BTreeMap<&'a str,&'a ::postgres::types::ToSql>{
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::postgres::types::ToSql)`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/lib.rs:95:65
[INFO] [stderr]    |
[INFO] [stderr] 95 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a ToSql;
[INFO] [stderr]    |                                                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:103:38
[INFO] [stderr]     |
[INFO] [stderr] 103 |     fn list2(query: &str, params: &[&ToSql]) -> Vec<Self> where Self: Sized;
[INFO] [stderr]     |                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:106:30
[INFO] [stderr]     |
[INFO] [stderr] 106 |                   params: &[&ToSql],
[INFO] [stderr]     |                              ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:113:39
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fn count2(query: &str, params: &[&ToSql]) -> i32;
[INFO] [stderr]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:117:65
[INFO] [stderr]     |
[INFO] [stderr] 117 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a ToSql {
[INFO] [stderr]     |                                                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:174:38
[INFO] [stderr]     |
[INFO] [stderr] 174 |     fn list2(query: &str, params: &[&ToSql]) -> Vec<Self> {
[INFO] [stderr]     |                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:193:30
[INFO] [stderr]     |
[INFO] [stderr] 193 |                   params: &[&ToSql],
[INFO] [stderr]     |                              ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:214:39
[INFO] [stderr]     |
[INFO] [stderr] 214 |     fn count2(query: &str, params: &[&ToSql]) -> i32 {
[INFO] [stderr]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:281:52
[INFO] [stderr]     |
[INFO] [stderr] 281 | pub fn find_one<T: Entity>(query: &str, params: &[&ToSql]) -> Option<T> {
[INFO] [stderr]     |                                                    ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:298:53
[INFO] [stderr]     |
[INFO] [stderr] 298 | pub fn find_list<T: Entity>(query: &str, params: &[&ToSql]) -> Vec<T> {
[INFO] [stderr]     |                                                     ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:316:40
[INFO] [stderr]     |
[INFO] [stderr] 316 | pub fn execute(query: &str, params: &[&ToSql]) -> u64 {
[INFO] [stderr]     |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:240:1
[INFO] [stderr]     |
[INFO] [stderr] 240 | / lazy_static! {
[INFO] [stderr] 241 | |     static ref POSTGRES_POOL: RwLock<Option<Pool<PostgresConnectionManager>>>  = RwLock::new(None);
[INFO] [stderr] 242 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:240:1
[INFO] [stderr]     |
[INFO] [stderr] 240 | / lazy_static! {
[INFO] [stderr] 241 | |     static ref POSTGRES_POOL: RwLock<Option<Pool<PostgresConnectionManager>>>  = RwLock::new(None);
[INFO] [stderr] 242 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/lib.rs:235:35
[INFO] [stderr]     |
[INFO] [stderr] 235 |         order_field = order_field.trim_left_matches('-').into();
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]    --> src/lib.rs:295:5
[INFO] [stderr]     |
[INFO] [stderr] 284 | /     match conn.query(query, params) {
[INFO] [stderr] 285 | |         Ok(rows) => {
[INFO] [stderr] 286 | |             return rows.into_iter().next().map(T::convert);
[INFO] [stderr] 287 | |         }
[INFO] [stderr] ...   |
[INFO] [stderr] 293 | |         }
[INFO] [stderr] 294 | |     }
[INFO] [stderr]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stderr] 295 |       None
[INFO] [stderr]     |       ^^^^ unreachable expression
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]    --> src/lib.rs:312:5
[INFO] [stderr]     |
[INFO] [stderr] 301 | /     match conn.query(query, params) {
[INFO] [stderr] 302 | |         Ok(rows) => {
[INFO] [stderr] 303 | |             return rows.into_iter().map(T::convert).collect();
[INFO] [stderr] 304 | |         }
[INFO] [stderr] ...   |
[INFO] [stderr] 310 | |         }
[INFO] [stderr] 311 | |     }
[INFO] [stderr]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stderr] 312 |       vec![]
[INFO] [stderr]     |       ^^^^^^ unreachable expression
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `repos` (lib) generated 18 warnings
[INFO] [stderr] warning: `repos` (lib test) generated 18 warnings (18 duplicates)
[INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stderr]   --> examples/simple.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | / reposable! {struct Account(account){
[INFO] [stderr] 13 | |     name: Option<String>,
[INFO] [stderr] 14 | |     email: Option<String>,
[INFO] [stderr] 15 | |     url: Option<String>,
[INFO] [stderr] ...  |
[INFO] [stderr] 20 | |     avatar: Option<String>,
[INFO] [stderr] 21 | | }}
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `reposable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stderr]   --> examples/simple.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | / reposable! {struct Account(account){
[INFO] [stderr] 13 | |     name: Option<String>,
[INFO] [stderr] 14 | |     email: Option<String>,
[INFO] [stderr] 15 | |     url: Option<String>,
[INFO] [stderr] ...  |
[INFO] [stderr] 20 | |     avatar: Option<String>,
[INFO] [stderr] 21 | | }}
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `reposable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> examples/simple.rs:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[macro_use] extern crate lazy_static;
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> examples/simple.rs:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[macro_use] extern crate log;
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> examples/simple.rs:7:1
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[macro_use] extern crate repos;
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `repos` (example "simple") generated 5 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/repos-c4f85823da45488c)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests repos
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9b4adeb25a901adf2f4eca059e5c77aaf8e639f89a78af60163dc17852f4e1c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b4adeb25a901adf2f4eca059e5c77aaf8e639f89a78af60163dc17852f4e1c0", kill_on_drop: false }`
[INFO] [stdout] 9b4adeb25a901adf2f4eca059e5c77aaf8e639f89a78af60163dc17852f4e1c0
