[INFO] cloning repository https://github.com/Superchig/rolf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Superchig/rolf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperchig%2Frolf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperchig%2Frolf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6548340cd00592544b275bc7381982e80954f513 [INFO] checking Superchig/rolf/6548340cd00592544b275bc7381982e80954f513 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperchig%2Frolf" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Superchig/rolf 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 git repo https://github.com/Superchig/rolf [INFO] finished tweaking git repo https://github.com/Superchig/rolf [INFO] tweaked toml for git repo https://github.com/Superchig/rolf written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Superchig/rolf already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 768416f3f92383b79aee70ec7e3043d615902ec7ac939f22b0be9d45463f5489 [INFO] running `Command { std: "docker" "start" "-a" "768416f3f92383b79aee70ec7e3043d615902ec7ac939f22b0be9d45463f5489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "768416f3f92383b79aee70ec7e3043d615902ec7ac939f22b0be9d45463f5489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768416f3f92383b79aee70ec7e3043d615902ec7ac939f22b0be9d45463f5489", kill_on_drop: false }` [INFO] [stdout] 768416f3f92383b79aee70ec7e3043d615902ec7ac939f22b0be9d45463f5489 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6989ebd2be6deafd768412719957b3db46e75aae86234e8ccaee42cac7ccb95e [INFO] running `Command { std: "docker" "start" "-a" "6989ebd2be6deafd768412719957b3db46e75aae86234e8ccaee42cac7ccb95e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating rolf-parser/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating rolf-grid/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking rolf-parser v0.1.0 (/tmp/fixit/rolf-parser) [INFO] [stderr] Migrating rolf-parser/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling nanoserde-derive v0.1.18 [INFO] [stderr] Checking whoami v1.2.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> rolf-parser/src/parser.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | while let Ok(item) = parse_cb(self) { [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] --> rolf-parser/src/parser.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Migrating rolf-parser/src/main.rs from 2021 edition to 2024 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> rolf-parser/src/parser.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | while let Ok(item) = parse_cb(self) { [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] --> rolf-parser/src/parser.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking open v1.7.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking nanoserde v0.1.29 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rolf-grid v0.1.0 (/tmp/fixit/rolf-grid) [INFO] [stderr] Migrating rolf-grid/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Fixed rolf-grid/src/lib.rs (3 fixes) [INFO] [stderr] Migrating rolf-grid/src/main.rs from 2021 edition to 2024 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking rolf v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rolf` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/os_abstract/unix.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 93 | | #[cfg_attr(target_os = "macos", link_name = "__error")] [INFO] [stdout] 94 | | #[cfg_attr(target_os = "linux", link_name = "__errno_location")] [INFO] [stdout] 95 | | fn errno_location() -> *mut c_int; [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | ($to_main_tx:expr, $command_callback_fn:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($to_main_tx:expr_2021, $command_callback_fn:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | ($to_main_tx:expr, $command_callback_fn: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] 65 | ($to_main_tx:expr, $command_callback_fn:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stdout] warning[E0133]: call to unsafe function `os_abstract::unix::errno_location` is unsafe and requires unsafe block [INFO] [stdout] --> src/os_abstract/unix.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let errno_location = errno_location(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/os_abstract/unix.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe fn errno() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/os_abstract/unix.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | (*errno_location) as i32 [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] [stderr] The following errors were reported: [INFO] [stdout] warning: field `preview_converter` is never read [INFO] [stdout] --> src/config.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 28 | pub preview_converter: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($to_main_tx:expr_2021, $command_callback_fn: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/main.rs:65:29 [INFO] [stderr] | [INFO] [stderr] 65 | ($to_main_tx:expr_2021, $command_callback_fn: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 2 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | if let Ok(json) = fs::read_to_string(config_dir.join("config.jsonc")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | } 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] 101 ~ match fs::read_to_string(config_dir.join("config.jsonc")) { Ok(json) => { [INFO] [stdout] 102 | config::parse_config(&json) [INFO] [stdout] 103 ~ } _ => { [INFO] [stdout] 104 | Ok(Config::default()) [INFO] [stdout] 105 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:1436:36 [INFO] [stdout] | [INFO] [stdout] 1436 | ... if let Some(bound_command) = fm.config.keybindings.get(&event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:1442:33 [INFO] [stdout] | [INFO] [stdout] 1442 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1436 ~ match fm.config.keybindings.get(&event) { Some(bound_command) => { [INFO] [stdout] 1437 | // TODO(Chris): Show an error message if this bound command [INFO] [stdout] ... [INFO] [stdout] 1441 | } [INFO] [stdout] 1442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:1624:24 [INFO] [stdout] | [INFO] [stdout] 1624 | if let InputMode::Command { [INFO] [stdout] | ________________________^ [INFO] [stdout] 1625 | | prompt, [INFO] [stdout] 1626 | | asking_type, [INFO] [stdout] 1627 | | } = &mut fm.input_mode [INFO] [stdout] | |______________________________--__________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:1636:21 [INFO] [stdout] | [INFO] [stdout] 1636 | } 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] 1624 ~ match &mut fm.input_mode [INFO] [stdout] 1625 ~ { InputMode::Command { [INFO] [stdout] 1626 + prompt, [INFO] [stdout] 1627 + asking_type, [INFO] [stdout] 1628 ~ } => { [INFO] [stdout] 1629 | *prompt = new_prompt; [INFO] [stdout] ... [INFO] [stdout] 1635 | } [INFO] [stdout] 1636 ~ } _ => { [INFO] [stdout] 1637 | panic!( [INFO] [stdout] ... [INFO] [stdout] 1640 | ); [INFO] [stdout] 1641 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:1927:16 [INFO] [stdout] | [INFO] [stdout] 1927 | if let Some(current_entry) = fm.dir_states.current_entries.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:1932:13 [INFO] [stdout] | [INFO] [stdout] 1932 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1927 ~ match fm.dir_states.current_entries.get(index) { Some(current_entry) => { [INFO] [stdout] 1928 | let current_metadata = ¤t_entry.metadata; [INFO] [stdout] ... [INFO] [stdout] 1931 | break; [INFO] [stdout] 1932 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:2381:8 [INFO] [stdout] | [INFO] [stdout] 2381 | if let Some(prev_dir) = &fm.dir_states.prev_dir { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:2401:5 [INFO] [stdout] | [INFO] [stdout] 2401 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2381 ~ match &fm.dir_states.prev_dir { Some(prev_dir) => { [INFO] [stdout] 2382 | let result_column_info = find_correct_location( [INFO] [stdout] ... [INFO] [stdout] 2400 | ); [INFO] [stdout] 2401 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rolf` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.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/main.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($to_main_tx:expr_2021, $command_callback_fn: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/main.rs:65:29 [INFO] [stderr] | [INFO] [stderr] 65 | ($to_main_tx:expr_2021, $command_callback_fn: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 2 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: extern blocks should be unsafe [INFO] [stdout] --> src/os_abstract/unix.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 93 | | #[cfg_attr(target_os = "macos", link_name = "__error")] [INFO] [stdout] 94 | | #[cfg_attr(target_os = "linux", link_name = "__errno_location")] [INFO] [stdout] 95 | | fn errno_location() -> *mut c_int; [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` 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/main.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | ($to_main_tx:expr, $command_callback_fn:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($to_main_tx:expr_2021, $command_callback_fn:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | ($to_main_tx:expr, $command_callback_fn: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] 65 | ($to_main_tx:expr, $command_callback_fn:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `os_abstract::unix::errno_location` is unsafe and requires unsafe block [INFO] [stdout] --> src/os_abstract/unix.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let errno_location = errno_location(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/os_abstract/unix.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe fn errno() -> i32 { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/os_abstract/unix.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | (*errno_location) as i32 [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | if let Ok(json) = fs::read_to_string(config_dir.join("config.jsonc")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | } 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] 101 ~ match fs::read_to_string(config_dir.join("config.jsonc")) { Ok(json) => { [INFO] [stdout] 102 | config::parse_config(&json) [INFO] [stdout] 103 ~ } _ => { [INFO] [stdout] 104 | Ok(Config::default()) [INFO] [stdout] 105 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:1436:36 [INFO] [stdout] | [INFO] [stdout] 1436 | ... if let Some(bound_command) = fm.config.keybindings.get(&event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:1442:33 [INFO] [stdout] | [INFO] [stdout] 1442 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1436 ~ match fm.config.keybindings.get(&event) { Some(bound_command) => { [INFO] [stdout] 1437 | // TODO(Chris): Show an error message if this bound command [INFO] [stdout] ... [INFO] [stdout] 1441 | } [INFO] [stdout] 1442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:1624:24 [INFO] [stdout] | [INFO] [stdout] 1624 | if let InputMode::Command { [INFO] [stdout] | ________________________^ [INFO] [stdout] 1625 | | prompt, [INFO] [stdout] 1626 | | asking_type, [INFO] [stdout] 1627 | | } = &mut fm.input_mode [INFO] [stdout] | |______________________________--__________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:1636:21 [INFO] [stdout] | [INFO] [stdout] 1636 | } 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] 1624 ~ match &mut fm.input_mode [INFO] [stdout] 1625 ~ { InputMode::Command { [INFO] [stdout] 1626 + prompt, [INFO] [stdout] 1627 + asking_type, [INFO] [stdout] 1628 ~ } => { [INFO] [stdout] 1629 | *prompt = new_prompt; [INFO] [stdout] ... [INFO] [stdout] 1635 | } [INFO] [stdout] 1636 ~ } _ => { [INFO] [stdout] 1637 | panic!( [INFO] [stdout] ... [INFO] [stdout] 1640 | ); [INFO] [stdout] 1641 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:1927:16 [INFO] [stdout] | [INFO] [stdout] 1927 | if let Some(current_entry) = fm.dir_states.current_entries.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:1932:13 [INFO] [stdout] | [INFO] [stdout] 1932 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1927 ~ match fm.dir_states.current_entries.get(index) { Some(current_entry) => { [INFO] [stdout] 1928 | let current_metadata = ¤t_entry.metadata; [INFO] [stdout] ... [INFO] [stdout] 1931 | break; [INFO] [stdout] 1932 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:2381:8 [INFO] [stdout] | [INFO] [stdout] 2381 | if let Some(prev_dir) = &fm.dir_states.prev_dir { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:2401:5 [INFO] [stdout] | [INFO] [stdout] 2401 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2381 ~ match &fm.dir_states.prev_dir { Some(prev_dir) => { [INFO] [stdout] 2382 | let result_column_info = find_correct_location( [INFO] [stdout] ... [INFO] [stdout] 2400 | ); [INFO] [stdout] 2401 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nanoserde-derive v0.1.18 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> rolf-parser/src/parser.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | while let Ok(item) = parse_cb(self) { [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] --> rolf-parser/src/parser.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> rolf-parser/src/parser.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | while let Ok(item) = parse_cb(self) { [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] --> rolf-parser/src/parser.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rolf-grid v0.1.0 (/tmp/fixit/rolf-grid) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rolf v0.1.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/os_abstract/unix.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / extern "C" { [INFO] [stdout] 93 | | #[cfg_attr(target_os = "macos", link_name = "__error")] [INFO] [stdout] 94 | | #[cfg_attr(target_os = "linux", link_name = "__errno_location")] [INFO] [stdout] 95 | | fn errno_location() -> *mut c_int; [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/os_abstract/unix.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / extern "C" { [INFO] [stdout] 93 | | #[cfg_attr(target_os = "macos", link_name = "__error")] [INFO] [stdout] 94 | | #[cfg_attr(target_os = "linux", link_name = "__errno_location")] [INFO] [stdout] 95 | | fn errno_location() -> *mut c_int; [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `os_abstract::unix::errno_location` is unsafe and requires unsafe block [INFO] [stdout] --> src/os_abstract/unix.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let errno_location = errno_location(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/os_abstract/unix.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe fn errno() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/os_abstract/unix.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | (*errno_location) as i32 [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 `os_abstract::unix::errno_location` is unsafe and requires unsafe block [INFO] [stdout] --> src/os_abstract/unix.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let errno_location = errno_location(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/os_abstract/unix.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe fn errno() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/os_abstract/unix.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | (*errno_location) as i32 [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] error: aborting due to 1 previous error; 2 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 `rolf` (bin "rolf") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 2 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 `rolf` (bin "rolf" test) due to 2 previous errors; 2 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" "6989ebd2be6deafd768412719957b3db46e75aae86234e8ccaee42cac7ccb95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6989ebd2be6deafd768412719957b3db46e75aae86234e8ccaee42cac7ccb95e", kill_on_drop: false }` [INFO] [stdout] 6989ebd2be6deafd768412719957b3db46e75aae86234e8ccaee42cac7ccb95e