[INFO] fetching crate dbi 0.3.0... [INFO] testing dbi-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dbi 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate dbi 0.3.0 [INFO] finished tweaking crates.io crate dbi 0.3.0 [INFO] tweaked toml for crates.io crate dbi 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dbi 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 162 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding mysql_async v0.15.1 (available: v0.36.1) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.45.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atoi v0.2.4 [INFO] [stderr] Downloaded generic-array v0.9.1 [INFO] [stderr] Downloaded dbi-macros v0.3.0 [INFO] [stderr] Downloaded sha2 v0.7.1 [INFO] [stderr] Downloaded mysql_common v0.9.2 [INFO] [stderr] Downloaded checked v0.5.0 [INFO] [stderr] Downloaded mysql_async v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7002f3522c747c473e44d5ec3778ff898039c77dfe55117c1f54af8fd2a6c3f [INFO] running `Command { std: "docker" "start" "-a" "d7002f3522c747c473e44d5ec3778ff898039c77dfe55117c1f54af8fd2a6c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7002f3522c747c473e44d5ec3778ff898039c77dfe55117c1f54af8fd2a6c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7002f3522c747c473e44d5ec3778ff898039c77dfe55117c1f54af8fd2a6c3f", kill_on_drop: false }` [INFO] [stdout] d7002f3522c747c473e44d5ec3778ff898039c77dfe55117c1f54af8fd2a6c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3bd310749647c37f5cd6bb95285ab6bde49aa12c0fa07f3f308c18b7e711a78f [INFO] running `Command { std: "docker" "start" "-a" "3bd310749647c37f5cd6bb95285ab6bde49aa12c0fa07f3f308c18b7e711a78f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling atoi v0.2.4 [INFO] [stderr] Compiling checked v0.5.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling mysql_common v0.9.2 [INFO] [stderr] Compiling mysql_async v0.15.1 [INFO] [stderr] Compiling dbi-macros v0.3.0 [INFO] [stderr] Compiling dbi v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::Connection` [INFO] [stdout] --> src/mysql.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use super::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `futures::stream::iter`: implementation moved to `iter_ok` and `iter_result` [INFO] [stdout] --> src/mysql.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | futures::stream::iter(val) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mysql.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub type BoxedFuture = Box + Send>; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub type BoxedFuture = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysql.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | res.reduce_and_drop(crate::ResultSet::None, move |mut acc, row| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysql.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | .fold(crate::ResultSet::None, |mut acc, val| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/mysql.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | }).map(|res| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/mysql.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/mysql.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.87s [INFO] running `Command { std: "docker" "inspect" "3bd310749647c37f5cd6bb95285ab6bde49aa12c0fa07f3f308c18b7e711a78f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd310749647c37f5cd6bb95285ab6bde49aa12c0fa07f3f308c18b7e711a78f", kill_on_drop: false }` [INFO] [stdout] 3bd310749647c37f5cd6bb95285ab6bde49aa12c0fa07f3f308c18b7e711a78f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0601ad02c94465fbf5c0a8af6055ce3492d76bfc2d59afcc86722ef0ce62a91f [INFO] running `Command { std: "docker" "start" "-a" "0601ad02c94465fbf5c0a8af6055ce3492d76bfc2d59afcc86722ef0ce62a91f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling dbi v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::Connection` [INFO] [stdout] --> src/mysql.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use super::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `futures::stream::iter`: implementation moved to `iter_ok` and `iter_result` [INFO] [stdout] --> src/mysql.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | futures::stream::iter(val) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mysql.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub type BoxedFuture = Box + Send>; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub type BoxedFuture = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysql.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | res.reduce_and_drop(crate::ResultSet::None, move |mut acc, row| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysql.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | .fold(crate::ResultSet::None, |mut acc, val| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/mysql.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | }).map(|res| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/mysql.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/mysql.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DB_USERNAME` not defined at compile time [INFO] [stdout] --> examples/simple.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | let (username, password, db) = (env!("DB_USERNAME"), env!("DB_PASSWORD"), env!("DB_NAME")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DB_USERNAME")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DB_PASSWORD` not defined at compile time [INFO] [stdout] --> examples/simple.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | let (username, password, db) = (env!("DB_USERNAME"), env!("DB_PASSWORD"), env!("DB_NAME")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DB_PASSWORD")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DB_NAME` not defined at compile time [INFO] [stdout] --> examples/simple.rs:43:79 [INFO] [stdout] | [INFO] [stdout] 43 | let (username, password, db) = (env!("DB_USERNAME"), env!("DB_PASSWORD"), env!("DB_NAME")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DB_NAME")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Connection` [INFO] [stdout] --> src/mysql.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use super::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> examples/simple.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/simple.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromRow)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `mysql` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromRow` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromRow` may come from an old version of the `dbi_macros` crate, try updating your dependency with `cargo update -p dbi_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/simple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[dbi_trait(impl_for(new="UserDao"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `mysql` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `dbi_trait` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `dbi_trait` may come from an old version of the `dbi_macros` crate, try updating your dependency with `cargo update -p dbi_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `dbi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `futures::stream::iter`: implementation moved to `iter_ok` and `iter_result` [INFO] [stdout] --> src/mysql.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | futures::stream::iter(val) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mysql.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub type BoxedFuture = Box + Send>; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub type BoxedFuture = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysql.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | res.reduce_and_drop(crate::ResultSet::None, move |mut acc, row| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysql.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | .fold(crate::ResultSet::None, |mut acc, val| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/mysql.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | }).map(|res| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/mysql.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/mysql.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::my::prelude` [INFO] [stdout] --> src/mysql.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | use ::my::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dbi` (example "simple") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0601ad02c94465fbf5c0a8af6055ce3492d76bfc2d59afcc86722ef0ce62a91f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0601ad02c94465fbf5c0a8af6055ce3492d76bfc2d59afcc86722ef0ce62a91f", kill_on_drop: false }` [INFO] [stdout] 0601ad02c94465fbf5c0a8af6055ce3492d76bfc2d59afcc86722ef0ce62a91f