[INFO] cloning repository https://github.com/jeanknox/teloxide
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeanknox/teloxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanknox%2Fteloxide"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanknox%2Fteloxide'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 64e0d7ccad8ac169c9b5dba312544eb53945af3f
[INFO] testing jeanknox/teloxide against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanknox%2Fteloxide" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jeanknox/teloxide
[INFO] finished tweaking git repo https://github.com/jeanknox/teloxide
[INFO] tweaked toml for git repo https://github.com/jeanknox/teloxide written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jeanknox/teloxide on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jeanknox/teloxide already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f
[INFO] running `"docker" "start" "9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f"`
[INFO] running `"docker" "inspect" "9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling erasable v1.3.0
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling bytemuck v1.23.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]    Compiling rgb v0.8.52
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling rc-box v1.3.0
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling takecell v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling dptree v0.5.1
[INFO] [stderr]    Compiling teloxide-macros v0.10.0
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.4.11
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde_with v3.14.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling aquamarine v0.6.0
[INFO] [stderr]    Compiling pretty_env_logger v0.5.0
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling teloxide-core v0.13.0
[INFO] [stderr]    Compiling teloxide v0.17.0
[INFO] [stderr]    Compiling telegram_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/main.rs:25:70
[INFO] [stdout]    |
[INFO] [stdout] 21 |   async fn get_feriados(ano: String) -> Vec<Feriado> {
[INFO] [stdout]    |  ____________________________________________________-
[INFO] [stdout] 22 | |     let request_url = format!("https://brasilapi.com.br/api/feriados/v1/{ano}");
[INFO] [stdout] 23 | |     let client = reqwest::Client::new();
[INFO] [stdout] 24 | |     let start = std::time::Instant::now();
[INFO] [stdout] 25 | |     let feriados: Vec<Feriado> = client.get(request_url).send().await?.json().await?;
[INFO] [stdout]    | |                                                                      ^ cannot use the `?` operator in an async function that returns `Vec<Feriado>`
[INFO] [stdout] 26 | |     feriados
[INFO] [stdout] 27 | | }    
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/main.rs:25:84
[INFO] [stdout]    |
[INFO] [stdout] 21 |   async fn get_feriados(ano: String) -> Vec<Feriado> {
[INFO] [stdout]    |  ____________________________________________________-
[INFO] [stdout] 22 | |     let request_url = format!("https://brasilapi.com.br/api/feriados/v1/{ano}");
[INFO] [stdout] 23 | |     let client = reqwest::Client::new();
[INFO] [stdout] 24 | |     let start = std::time::Instant::now();
[INFO] [stdout] 25 | |     let feriados: Vec<Feriado> = client.get(request_url).send().await?.json().await?;
[INFO] [stdout]    | |                                                                                    ^ cannot use the `?` operator in an async function that returns `Vec<Feriado>`
[INFO] [stdout] 26 | |     feriados
[INFO] [stdout] 27 | | }    
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: std::convert::From<&Feriado>` is not satisfied
[INFO] [stdout]    --> src/main.rs:52:47
[INFO] [stdout]     |
[INFO] [stdout]  52 |                 bot.send_message(msg.chat.id, feriado).await?;
[INFO] [stdout]     |                     ------------              ^^^^^^^ the trait `std::convert::From<&Feriado>` is not implemented for `String`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: `String` implements trait `std::convert::From<T>`:
[INFO] [stdout]               std::convert::From<&String>
[INFO] [stdout]               std::convert::From<&mut str>
[INFO] [stdout]               std::convert::From<&str>
[INFO] [stdout]               std::convert::From<Box<str>>
[INFO] [stdout]               std::convert::From<Cow<'_, str>>
[INFO] [stdout]               std::convert::From<char>
[INFO] [stdout]               std::convert::From<iri_string::template::string::owned::UriTemplateString>
[INFO] [stdout]               std::convert::From<iri_string::types::generic::absolute::RiAbsoluteString<S>>
[INFO] [stdout]             and 7 others
[INFO] [stdout]     = note: required for `&Feriado` to implement `Into<String>`
[INFO] [stdout] note: required by a bound in `send_message`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.13.0/src/requests/requester.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub trait Requester {
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage
[INFO] [stdout] ...
[INFO] [stdout] 191 |         T: Into<String>;
[INFO] [stdout]     |            ^^^^^^^^^^^^ required by this bound in `Requester::send_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |       match cmd {
[INFO] [stdout]    |       --------- `match` arms have incompatible types
[INFO] [stdout] 44 |           Command::Help => bot.send_message(msg.chat.id, Command::descriptions().to_string()).await?,
[INFO] [stdout]    |                            ------------------------------------------------------------------------- this is found to be of type `teloxide::prelude::Message`
[INFO] [stdout] 45 |           Command::Username(username) => {bot.send_message(msg.chat.id, format!("Your username is @{username}")).await?}
[INFO] [stdout]    |                                           ----------------------------------------------------------------------------- this is found to be of type `teloxide::prelude::Message`
[INFO] [stdout] 46 |           Command::UsernameAndAge { username, age} => {
[INFO] [stdout] 47 |               bot.send_message(msg.chat.id, format!("Your username is @{username}, and your age is {age}.")).await?
[INFO] [stdout]    |               ----------------------------------------------------------------------------------------------------- this is found to be of type `teloxide::prelude::Message`
[INFO] [stdout] ...
[INFO] [stdout] 51 | /             for feriado in feriados.await.iter(){
[INFO] [stdout] 52 | |                 bot.send_message(msg.chat.id, feriado).await?;
[INFO] [stdout] 53 | |             }
[INFO] [stdout]    | |_____________^ expected `Message`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> src/main.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(BotCommands, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          unreachable call
[INFO] [stdout]    |          any code following this expression is unreachable
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `BotCommands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `telegram_bot` (bin "telegram_bot") due to 4 previous errors; 1 warning emitted
[INFO] running `"docker" "inspect" "9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f"`
[INFO] running `"docker" "rm" "-f" "9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f"`
[INFO] [stdout] 9a2ddacc121a457a81a7a9ccbbabd99b49cd199e393e0fabb58dda86b8150b8f
