[INFO] fetching crate rustc-rayon 0.5.0... [INFO] checking rustc-rayon-0.5.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rustc-rayon 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rustc-rayon 0.5.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 rustc-rayon 0.5.0 [INFO] finished tweaking crates.io crate rustc-rayon 0.5.0 [INFO] tweaked toml for crates.io crate rustc-rayon 0.5.0 written to /workspace/builds/worker-3-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] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8d87f18fbd6f3589d0d6ea34935ffd2ababd5ccaf3cb98ddf9deebc99b833e0f [INFO] running `Command { std: "docker" "start" "-a" "8d87f18fbd6f3589d0d6ea34935ffd2ababd5ccaf3cb98ddf9deebc99b833e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d87f18fbd6f3589d0d6ea34935ffd2ababd5ccaf3cb98ddf9deebc99b833e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d87f18fbd6f3589d0d6ea34935ffd2ababd5ccaf3cb98ddf9deebc99b833e0f", kill_on_drop: false }` [INFO] [stdout] 8d87f18fbd6f3589d0d6ea34935ffd2ababd5ccaf3cb98ddf9deebc99b833e0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ffcce7877e36a1683e479e03bfafd2592774fe786310e5537ee6028e4a77c02b [INFO] running `Command { std: "docker" "start" "-a" "ffcce7877e36a1683e479e03bfafd2592774fe786310e5537ee6028e4a77c02b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rustc-rayon-core v0.5.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rustc-rayon v0.5.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rayon` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/iter/multizip.rs [INFO] [stderr] * src/range.rs [INFO] [stderr] * src/range_inclusive.rs [INFO] [stderr] * src/str.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/iter/multizip.rs:94:6 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:94:20 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:94:48 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:94:65 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:99:6 [INFO] [stderr] | [INFO] [stderr] 99 | ($a:expr_2021, $b:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:99:20 [INFO] [stderr] | [INFO] [stderr] 99 | ($a:expr_2021, $b:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:99:37 [INFO] [stderr] | [INFO] [stderr] 99 | ($a:expr_2021, $b:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:104:6 [INFO] [stderr] | [INFO] [stderr] 104 | ($a:expr_2021, $b:expr_2021 => $fn:path) => { $fn($a, $b) }; [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/iter/multizip.rs:104:20 [INFO] [stderr] | [INFO] [stderr] 104 | ($a:expr_2021, $b:expr_2021 => $fn:path) => { $fn($a, $b) }; [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/iter/multizip.rs:105:6 [INFO] [stderr] | [INFO] [stderr] 105 | ($a:expr_2021 => $fn:path) => { $a }; [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/range.rs:303:40 [INFO] [stderr] | [INFO] [stderr] 303 | ( $self:ident . $method:ident ( $( $arg: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/range_inclusive.rs:163:40 [INFO] [stderr] | [INFO] [stderr] 163 | ( $iter:ident . $method:ident ( $( $arg: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/range_inclusive.rs:241:40 [INFO] [stderr] | [INFO] [stderr] 241 | ( $self:ident . $method:ident ( $( $arg: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/str.rs:312:22 [INFO] [stderr] | [INFO] [stderr] 312 | (&$self:ident => $pattern: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 15 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/slice/quicksort.rs:896:47 [INFO] [stdout] | [INFO] [stdout] 896 | heapsort(&mut v, &|_, _| thread_rng().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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr_2021, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr, $b:expr_2021, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr, $b:expr, $c:expr_2021, $d:expr, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr, $b:expr, $c:expr, $d:expr_2021, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:48 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr_2021 ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | ($a:expr, $b:expr, $( $x:expr ),+ => $fn:path) => { [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] 99 | ($a:expr_2021, $b:expr, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | ($a:expr, $b:expr, $( $x:expr ),+ => $fn:path) => { [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] 99 | ($a:expr, $b:expr_2021, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | ($a:expr, $b:expr, $( $x:expr ),+ => $fn:path) => { [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] 99 | ($a:expr, $b:expr, $( $x:expr_2021 ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | ($a:expr, $b:expr => $fn:path) => { $fn($a, $b) }; [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] 104 | ($a:expr_2021, $b:expr => $fn:path) => { $fn($a, $b) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | ($a:expr, $b:expr => $fn:path) => { $fn($a, $b) }; [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] 104 | ($a:expr, $b:expr_2021 => $fn:path) => { $fn($a, $b) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ($a:expr => $fn:path) => { $a }; [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] 105 | ($a:expr_2021 => $fn:path) => { $a }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/range.rs:303:45 [INFO] [stdout] | [INFO] [stdout] 303 | ( $self:ident . $method:ident ( $( $arg: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] 303 | ( $self:ident . $method:ident ( $( $arg: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/range_inclusive.rs:163:45 [INFO] [stdout] | [INFO] [stdout] 163 | ( $iter:ident . $method:ident ( $( $arg: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] 163 | ( $iter:ident . $method:ident ( $( $arg: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/range_inclusive.rs:241:45 [INFO] [stdout] | [INFO] [stdout] 241 | ( $self:ident . $method:ident ( $( $arg: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] 241 | ( $self:ident . $method:ident ( $( $arg: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/str.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | (&$self:ident => $pattern: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] 312 | (&$self:ident => $pattern:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | *ptr = ptr.offset(1); [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/slice/mergesort.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn get_and_increment(ptr: &mut *mut T) -> *mut T { [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 `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | *ptr = ptr.offset(-1); [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/slice/mergesort.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn decrement_and_get(ptr: &mut *mut T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let v_mid = v.add(mid); [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/slice/mergesort.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / unsafe fn merge(v: &mut [T], mid: usize, buf: *mut T, is_less: &F) [INFO] [stdout] 119 | | where [INFO] [stdout] 120 | | F: Fn(&T, &T) -> bool, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let v_end = v.add(len); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | ptr::copy_nonoverlapping(v, buf, mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | end: buf.add(mid), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | let to_copy = if is_less(&*right, &**left) { [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | let to_copy = if is_less(&*right, &**left) { [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | get_and_increment(&mut right) [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | get_and_increment(left) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | ptr::copy_nonoverlapping(v_mid, buf, len - mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | end: buf.add(len - mid), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:39 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:59 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:60 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | decrement_and_get(left) [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | decrement_and_get(right) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | ptr::copy_nonoverlapping(to_copy, decrement_and_get(&mut out), 1); [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:192:47 [INFO] [stdout] | [INFO] [stdout] 192 | ptr::copy_nonoverlapping(to_copy, decrement_and_get(&mut out), 1); [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { [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/slice/mergesort.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / unsafe fn mergesort(v: &mut [T], buf: *mut T, is_less: &F) -> MergesortResult [INFO] [stdout] 291 | | where [INFO] [stdout] 292 | | T: Send, [INFO] [stdout] 293 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:313:52 [INFO] [stdout] | [INFO] [stdout] 313 | if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:314:44 [INFO] [stdout] | [INFO] [stdout] 314 | while start > 0 && is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:314:68 [INFO] [stdout] | [INFO] [stdout] 314 | while start > 0 && is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:325:45 [INFO] [stdout] | [INFO] [stdout] 325 | while start > 0 && !is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:325:69 [INFO] [stdout] | [INFO] [stdout] 325 | while start > 0 && !is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `slice::mergesort::merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | / merge( [INFO] [stdout] 355 | | &mut v[left.start..right.start + right.len], [INFO] [stdout] 356 | | left.len, [INFO] [stdout] 357 | | buf, [INFO] [stdout] 358 | | &is_less, [INFO] [stdout] 359 | | ); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 459 | left_end: left.as_mut_ptr().add(left_len), [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/slice/mergesort.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | / unsafe fn par_merge(left: &mut [T], right: &mut [T], dest: *mut T, is_less: &F) [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | T: Send, [INFO] [stdout] 438 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:461:20 [INFO] [stdout] | [INFO] [stdout] 461 | right_end: right.as_mut_ptr().add(right_len), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:469:39 [INFO] [stdout] | [INFO] [stdout] 469 | let to_copy = if is_less(&*s.right_start, &*s.left_start) { [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:469:56 [INFO] [stdout] | [INFO] [stdout] 469 | let to_copy = if is_less(&*s.right_start, &*s.left_start) { [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | get_and_increment(&mut s.right_start) [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | get_and_increment(&mut s.left_start) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:474:47 [INFO] [stdout] | [INFO] [stdout] 474 | ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | let dest_r = SendPtr(dest.add(left_l.len() + right_l.len())); [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | move || par_merge(left_l, right_l, dest_l.get(), is_less), [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | move || par_merge(left_r, right_r, dest_r.get(), is_less), [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 557 | let src = v.add(start); [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/slice/mergesort.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | / unsafe fn recurse( [INFO] [stdout] 539 | | v: *mut T, [INFO] [stdout] 540 | | buf: *mut T, [INFO] [stdout] 541 | | chunks: &[(usize, usize)], [INFO] [stdout] ... | [INFO] [stdout] 545 | | T: Send, [INFO] [stdout] 546 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:558:24 [INFO] [stdout] | [INFO] [stdout] 558 | let dest = buf.add(start); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | ptr::copy_nonoverlapping(src, dest, end - start); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | src: src.add(start), [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | dest: dest.add(start), [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 `slice::mergesort::recurse` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | move || recurse(v.get(), buf.get(), left, !into_buf, is_less), [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 `slice::mergesort::recurse` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | move || recurse(v.get(), buf.get(), right, !into_buf, is_less), [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | let src_left = slice::from_raw_parts_mut(src.add(start), mid - start); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:604:46 [INFO] [stdout] | [INFO] [stdout] 604 | let src_left = slice::from_raw_parts_mut(src.add(start), mid - start); [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:605:21 [INFO] [stdout] | [INFO] [stdout] 605 | let src_right = slice::from_raw_parts_mut(src.add(mid), end - mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:605:47 [INFO] [stdout] | [INFO] [stdout] 605 | let src_right = slice::from_raw_parts_mut(src.add(mid), end - mid); [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | par_merge(src_left, src_right, dest.add(start), is_less); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:606:36 [INFO] [stdout] | [INFO] [stdout] 606 | par_merge(src_left, src_right, dest.add(start), is_less); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | let ptr = vec.as_mut_ptr().add(start); [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/vec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe fn from_vec(vec: &mut Vec, len: usize) -> DrainProducer<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vec::DrainProducer::<'_, T>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | DrainProducer::new(slice::from_raw_parts_mut(ptr, len)) [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | DrainProducer::new(slice::from_raw_parts_mut(ptr, len)) [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/split_producer.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | } else if let Some(index) = data.rfind(separator, tail) { [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/split_producer.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } 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] 56 ~ } else { match data.rfind(separator, tail) { Some(index) => { [INFO] [stdout] 57 | // We found the last separator to complete the tail, so [INFO] [stdout] ... [INFO] [stdout] 65 | } [INFO] [stdout] 66 ~ } _ => { [INFO] [stdout] 67 | // We know there are no separators at all. Return our whole data. [INFO] [stdout] ... [INFO] [stdout] 72 | } [INFO] [stdout] 73 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/chain.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | let (left, right, reducer) = if let Some(len) = a.opt_len() { [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/iter/chain.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 51 ~ let (left, right, reducer) = match a.opt_len() { Some(len) => { [INFO] [stdout] 52 | consumer.split_at(len) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | let reducer = consumer.to_reducer(); [INFO] [stdout] 55 | (consumer.split_off_left(), consumer, reducer) [INFO] [stdout] 56 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/filter_map.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(mapped_item) = filter_op(item) { [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/iter/filter_map.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | } 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] 123 ~ match filter_op(item) { Some(mapped_item) => { [INFO] [stdout] 124 | let base = self.base.consume(mapped_item); [INFO] [stdout] 125 | FilterMapFolder { base, filter_op } [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | self [INFO] [stdout] 128 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/intersperse.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | } else if let next @ Some(_) = self.base.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/iter/intersperse.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | } else if self.clone_last { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ } else { match self.base.next() { next @ Some(_) => { [INFO] [stdout] 229 | // If there are any items left, we'll need another clone in front. [INFO] [stdout] 230 | self.clone_first = self.base.len() != 0; [INFO] [stdout] 231 | next [INFO] [stdout] 232 ~ } _ => if self.clone_last { [INFO] [stdout] 233 | self.clone_last = false; [INFO] [stdout] ... [INFO] [stdout] 236 | None [INFO] [stdout] 237 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/intersperse.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | } else if let next_back @ Some(_) = self.base.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/iter/intersperse.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } else if self.clone_first { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 255 ~ } else { match self.base.next_back() { next_back @ Some(_) => { [INFO] [stdout] 256 | // If there are any items left, we'll need another clone in back. [INFO] [stdout] 257 | self.clone_last = self.base.len() != 0; [INFO] [stdout] 258 | next_back [INFO] [stdout] 259 ~ } _ => if self.clone_first { [INFO] [stdout] 260 | self.clone_first = false; [INFO] [stdout] ... [INFO] [stdout] 263 | None [INFO] [stdout] 264 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/par_bridge.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | if let Ok(mut iter) = self.iter.lock() { [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/iter/par_bridge.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | } 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] 145 ~ match self.iter.lock() { Ok(mut iter) => { [INFO] [stdout] 146 | if let Some(it) = iter.next() { [INFO] [stdout] ... [INFO] [stdout] 154 | } [INFO] [stdout] 155 ~ } _ => { [INFO] [stdout] 156 | // any panics from other threads will have been caught by the pool, [INFO] [stdout] 157 | // and will be re-thrown when joined - just exit [INFO] [stdout] 158 | return folder; [INFO] [stdout] 159 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/par_bridge.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(it) = 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/iter/par_bridge.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | } 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] 146 ~ match iter.next() { Some(it) => { [INFO] [stdout] 147 | drop(iter); [INFO] [stdout] ... [INFO] [stdout] 151 | } [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | return folder; [INFO] [stdout] 154 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/issue671-unzip.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/chars.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rayon` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/iter/multizip.rs [INFO] [stderr] * src/range.rs [INFO] [stderr] * src/range_inclusive.rs [INFO] [stderr] * src/str.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/iter/multizip.rs:94:6 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:94:20 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:94:48 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:94:65 [INFO] [stderr] | [INFO] [stderr] 94 | ($a:expr_2021, $b:expr_2021, $c:expr_2021, $d:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:99:6 [INFO] [stderr] | [INFO] [stderr] 99 | ($a:expr_2021, $b:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:99:20 [INFO] [stderr] | [INFO] [stderr] 99 | ($a:expr_2021, $b:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:99:37 [INFO] [stderr] | [INFO] [stderr] 99 | ($a:expr_2021, $b:expr_2021, $( $x:expr_2021 ),+ => $fn:path) => { [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/iter/multizip.rs:104:6 [INFO] [stderr] | [INFO] [stderr] 104 | ($a:expr_2021, $b:expr_2021 => $fn:path) => { $fn($a, $b) }; [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/iter/multizip.rs:104:20 [INFO] [stderr] | [INFO] [stderr] 104 | ($a:expr_2021, $b:expr_2021 => $fn:path) => { $fn($a, $b) }; [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/iter/multizip.rs:105:6 [INFO] [stderr] | [INFO] [stderr] 105 | ($a:expr_2021 => $fn:path) => { $a }; [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/range.rs:303:40 [INFO] [stderr] | [INFO] [stderr] 303 | ( $self:ident . $method:ident ( $( $arg: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/range_inclusive.rs:163:40 [INFO] [stderr] | [INFO] [stderr] 163 | ( $iter:ident . $method:ident ( $( $arg: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/range_inclusive.rs:241:40 [INFO] [stderr] | [INFO] [stderr] 241 | ( $self:ident . $method:ident ( $( $arg: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/str.rs:312:22 [INFO] [stderr] | [INFO] [stderr] 312 | (&$self:ident => $pattern: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 15 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] [stderr] Migrating tests/clones.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/slice/quicksort.rs:896:47 [INFO] [stdout] | [INFO] [stdout] 896 | heapsort(&mut v, &|_, _| thread_rng().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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr_2021, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr, $b:expr_2021, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr, $b:expr, $c:expr_2021, $d:expr, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr, $b:expr, $c:expr, $d:expr_2021, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:94:48 [INFO] [stdout] | [INFO] [stdout] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr ),+ => $fn:path) => { [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] 94 | ($a:expr, $b:expr, $c:expr, $d:expr, $( $x:expr_2021 ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | ($a:expr, $b:expr, $( $x:expr ),+ => $fn:path) => { [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] 99 | ($a:expr_2021, $b:expr, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | ($a:expr, $b:expr, $( $x:expr ),+ => $fn:path) => { [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] 99 | ($a:expr, $b:expr_2021, $( $x:expr ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | ($a:expr, $b:expr, $( $x:expr ),+ => $fn:path) => { [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] 99 | ($a:expr, $b:expr, $( $x:expr_2021 ),+ => $fn:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | ($a:expr, $b:expr => $fn:path) => { $fn($a, $b) }; [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] 104 | ($a:expr_2021, $b:expr => $fn:path) => { $fn($a, $b) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | ($a:expr, $b:expr => $fn:path) => { $fn($a, $b) }; [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] 104 | ($a:expr, $b:expr_2021 => $fn:path) => { $fn($a, $b) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/iter/multizip.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ($a:expr => $fn:path) => { $a }; [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] 105 | ($a:expr_2021 => $fn:path) => { $a }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/range.rs:303:45 [INFO] [stdout] | [INFO] [stdout] 303 | ( $self:ident . $method:ident ( $( $arg: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] 303 | ( $self:ident . $method:ident ( $( $arg: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/range_inclusive.rs:163:45 [INFO] [stdout] | [INFO] [stdout] 163 | ( $iter:ident . $method:ident ( $( $arg: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] 163 | ( $iter:ident . $method:ident ( $( $arg: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/range_inclusive.rs:241:45 [INFO] [stdout] | [INFO] [stdout] 241 | ( $self:ident . $method:ident ( $( $arg: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] 241 | ( $self:ident . $method:ident ( $( $arg: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/str.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | (&$self:ident => $pattern: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] 312 | (&$self:ident => $pattern:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | *ptr = ptr.offset(1); [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/slice/mergesort.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn get_and_increment(ptr: &mut *mut T) -> *mut T { [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 `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | *ptr = ptr.offset(-1); [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/slice/mergesort.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn decrement_and_get(ptr: &mut *mut T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let v_mid = v.add(mid); [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/slice/mergesort.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / unsafe fn merge(v: &mut [T], mid: usize, buf: *mut T, is_less: &F) [INFO] [stdout] 119 | | where [INFO] [stdout] 120 | | F: Fn(&T, &T) -> bool, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let v_end = v.add(len); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | ptr::copy_nonoverlapping(v, buf, mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | end: buf.add(mid), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | let to_copy = if is_less(&*right, &**left) { [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | let to_copy = if is_less(&*right, &**left) { [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | get_and_increment(&mut right) [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | get_and_increment(left) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | ptr::copy_nonoverlapping(v_mid, buf, len - mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | end: buf.add(len - mid), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:39 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:59 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:60 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | decrement_and_get(left) [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | decrement_and_get(right) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | ptr::copy_nonoverlapping(to_copy, decrement_and_get(&mut out), 1); [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:192:47 [INFO] [stdout] | [INFO] [stdout] 192 | ptr::copy_nonoverlapping(to_copy, decrement_and_get(&mut out), 1); [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { [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/slice/mergesort.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / unsafe fn mergesort(v: &mut [T], buf: *mut T, is_less: &F) -> MergesortResult [INFO] [stdout] 291 | | where [INFO] [stdout] 292 | | T: Send, [INFO] [stdout] 293 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:313:52 [INFO] [stdout] | [INFO] [stdout] 313 | if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:314:44 [INFO] [stdout] | [INFO] [stdout] 314 | while start > 0 && is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:314:68 [INFO] [stdout] | [INFO] [stdout] 314 | while start > 0 && is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:325:45 [INFO] [stdout] | [INFO] [stdout] 325 | while start > 0 && !is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:325:69 [INFO] [stdout] | [INFO] [stdout] 325 | while start > 0 && !is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `slice::mergesort::merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | / merge( [INFO] [stdout] 355 | | &mut v[left.start..right.start + right.len], [INFO] [stdout] 356 | | left.len, [INFO] [stdout] 357 | | buf, [INFO] [stdout] 358 | | &is_less, [INFO] [stdout] 359 | | ); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 459 | left_end: left.as_mut_ptr().add(left_len), [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/slice/mergesort.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | / unsafe fn par_merge(left: &mut [T], right: &mut [T], dest: *mut T, is_less: &F) [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | T: Send, [INFO] [stdout] 438 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:461:20 [INFO] [stdout] | [INFO] [stdout] 461 | right_end: right.as_mut_ptr().add(right_len), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:469:39 [INFO] [stdout] | [INFO] [stdout] 469 | let to_copy = if is_less(&*s.right_start, &*s.left_start) { [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:469:56 [INFO] [stdout] | [INFO] [stdout] 469 | let to_copy = if is_less(&*s.right_start, &*s.left_start) { [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | get_and_increment(&mut s.right_start) [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | get_and_increment(&mut s.left_start) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:474:47 [INFO] [stdout] | [INFO] [stdout] 474 | ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | let dest_r = SendPtr(dest.add(left_l.len() + right_l.len())); [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | move || par_merge(left_l, right_l, dest_l.get(), is_less), [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | move || par_merge(left_r, right_r, dest_r.get(), is_less), [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 557 | let src = v.add(start); [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/slice/mergesort.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | / unsafe fn recurse( [INFO] [stdout] 539 | | v: *mut T, [INFO] [stdout] 540 | | buf: *mut T, [INFO] [stdout] 541 | | chunks: &[(usize, usize)], [INFO] [stdout] ... | [INFO] [stdout] 545 | | T: Send, [INFO] [stdout] 546 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:558:24 [INFO] [stdout] | [INFO] [stdout] 558 | let dest = buf.add(start); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | ptr::copy_nonoverlapping(src, dest, end - start); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | src: src.add(start), [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | dest: dest.add(start), [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 `slice::mergesort::recurse` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | move || recurse(v.get(), buf.get(), left, !into_buf, is_less), [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 `slice::mergesort::recurse` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | move || recurse(v.get(), buf.get(), right, !into_buf, is_less), [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | let src_left = slice::from_raw_parts_mut(src.add(start), mid - start); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:604:46 [INFO] [stdout] | [INFO] [stdout] 604 | let src_left = slice::from_raw_parts_mut(src.add(start), mid - start); [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:605:21 [INFO] [stdout] | [INFO] [stdout] 605 | let src_right = slice::from_raw_parts_mut(src.add(mid), end - mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:605:47 [INFO] [stdout] | [INFO] [stdout] 605 | let src_right = slice::from_raw_parts_mut(src.add(mid), end - mid); [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | par_merge(src_left, src_right, dest.add(start), is_less); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:606:36 [INFO] [stdout] | [INFO] [stdout] 606 | par_merge(src_left, src_right, dest.add(start), is_less); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | let ptr = vec.as_mut_ptr().add(start); [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/vec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe fn from_vec(vec: &mut Vec, len: usize) -> DrainProducer<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vec::DrainProducer::<'_, T>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | DrainProducer::new(slice::from_raw_parts_mut(ptr, len)) [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | DrainProducer::new(slice::from_raw_parts_mut(ptr, len)) [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/split_producer.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | } else if let Some(index) = data.rfind(separator, tail) { [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/split_producer.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } 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] 56 ~ } else { match data.rfind(separator, tail) { Some(index) => { [INFO] [stdout] 57 | // We found the last separator to complete the tail, so [INFO] [stdout] ... [INFO] [stdout] 65 | } [INFO] [stdout] 66 ~ } _ => { [INFO] [stdout] 67 | // We know there are no separators at all. Return our whole data. [INFO] [stdout] ... [INFO] [stdout] 72 | } [INFO] [stdout] 73 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/chain.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | let (left, right, reducer) = if let Some(len) = a.opt_len() { [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/iter/chain.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 51 ~ let (left, right, reducer) = match a.opt_len() { Some(len) => { [INFO] [stdout] 52 | consumer.split_at(len) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | let reducer = consumer.to_reducer(); [INFO] [stdout] 55 | (consumer.split_off_left(), consumer, reducer) [INFO] [stdout] 56 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/filter_map.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(mapped_item) = filter_op(item) { [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/iter/filter_map.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | } 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] 123 ~ match filter_op(item) { Some(mapped_item) => { [INFO] [stdout] 124 | let base = self.base.consume(mapped_item); [INFO] [stdout] 125 | FilterMapFolder { base, filter_op } [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | self [INFO] [stdout] 128 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/intersperse.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | } else if let next @ Some(_) = self.base.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/iter/intersperse.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | } else if self.clone_last { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ } else { match self.base.next() { next @ Some(_) => { [INFO] [stdout] 229 | // If there are any items left, we'll need another clone in front. [INFO] [stdout] 230 | self.clone_first = self.base.len() != 0; [INFO] [stdout] 231 | next [INFO] [stdout] 232 ~ } _ => if self.clone_last { [INFO] [stdout] 233 | self.clone_last = false; [INFO] [stdout] ... [INFO] [stdout] 236 | None [INFO] [stdout] 237 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/intersperse.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | } else if let next_back @ Some(_) = self.base.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/iter/intersperse.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } else if self.clone_first { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 255 ~ } else { match self.base.next_back() { next_back @ Some(_) => { [INFO] [stdout] 256 | // If there are any items left, we'll need another clone in back. [INFO] [stdout] 257 | self.clone_last = self.base.len() != 0; [INFO] [stdout] 258 | next_back [INFO] [stdout] 259 ~ } _ => if self.clone_first { [INFO] [stdout] 260 | self.clone_first = false; [INFO] [stdout] ... [INFO] [stdout] 263 | None [INFO] [stdout] 264 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/par_bridge.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | if let Ok(mut iter) = self.iter.lock() { [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/iter/par_bridge.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | } 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] 145 ~ match self.iter.lock() { Ok(mut iter) => { [INFO] [stdout] 146 | if let Some(it) = iter.next() { [INFO] [stdout] ... [INFO] [stdout] 154 | } [INFO] [stdout] 155 ~ } _ => { [INFO] [stdout] 156 | // any panics from other threads will have been caught by the pool, [INFO] [stdout] 157 | // and will be re-thrown when joined - just exit [INFO] [stdout] 158 | return folder; [INFO] [stdout] 159 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/iter/par_bridge.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(it) = 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/iter/par_bridge.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | } 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] 146 ~ match iter.next() { Some(it) => { [INFO] [stdout] 147 | drop(iter); [INFO] [stdout] ... [INFO] [stdout] 151 | } [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | return folder; [INFO] [stdout] 154 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/iter_panic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/intersperse.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/str.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/named-threads.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/issue671.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/collect.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/debug.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/producer_split_at.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/drain_vec.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/cross-pool.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/par_bridge_recursion.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/sort-panic-safe.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/octillion.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.78s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rustc-rayon v0.5.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/slice/quicksort.rs:896:47 [INFO] [stdout] | [INFO] [stdout] 896 | heapsort(&mut v, &|_, _| thread_rng().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] 896 | heapsort(&mut v, &|_, _| thread_rng().r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/slice/quicksort.rs:896:47 [INFO] [stdout] | [INFO] [stdout] 896 | heapsort(&mut v, &|_, _| thread_rng().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] 896 | heapsort(&mut v, &|_, _| thread_rng().r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | *ptr = ptr.offset(1); [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/slice/mergesort.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn get_and_increment(ptr: &mut *mut T) -> *mut T { [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 `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | *ptr = ptr.offset(-1); [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/slice/mergesort.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn decrement_and_get(ptr: &mut *mut T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let v_mid = v.add(mid); [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/slice/mergesort.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / unsafe fn merge(v: &mut [T], mid: usize, buf: *mut T, is_less: &F) [INFO] [stdout] 119 | | where [INFO] [stdout] 120 | | F: Fn(&T, &T) -> bool, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let v_end = v.add(len); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | ptr::copy_nonoverlapping(v, buf, mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | end: buf.add(mid), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | let to_copy = if is_less(&*right, &**left) { [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | let to_copy = if is_less(&*right, &**left) { [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | get_and_increment(&mut right) [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | get_and_increment(left) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | ptr::copy_nonoverlapping(v_mid, buf, len - mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | end: buf.add(len - mid), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:39 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:59 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:60 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | decrement_and_get(left) [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | decrement_and_get(right) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | ptr::copy_nonoverlapping(to_copy, decrement_and_get(&mut out), 1); [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:192:47 [INFO] [stdout] | [INFO] [stdout] 192 | ptr::copy_nonoverlapping(to_copy, decrement_and_get(&mut out), 1); [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { [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/slice/mergesort.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / unsafe fn mergesort(v: &mut [T], buf: *mut T, is_less: &F) -> MergesortResult [INFO] [stdout] 291 | | where [INFO] [stdout] 292 | | T: Send, [INFO] [stdout] 293 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:313:52 [INFO] [stdout] | [INFO] [stdout] 313 | if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:314:44 [INFO] [stdout] | [INFO] [stdout] 314 | while start > 0 && is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:314:68 [INFO] [stdout] | [INFO] [stdout] 314 | while start > 0 && is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:325:45 [INFO] [stdout] | [INFO] [stdout] 325 | while start > 0 && !is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:325:69 [INFO] [stdout] | [INFO] [stdout] 325 | while start > 0 && !is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `slice::mergesort::merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | / merge( [INFO] [stdout] 355 | | &mut v[left.start..right.start + right.len], [INFO] [stdout] 356 | | left.len, [INFO] [stdout] 357 | | buf, [INFO] [stdout] 358 | | &is_less, [INFO] [stdout] 359 | | ); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 459 | left_end: left.as_mut_ptr().add(left_len), [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/slice/mergesort.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | / unsafe fn par_merge(left: &mut [T], right: &mut [T], dest: *mut T, is_less: &F) [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | T: Send, [INFO] [stdout] 438 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:461:20 [INFO] [stdout] | [INFO] [stdout] 461 | right_end: right.as_mut_ptr().add(right_len), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:469:39 [INFO] [stdout] | [INFO] [stdout] 469 | let to_copy = if is_less(&*s.right_start, &*s.left_start) { [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:469:56 [INFO] [stdout] | [INFO] [stdout] 469 | let to_copy = if is_less(&*s.right_start, &*s.left_start) { [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | get_and_increment(&mut s.right_start) [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | get_and_increment(&mut s.left_start) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:474:47 [INFO] [stdout] | [INFO] [stdout] 474 | ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | let dest_r = SendPtr(dest.add(left_l.len() + right_l.len())); [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | move || par_merge(left_l, right_l, dest_l.get(), is_less), [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | move || par_merge(left_r, right_r, dest_r.get(), is_less), [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 557 | let src = v.add(start); [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/slice/mergesort.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | / unsafe fn recurse( [INFO] [stdout] 539 | | v: *mut T, [INFO] [stdout] 540 | | buf: *mut T, [INFO] [stdout] 541 | | chunks: &[(usize, usize)], [INFO] [stdout] ... | [INFO] [stdout] 545 | | T: Send, [INFO] [stdout] 546 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:558:24 [INFO] [stdout] | [INFO] [stdout] 558 | let dest = buf.add(start); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | ptr::copy_nonoverlapping(src, dest, end - start); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | src: src.add(start), [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | dest: dest.add(start), [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 `slice::mergesort::recurse` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | move || recurse(v.get(), buf.get(), left, !into_buf, is_less), [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 `slice::mergesort::recurse` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | move || recurse(v.get(), buf.get(), right, !into_buf, is_less), [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | let src_left = slice::from_raw_parts_mut(src.add(start), mid - start); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:604:46 [INFO] [stdout] | [INFO] [stdout] 604 | let src_left = slice::from_raw_parts_mut(src.add(start), mid - start); [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:605:21 [INFO] [stdout] | [INFO] [stdout] 605 | let src_right = slice::from_raw_parts_mut(src.add(mid), end - mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:605:47 [INFO] [stdout] | [INFO] [stdout] 605 | let src_right = slice::from_raw_parts_mut(src.add(mid), end - mid); [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | par_merge(src_left, src_right, dest.add(start), is_less); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:606:36 [INFO] [stdout] | [INFO] [stdout] 606 | par_merge(src_left, src_right, dest.add(start), is_less); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | let ptr = vec.as_mut_ptr().add(start); [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/vec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe fn from_vec(vec: &mut Vec, len: usize) -> DrainProducer<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vec::DrainProducer::<'_, T>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | DrainProducer::new(slice::from_raw_parts_mut(ptr, len)) [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | DrainProducer::new(slice::from_raw_parts_mut(ptr, len)) [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] error: aborting due to 1 previous error; 56 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 `rustc-rayon` (lib) due to 2 previous errors; 56 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | *ptr = ptr.offset(1); [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/slice/mergesort.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn get_and_increment(ptr: &mut *mut T) -> *mut T { [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 `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | *ptr = ptr.offset(-1); [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/slice/mergesort.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn decrement_and_get(ptr: &mut *mut T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let v_mid = v.add(mid); [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/slice/mergesort.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / unsafe fn merge(v: &mut [T], mid: usize, buf: *mut T, is_less: &F) [INFO] [stdout] 119 | | where [INFO] [stdout] 120 | | F: Fn(&T, &T) -> bool, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let v_end = v.add(len); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | ptr::copy_nonoverlapping(v, buf, mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | end: buf.add(mid), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | let to_copy = if is_less(&*right, &**left) { [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | let to_copy = if is_less(&*right, &**left) { [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | get_and_increment(&mut right) [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | get_and_increment(left) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | ptr::copy_nonoverlapping(v_mid, buf, len - mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | end: buf.add(len - mid), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:39 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:59 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:187:60 [INFO] [stdout] | [INFO] [stdout] 187 | let to_copy = if is_less(&*right.offset(-1), &*left.offset(-1)) { [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | decrement_and_get(left) [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | decrement_and_get(right) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | ptr::copy_nonoverlapping(to_copy, decrement_and_get(&mut out), 1); [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 `slice::mergesort::decrement_and_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:192:47 [INFO] [stdout] | [INFO] [stdout] 192 | ptr::copy_nonoverlapping(to_copy, decrement_and_get(&mut out), 1); [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { [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/slice/mergesort.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / unsafe fn mergesort(v: &mut [T], buf: *mut T, is_less: &F) -> MergesortResult [INFO] [stdout] 291 | | where [INFO] [stdout] 292 | | T: Send, [INFO] [stdout] 293 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:313:52 [INFO] [stdout] | [INFO] [stdout] 313 | if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:314:44 [INFO] [stdout] | [INFO] [stdout] 314 | while start > 0 && is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:314:68 [INFO] [stdout] | [INFO] [stdout] 314 | while start > 0 && is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:325:45 [INFO] [stdout] | [INFO] [stdout] 325 | while start > 0 && !is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:325:69 [INFO] [stdout] | [INFO] [stdout] 325 | while start > 0 && !is_less(v.get_unchecked(start), v.get_unchecked(start - 1)) { [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 `slice::mergesort::merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | / merge( [INFO] [stdout] 355 | | &mut v[left.start..right.start + right.len], [INFO] [stdout] 356 | | left.len, [INFO] [stdout] 357 | | buf, [INFO] [stdout] 358 | | &is_less, [INFO] [stdout] 359 | | ); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 459 | left_end: left.as_mut_ptr().add(left_len), [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/slice/mergesort.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | / unsafe fn par_merge(left: &mut [T], right: &mut [T], dest: *mut T, is_less: &F) [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | T: Send, [INFO] [stdout] 438 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:461:20 [INFO] [stdout] | [INFO] [stdout] 461 | right_end: right.as_mut_ptr().add(right_len), [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:469:39 [INFO] [stdout] | [INFO] [stdout] 469 | let to_copy = if is_less(&*s.right_start, &*s.left_start) { [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:469:56 [INFO] [stdout] | [INFO] [stdout] 469 | let to_copy = if is_less(&*s.right_start, &*s.left_start) { [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | get_and_increment(&mut s.right_start) [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | get_and_increment(&mut s.left_start) [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); [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 `slice::mergesort::get_and_increment` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:474:47 [INFO] [stdout] | [INFO] [stdout] 474 | ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | let dest_r = SendPtr(dest.add(left_l.len() + right_l.len())); [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | move || par_merge(left_l, right_l, dest_l.get(), is_less), [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | move || par_merge(left_r, right_r, dest_r.get(), is_less), [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 557 | let src = v.add(start); [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/slice/mergesort.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | / unsafe fn recurse( [INFO] [stdout] 539 | | v: *mut T, [INFO] [stdout] 540 | | buf: *mut T, [INFO] [stdout] 541 | | chunks: &[(usize, usize)], [INFO] [stdout] ... | [INFO] [stdout] 545 | | T: Send, [INFO] [stdout] 546 | | F: Fn(&T, &T) -> bool + Sync, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:558:24 [INFO] [stdout] | [INFO] [stdout] 558 | let dest = buf.add(start); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | ptr::copy_nonoverlapping(src, dest, end - start); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | src: src.add(start), [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | dest: dest.add(start), [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 `slice::mergesort::recurse` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | move || recurse(v.get(), buf.get(), left, !into_buf, is_less), [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 `slice::mergesort::recurse` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | move || recurse(v.get(), buf.get(), right, !into_buf, is_less), [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | let src_left = slice::from_raw_parts_mut(src.add(start), mid - start); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:604:46 [INFO] [stdout] | [INFO] [stdout] 604 | let src_left = slice::from_raw_parts_mut(src.add(start), mid - start); [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:605:21 [INFO] [stdout] | [INFO] [stdout] 605 | let src_right = slice::from_raw_parts_mut(src.add(mid), end - mid); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:605:47 [INFO] [stdout] | [INFO] [stdout] 605 | let src_right = slice::from_raw_parts_mut(src.add(mid), end - mid); [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 `slice::mergesort::par_merge` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | par_merge(src_left, src_right, dest.add(start), is_less); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice/mergesort.rs:606:36 [INFO] [stdout] | [INFO] [stdout] 606 | par_merge(src_left, src_right, dest.add(start), is_less); [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::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | let ptr = vec.as_mut_ptr().add(start); [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/vec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe fn from_vec(vec: &mut Vec, len: usize) -> DrainProducer<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vec::DrainProducer::<'_, T>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | DrainProducer::new(slice::from_raw_parts_mut(ptr, len)) [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/vec.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | DrainProducer::new(slice::from_raw_parts_mut(ptr, len)) [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] error: aborting due to 1 previous error; 56 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 `rustc-rayon` (lib test) due to 2 previous errors; 56 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" "ffcce7877e36a1683e479e03bfafd2592774fe786310e5537ee6028e4a77c02b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffcce7877e36a1683e479e03bfafd2592774fe786310e5537ee6028e4a77c02b", kill_on_drop: false }` [INFO] [stdout] ffcce7877e36a1683e479e03bfafd2592774fe786310e5537ee6028e4a77c02b