[INFO] cloning repository https://github.com/ATechnoHazard/rust-sample-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ATechnoHazard/rust-sample-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FATechnoHazard%2Frust-sample-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FATechnoHazard%2Frust-sample-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0683ef9b100796fe83b5cf1664e81d1ed9909b89 [INFO] checking ATechnoHazard/rust-sample-bot against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FATechnoHazard%2Frust-sample-bot" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ATechnoHazard/rust-sample-bot on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ATechnoHazard/rust-sample-bot [INFO] finished tweaking git repo https://github.com/ATechnoHazard/rust-sample-bot [INFO] tweaked toml for git repo https://github.com/ATechnoHazard/rust-sample-bot written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ATechnoHazard/rust-sample-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ce9ab146e70048972381a4b001d59cd0ebf8d34890d0ad5ca8f4b8d98426531 [INFO] running `Command { std: "docker" "start" "-a" "7ce9ab146e70048972381a4b001d59cd0ebf8d34890d0ad5ca8f4b8d98426531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ce9ab146e70048972381a4b001d59cd0ebf8d34890d0ad5ca8f4b8d98426531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ce9ab146e70048972381a4b001d59cd0ebf8d34890d0ad5ca8f4b8d98426531", kill_on_drop: false }` [INFO] [stdout] 7ce9ab146e70048972381a4b001d59cd0ebf8d34890d0ad5ca8f4b8d98426531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84be07c8fb0760d999ea3d894bc6f7b388e2548e8f5213c6761db5a7849a3a01 [INFO] running `Command { std: "docker" "start" "-a" "84be07c8fb0760d999ea3d894bc6f7b388e2548e8f5213c6761db5a7849a3a01", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.13: winapi [INFO] [stderr] [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking owned-alloc v0.2.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking lockfree v0.5.1 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling teloxide-macros v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.3 [INFO] [stderr] Checking teloxide v0.2.0 [INFO] [stderr] Checking rust-tgbot v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.3 [INFO] [stderr] Checking teloxide v0.2.0 [INFO] [stderr] Checking rust-tgbot v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(BotCommand)] [INFO] [stdout] | ^^^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `teloxide::utils::command::BotCommand` for the type `Command` [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(BotCommand)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] = note: this error originates in the derive macro `BotCommand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(teloxide::utils::command::BotCommand::BotCommand)] [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(TryFrom::BotCommand)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(BotCommand)] [INFO] [stdout] | ^^^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `teloxide::utils::command::BotCommand` for the type `Command` [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(BotCommand)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] = note: this error originates in the derive macro `BotCommand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(teloxide::utils::command::BotCommand::BotCommand)] [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(TryFrom::BotCommand)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-tgbot` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "84be07c8fb0760d999ea3d894bc6f7b388e2548e8f5213c6761db5a7849a3a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84be07c8fb0760d999ea3d894bc6f7b388e2548e8f5213c6761db5a7849a3a01", kill_on_drop: false }` [INFO] [stdout] 84be07c8fb0760d999ea3d894bc6f7b388e2548e8f5213c6761db5a7849a3a01