[INFO] fetching crate dbmigrate-lib 0.1.5... [INFO] testing dbmigrate-lib-0.1.5 against 1.59.0 for beta-1.60-1 [INFO] extracting crate dbmigrate-lib 0.1.5 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate dbmigrate-lib 0.1.5 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dbmigrate-lib 0.1.5 [INFO] finished tweaking crates.io crate dbmigrate-lib 0.1.5 [INFO] tweaked toml for crates.io crate dbmigrate-lib 0.1.5 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusqlite v0.14.0 [INFO] [stderr] Downloaded bit-vec v0.4.4 [INFO] [stderr] Downloaded uuid v0.5.1 [INFO] [stderr] Downloaded sha1 v0.2.0 [INFO] [stderr] Downloaded smallvec v0.4.5 [INFO] [stderr] Downloaded mysql v12.3.1 [INFO] [stderr] Downloaded mysql_common v0.5.0 [INFO] [stderr] Downloaded postgres-native-tls v0.5.0 [INFO] [stderr] Downloaded nix v0.9.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.4 [INFO] [stderr] Downloaded atoi v0.2.4 [INFO] [stderr] Downloaded named_pipe v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b020affcd3fcace573bbcb52fa4bdc8416a6b3fdd3111df2ac15fb9839047190 [INFO] running `Command { std: "docker" "start" "-a" "b020affcd3fcace573bbcb52fa4bdc8416a6b3fdd3111df2ac15fb9839047190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b020affcd3fcace573bbcb52fa4bdc8416a6b3fdd3111df2ac15fb9839047190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b020affcd3fcace573bbcb52fa4bdc8416a6b3fdd3111df2ac15fb9839047190", kill_on_drop: false }` [INFO] [stdout] b020affcd3fcace573bbcb52fa4bdc8416a6b3fdd3111df2ac15fb9839047190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5bd8236fb4061cddf8c1aab07a96b81efb58eae023b81a86356ce5cdf886fb3 [INFO] running `Command { std: "docker" "start" "-a" "d5bd8236fb4061cddf8c1aab07a96b81efb58eae023b81a86356ce5cdf886fb3", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libsqlite3-sys v0.9.4 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rusqlite v0.14.0 [INFO] [stderr] Compiling twox-hash v1.6.2 [INFO] [stderr] Compiling mysql_common v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling mysql v12.3.1 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling postgres-native-tls v0.5.0 [INFO] [stderr] Compiling postgres v0.19.2 [INFO] [stderr] Compiling dbmigrate-lib v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(::std::io::Error) #[doc = "Failed to created/read migration files"]; [INFO] [stdout] 11 | | Postgres(postgres_client::error::Error) #[doc = "Couldn't get connection to pg database"] #[cfg(feature = "postgres_support")]; [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/drivers/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] | ^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] 32 + pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:38:79 [INFO] [stdout] | [INFO] [stdout] 38 | "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 38 + "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 40 + "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:42:73 [INFO] [stdout] | [INFO] [stdout] 42 | "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 42 + "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(::std::io::Error) #[doc = "Failed to created/read migration files"]; [INFO] [stdout] 11 | | Postgres(postgres_client::error::Error) #[doc = "Couldn't get connection to pg database"] #[cfg(feature = "postgres_support")]; [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.80s [INFO] running `Command { std: "docker" "inspect" "d5bd8236fb4061cddf8c1aab07a96b81efb58eae023b81a86356ce5cdf886fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5bd8236fb4061cddf8c1aab07a96b81efb58eae023b81a86356ce5cdf886fb3", kill_on_drop: false }` [INFO] [stdout] d5bd8236fb4061cddf8c1aab07a96b81efb58eae023b81a86356ce5cdf886fb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2eea551df2a1ffb3834b6aa26dbc822831e106f1ec255672696c6753b7e7323 [INFO] running `Command { std: "docker" "start" "-a" "f2eea551df2a1ffb3834b6aa26dbc822831e106f1ec255672696c6753b7e7323", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(::std::io::Error) #[doc = "Failed to created/read migration files"]; [INFO] [stdout] 11 | | Postgres(postgres_client::error::Error) #[doc = "Couldn't get connection to pg database"] #[cfg(feature = "postgres_support")]; [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/drivers/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] | ^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] 32 + pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:38:79 [INFO] [stdout] | [INFO] [stdout] 38 | "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 38 + "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 40 + "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:42:73 [INFO] [stdout] | [INFO] [stdout] 42 | "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 42 + "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(::std::io::Error) #[doc = "Failed to created/read migration files"]; [INFO] [stdout] 11 | | Postgres(postgres_client::error::Error) #[doc = "Couldn't get connection to pg database"] #[cfg(feature = "postgres_support")]; [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling dbmigrate-lib v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(::std::io::Error) #[doc = "Failed to created/read migration files"]; [INFO] [stdout] 11 | | Postgres(postgres_client::error::Error) #[doc = "Couldn't get connection to pg database"] #[cfg(feature = "postgres_support")]; [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/drivers/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] | ^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] 32 + pub fn get_driver(url: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:38:79 [INFO] [stdout] | [INFO] [stdout] 38 | "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 38 + "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 40 + "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drivers/mod.rs:42:73 [INFO] [stdout] | [INFO] [stdout] 42 | "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] 42 + "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(::std::io::Error) #[doc = "Failed to created/read migration files"]; [INFO] [stdout] 11 | | Postgres(postgres_client::error::Error) #[doc = "Couldn't get connection to pg database"] #[cfg(feature = "postgres_support")]; [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "f2eea551df2a1ffb3834b6aa26dbc822831e106f1ec255672696c6753b7e7323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2eea551df2a1ffb3834b6aa26dbc822831e106f1ec255672696c6753b7e7323", kill_on_drop: false }` [INFO] [stdout] f2eea551df2a1ffb3834b6aa26dbc822831e106f1ec255672696c6753b7e7323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2b32dbdca56919f2cb0516ab47642315e210da0e5bb6998c76e05f678d64ee72 [INFO] running `Command { std: "docker" "start" "-a" "2b32dbdca56919f2cb0516ab47642315e210da0e5bb6998c76e05f678d64ee72", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / error_chain! { [INFO] [stderr] 9 | | foreign_links { [INFO] [stderr] 10 | | Io(::std::io::Error) #[doc = "Failed to created/read migration files"]; [INFO] [stderr] 11 | | Postgres(postgres_client::error::Error) #[doc = "Couldn't get connection to pg database"] #[cfg(feature = "postgres_support")]; [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] 15 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drivers/mod.rs:32:44 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn get_driver(url: &str) -> Result> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - pub fn get_driver(url: &str) -> Result> { [INFO] [stderr] 32 + pub fn get_driver(url: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drivers/mod.rs:38:79 [INFO] [stderr] | [INFO] [stderr] 38 | "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] 38 + "postgres" => postgres::Postgres::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drivers/mod.rs:40:70 [INFO] [stderr] | [INFO] [stderr] 40 | "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] 40 + "mysql" => mysql::Mysql::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drivers/mod.rs:42:73 [INFO] [stderr] | [INFO] [stderr] 42 | "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] 42 + "sqlite" => sqlite::Sqlite::new(url).map(|d| Box::new(d) as Box), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / error_chain! { [INFO] [stderr] 9 | | foreign_links { [INFO] [stderr] 10 | | Io(::std::io::Error) #[doc = "Failed to created/read migration files"]; [INFO] [stderr] 11 | | Postgres(postgres_client::error::Error) #[doc = "Couldn't get connection to pg database"] #[cfg(feature = "postgres_support")]; [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] 15 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dbmigrate-lib` (lib) generated 6 warnings [INFO] [stderr] warning: `dbmigrate-lib` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dbmigrate_lib-28d2fd487a9e68e9) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test files::tests::test_get_filename_ok ... ok [INFO] [stdout] test files::tests::test_parse_good_filename ... ok [INFO] [stdout] test files::tests::test_parse_good_migrations_directory ... ok [INFO] [stdout] test files::tests::test_parse_bad_filename_format ... ok [INFO] [stdout] test files::tests::test_parse_missing_migrations_directory ... ok [INFO] [stdout] test files::tests::test_parse_skipping_migrations_directory ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] [stderr] Doc-tests dbmigrate-lib [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2b32dbdca56919f2cb0516ab47642315e210da0e5bb6998c76e05f678d64ee72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b32dbdca56919f2cb0516ab47642315e210da0e5bb6998c76e05f678d64ee72", kill_on_drop: false }` [INFO] [stdout] 2b32dbdca56919f2cb0516ab47642315e210da0e5bb6998c76e05f678d64ee72