[INFO] fetching crate telegrambot 0.1.3... [INFO] testing telegrambot-0.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate telegrambot 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate telegrambot 0.1.3 [INFO] finished tweaking crates.io crate telegrambot 0.1.3 [INFO] tweaked toml for crates.io crate telegrambot 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate telegrambot 0.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 252 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding serde-value v0.5.3 (available: v0.7.0) [INFO] [stderr] Adding text-reader v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v1.1.0 [INFO] [stderr] Downloaded error-chain-mini-derive v0.2.0 [INFO] [stderr] Downloaded slog-term v2.9.2 [INFO] [stderr] Downloaded error-chain-mini v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded synstructure v0.8.1 [INFO] [stderr] Downloaded rstring-builder v0.1.4 [INFO] [stderr] Downloaded text-reader v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6d030b4afa7f06f572b75c1340d016bc85a970da0358894745799a85707ad80 [INFO] running `Command { std: "docker" "start" "-a" "e6d030b4afa7f06f572b75c1340d016bc85a970da0358894745799a85707ad80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6d030b4afa7f06f572b75c1340d016bc85a970da0358894745799a85707ad80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d030b4afa7f06f572b75c1340d016bc85a970da0358894745799a85707ad80", kill_on_drop: false }` [INFO] [stdout] e6d030b4afa7f06f572b75c1340d016bc85a970da0358894745799a85707ad80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7be30e6cc76a56c7176aa79b3fc543b98643a62ea549903f90d74e1b75654b3c [INFO] running `Command { std: "docker" "start" "-a" "7be30e6cc76a56c7176aa79b3fc543b98643a62ea549903f90d74e1b75654b3c", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling term v1.1.0 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling rstring-builder v0.1.4 [INFO] [stderr] Compiling text-reader v0.1.1 [INFO] [stderr] Compiling error-chain-mini v0.2.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling synstructure v0.8.1 [INFO] [stderr] Compiling slog-term v2.9.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling error-chain-mini-derive v0.2.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling telegrambot v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(inner: Box + Send>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(inner: Box + Send>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proxy` is never read [INFO] [stdout] --> src/config.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | proxy: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `TGBotErrorKind` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_TGBotErrorKind` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `TGBotErrorKind` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_TGBotErrorKind` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7be30e6cc76a56c7176aa79b3fc543b98643a62ea549903f90d74e1b75654b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be30e6cc76a56c7176aa79b3fc543b98643a62ea549903f90d74e1b75654b3c", kill_on_drop: false }` [INFO] [stdout] 7be30e6cc76a56c7176aa79b3fc543b98643a62ea549903f90d74e1b75654b3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9ab55c9bd1b51e12cb46a299903ab1f02b1fd9d92bc80aef47efc41d53cf10a [INFO] running `Command { std: "docker" "start" "-a" "f9ab55c9bd1b51e12cb46a299903ab1f02b1fd9d92bc80aef47efc41d53cf10a", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(inner: Box + Send>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(inner: Box + Send>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proxy` is never read [INFO] [stdout] --> src/config.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | proxy: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `TGBotErrorKind` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_TGBotErrorKind` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `TGBotErrorKind` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_TGBotErrorKind` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling telegrambot v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SendMessage` [INFO] [stdout] --> examples/pin.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use telegrambot::api::{SendMessage, PinChatMessage, UnpinChatMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `telegrambot::vision::VMessageChat` [INFO] [stdout] --> examples/pin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use telegrambot::vision::VMessageChat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `config` [INFO] [stdout] --> examples/config.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/config.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PinChatMessage` and `UnpinChatMessage` [INFO] [stdout] --> examples/series.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use telegrambot::api::{GetFile, PinChatMessage, SendMessage, UnpinChatMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `telegrambot::vision::VMessageChat` [INFO] [stdout] --> examples/series.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use telegrambot::vision::VMessageChat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BotApi` [INFO] [stdout] --> examples/tbot.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use telegrambot::api::{BotApi, GetFile, SendMessage}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhotoSize` [INFO] [stdout] --> examples/tbot.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use telegrambot::types::{ParseMode, PhotoSize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | .on_incoming(|(api, ic)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | .on_text(|(api, vtex)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | .on_photo(|(api, pho)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | .on_document(|(api, doc)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | .on_callback_query(|(api, cq)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | .on_command("/start", |(api, cmd)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/tbot.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|(a, b)| {}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/tbot.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|(a, b)| {}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tbot.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | .map_err(|e| {})); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `telegrambot` (example "config") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(inner: Box + Send>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(inner: Box + Send>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proxy` is never read [INFO] [stdout] --> src/config.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | proxy: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `TGBotErrorKind` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_TGBotErrorKind` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `TGBotErrorKind` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_TGBotErrorKind` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f9ab55c9bd1b51e12cb46a299903ab1f02b1fd9d92bc80aef47efc41d53cf10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ab55c9bd1b51e12cb46a299903ab1f02b1fd9d92bc80aef47efc41d53cf10a", kill_on_drop: false }` [INFO] [stdout] f9ab55c9bd1b51e12cb46a299903ab1f02b1fd9d92bc80aef47efc41d53cf10a