[INFO] fetching crate im-rope 0.1.0... [INFO] checking im-rope-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate im-rope 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate im-rope 0.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate im-rope 0.1.0 [INFO] finished tweaking crates.io crate im-rope 0.1.0 [INFO] tweaked toml for crates.io crate im-rope 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitmaps v2.1.0 (available: v3.2.1) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding proptest-derive v0.2.0 (available: v0.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding sized-chunks v0.6.5 (available: v0.7.0) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 875a091b2834183bcf222789125b32ea72a8cce22eee711e9dc3cb0286324e6b [INFO] running `Command { std: "docker" "start" "-a" "875a091b2834183bcf222789125b32ea72a8cce22eee711e9dc3cb0286324e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "875a091b2834183bcf222789125b32ea72a8cce22eee711e9dc3cb0286324e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875a091b2834183bcf222789125b32ea72a8cce22eee711e9dc3cb0286324e6b", kill_on_drop: false }` [INFO] [stdout] 875a091b2834183bcf222789125b32ea72a8cce22eee711e9dc3cb0286324e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb019906e3c47dcaab91fe9c7021983543053c9cf0c9c34a3238052a24640d1d [INFO] running `Command { std: "docker" "start" "-a" "fb019906e3c47dcaab91fe9c7021983543053c9cf0c9c34a3238052a24640d1d", 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 proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking static-cow v0.2.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling proptest-derive v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking im-rope v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `im_rope` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/validations.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/validations.rs:244:10 [INFO] [stderr] | [INFO] [stderr] 244 | ($error_len: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/validations.rs:253:10 [INFO] [stderr] | [INFO] [stderr] 253 | ($result: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:2915:34 [INFO] [stderr] | [INFO] [stderr] 2915 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:2915:54 [INFO] [stderr] | [INFO] [stderr] 2915 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:2915:77 [INFO] [stderr] | [INFO] [stderr] 2915 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:3036:34 [INFO] [stderr] | [INFO] [stderr] 3036 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:3036:54 [INFO] [stderr] | [INFO] [stderr] 3036 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:3036:77 [INFO] [stderr] | [INFO] [stderr] 3036 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/accessor.rs:547:30 [INFO] [stdout] | [INFO] [stdout] 547 | match stream.gen() { [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/accessor.rs:580:30 [INFO] [stdout] | [INFO] [stdout] 580 | match stream.gen() { [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/validations.rs:466:30 [INFO] [stdout] | [INFO] [stdout] 466 | if direction.gen() { [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] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/validations.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | ($error_len: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 244 | ($error_len: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/validations.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | ($result: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 253 | ($result: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:2915:43 [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:2915:61 [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr_2021, $inclusive:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:2915:78 [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:3036:43 [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:3036:61 [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr_2021, $inclusive:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:3036:78 [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/validations.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | v.unwrap_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/validations.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe fn unwrap_debug(v: Option) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | Self::from_vector_unchecked(a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | pub unsafe fn split_at_unchecked(&self, mid: usize) -> (Rope, Rope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | Self::from_vector_unchecked(b), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | Self::from_vector_unchecked(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | pub unsafe fn subrope_unchecked>(&self, range: R) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | pub unsafe fn extract_unchecked>(&mut self, range: R) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:713:13 [INFO] [stdout] | [INFO] [stdout] 713 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:863:21 [INFO] [stdout] | [INFO] [stdout] 863 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 862 | pub unsafe fn append_unchecked(&mut self, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:895:21 [INFO] [stdout] | [INFO] [stdout] 895 | let mut o = Rope::from_vector_unchecked(other.into_vector()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:894:5 [INFO] [stdout] | [INFO] [stdout] 894 | pub unsafe fn prepend_unchecked(&mut self, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:912:21 [INFO] [stdout] | [INFO] [stdout] 912 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:911:5 [INFO] [stdout] | [INFO] [stdout] 911 | pub unsafe fn insert_unchecked(&mut self, at: usize, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2719:22 [INFO] [stdout] | [INFO] [stdout] 2719 | Some(Rope::from_vector_unchecked(v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2701:5 [INFO] [stdout] | [INFO] [stdout] 2701 | / unsafe fn forward Option>>( [INFO] [stdout] 2702 | | &mut self, [INFO] [stdout] 2703 | | next_match: &mut F, [INFO] [stdout] 2704 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2722:27 [INFO] [stdout] | [INFO] [stdout] 2722 | let ret = Rope::from_vector_unchecked( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 2723 | | self.haystack.take_back(self.haystack.front_index()), [INFO] [stdout] 2724 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2753:28 [INFO] [stdout] | [INFO] [stdout] 2753 | let rope = Rope::from_vector_unchecked(self.haystack.take_back(range.end)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2743:5 [INFO] [stdout] | [INFO] [stdout] 2743 | / unsafe fn backward Option>>( [INFO] [stdout] 2744 | | &mut self, [INFO] [stdout] 2745 | | next_match: &mut F, [INFO] [stdout] 2746 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `SplitImpl::::backward` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2763:21 [INFO] [stdout] | [INFO] [stdout] 2763 | self.backward(next_match) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2772:28 [INFO] [stdout] | [INFO] [stdout] 2772 | let rope = Rope::from_vector_unchecked( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2773 | | self.haystack.take_back(self.haystack.front_index()), [INFO] [stdout] 2774 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::char::methods::::from_u32_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3275:9 [INFO] [stdout] | [INFO] [stdout] 3275 | char::from_u32_unchecked(ch) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3271:1 [INFO] [stdout] | [INFO] [stdout] 3271 | unsafe fn char_from_u32_debug(ch: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::str::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3284:9 [INFO] [stdout] | [INFO] [stdout] 3284 | std::str::from_utf8_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3280:1 [INFO] [stdout] | [INFO] [stdout] 3280 | unsafe fn str_from_utf8_debug(bytes: &[u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3293:9 [INFO] [stdout] | [INFO] [stdout] 3293 | String::from_utf8_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3289:1 [INFO] [stdout] | [INFO] [stdout] 3289 | unsafe fn string_from_utf8_debug(bytes: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2322:16 [INFO] [stdout] | [INFO] [stdout] 2322 | if let Some(unconsumed) = self.inner.next() { [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/lib.rs:2324:13 [INFO] [stdout] | [INFO] [stdout] 2324 | } else { [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] 2322 ~ match self.inner.next() { Some(unconsumed) => { [INFO] [stdout] 2323 | self.unconsumed_fwd = unconsumed; [INFO] [stdout] 2324 ~ } _ => { [INFO] [stdout] 2325 | if self.unconsumed_back.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 2329 | self.unconsumed_back = &[]; [INFO] [stdout] 2330 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2411:16 [INFO] [stdout] | [INFO] [stdout] 2411 | if let Some(unconsumed) = self.inner.next_back() { [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/lib.rs:2413:13 [INFO] [stdout] | [INFO] [stdout] 2413 | } 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] 2411 ~ match self.inner.next_back() { Some(unconsumed) => { [INFO] [stdout] 2412 | self.unconsumed_back = unconsumed; [INFO] [stdout] 2413 ~ } _ => { [INFO] [stdout] 2414 | if self.unconsumed_fwd.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 2418 | self.unconsumed_fwd = &[]; [INFO] [stdout] 2419 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pattern.rs:1442:16 [INFO] [stdout] | [INFO] [stdout] 1442 | if let Some((range, chunk)) = self.haystack.front_chunk() { [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/pattern.rs:1448:13 [INFO] [stdout] | [INFO] [stdout] 1448 | } 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] 1442 ~ match self.haystack.front_chunk() { Some((range, chunk)) => { [INFO] [stdout] 1443 | for i in H::build(self.needle, chunk) { [INFO] [stdout] ... [INFO] [stdout] 1447 | } [INFO] [stdout] 1448 ~ } _ => { [INFO] [stdout] 1449 | break; [INFO] [stdout] 1450 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pattern.rs:1460:16 [INFO] [stdout] | [INFO] [stdout] 1460 | if let Some((range, chunk)) = self.haystack.back_chunk() { [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/pattern.rs:1466:13 [INFO] [stdout] | [INFO] [stdout] 1466 | } 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] 1460 ~ match self.haystack.back_chunk() { Some((range, chunk)) => { [INFO] [stdout] 1461 | for i in H::build(self.needle, chunk).rev() { [INFO] [stdout] ... [INFO] [stdout] 1465 | } [INFO] [stdout] 1466 ~ } _ => { [INFO] [stdout] 1467 | break; [INFO] [stdout] 1468 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pattern.rs:1749:12 [INFO] [stdout] | [INFO] [stdout] 1749 | if let Some((i, _)) = self.hayspout.next() { [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/pattern.rs:1751:9 [INFO] [stdout] | [INFO] [stdout] 1751 | } 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] 1749 ~ match self.hayspout.next() { Some((i, _)) => { [INFO] [stdout] 1750 | Some((i..i, ())) [INFO] [stdout] 1751 ~ } _ => { [INFO] [stdout] 1752 | self.back.take().map(|i| (i..i, ())) [INFO] [stdout] 1753 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `im_rope` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/validations.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/validations.rs:244:10 [INFO] [stderr] | [INFO] [stderr] 244 | ($error_len: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/validations.rs:253:10 [INFO] [stderr] | [INFO] [stderr] 253 | ($result: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:2915:34 [INFO] [stderr] | [INFO] [stderr] 2915 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:2915:54 [INFO] [stderr] | [INFO] [stderr] 2915 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:2915:77 [INFO] [stderr] | [INFO] [stderr] 2915 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:3036:34 [INFO] [stderr] | [INFO] [stderr] 3036 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:3036:54 [INFO] [stderr] | [INFO] [stderr] 3036 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:3036:77 [INFO] [stderr] | [INFO] [stderr] 3036 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr_2021, $inclusive:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/accessor.rs:547:30 [INFO] [stdout] | [INFO] [stdout] 547 | match stream.gen() { [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/accessor.rs:580:30 [INFO] [stdout] | [INFO] [stdout] 580 | match stream.gen() { [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/validations.rs:466:30 [INFO] [stdout] | [INFO] [stdout] 466 | if direction.gen() { [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test_utils.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn gen(&mut self) -> S::Value { [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | fn check_iterator_contract(gen: &mut F) -> Result<(), TestCaseError> [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | let mut iter = gen(); [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:337:26 [INFO] [stdout] | [INFO] [stdout] 337 | prop_assert_eq!(cur, gen().last()); [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 354 | if bools.gen() { [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:376:37 [INFO] [stdout] | [INFO] [stdout] 376 | fn check_iterator_into_owning(gen: &mut F) -> Result<(), TestCaseError> [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | check_iterator_contract(gen)?; [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | prop_assert!(gen().eq(gen().to_owning())); [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | prop_assert!(gen().eq(gen().to_owning())); [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:385:18 [INFO] [stdout] | [INFO] [stdout] 385 | prop_assert!(gen().eq(gen().into_owning())); [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:385:27 [INFO] [stdout] | [INFO] [stdout] 385 | prop_assert!(gen().eq(gen().into_owning())); [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:386:18 [INFO] [stdout] | [INFO] [stdout] 386 | prop_assert!(gen().to_owning().eq(gen().into_owning())); [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 386 | prop_assert!(gen().to_owning().eq(gen().into_owning())); [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | gen: &mut F, [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | check_iterator_contract(gen)?; [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:401:45 [INFO] [stdout] | [INFO] [stdout] 401 | check_double_ended_iterator_equivalence(gen(), gen().to_owning(), bools)?; [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:401:52 [INFO] [stdout] | [INFO] [stdout] 401 | check_double_ended_iterator_equivalence(gen(), gen().to_owning(), bools)?; [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:402:45 [INFO] [stdout] | [INFO] [stdout] 402 | check_double_ended_iterator_equivalence(gen(), gen().into_owning(), bools)?; [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:402:52 [INFO] [stdout] | [INFO] [stdout] 402 | check_double_ended_iterator_equivalence(gen(), gen().into_owning(), bools)?; [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:403:45 [INFO] [stdout] | [INFO] [stdout] 403 | check_double_ended_iterator_equivalence(gen().to_owning(), gen().into_owning(), bools)?; [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] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/tests.rs:403:64 [INFO] [stdout] | [INFO] [stdout] 403 | check_double_ended_iterator_equivalence(gen().to_owning(), gen().into_owning(), bools)?; [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] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/validations.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | ($error_len: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 244 | ($error_len: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/validations.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | ($result: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 253 | ($result: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:2915:43 [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:2915:61 [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr_2021, $inclusive:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:2915:78 [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2915 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:3036:43 [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr_2021, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:3036:61 [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr_2021, $inclusive:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:3036:78 [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3036 | ($name:ident, $doc: literal, $limited:expr, $terminated:expr, $inclusive:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/validations.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | v.unwrap_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/validations.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe fn unwrap_debug(v: Option) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | Self::from_vector_unchecked(a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | pub unsafe fn split_at_unchecked(&self, mid: usize) -> (Rope, Rope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | Self::from_vector_unchecked(b), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | Self::from_vector_unchecked(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | pub unsafe fn subrope_unchecked>(&self, range: R) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | pub unsafe fn extract_unchecked>(&mut self, range: R) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:713:13 [INFO] [stdout] | [INFO] [stdout] 713 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.14s [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:863:21 [INFO] [stdout] | [INFO] [stdout] 863 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 862 | pub unsafe fn append_unchecked(&mut self, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:895:21 [INFO] [stdout] | [INFO] [stdout] 895 | let mut o = Rope::from_vector_unchecked(other.into_vector()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:894:5 [INFO] [stdout] | [INFO] [stdout] 894 | pub unsafe fn prepend_unchecked(&mut self, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:912:21 [INFO] [stdout] | [INFO] [stdout] 912 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:911:5 [INFO] [stdout] | [INFO] [stdout] 911 | pub unsafe fn insert_unchecked(&mut self, at: usize, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2719:22 [INFO] [stdout] | [INFO] [stdout] 2719 | Some(Rope::from_vector_unchecked(v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2701:5 [INFO] [stdout] | [INFO] [stdout] 2701 | / unsafe fn forward Option>>( [INFO] [stdout] 2702 | | &mut self, [INFO] [stdout] 2703 | | next_match: &mut F, [INFO] [stdout] 2704 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2722:27 [INFO] [stdout] | [INFO] [stdout] 2722 | let ret = Rope::from_vector_unchecked( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 2723 | | self.haystack.take_back(self.haystack.front_index()), [INFO] [stdout] 2724 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2753:28 [INFO] [stdout] | [INFO] [stdout] 2753 | let rope = Rope::from_vector_unchecked(self.haystack.take_back(range.end)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2743:5 [INFO] [stdout] | [INFO] [stdout] 2743 | / unsafe fn backward Option>>( [INFO] [stdout] 2744 | | &mut self, [INFO] [stdout] 2745 | | next_match: &mut F, [INFO] [stdout] 2746 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `SplitImpl::::backward` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2763:21 [INFO] [stdout] | [INFO] [stdout] 2763 | self.backward(next_match) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2772:28 [INFO] [stdout] | [INFO] [stdout] 2772 | let rope = Rope::from_vector_unchecked( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2773 | | self.haystack.take_back(self.haystack.front_index()), [INFO] [stdout] 2774 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::char::methods::::from_u32_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3275:9 [INFO] [stdout] | [INFO] [stdout] 3275 | char::from_u32_unchecked(ch) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3271:1 [INFO] [stdout] | [INFO] [stdout] 3271 | unsafe fn char_from_u32_debug(ch: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::str::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3284:9 [INFO] [stdout] | [INFO] [stdout] 3284 | std::str::from_utf8_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3280:1 [INFO] [stdout] | [INFO] [stdout] 3280 | unsafe fn str_from_utf8_debug(bytes: &[u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3293:9 [INFO] [stdout] | [INFO] [stdout] 3293 | String::from_utf8_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3289:1 [INFO] [stdout] | [INFO] [stdout] 3289 | unsafe fn string_from_utf8_debug(bytes: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CharStrategy` is never constructed [INFO] [stdout] --> src/pattern.rs:2088:23 [INFO] [stdout] | [INFO] [stdout] 2088 | pub(crate) struct CharStrategy; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CharsetStrategy` is never constructed [INFO] [stdout] --> src/pattern.rs:2108:23 [INFO] [stdout] | [INFO] [stdout] 2108 | pub(crate) struct CharsetStrategy; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2322:16 [INFO] [stdout] | [INFO] [stdout] 2322 | if let Some(unconsumed) = self.inner.next() { [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/lib.rs:2324:13 [INFO] [stdout] | [INFO] [stdout] 2324 | } else { [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] 2322 ~ match self.inner.next() { Some(unconsumed) => { [INFO] [stdout] 2323 | self.unconsumed_fwd = unconsumed; [INFO] [stdout] 2324 ~ } _ => { [INFO] [stdout] 2325 | if self.unconsumed_back.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 2329 | self.unconsumed_back = &[]; [INFO] [stdout] 2330 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2411:16 [INFO] [stdout] | [INFO] [stdout] 2411 | if let Some(unconsumed) = self.inner.next_back() { [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/lib.rs:2413:13 [INFO] [stdout] | [INFO] [stdout] 2413 | } 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] 2411 ~ match self.inner.next_back() { Some(unconsumed) => { [INFO] [stdout] 2412 | self.unconsumed_back = unconsumed; [INFO] [stdout] 2413 ~ } _ => { [INFO] [stdout] 2414 | if self.unconsumed_fwd.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 2418 | self.unconsumed_fwd = &[]; [INFO] [stdout] 2419 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pattern.rs:1442:16 [INFO] [stdout] | [INFO] [stdout] 1442 | if let Some((range, chunk)) = self.haystack.front_chunk() { [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/pattern.rs:1448:13 [INFO] [stdout] | [INFO] [stdout] 1448 | } 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] 1442 ~ match self.haystack.front_chunk() { Some((range, chunk)) => { [INFO] [stdout] 1443 | for i in H::build(self.needle, chunk) { [INFO] [stdout] ... [INFO] [stdout] 1447 | } [INFO] [stdout] 1448 ~ } _ => { [INFO] [stdout] 1449 | break; [INFO] [stdout] 1450 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pattern.rs:1460:16 [INFO] [stdout] | [INFO] [stdout] 1460 | if let Some((range, chunk)) = self.haystack.back_chunk() { [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/pattern.rs:1466:13 [INFO] [stdout] | [INFO] [stdout] 1466 | } 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] 1460 ~ match self.haystack.back_chunk() { Some((range, chunk)) => { [INFO] [stdout] 1461 | for i in H::build(self.needle, chunk).rev() { [INFO] [stdout] ... [INFO] [stdout] 1465 | } [INFO] [stdout] 1466 ~ } _ => { [INFO] [stdout] 1467 | break; [INFO] [stdout] 1468 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pattern.rs:1749:12 [INFO] [stdout] | [INFO] [stdout] 1749 | if let Some((i, _)) = self.hayspout.next() { [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/pattern.rs:1751:9 [INFO] [stdout] | [INFO] [stdout] 1751 | } 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] 1749 ~ match self.hayspout.next() { Some((i, _)) => { [INFO] [stdout] 1750 | Some((i..i, ())) [INFO] [stdout] 1751 ~ } _ => { [INFO] [stdout] 1752 | self.back.take().map(|i| (i..i, ())) [INFO] [stdout] 1753 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tests.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | while let Some(new) = iter.next() { [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/tests.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking im-rope v0.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/test_utils.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn gen(&mut self) -> S::Value { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 50 | pub fn r#gen(&mut self) -> S::Value { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | fn check_iterator_contract(gen: &mut F) -> Result<(), TestCaseError> [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 301 | fn check_iterator_contract(r#gen: &mut F) -> Result<(), TestCaseError> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | let mut iter = gen(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 354 | if bools.gen() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 354 | if bools.r#gen() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:376:37 [INFO] [stdout] | [INFO] [stdout] 376 | fn check_iterator_into_owning(gen: &mut F) -> Result<(), TestCaseError> [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 376 | fn check_iterator_into_owning(r#gen: &mut F) -> Result<(), TestCaseError> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | check_iterator_contract(gen)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | gen: &mut F, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 391 | r#gen: &mut F, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | check_iterator_contract(gen)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:401:45 [INFO] [stdout] | [INFO] [stdout] 401 | check_double_ended_iterator_equivalence(gen(), gen().to_owning(), bools)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:402:45 [INFO] [stdout] | [INFO] [stdout] 402 | check_double_ended_iterator_equivalence(gen(), gen().into_owning(), bools)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:403:45 [INFO] [stdout] | [INFO] [stdout] 403 | check_double_ended_iterator_equivalence(gen().to_owning(), gen().into_owning(), bools)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/accessor.rs:547:30 [INFO] [stdout] | [INFO] [stdout] 547 | match stream.gen() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 547 | match stream.r#gen() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/accessor.rs:580:30 [INFO] [stdout] | [INFO] [stdout] 580 | match stream.gen() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 580 | match stream.r#gen() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/validations.rs:466:30 [INFO] [stdout] | [INFO] [stdout] 466 | if direction.gen() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 466 | if direction.r#gen() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | prop_assert!(gen().eq(gen().to_owning())); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/proptest-1.5.0/src/sugar.rs:748:6 [INFO] [stdout] | [INFO] [stdout] 748 | ($cond:expr) => { [INFO] [stdout] | ---------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:385:18 [INFO] [stdout] | [INFO] [stdout] 385 | prop_assert!(gen().eq(gen().into_owning())); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/proptest-1.5.0/src/sugar.rs:748:6 [INFO] [stdout] | [INFO] [stdout] 748 | ($cond:expr) => { [INFO] [stdout] | ---------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/tests.rs:386:18 [INFO] [stdout] | [INFO] [stdout] 386 | prop_assert!(gen().to_owning().eq(gen().into_owning())); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/proptest-1.5.0/src/sugar.rs:748:6 [INFO] [stdout] | [INFO] [stdout] 748 | ($cond:expr) => { [INFO] [stdout] | ---------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/validations.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | v.unwrap_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/validations.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe fn unwrap_debug(v: Option) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | Self::from_vector_unchecked(a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | pub unsafe fn split_at_unchecked(&self, mid: usize) -> (Rope, Rope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | Self::from_vector_unchecked(b), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | Self::from_vector_unchecked(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | pub unsafe fn subrope_unchecked>(&self, range: R) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | pub unsafe fn extract_unchecked>(&mut self, range: R) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:713:13 [INFO] [stdout] | [INFO] [stdout] 713 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:863:21 [INFO] [stdout] | [INFO] [stdout] 863 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 862 | pub unsafe fn append_unchecked(&mut self, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:895:21 [INFO] [stdout] | [INFO] [stdout] 895 | let mut o = Rope::from_vector_unchecked(other.into_vector()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:894:5 [INFO] [stdout] | [INFO] [stdout] 894 | pub unsafe fn prepend_unchecked(&mut self, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:912:21 [INFO] [stdout] | [INFO] [stdout] 912 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:911:5 [INFO] [stdout] | [INFO] [stdout] 911 | pub unsafe fn insert_unchecked(&mut self, at: usize, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2719:22 [INFO] [stdout] | [INFO] [stdout] 2719 | Some(Rope::from_vector_unchecked(v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2701:5 [INFO] [stdout] | [INFO] [stdout] 2701 | / unsafe fn forward Option>>( [INFO] [stdout] 2702 | | &mut self, [INFO] [stdout] 2703 | | next_match: &mut F, [INFO] [stdout] 2704 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2722:27 [INFO] [stdout] | [INFO] [stdout] 2722 | let ret = Rope::from_vector_unchecked( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 2723 | | self.haystack.take_back(self.haystack.front_index()), [INFO] [stdout] 2724 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2753:28 [INFO] [stdout] | [INFO] [stdout] 2753 | let rope = Rope::from_vector_unchecked(self.haystack.take_back(range.end)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2743:5 [INFO] [stdout] | [INFO] [stdout] 2743 | / unsafe fn backward Option>>( [INFO] [stdout] 2744 | | &mut self, [INFO] [stdout] 2745 | | next_match: &mut F, [INFO] [stdout] 2746 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `SplitImpl::::backward` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2763:21 [INFO] [stdout] | [INFO] [stdout] 2763 | self.backward(next_match) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2772:28 [INFO] [stdout] | [INFO] [stdout] 2772 | let rope = Rope::from_vector_unchecked( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2773 | | self.haystack.take_back(self.haystack.front_index()), [INFO] [stdout] 2774 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::char::methods::::from_u32_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3275:9 [INFO] [stdout] | [INFO] [stdout] 3275 | char::from_u32_unchecked(ch) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3271:1 [INFO] [stdout] | [INFO] [stdout] 3271 | unsafe fn char_from_u32_debug(ch: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::str::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3284:9 [INFO] [stdout] | [INFO] [stdout] 3284 | std::str::from_utf8_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3280:1 [INFO] [stdout] | [INFO] [stdout] 3280 | unsafe fn str_from_utf8_debug(bytes: &[u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3293:9 [INFO] [stdout] | [INFO] [stdout] 3293 | String::from_utf8_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3289:1 [INFO] [stdout] | [INFO] [stdout] 3289 | unsafe fn string_from_utf8_debug(bytes: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/validations.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | v.unwrap_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/validations.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe fn unwrap_debug(v: Option) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | Self::from_vector_unchecked(a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | pub unsafe fn split_at_unchecked(&self, mid: usize) -> (Rope, Rope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | Self::from_vector_unchecked(b), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | Self::from_vector_unchecked(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | pub unsafe fn subrope_unchecked>(&self, range: R) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | pub unsafe fn extract_unchecked>(&mut self, range: R) -> Rope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:713:13 [INFO] [stdout] | [INFO] [stdout] 713 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | Rope::from_vector_unchecked(w) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:863:21 [INFO] [stdout] | [INFO] [stdout] 863 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 862 | pub unsafe fn append_unchecked(&mut self, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:895:21 [INFO] [stdout] | [INFO] [stdout] 895 | let mut o = Rope::from_vector_unchecked(other.into_vector()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:894:5 [INFO] [stdout] | [INFO] [stdout] 894 | pub unsafe fn prepend_unchecked(&mut self, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::as_mut_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:912:21 [INFO] [stdout] | [INFO] [stdout] 912 | let mut v = self.as_mut_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:911:5 [INFO] [stdout] | [INFO] [stdout] 911 | pub unsafe fn insert_unchecked(&mut self, at: usize, other: O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2719:22 [INFO] [stdout] | [INFO] [stdout] 2719 | Some(Rope::from_vector_unchecked(v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2701:5 [INFO] [stdout] | [INFO] [stdout] 2701 | / unsafe fn forward Option>>( [INFO] [stdout] 2702 | | &mut self, [INFO] [stdout] 2703 | | next_match: &mut F, [INFO] [stdout] 2704 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2722:27 [INFO] [stdout] | [INFO] [stdout] 2722 | let ret = Rope::from_vector_unchecked( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 2723 | | self.haystack.take_back(self.haystack.front_index()), [INFO] [stdout] 2724 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2753:28 [INFO] [stdout] | [INFO] [stdout] 2753 | let rope = Rope::from_vector_unchecked(self.haystack.take_back(range.end)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2743:5 [INFO] [stdout] | [INFO] [stdout] 2743 | / unsafe fn backward Option>>( [INFO] [stdout] 2744 | | &mut self, [INFO] [stdout] 2745 | | next_match: &mut F, [INFO] [stdout] 2746 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `SplitImpl::::backward` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2763:21 [INFO] [stdout] | [INFO] [stdout] 2763 | self.backward(next_match) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `Rope::from_vector_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2772:28 [INFO] [stdout] | [INFO] [stdout] 2772 | let rope = Rope::from_vector_unchecked( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2773 | | self.haystack.take_back(self.haystack.front_index()), [INFO] [stdout] 2774 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::char::methods::::from_u32_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3275:9 [INFO] [stdout] | [INFO] [stdout] 3275 | char::from_u32_unchecked(ch) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3271:1 [INFO] [stdout] | [INFO] [stdout] 3271 | unsafe fn char_from_u32_debug(ch: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::str::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3284:9 [INFO] [stdout] | [INFO] [stdout] 3284 | std::str::from_utf8_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3280:1 [INFO] [stdout] | [INFO] [stdout] 3280 | unsafe fn str_from_utf8_debug(bytes: &[u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:3293:9 [INFO] [stdout] | [INFO] [stdout] 3293 | String::from_utf8_unchecked(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:3289:1 [INFO] [stdout] | [INFO] [stdout] 3289 | unsafe fn string_from_utf8_debug(bytes: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `im-rope` (lib test) due to 18 previous errors; 19 warnings emitted [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" "fb019906e3c47dcaab91fe9c7021983543053c9cf0c9c34a3238052a24640d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb019906e3c47dcaab91fe9c7021983543053c9cf0c9c34a3238052a24640d1d", kill_on_drop: false }` [INFO] [stdout] fb019906e3c47dcaab91fe9c7021983543053c9cf0c9c34a3238052a24640d1d