[INFO] fetching crate telegram-bot-fork 0.7.8... [INFO] testing telegram-bot-fork-0.7.8 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate telegram-bot-fork 0.7.8 into /workspace/builds/worker-100/source [INFO] validating manifest of crates.io crate telegram-bot-fork 0.7.8 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate telegram-bot-fork 0.7.8 [INFO] finished tweaking crates.io crate telegram-bot-fork 0.7.8 [INFO] tweaked toml for crates.io crate telegram-bot-fork 0.7.8 written to /workspace/builds/worker-100/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15f3479618c47581c7260a1e6350e66033fe67ef31752280c567d00428d9451e [INFO] running `Command { std: "docker" "start" "-a" "15f3479618c47581c7260a1e6350e66033fe67ef31752280c567d00428d9451e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15f3479618c47581c7260a1e6350e66033fe67ef31752280c567d00428d9451e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f3479618c47581c7260a1e6350e66033fe67ef31752280c567d00428d9451e", kill_on_drop: false }` [INFO] [stdout] 15f3479618c47581c7260a1e6350e66033fe67ef31752280c567d00428d9451e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e17b5fe5828752086ab8d0c160509d935891ceae924387c34e1e4cb73167a8a8 [INFO] running `Command { std: "docker" "start" "-a" "e17b5fe5828752086ab8d0c160509d935891ceae924387c34e1e4cb73167a8a8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling telegram-bot-fork-raw v0.7.8 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling telegram-bot-fork v0.7.8 (/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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Url(::http::uri::InvalidUri) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] 6 | | Hyper(::hyper::Error) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | connector: Box, [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] 24 - connector: Box, [INFO] [stdout] 24 + connector: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: 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] 8 - inner: Box>, [INFO] [stdout] 8 + inner: Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:67:67 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn with_connector>(token: T, connector: Box) -> Self { [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] 67 - pub fn with_connector>(token: T, connector: Box) -> Self { [INFO] [stdout] 67 + pub fn with_connector>(token: T, connector: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(inner: Box>) -> Self; [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] 12 - fn new(inner: Box>) -> Self; [INFO] [stdout] 12 + fn new(inner: Box>) -> Self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(inner: Box>) -> Self { [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] 16 - fn new(inner: Box>) -> Self { [INFO] [stdout] 16 + fn new(inner: Box>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connector/mod.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn default_connector() -> Result, Error> { [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] 17 - pub fn default_connector() -> Result, Error> { [INFO] [stdout] 17 + pub fn default_connector() -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connector/hyper.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn default_connector() -> Result, Error> { [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] 92 - pub fn default_connector() -> Result, Error> { [INFO] [stdout] 92 + pub fn default_connector() -> Result, Error> { [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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Url(::http::uri::InvalidUri) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] 6 | | Hyper(::hyper::Error) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.39s [INFO] running `Command { std: "docker" "inspect" "e17b5fe5828752086ab8d0c160509d935891ceae924387c34e1e4cb73167a8a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17b5fe5828752086ab8d0c160509d935891ceae924387c34e1e4cb73167a8a8", kill_on_drop: false }` [INFO] [stdout] e17b5fe5828752086ab8d0c160509d935891ceae924387c34e1e4cb73167a8a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 140d12f12a2f23632afd9145b3871e7ce604a4c62850f22380a461d3a4b8d489 [INFO] running `Command { std: "docker" "start" "-a" "140d12f12a2f23632afd9145b3871e7ce604a4c62850f22380a461d3a4b8d489", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Url(::http::uri::InvalidUri) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] 6 | | Hyper(::hyper::Error) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | connector: Box, [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] 24 - connector: Box, [INFO] [stdout] 24 + connector: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: 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] 8 - inner: Box>, [INFO] [stdout] 8 + inner: Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:67:67 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn with_connector>(token: T, connector: Box) -> Self { [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] 67 - pub fn with_connector>(token: T, connector: Box) -> Self { [INFO] [stdout] 67 + pub fn with_connector>(token: T, connector: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(inner: Box>) -> Self; [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] 12 - fn new(inner: Box>) -> Self; [INFO] [stdout] 12 + fn new(inner: Box>) -> Self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(inner: Box>) -> Self { [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] 16 - fn new(inner: Box>) -> Self { [INFO] [stdout] 16 + fn new(inner: Box>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connector/mod.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn default_connector() -> Result, Error> { [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] 17 - pub fn default_connector() -> Result, Error> { [INFO] [stdout] 17 + pub fn default_connector() -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connector/hyper.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn default_connector() -> Result, Error> { [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] 92 - pub fn default_connector() -> Result, Error> { [INFO] [stdout] 92 + pub fn default_connector() -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling telegram-bot-fork v0.7.8 (/opt/rustwide/workdir) [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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Url(::http::uri::InvalidUri) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] 6 | | Hyper(::hyper::Error) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> examples/features.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 105 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] 105 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> examples/features.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 118 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] 118 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> examples/features.rs:126:44 [INFO] [stdout] | [INFO] [stdout] 126 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 126 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] 126 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> examples/features.rs:137:44 [INFO] [stdout] | [INFO] [stdout] 137 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 137 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] 137 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> examples/features.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 147 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stdout] 147 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Url(::http::uri::InvalidUri) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] 6 | | Hyper(::hyper::Error) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | connector: Box, [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] 24 - connector: Box, [INFO] [stdout] 24 + connector: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: 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] 8 - inner: Box>, [INFO] [stdout] 8 + inner: Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api.rs:67:67 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn with_connector>(token: T, connector: Box) -> Self { [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] 67 - pub fn with_connector>(token: T, connector: Box) -> Self { [INFO] [stdout] 67 + pub fn with_connector>(token: T, connector: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(inner: Box>) -> Self; [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] 12 - fn new(inner: Box>) -> Self; [INFO] [stdout] 12 + fn new(inner: Box>) -> Self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(inner: Box>) -> Self { [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] 16 - fn new(inner: Box>) -> Self { [INFO] [stdout] 16 + fn new(inner: Box>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connector/mod.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn default_connector() -> Result, Error> { [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] 17 - pub fn default_connector() -> Result, Error> { [INFO] [stdout] 17 + pub fn default_connector() -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connector/hyper.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn default_connector() -> Result, Error> { [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] 92 - pub fn default_connector() -> Result, Error> { [INFO] [stdout] 92 + pub fn default_connector() -> Result, Error> { [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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Url(::http::uri::InvalidUri) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] 6 | | Hyper(::hyper::Error) #[cfg(feature = "hyper_connector")]; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.08s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/telegram_bot_fork-3d63b2e2d6279f9d) [INFO] running `Command { std: "docker" "inspect" "140d12f12a2f23632afd9145b3871e7ce604a4c62850f22380a461d3a4b8d489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140d12f12a2f23632afd9145b3871e7ce604a4c62850f22380a461d3a4b8d489", kill_on_drop: false }` [INFO] [stdout] 140d12f12a2f23632afd9145b3871e7ce604a4c62850f22380a461d3a4b8d489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 34ad26defed69a48f4a1e1e59b5be888b1430f5e05eb3d1924fc87cb3e384585 [INFO] running `Command { std: "docker" "start" "-a" "34ad26defed69a48f4a1e1e59b5be888b1430f5e05eb3d1924fc87cb3e384585", 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:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / error_chain! { [INFO] [stderr] 4 | | foreign_links { [INFO] [stderr] 5 | | Url(::http::uri::InvalidUri) #[cfg(feature = "hyper_connector")]; [INFO] [stderr] 6 | | Hyper(::hyper::Error) #[cfg(feature = "hyper_connector")]; [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | connector: Box, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - connector: Box, [INFO] [stderr] 24 + connector: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/future.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | inner: 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] 8 - inner: Box>, [INFO] [stderr] 8 + inner: Box>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api.rs:67:67 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn with_connector>(token: T, connector: Box) -> Self { [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] 67 - pub fn with_connector>(token: T, connector: Box) -> Self { [INFO] [stderr] 67 + pub fn with_connector>(token: T, connector: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/future.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | fn new(inner: Box>) -> Self; [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] 12 - fn new(inner: Box>) -> Self; [INFO] [stderr] 12 + fn new(inner: Box>) -> Self; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/future.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | fn new(inner: Box>) -> Self { [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] 16 - fn new(inner: Box>) -> Self { [INFO] [stderr] 16 + fn new(inner: Box>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/connector/mod.rs:17:42 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn default_connector() -> Result, Error> { [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] 17 - pub fn default_connector() -> Result, Error> { [INFO] [stderr] 17 + pub fn default_connector() -> Result, Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/connector/hyper.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn default_connector() -> Result, Error> { [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] 92 - pub fn default_connector() -> Result, Error> { [INFO] [stderr] 92 + pub fn default_connector() -> Result, Error> { [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:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / error_chain! { [INFO] [stderr] 4 | | foreign_links { [INFO] [stderr] 5 | | Url(::http::uri::InvalidUri) #[cfg(feature = "hyper_connector")]; [INFO] [stderr] 6 | | Hyper(::hyper::Error) #[cfg(feature = "hyper_connector")]; [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `telegram-bot-fork` (lib) generated 9 warnings [INFO] [stderr] warning: `telegram-bot-fork` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> examples/features.rs:105:44 [INFO] [stderr] | [INFO] [stderr] 105 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 105 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] 105 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> examples/features.rs:118:44 [INFO] [stderr] | [INFO] [stderr] 118 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 118 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] 118 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> examples/features.rs:126:44 [INFO] [stderr] | [INFO] [stderr] 126 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 126 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] 126 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> examples/features.rs:137:44 [INFO] [stderr] | [INFO] [stderr] 137 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 137 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] 137 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> examples/features.rs:147:44 [INFO] [stderr] | [INFO] [stderr] 147 | tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 147 - tokio::executor::current_thread::spawn({ future.map_err(|_| ()).map(|_| ()) }) [INFO] [stderr] 147 + tokio::executor::current_thread::spawn(future.map_err(|_| ()).map(|_| ())) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `telegram-bot-fork` (example "features") generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/telegram_bot_fork-3d63b2e2d6279f9d) [INFO] [stdout] running 3 tests [INFO] [stdout] test macros::tests::test_inline_keyboard ... ok [INFO] [stdout] test macros::tests::test_reply_keyboard ... ok [INFO] [stdout] test macros::tests::test_simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests telegram-bot-fork [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/macros.rs - macros::reply_markup (line 4) ... ok [INFO] [stdout] test src/api.rs - api::Api::spawn (line 110) ... ok [INFO] [stdout] test src/api.rs - api::Api::send (line 173) ... ok [INFO] [stdout] test src/api.rs - api::Api::new (line 48) ... ok [INFO] [stdout] test src/api.rs - api::Api::new (line 34) ... ok [INFO] [stdout] test src/api.rs - api::Api::stream (line 87) ... ok [INFO] [stdout] test src/api.rs - api::Api::send_timeout (line 135) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "34ad26defed69a48f4a1e1e59b5be888b1430f5e05eb3d1924fc87cb3e384585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ad26defed69a48f4a1e1e59b5be888b1430f5e05eb3d1924fc87cb3e384585", kill_on_drop: false }` [INFO] [stdout] 34ad26defed69a48f4a1e1e59b5be888b1430f5e05eb3d1924fc87cb3e384585