[INFO] fetching crate dbmigrate-lib 0.1.4... [INFO] testing dbmigrate-lib-0.1.4 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate dbmigrate-lib 0.1.4 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate dbmigrate-lib 0.1.4 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate dbmigrate-lib 0.1.4 [INFO] finished tweaking crates.io crate dbmigrate-lib 0.1.4 [INFO] tweaked toml for crates.io crate dbmigrate-lib 0.1.4 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-native-tls v0.1.0 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3c5a204690287a607006318902d51a56f0f4bbba493b838180440690ae8f5439 [INFO] running `Command { std: "docker" "start" "-a" "3c5a204690287a607006318902d51a56f0f4bbba493b838180440690ae8f5439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c5a204690287a607006318902d51a56f0f4bbba493b838180440690ae8f5439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5a204690287a607006318902d51a56f0f4bbba493b838180440690ae8f5439", kill_on_drop: false }` [INFO] [stdout] 3c5a204690287a607006318902d51a56f0f4bbba493b838180440690ae8f5439 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c196c911ec4634bcc34dcd0007029ad0e1bcc890ae540dd623d8dd86e387b522 [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" "c196c911ec4634bcc34dcd0007029ad0e1bcc890ae540dd623d8dd86e387b522", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling atoi v0.2.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rusqlite v0.14.0 [INFO] [stderr] Compiling mysql_common v0.5.0 [INFO] [stderr] Compiling mysql v12.3.1 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling postgres-native-tls v0.1.0 [INFO] [stderr] Compiling dbmigrate-lib v0.1.4 (/opt/rustwide/workdir) [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.34s [INFO] running `Command { std: "docker" "inspect" "c196c911ec4634bcc34dcd0007029ad0e1bcc890ae540dd623d8dd86e387b522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c196c911ec4634bcc34dcd0007029ad0e1bcc890ae540dd623d8dd86e387b522", kill_on_drop: false }` [INFO] [stdout] c196c911ec4634bcc34dcd0007029ad0e1bcc890ae540dd623d8dd86e387b522 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bac619204947e72fcf1a38c3402d2f9520b9170f38e54fae5ef4343fe41ca23c [INFO] running `Command { std: "docker" "start" "-a" "bac619204947e72fcf1a38c3402d2f9520b9170f38e54fae5ef4343fe41ca23c", kill_on_drop: false }` [INFO] [stderr] Compiling tempdir v0.3.7 [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dbmigrate-lib v0.1.4 (/opt/rustwide/workdir) [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.17s [INFO] running `Command { std: "docker" "inspect" "bac619204947e72fcf1a38c3402d2f9520b9170f38e54fae5ef4343fe41ca23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac619204947e72fcf1a38c3402d2f9520b9170f38e54fae5ef4343fe41ca23c", kill_on_drop: false }` [INFO] [stdout] bac619204947e72fcf1a38c3402d2f9520b9170f38e54fae5ef4343fe41ca23c [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f6988878a879fe0565034bca0c8f2fe4a9ab4c610166f296688f3e2032d2a442 [INFO] running `Command { std: "docker" "start" "-a" "f6988878a879fe0565034bca0c8f2fe4a9ab4c610166f296688f3e2032d2a442", kill_on_drop: false }` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [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] | ^^^^^^ help: use `dyn`: `dyn Driver` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/dbmigrate_lib-d71f59c0bf8ca4fc [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_skipping_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] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6988878a879fe0565034bca0c8f2fe4a9ab4c610166f296688f3e2032d2a442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6988878a879fe0565034bca0c8f2fe4a9ab4c610166f296688f3e2032d2a442", kill_on_drop: false }` [INFO] [stdout] f6988878a879fe0565034bca0c8f2fe4a9ab4c610166f296688f3e2032d2a442