[INFO] fetching crate repos 0.1.8...
[INFO] testing repos-0.1.8 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate repos 0.1.8 into /workspace/builds/worker-3-tc2/source
[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-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate repos 0.1.8 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 14 packages to latest compatible versions
[INFO] [stderr]       Adding lazy_static v0.1.16 (available: v1.5.0)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.28)
[INFO] [stderr]       Adding phf v0.7.15 (available: v0.7.24)
[INFO] [stderr]       Adding phf_shared v0.7.15 (available: v0.7.24)
[INFO] [stderr]       Adding postgres v0.11.12 (available: v0.19.12)
[INFO] [stderr]       Adding r2d2 v0.7.4 (available: v0.8.10)
[INFO] [stderr]       Adding r2d2_postgres v0.10.1 (available: v0.18.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e58df475c23ff8d400989aea089a675c58549a0254acb7fc29928a0b160cc6e
[INFO] running `Command { std: "docker" "start" "-a" "1e58df475c23ff8d400989aea089a675c58549a0254acb7fc29928a0b160cc6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e58df475c23ff8d400989aea089a675c58549a0254acb7fc29928a0b160cc6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e58df475c23ff8d400989aea089a675c58549a0254acb7fc29928a0b160cc6e", kill_on_drop: false }`
[INFO] [stdout] 1e58df475c23ff8d400989aea089a675c58549a0254acb7fc29928a0b160cc6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 122ecc84de868ceb95b44ba0bbeb505a6a11824353df877918e74c733b1c8bc8
[INFO] running `Command { std: "docker" "start" "-a" "122ecc84de868ceb95b44ba0bbeb505a6a11824353df877918e74c733b1c8bc8", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling log v0.4.28
[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 rustc-serialize v0.3.25
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling scheduled-thread-pool v0.1.0
[INFO] [stderr]    Compiling phf v0.7.15
[INFO] [stderr]    Compiling log v0.3.9
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `nightly`
[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: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `nightly`
[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: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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 `Once::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 `Once::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: 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]     |                                                                 ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a dyn ToSql {
[INFO] [stdout]     |                                                                 +++
[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]    |                                                                 ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a dyn ToSql;
[INFO] [stdout]    |                                                                 +++
[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]     |                                      ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn list2(query: &str, params: &[&dyn ToSql]) -> Vec<Self> {
[INFO] [stdout]     |                                      +++
[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]     |                                      ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn list2(query: &str, params: &[&dyn ToSql]) -> Vec<Self> where Self: Sized;
[INFO] [stdout]     |                                      +++
[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]     |                              ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 193 |                   params: &[&dyn ToSql],
[INFO] [stdout]     |                              +++
[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]     |                              ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 106 |                   params: &[&dyn ToSql],
[INFO] [stdout]     |                              +++
[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]     |                                       ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn count2(query: &str, params: &[&dyn ToSql]) -> i32 {
[INFO] [stdout]     |                                       +++
[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]     |                                       ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn count2(query: &str, params: &[&dyn ToSql]) -> i32;
[INFO] [stdout]     |                                       +++
[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]     |                                                    ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn find_one<T: Entity>(query: &str, params: &[&dyn ToSql]) -> Option<T> {
[INFO] [stdout]     |                                                    +++
[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]     |                                                     ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn find_list<T: Entity>(query: &str, params: &[&dyn ToSql]) -> Vec<T> {
[INFO] [stdout]     |                                                     +++
[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]     |                                        ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn execute(query: &str, params: &[&dyn ToSql]) -> u64 {
[INFO] [stdout]     |                                        +++
[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]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ::std::collections::BTreeMap<&'a str,&'a dyn (::postgres::types::ToSql)>{
[INFO] [stdout]    |                                                  +++++                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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]     |                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 235 -         order_field = order_field.trim_left_matches('-').into();
[INFO] [stdout] 235 +         order_field = order_field.trim_start_matches('-').into();
[INFO] [stdout]     |
[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] ...   |
[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)]` (part of `#[warn(unused)]`) 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] ...   |
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.73s
[INFO] running `Command { std: "docker" "inspect" "122ecc84de868ceb95b44ba0bbeb505a6a11824353df877918e74c733b1c8bc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "122ecc84de868ceb95b44ba0bbeb505a6a11824353df877918e74c733b1c8bc8", kill_on_drop: false }`
[INFO] [stdout] 122ecc84de868ceb95b44ba0bbeb505a6a11824353df877918e74c733b1c8bc8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38cc8672e2b355ecaf7f36a37c379afd5137389f07b8b3c8481b6ce5fd05824b
[INFO] running `Command { std: "docker" "start" "-a" "38cc8672e2b355ecaf7f36a37c379afd5137389f07b8b3c8481b6ce5fd05824b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `nightly`
[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: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `nightly`
[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: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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 `Once::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 `Once::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: 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]     |                                                                 ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a dyn ToSql {
[INFO] [stdout]     |                                                                 +++
[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]    |                                                                 ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a dyn ToSql;
[INFO] [stdout]    |                                                                 +++
[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]     |                                      ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn list2(query: &str, params: &[&dyn ToSql]) -> Vec<Self> {
[INFO] [stdout]     |                                      +++
[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]     |                                      ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn list2(query: &str, params: &[&dyn ToSql]) -> Vec<Self> where Self: Sized;
[INFO] [stdout]     |                                      +++
[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]     |                              ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 193 |                   params: &[&dyn ToSql],
[INFO] [stdout]     |                              +++
[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]     |                              ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 106 |                   params: &[&dyn ToSql],
[INFO] [stdout]     |                              +++
[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]     |                                       ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn count2(query: &str, params: &[&dyn ToSql]) -> i32 {
[INFO] [stdout]     |                                       +++
[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]     |                                       ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn count2(query: &str, params: &[&dyn ToSql]) -> i32;
[INFO] [stdout]     |                                       +++
[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]     |                                                    ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn find_one<T: Entity>(query: &str, params: &[&dyn ToSql]) -> Option<T> {
[INFO] [stdout]     |                                                    +++
[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]     |                                                     ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn find_list<T: Entity>(query: &str, params: &[&dyn ToSql]) -> Vec<T> {
[INFO] [stdout]     |                                                     +++
[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]     |                                        ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn execute(query: &str, params: &[&dyn ToSql]) -> u64 {
[INFO] [stdout]     |                                        +++
[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]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ::std::collections::BTreeMap<&'a str,&'a dyn (::postgres::types::ToSql)>{
[INFO] [stdout]    |                                                  +++++                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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]     |                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 235 -         order_field = order_field.trim_left_matches('-').into();
[INFO] [stdout] 235 +         order_field = order_field.trim_start_matches('-').into();
[INFO] [stdout]     |
[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] ...   |
[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)]` (part of `#[warn(unused)]`) 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] ...   |
[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] [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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `nightly`
[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: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `nightly`
[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: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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] error: cannot find derive macro `RustcEncodable` in this scope
[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 error originates in the macro `reposable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[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 error 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)]` (part of `#[warn(unused)]`) 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: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 `Once::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: 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]     |                                                                 ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a dyn ToSql {
[INFO] [stdout]     |                                                                 +++
[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]    |                                                                 ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn get_value<'a>(&'a self, field_name: &'static str) -> &'a dyn ToSql;
[INFO] [stdout]    |                                                                 +++
[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]     |                                      ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn list2(query: &str, params: &[&dyn ToSql]) -> Vec<Self> {
[INFO] [stdout]     |                                      +++
[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]     |                                      ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn list2(query: &str, params: &[&dyn ToSql]) -> Vec<Self> where Self: Sized;
[INFO] [stdout]     |                                      +++
[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]     |                              ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 193 |                   params: &[&dyn ToSql],
[INFO] [stdout]     |                              +++
[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]     |                              ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 106 |                   params: &[&dyn ToSql],
[INFO] [stdout]     |                              +++
[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]     |                                       ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn count2(query: &str, params: &[&dyn ToSql]) -> i32 {
[INFO] [stdout]     |                                       +++
[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]     |                                       ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn count2(query: &str, params: &[&dyn ToSql]) -> i32;
[INFO] [stdout]     |                                       +++
[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]     |                                                    ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn find_one<T: Entity>(query: &str, params: &[&dyn ToSql]) -> Option<T> {
[INFO] [stdout]     |                                                    +++
[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]     |                                                     ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn find_list<T: Entity>(query: &str, params: &[&dyn ToSql]) -> Vec<T> {
[INFO] [stdout]     |                                                     +++
[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]     |                                        ^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn execute(query: &str, params: &[&dyn ToSql]) -> u64 {
[INFO] [stdout]     |                                        +++
[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]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ::std::collections::BTreeMap<&'a str,&'a dyn (::postgres::types::ToSql)>{
[INFO] [stdout]    |                                                  +++++                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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]     |                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 235 -         order_field = order_field.trim_left_matches('-').into();
[INFO] [stdout] 235 +         order_field = order_field.trim_start_matches('-').into();
[INFO] [stdout]     |
[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] ...   |
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `repos` (example "simple") due to 2 previous errors; 3 warnings emitted
[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] ...   |
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "38cc8672e2b355ecaf7f36a37c379afd5137389f07b8b3c8481b6ce5fd05824b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38cc8672e2b355ecaf7f36a37c379afd5137389f07b8b3c8481b6ce5fd05824b", kill_on_drop: false }`
[INFO] [stdout] 38cc8672e2b355ecaf7f36a37c379afd5137389f07b8b3c8481b6ce5fd05824b
