[INFO] fetching crate dbmigrate-lib 0.1.5... [INFO] testing dbmigrate-lib-0.1.5 against master#c5842b0be783dffa5a49693541acb79115c7eeef for pr-102570 [INFO] extracting crate dbmigrate-lib 0.1.5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate dbmigrate-lib 0.1.5 on toolchain c5842b0be783dffa5a49693541acb79115c7eeef [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.4.5 [INFO] [stderr] Downloaded nix v0.9.0 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded atoi v0.2.4 [INFO] [stderr] Downloaded named_pipe v0.3.0 [INFO] [stderr] Downloaded postgres-native-tls v0.5.0 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded sha1 v0.2.0 [INFO] [stderr] Downloaded uuid v0.5.1 [INFO] [stderr] Downloaded mysql_common v0.5.0 [INFO] [stderr] Downloaded mysql v12.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f0d37e80c65750442c77c8153794b357948ea9f27a5bc7a9f77620eccf9115d [INFO] running `Command { std: "docker" "start" "-a" "5f0d37e80c65750442c77c8153794b357948ea9f27a5bc7a9f77620eccf9115d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f0d37e80c65750442c77c8153794b357948ea9f27a5bc7a9f77620eccf9115d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0d37e80c65750442c77c8153794b357948ea9f27a5bc7a9f77620eccf9115d", kill_on_drop: false }` [INFO] [stdout] 5f0d37e80c65750442c77c8153794b357948ea9f27a5bc7a9f77620eccf9115d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 803b29b7a7cf63c45ec1ff17be6b534addefdb4af1c9dcf308fa9c181ab670c0 [INFO] running `Command { std: "docker" "start" "-a" "803b29b7a7cf63c45ec1ff17be6b534addefdb4af1c9dcf308fa9c181ab670c0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-util v0.1.9 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling libsqlite3-sys v0.9.4 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling atoi v0.2.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling postgres-protocol v0.6.4 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rusqlite v0.14.0 [INFO] [stderr] Compiling postgres-types v0.2.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling mysql_common v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling mysql v12.3.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-postgres v0.7.7 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling postgres-native-tls v0.5.0 [INFO] [stderr] Compiling postgres v0.19.4 [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` which comes from the expansion of the macro `error_chain` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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] | +++ [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] | +++ [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] | +++ [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` which comes from the expansion of the macro `error_chain` (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 32.39s [INFO] running `Command { std: "docker" "inspect" "803b29b7a7cf63c45ec1ff17be6b534addefdb4af1c9dcf308fa9c181ab670c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "803b29b7a7cf63c45ec1ff17be6b534addefdb4af1c9dcf308fa9c181ab670c0", kill_on_drop: false }` [INFO] [stdout] 803b29b7a7cf63c45ec1ff17be6b534addefdb4af1c9dcf308fa9c181ab670c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 674fc745d032e3c9dbf87f0838ff8fef4ac90b3e086f61b8a0df242d95608364 [INFO] running `Command { std: "docker" "start" "-a" "674fc745d032e3c9dbf87f0838ff8fef4ac90b3e086f61b8a0df242d95608364", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [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` which comes from the expansion of the macro `error_chain` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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] | +++ [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] | +++ [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] | +++ [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` which comes from the expansion of the macro `error_chain` (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` which comes from the expansion of the macro `error_chain` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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] | +++ [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] | +++ [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] | +++ [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` which comes from the expansion of the macro `error_chain` (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.36s [INFO] running `Command { std: "docker" "inspect" "674fc745d032e3c9dbf87f0838ff8fef4ac90b3e086f61b8a0df242d95608364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "674fc745d032e3c9dbf87f0838ff8fef4ac90b3e086f61b8a0df242d95608364", kill_on_drop: false }` [INFO] [stdout] 674fc745d032e3c9dbf87f0838ff8fef4ac90b3e086f61b8a0df242d95608364 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 477fd2eb5ee918d9a6a2f6989aea321f549baf11e00d50571a5d5f78f3a29483 [INFO] running `Command { std: "docker" "start" "-a" "477fd2eb5ee918d9a6a2f6989aea321f549baf11e00d50571a5d5f78f3a29483", 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` which comes from the expansion of the macro `error_chain` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [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] | +++ [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] | +++ [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] | +++ [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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dbmigrate-lib` (lib) generated 6 warnings (run `cargo fix --lib -p dbmigrate-lib` to apply 4 suggestions) [INFO] [stderr] warning: `dbmigrate-lib` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dbmigrate_lib-b33d3adb5b209a91) [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_skipping_migrations_directory ... ok [INFO] [stdout] test files::tests::test_parse_missing_migrations_directory ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [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" "477fd2eb5ee918d9a6a2f6989aea321f549baf11e00d50571a5d5f78f3a29483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477fd2eb5ee918d9a6a2f6989aea321f549baf11e00d50571a5d5f78f3a29483", kill_on_drop: false }` [INFO] [stdout] 477fd2eb5ee918d9a6a2f6989aea321f549baf11e00d50571a5d5f78f3a29483