[INFO] cloning repository https://github.com/Ajhaa/workhours_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ajhaa/workhours_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAjhaa%2Fworkhours_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAjhaa%2Fworkhours_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be0586bd95b1bdaec426036338e4517d15fe3c71 [INFO] checking Ajhaa/workhours_bot against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAjhaa%2Fworkhours_bot" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ajhaa/workhours_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/Ajhaa/workhours_bot [INFO] finished tweaking git repo https://github.com/Ajhaa/workhours_bot [INFO] tweaked toml for git repo https://github.com/Ajhaa/workhours_bot written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/Ajhaa/workhours_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] 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-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] c88150422732a03146b0d0ddc6da91103444af445009a17a80a30b7be60cdcdf [INFO] running `Command { std: "docker" "start" "-a" "c88150422732a03146b0d0ddc6da91103444af445009a17a80a30b7be60cdcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c88150422732a03146b0d0ddc6da91103444af445009a17a80a30b7be60cdcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88150422732a03146b0d0ddc6da91103444af445009a17a80a30b7be60cdcdf", kill_on_drop: false }` [INFO] [stdout] c88150422732a03146b0d0ddc6da91103444af445009a17a80a30b7be60cdcdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] 8bcae5190b64e209c6493d599b2786f03f3b865f80a219df915827279ef0b6ab [INFO] running `Command { std: "docker" "start" "-a" "8bcae5190b64e209c6493d599b2786f03f3b865f80a219df915827279ef0b6ab", 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] 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.11: winapi [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking owned-alloc v0.2.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking lockfree v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking regex v1.3.4 [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.4 [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 derive_more v0.99.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling teloxide-macros v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking thiserror v1.0.11 [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 diesel v1.4.3 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.2 [INFO] [stderr] Checking teloxide v0.2.0 [INFO] [stderr] Checking workhours_bot 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 02s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking tokio v0.2.11 [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.2 [INFO] [stderr] Checking teloxide v0.2.0 [INFO] [stderr] Checking workhours_bot v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 16 | #[derive(teloxide::utils::command::BotCommand::BotCommand)] [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(TryFrom::BotCommand)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 16 | #[derive(teloxide::utils::command::BotCommand::BotCommand)] [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] [stderr] error: could not compile `workhours_bot` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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" "8bcae5190b64e209c6493d599b2786f03f3b865f80a219df915827279ef0b6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bcae5190b64e209c6493d599b2786f03f3b865f80a219df915827279ef0b6ab", kill_on_drop: false }` [INFO] [stdout] 8bcae5190b64e209c6493d599b2786f03f3b865f80a219df915827279ef0b6ab