[INFO] cloning repository https://github.com/bemyak/roll_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bemyak/roll_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbemyak%2Froll_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbemyak%2Froll_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2afcf1ca974bdbf31cfcaaaffd19ed179118b3e3 [INFO] checking bemyak/roll_bot/2afcf1ca974bdbf31cfcaaaffd19ed179118b3e3 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbemyak%2Froll_bot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bemyak/roll_bot on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/bemyak/roll_bot [INFO] finished tweaking git repo https://github.com/bemyak/roll_bot [INFO] tweaked toml for git repo https://github.com/bemyak/roll_bot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bemyak/roll_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e52741b0e7d355dae47bec275f26eae6c2b6edceff54f6381bccae9a7707b490 [INFO] running `Command { std: "docker" "start" "-a" "e52741b0e7d355dae47bec275f26eae6c2b6edceff54f6381bccae9a7707b490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e52741b0e7d355dae47bec275f26eae6c2b6edceff54f6381bccae9a7707b490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e52741b0e7d355dae47bec275f26eae6c2b6edceff54f6381bccae9a7707b490", kill_on_drop: false }` [INFO] [stdout] e52741b0e7d355dae47bec275f26eae6c2b6edceff54f6381bccae9a7707b490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 190caa0cfa322ade213805ed9380a087616d9e4cf3d2766369bec9ddd83d1b6d [INFO] running `Command { std: "docker" "start" "-a" "190caa0cfa322ade213805ed9380a087616d9e4cf3d2766369bec9ddd83d1b6d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling aws-lc-rs v1.7.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.18.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling schemafy_core v0.6.0 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling schemafy_lib v0.6.0 [INFO] [stderr] Compiling ejdb-sys v0.3.0 (https://github.com/bemyak/ejdb.rs.git?branch=master#56692c69) [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking uuid v1.9.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking vecrem v0.1.0 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking bson v0.14.1 [INFO] [stderr] Compiling peg-macros v0.8.3 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Compiling roll_bot v1.0.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking triple_accel v0.3.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking peg v0.8.3 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking ordinal v0.3.2 [INFO] [stderr] Checking zalgo v0.2.0 [INFO] [stderr] Checking hyper-proxy v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking simsearch v0.2.5 [INFO] [stderr] Checking ejdb v0.4.1 (https://github.com/bemyak/ejdb.rs.git?branch=master#56692c69) [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `roll_bot` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/commands.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of "!", "##", "$", "&", "(", ")", "*", "**", "+", "++", "/", "?", "@", "expected", "position", "precedence", "quiet" [INFO] [stderr] --> src/commands.rs:139:49 [INFO] [stderr] | [INFO] [stderr] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" # #parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/format/utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | zalgo.gen(text.clone(), &mut buf, &OPTIONS); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: will be parsed as a guarded string in Rust 2024 [INFO] [stdout] --> src/commands.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" ##parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123735 [INFO] [stdout] = note: `--force-warn rust-2024-guarded-string-incompatible-syntax` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024 [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" # #parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/telegram.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | .find(|(_, &sep_pos)| sep_pos != 0) [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | if let Err(err) = fetch_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ match fetch_result { Err(err) => { [INFO] [stdout] 68 | error!("Error occurred while fetching data: {}", err) [INFO] [stdout] 69 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/db.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(e) = res { [INFO] [stdout] | ^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/db.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 96 ~ match res { Err(e) => { [INFO] [stdout] 97 | error!("Failed to save document: {}", e) [INFO] [stdout] 98 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fetch.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(doc) = value.as_object() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/fetch.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ match value.as_object() { Some(doc) => { [INFO] [stdout] 67 | for (collection, value) in doc { [INFO] [stdout] ... [INFO] [stdout] 76 | } [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fetch.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(items) = result.get_mut(collection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/fetch.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match result.get_mut(collection) { Some(items) => { [INFO] [stdout] 71 | items.extend(arr); [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | result.insert(collection.clone(), arr); [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format/item.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(entries) = t.and_then(|t| t.get_entries("entries")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/format/item.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ match t.and_then(|t| t.get_entries("entries")) { Some(entries) => { [INFO] [stdout] 129 | write!(s, "\n\n{}", &entries.join("\n")).ok()?; [INFO] [stdout] 130 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format/monster.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(val) = legendary_actions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/format/monster.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 107 ~ match legendary_actions { Some(val) => { [INFO] [stdout] 108 | if let Some(val) = val.format_legendary_group() { [INFO] [stdout] 109 | result.push_str(&val); [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format/monster.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(val) = val.format_legendary_group() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/format/monster.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match val.format_legendary_group() { Some(val) => { [INFO] [stdout] 109 | result.push_str(&val); [INFO] [stdout] 110 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/metrics.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | if let Err(err) = http1::Builder::new() [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 65 | || // `service_fn` converts our function in a `Service` [INFO] [stdout] 66 | || .serve_connection(io, service_fn(metrics)) [INFO] [stdout] 67 | || .await [INFO] [stdout] | ||______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/metrics.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match http1::Builder::new() [INFO] [stdout] 65 | // `service_fn` converts our function in a `Service` [INFO] [stdout] 66 | .serve_connection(io, service_fn(metrics)) [INFO] [stdout] 67 | .await [INFO] [stdout] 68 ~ { Err(err) => { [INFO] [stdout] 69 | error!("Error serving connection: {:?}", err); [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `roll_bot` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/commands.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of "!", "##", "$", "&", "(", ")", "*", "**", "+", "++", "/", "?", "@", "expected", "position", "precedence", "quiet" [INFO] [stderr] --> src/commands.rs:139:49 [INFO] [stderr] | [INFO] [stderr] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" # #parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `command_parser` [INFO] [stderr] --> src/commands.rs:168:3 [INFO] [stderr] | [INFO] [stderr] 168 | command_parser::command("/r", bot_name), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared crate or module `command_parser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `command_parser` [INFO] [stderr] --> src/commands.rs:176:3 [INFO] [stderr] | [INFO] [stderr] 176 | command_parser::command("/roll", bot_name), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared crate or module `command_parser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `command_parser` [INFO] [stderr] --> src/commands.rs:184:3 [INFO] [stderr] | [INFO] [stderr] 184 | command_parser::command("/r test test test", bot_name), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared crate or module `command_parser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `command_parser` [INFO] [stderr] --> src/commands.rs:192:3 [INFO] [stderr] | [INFO] [stderr] 192 | command_parser::command("/r test test test ", bot_name), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared crate or module `command_parser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `command_parser` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/format/utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | zalgo.gen(text.clone(), &mut buf, &OPTIONS); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/commands.rs:200:3 [INFO] [stderr] | [INFO] [stderr] 200 | command_parser::command("/r\ntest", bot_name), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared crate or module `command_parser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `command_parser` [INFO] [stderr] --> src/commands.rs:212:4 [INFO] [stderr] | [INFO] [stderr] 212 | command_parser::command("/roll 1d20 5d30 ­ ⛤", bot_name), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared crate or module `command_parser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `command_parser` [INFO] [stderr] --> src/commands.rs:225:3 [INFO] [stderr] | [INFO] [stderr] 225 | command_parser::commands("/r", bot_name), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared crate or module `command_parser` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: will be parsed as a guarded string in Rust 2024 [INFO] [stdout] --> src/commands.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" ##parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123735 [INFO] [stdout] = note: `--force-warn rust-2024-guarded-string-incompatible-syntax` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024 [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" # #parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/telegram.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | .find(|(_, &sep_pos)| sep_pos != 0) [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | if let Err(err) = fetch_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ match fetch_result { Err(err) => { [INFO] [stdout] 68 | error!("Error occurred while fetching data: {}", err) [INFO] [stdout] 69 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/db.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(e) = res { [INFO] [stdout] | ^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/db.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 96 ~ match res { Err(e) => { [INFO] [stdout] 97 | error!("Failed to save document: {}", e) [INFO] [stdout] 98 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fetch.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(doc) = value.as_object() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/fetch.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ match value.as_object() { Some(doc) => { [INFO] [stdout] 67 | for (collection, value) in doc { [INFO] [stdout] ... [INFO] [stdout] 76 | } [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fetch.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(items) = result.get_mut(collection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/fetch.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match result.get_mut(collection) { Some(items) => { [INFO] [stdout] 71 | items.extend(arr); [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | result.insert(collection.clone(), arr); [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format/item.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(entries) = t.and_then(|t| t.get_entries("entries")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/format/item.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ match t.and_then(|t| t.get_entries("entries")) { Some(entries) => { [INFO] [stdout] 129 | write!(s, "\n\n{}", &entries.join("\n")).ok()?; [INFO] [stdout] 130 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format/monster.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(val) = legendary_actions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/format/monster.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 107 ~ match legendary_actions { Some(val) => { [INFO] [stdout] 108 | if let Some(val) = val.format_legendary_group() { [INFO] [stdout] 109 | result.push_str(&val); [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format/monster.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(val) = val.format_legendary_group() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/format/monster.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match val.format_legendary_group() { Some(val) => { [INFO] [stdout] 109 | result.push_str(&val); [INFO] [stdout] 110 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/metrics.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | if let Err(err) = http1::Builder::new() [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 65 | || // `service_fn` converts our function in a `Service` [INFO] [stdout] 66 | || .serve_connection(io, service_fn(metrics)) [INFO] [stdout] 67 | || .await [INFO] [stdout] | ||______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/metrics.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match http1::Builder::new() [INFO] [stdout] 65 | // `service_fn` converts our function in a `Service` [INFO] [stdout] 66 | .serve_connection(io, service_fn(metrics)) [INFO] [stdout] 67 | .await [INFO] [stdout] 68 ~ { Err(err) => { [INFO] [stdout] 69 | error!("Error serving connection: {:?}", err); [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling roll_bot v1.0.0 (/tmp/fixit) [INFO] [stdout] error: invalid string literal [INFO] [stdout] --> src/commands.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" ##parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: unprefixed guarded string literals are reserved for future use since Rust 2024 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" # #parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid string literal [INFO] [stdout] --> src/commands.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" ##parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: unprefixed guarded string literals are reserved for future use since Rust 2024 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" # #parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/format/utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | zalgo.gen(text.clone(), &mut buf, &OPTIONS); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 33 | zalgo.r#gen(text.clone(), &mut buf, &OPTIONS); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/format/utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | zalgo.gen(text.clone(), &mut buf, &OPTIONS); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 33 | zalgo.r#gen(text.clone(), &mut buf, &OPTIONS); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: undefined rule `parse_string_literal` [INFO] [stdout] --> src/commands.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" ##parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: undefined rule `parse_string_literal` [INFO] [stdout] --> src/commands.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | = _ "/" cmd:$([ 'a'..='z' | 'A'..='Z']+) ("@" ##parse_string_literal(bot_name))? arg:$(__ text())? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/telegram.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | .find(|(_, &sep_pos)| sep_pos != 0) [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roll_bot` (bin "roll_bot") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/telegram.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | .find(|(_, &sep_pos)| sep_pos != 0) [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roll_bot` (bin "roll_bot" test) due to 4 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [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" "190caa0cfa322ade213805ed9380a087616d9e4cf3d2766369bec9ddd83d1b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "190caa0cfa322ade213805ed9380a087616d9e4cf3d2766369bec9ddd83d1b6d", kill_on_drop: false }` [INFO] [stdout] 190caa0cfa322ade213805ed9380a087616d9e4cf3d2766369bec9ddd83d1b6d