[INFO] cloning repository https://github.com/erikjohnston/matrix-introspection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erikjohnston/matrix-introspection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Fmatrix-introspection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Fmatrix-introspection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f536fc064475f223ad9b54ef362a01c369a85633 [INFO] checking erikjohnston/matrix-introspection against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Fmatrix-introspection" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erikjohnston/matrix-introspection on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erikjohnston/matrix-introspection [INFO] finished tweaking git repo https://github.com/erikjohnston/matrix-introspection [INFO] tweaked toml for git repo https://github.com/erikjohnston/matrix-introspection written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/erikjohnston/matrix-introspection already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/erikjohnston/rust-hyper-router` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mime v0.2.3 [INFO] [stderr] Downloaded md5 v0.3.3 [INFO] [stderr] Downloaded postgres v0.14.0 [INFO] [stderr] Downloaded bitflags v0.8.0 [INFO] [stderr] Downloaded lru-cache v0.1.0 [INFO] [stderr] Downloaded postgres-protocol v0.2.1 [INFO] [stderr] Downloaded clap v2.21.1 [INFO] [stderr] Downloaded rustc-serialize v0.3.23 [INFO] [stderr] Downloaded siphasher v0.2.1 [INFO] [stderr] Downloaded serde v0.9.11 [INFO] [stderr] Downloaded serde_derive v0.9.11 [INFO] [stderr] Downloaded postgres-shared v0.2.0 [INFO] [stderr] Downloaded linked-hash-map v0.2.1 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46e778b26cd41364a0599ae4786e7f0db902cea40134a500e19dbad63eb42523 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "46e778b26cd41364a0599ae4786e7f0db902cea40134a500e19dbad63eb42523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46e778b26cd41364a0599ae4786e7f0db902cea40134a500e19dbad63eb42523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e778b26cd41364a0599ae4786e7f0db902cea40134a500e19dbad63eb42523", kill_on_drop: false }` [INFO] [stdout] 46e778b26cd41364a0599ae4786e7f0db902cea40134a500e19dbad63eb42523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 418cd61db0f647d55ee8a69959d90eccfa1474fc93efdb1612594f106b4c70a5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "418cd61db0f647d55ee8a69959d90eccfa1474fc93efdb1612594f106b4c70a5", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking siphasher v0.2.1 [INFO] [stderr] Checking md5 v0.3.3 [INFO] [stderr] Checking fallible-iterator v0.1.3 [INFO] [stderr] Checking linked-hash-map v0.2.1 [INFO] [stderr] Checking route-recognizer v0.1.11 [INFO] [stderr] Checking bitflags v0.8.0 [INFO] [stderr] Checking bufstream v0.1.2 [INFO] [stderr] Checking serde v0.9.11 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling syn v0.11.9 [INFO] [stderr] Checking phf_shared v0.7.21 [INFO] [stderr] Checking lru-cache v0.1.0 [INFO] [stderr] Compiling unicase v1.4.0 [INFO] [stderr] Compiling hyper v0.10.5 [INFO] [stderr] Checking phf v0.7.21 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking num_cpus v1.3.0 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking postgres-protocol v0.2.1 [INFO] [stderr] Checking clap v2.21.1 [INFO] [stderr] Checking rusqlite v0.14.0 [INFO] [stderr] Checking postgres-shared v0.2.0 [INFO] [stderr] Compiling serde_codegen_internals v0.14.1 [INFO] [stderr] Checking postgres v0.14.0 [INFO] [stderr] Checking serde_json v0.9.9 [INFO] [stderr] Compiling serde_derive v0.9.11 [INFO] [stderr] Checking hyper-router v0.1.0 (https://github.com/erikjohnston/rust-hyper-router#dc1f32b2) [INFO] [stderr] Checking matrix_introspection v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | fn query_rows(&mut self, query: &str, values: &[&PostgresToSql], func: F) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:30:60 [INFO] [stdout] | [INFO] [stdout] 30 | fn query_rows(&mut self, query: &str, values: &[&PostgresToSql], func: F) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn query(&mut self, query: &str, values: &[&ToSql], mut func: F) -> Result, DatabaseError> [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | fn as_postgres(&self) -> &PostgresToSql; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | fn as_sqlite(&self) -> &Sqlite3ToSql; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 106 | create_to_sql!{ String } [INFO] [stdout] | ------------------------ in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 106 | create_to_sql!{ String } [INFO] [stdout] | ------------------------ in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 107 | create_to_sql!{ i64 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 107 | create_to_sql!{ i64 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 108 | create_to_sql!{ i16 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 108 | create_to_sql!{ i16 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 109 | create_to_sql!{ i32 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 109 | create_to_sql!{ i32 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 110 | create_to_sql!{ i8 } [INFO] [stdout] | -------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 110 | create_to_sql!{ i8 } [INFO] [stdout] | -------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | pub enum DatabaseError { [INFO] [stdout] 12 | | Postgres(err: postgres::error::Error) { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (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/database.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | fn query_rows(&mut self, query: &str, values: &[&PostgresToSql], func: F) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:30:60 [INFO] [stdout] | [INFO] [stdout] 30 | fn query_rows(&mut self, query: &str, values: &[&PostgresToSql], func: F) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn query(&mut self, query: &str, values: &[&ToSql], mut func: F) -> Result, DatabaseError> [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | fn as_postgres(&self) -> &PostgresToSql; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | fn as_sqlite(&self) -> &Sqlite3ToSql; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 106 | create_to_sql!{ String } [INFO] [stdout] | ------------------------ in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 106 | create_to_sql!{ String } [INFO] [stdout] | ------------------------ in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 107 | create_to_sql!{ i64 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 107 | create_to_sql!{ i64 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 108 | create_to_sql!{ i16 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 108 | create_to_sql!{ i16 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 109 | create_to_sql!{ i32 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 109 | create_to_sql!{ i32 } [INFO] [stdout] | --------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [INFO] [stdout] ... [INFO] [stdout] 110 | create_to_sql!{ i8 } [INFO] [stdout] | -------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [INFO] [stdout] ... [INFO] [stdout] 110 | create_to_sql!{ i8 } [INFO] [stdout] | -------------------- in this macro invocation [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 [INFO] [stdout] = note: this warning originates in the macro `create_to_sql` (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/database.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | fn as_postgres(&self) -> &PostgresToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn PostgresToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | fn as_sqlite(&self) -> &Sqlite3ToSql { self } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Sqlite3ToSql` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | pub enum DatabaseError { [INFO] [stdout] 12 | | Postgres(err: postgres::error::Error) { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | pub enum DatabaseError { [INFO] [stdout] 12 | | Postgres(err: postgres::error::Error) { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | pub enum DatabaseError { [INFO] [stdout] 12 | | Postgres(err: postgres::error::Error) { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/database.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.42s [INFO] running `Command { std: "docker" "inspect" "418cd61db0f647d55ee8a69959d90eccfa1474fc93efdb1612594f106b4c70a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418cd61db0f647d55ee8a69959d90eccfa1474fc93efdb1612594f106b4c70a5", kill_on_drop: false }` [INFO] [stdout] 418cd61db0f647d55ee8a69959d90eccfa1474fc93efdb1612594f106b4c70a5