[INFO] fetching crate dbi 0.3.0... [INFO] testing dbi-0.3.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate dbi 0.3.0 into /workspace/builds/worker-19/source [INFO] validating manifest of crates.io crate dbi 0.3.0 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 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-19/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 185ee000b6ffa7f148671e9e0a4132b50f8e80e50820ae59beecb18789e63a48 [INFO] running `Command { std: "docker" "start" "-a" "185ee000b6ffa7f148671e9e0a4132b50f8e80e50820ae59beecb18789e63a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "185ee000b6ffa7f148671e9e0a4132b50f8e80e50820ae59beecb18789e63a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185ee000b6ffa7f148671e9e0a4132b50f8e80e50820ae59beecb18789e63a48", kill_on_drop: false }` [INFO] [stdout] 185ee000b6ffa7f148671e9e0a4132b50f8e80e50820ae59beecb18789e63a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 202619da396969773ecf1fe456280558af91da7e738cca8f95548b735087839c [INFO] running `Command { std: "docker" "start" "-a" "202619da396969773ecf1fe456280558af91da7e738cca8f95548b735087839c", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling twox-hash v1.6.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling checked v0.5.0 [INFO] [stderr] Compiling atoi v0.2.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [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 tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [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] = 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] 7 - pub type BoxedFuture = Box + Send>; [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 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] 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.05s [INFO] running `Command { std: "docker" "inspect" "202619da396969773ecf1fe456280558af91da7e738cca8f95548b735087839c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202619da396969773ecf1fe456280558af91da7e738cca8f95548b735087839c", kill_on_drop: false }` [INFO] [stdout] 202619da396969773ecf1fe456280558af91da7e738cca8f95548b735087839c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 63770ab15de67184c3db206f67b164edbec507ef026074cbb03c7c92f7710def [INFO] running `Command { std: "docker" "start" "-a" "63770ab15de67184c3db206f67b164edbec507ef026074cbb03c7c92f7710def", kill_on_drop: false }` [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] = 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] 7 - pub type BoxedFuture = Box + Send>; [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 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] 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: 12 warnings emitted [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: 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] = 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] 7 - pub type BoxedFuture = Box + Send>; [INFO] [stdout] 7 + pub type BoxedFuture = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DB_USERNAME` not defined [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] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DB_PASSWORD` not defined [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] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DB_NAME` not defined [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] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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 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] 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] [stderr] error: could not compile `dbi` due to 4 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "63770ab15de67184c3db206f67b164edbec507ef026074cbb03c7c92f7710def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63770ab15de67184c3db206f67b164edbec507ef026074cbb03c7c92f7710def", kill_on_drop: false }` [INFO] [stdout] 63770ab15de67184c3db206f67b164edbec507ef026074cbb03c7c92f7710def