[INFO] cloning repository https://github.com/MolyuuOS/molyuuctl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MolyuuOS/molyuuctl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolyuuOS%2Fmolyuuctl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolyuuOS%2Fmolyuuctl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5237ec1122be398226c641fa61bd3370386c3f9 [INFO] checking MolyuuOS/molyuuctl/b5237ec1122be398226c641fa61bd3370386c3f9 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolyuuOS%2Fmolyuuctl" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MolyuuOS/molyuuctl 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/MolyuuOS/molyuuctl [INFO] finished tweaking git repo https://github.com/MolyuuOS/molyuuctl [INFO] tweaked toml for git repo https://github.com/MolyuuOS/molyuuctl written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MolyuuOS/molyuuctl 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0a306b3a266c6ce41d092f56e07db37b354f4140c44b70cd0ea389b0e0e7703 [INFO] running `Command { std: "docker" "start" "-a" "c0a306b3a266c6ce41d092f56e07db37b354f4140c44b70cd0ea389b0e0e7703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0a306b3a266c6ce41d092f56e07db37b354f4140c44b70cd0ea389b0e0e7703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0a306b3a266c6ce41d092f56e07db37b354f4140c44b70cd0ea389b0e0e7703", kill_on_drop: false }` [INFO] [stdout] c0a306b3a266c6ce41d092f56e07db37b354f4140c44b70cd0ea389b0e0e7703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 820d38476c0dc71bd5d058ca59ed54a59105674784817d3da4d0f715c5312026 [INFO] running `Command { std: "docker" "start" "-a" "820d38476c0dc71bd5d058ca59ed54a59105674784817d3da4d0f715c5312026", 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.153 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.13 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rust-ini v0.21.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking molyuuctl 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 `molyuuctl` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors/generator.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | ($enum_name:ident, {$($variant:ident: $description: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] 2 | ($enum_name:ident, {$($variant:ident: $description:expr_2021),+,}) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/common/macros/toml_macros.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | ($table:expr, $key:expr, $value: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] 2 | ($table:expr_2021, $key:expr, $value:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/common/macros/toml_macros.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | ($table:expr, $key:expr, $value: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] 2 | ($table:expr, $key:expr_2021, $value:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/common/macros/toml_macros.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | ($table:expr, $key:expr, $value: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] 2 | ($table:expr, $key:expr, $value:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/common/macros/toml_macros.rs [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/system/systemctl.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reset_failed_unit(&self, unit: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/system/systemctl.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | self.get_proxy()?.method_call("org.freedesktop.systemd1.Manager", "ResetFailedUnit", (unit, ))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/errors/generator.rs [INFO] [stdout] warning[E0133]: call to unsafe function `libc::getuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | ruid: libc::getuid(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn new() -> Self { [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] * src/system/systemctl.rs [INFO] [stdout] warning[E0133]: call to unsafe function `libc::getgid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | rgid: libc::getgid(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::geteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | euid: libc::geteuid(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning[E0133]: call to unsafe function `libc::getegid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | egid: libc::getegid(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning[E0133]: call to unsafe function `libc::geteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | if libc::geteuid() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn grant_permission(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setresuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if libc::setresuid(self.ruid, 0, 0) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setresgid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if libc::setresgid(self.rgid, 0, 0) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stdout] warning[E0133]: call to unsafe function `libc::seteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if libc::seteuid(self.euid) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub unsafe fn return_permission(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setegid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if libc::setegid(self.egid) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stdout] warning[E0133]: call to unsafe function `system::privilege::RootPermission::grant_permission` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | root.grant_permission()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / pub unsafe fn exec(f: F) -> Result<(), Box> [INFO] [stdout] 141 | | where F: FnOnce() -> Result<(), Box> [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stdout] warning[E0133]: call to unsafe function `system::privilege::RootPermission::return_permission` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | root.return_permission()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:180:35 [INFO] [stdout] | [INFO] [stdout] 180 | } else if let Some(session) = Session::get_running_session()? { [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:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | } 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] 180 ~ } else { match Session::get_running_session()? { Some(session) => { [INFO] [stdout] 181 | session.logout()? [INFO] [stdout] 182 ~ } _ => { [INFO] [stdout] 183 | return Err(Box::from("No session is specific and running session!")); [INFO] [stdout] 184 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following errors were reported: [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | if let Err(_err) = status { [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:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match status { Err(_err) => { [INFO] [stdout] 217 | error!("{}", _err); [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/login/manager.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | if let Ok(default_session_inner) = default_session { [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/login/manager.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | } 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] 213 ~ match default_session { Ok(default_session_inner) => { [INFO] [stdout] 214 | Some(default_session_inner.get_protocol()) [INFO] [stdout] 215 ~ } _ => { [INFO] [stdout] 216 | let err = default_session.err().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 222 | } [INFO] [stdout] 223 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/errors/generator.rs:2:43 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/login/manager.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | if let Some(autologin_section) = config.section(Some(&metadata.autologin_section_name)) { [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/login/manager.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 232 ~ match config.section(Some(&metadata.autologin_section_name)) { Some(autologin_section) => { [INFO] [stdout] 233 | let autologin_session = autologin_section.get(&metadata.autologin_session_key_name); [INFO] [stdout] ... [INFO] [stdout] 247 | }); [INFO] [stdout] 248 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 2 | ($enum_name:ident, {$($variant:ident: $description:expr_2021),+,}) => { [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [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/common/macros/toml_macros.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | ($table:expr_2021, $key:expr_2021, $value: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/common/macros/toml_macros.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | ($table:expr_2021, $key:expr_2021, $value: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/common/macros/toml_macros.rs:2:40 [INFO] [stderr] | [INFO] [stderr] 2 | ($table:expr_2021, $key:expr_2021, $value: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] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/system/systemctl.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn reset_failed_unit(&self, unit: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stderr] --> src/system/systemctl.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | self.get_proxy()?.method_call("org.freedesktop.systemd1.Manager", "ResetFailedUnit", (unit, ))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `molyuuctl` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/common/macros/toml_macros.rs [INFO] [stderr] * src/errors/generator.rs [INFO] [stderr] * src/system/systemctl.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/errors/generator.rs:2:43 [INFO] [stderr] | [INFO] [stderr] 2 | ($enum_name:ident, {$($variant:ident: $description: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/common/macros/toml_macros.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | ($table:expr_2021, $key:expr_2021, $value: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/common/macros/toml_macros.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | ($table:expr_2021, $key:expr_2021, $value: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/common/macros/toml_macros.rs:2:40 [INFO] [stderr] | [INFO] [stderr] 2 | ($table:expr_2021, $key:expr_2021, $value: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] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/system/systemctl.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn reset_failed_unit(&self, unit: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stderr] --> src/system/systemctl.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | self.get_proxy()?.method_call("org.freedesktop.systemd1.Manager", "ResetFailedUnit", (unit, ))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 1 warning emitted [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors/generator.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | ($enum_name:ident, {$($variant:ident: $description: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] 2 | ($enum_name:ident, {$($variant:ident: $description: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/common/macros/toml_macros.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | ($table:expr, $key:expr, $value: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] 2 | ($table:expr_2021, $key:expr, $value: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/common/macros/toml_macros.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | ($table:expr, $key:expr, $value: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] 2 | ($table:expr, $key:expr_2021, $value: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/common/macros/toml_macros.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | ($table:expr, $key:expr, $value: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] 2 | ($table:expr, $key:expr, $value:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/system/systemctl.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reset_failed_unit(&self, unit: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/system/systemctl.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | self.get_proxy()?.method_call("org.freedesktop.systemd1.Manager", "ResetFailedUnit", (unit, ))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::getuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | ruid: libc::getuid(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn new() -> Self { [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 `libc::getgid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | rgid: libc::getgid(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::geteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | euid: libc::geteuid(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::getegid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | egid: libc::getegid(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::geteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | if libc::geteuid() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn grant_permission(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setresuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if libc::setresuid(self.ruid, 0, 0) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::setresgid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if libc::setresgid(self.rgid, 0, 0) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::seteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if libc::seteuid(self.euid) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub unsafe fn return_permission(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setegid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if libc::setegid(self.egid) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `system::privilege::RootPermission::grant_permission` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | root.grant_permission()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / pub unsafe fn exec(f: F) -> Result<(), Box> [INFO] [stdout] 141 | | where F: FnOnce() -> Result<(), Box> [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `system::privilege::RootPermission::return_permission` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | root.return_permission()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/main.rs:180:35 [INFO] [stdout] | [INFO] [stdout] 180 | } else if let Some(session) = Session::get_running_session()? { [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:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | } 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] 180 ~ } else { match Session::get_running_session()? { Some(session) => { [INFO] [stdout] 181 | session.logout()? [INFO] [stdout] 182 ~ } _ => { [INFO] [stdout] 183 | return Err(Box::from("No session is specific and running session!")); [INFO] [stdout] 184 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | if let Err(_err) = status { [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:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match status { Err(_err) => { [INFO] [stdout] 217 | error!("{}", _err); [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.80s [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/login/manager.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | if let Ok(default_session_inner) = default_session { [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/login/manager.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | } 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] 213 ~ match default_session { Ok(default_session_inner) => { [INFO] [stdout] 214 | Some(default_session_inner.get_protocol()) [INFO] [stdout] 215 ~ } _ => { [INFO] [stdout] 216 | let err = default_session.err().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 222 | } [INFO] [stdout] 223 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/login/manager.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | if let Some(autologin_section) = config.section(Some(&metadata.autologin_section_name)) { [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/login/manager.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 232 ~ match config.section(Some(&metadata.autologin_section_name)) { Some(autologin_section) => { [INFO] [stdout] 233 | let autologin_session = autologin_section.get(&metadata.autologin_session_key_name); [INFO] [stdout] ... [INFO] [stdout] 247 | }); [INFO] [stdout] 248 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking molyuuctl v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: ReadAll` is not satisfied [INFO] [stdout] --> src/system/systemctl.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | self.get_proxy()?.method_call("org.freedesktop.systemd1.Manager", "ResetFailedUnit", (unit, ))?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `ReadAll` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadAll`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 27 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Proxy::<'a, C>::method_call` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dbus-0.9.7/src/blocking.rs:396:35 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn method_call<'i, 'm, R: ReadAll, A: AppendAll, I: Into>, M: Into>>(&self, i: I, m: M, args: A) -> Resu... [INFO] [stdout] | ^^^^^^^ required by this bound in `Proxy::<'a, C>::method_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadAll` is not satisfied [INFO] [stdout] --> src/system/systemctl.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | self.get_proxy()?.method_call("org.freedesktop.systemd1.Manager", "ResetFailedUnit", (unit, ))?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `ReadAll` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadAll`: [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] and 27 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Proxy::<'a, C>::method_call` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dbus-0.9.7/src/blocking.rs:396:35 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn method_call<'i, 'm, R: ReadAll, A: AppendAll, I: Into>, M: Into>>(&self, i: I, m: M, args: A) -> Resu... [INFO] [stdout] | ^^^^^^^ required by this bound in `Proxy::<'a, C>::method_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::getuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | ruid: libc::getuid(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn new() -> Self { [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 `libc::getuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | ruid: libc::getuid(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn new() -> Self { [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 `libc::getgid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | rgid: libc::getgid(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::getgid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | rgid: libc::getgid(), [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::geteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | euid: libc::geteuid(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::getegid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | egid: libc::getegid(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::geteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | euid: libc::geteuid(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::geteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | if libc::geteuid() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn grant_permission(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::getegid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | egid: libc::getegid(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::setresuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if libc::setresuid(self.ruid, 0, 0) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::setresgid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if libc::setresgid(self.rgid, 0, 0) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::seteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if libc::seteuid(self.euid) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub unsafe fn return_permission(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setegid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if libc::setegid(self.egid) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::geteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | if libc::geteuid() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn grant_permission(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setresuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if libc::setresuid(self.ruid, 0, 0) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::setresgid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if libc::setresgid(self.rgid, 0, 0) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `libc::seteuid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if libc::seteuid(self.euid) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub unsafe fn return_permission(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `system::privilege::RootPermission::grant_permission` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | root.grant_permission()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / pub unsafe fn exec(f: F) -> Result<(), Box> [INFO] [stdout] 141 | | where F: FnOnce() -> Result<(), Box> [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setegid` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if libc::setegid(self.egid) < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `system::privilege::RootPermission::return_permission` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | root.return_permission()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `system::privilege::RootPermission::grant_permission` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | root.grant_permission()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/system/privilege.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / pub unsafe fn exec(f: F) -> Result<(), Box> [INFO] [stdout] 141 | | where F: FnOnce() -> Result<(), Box> [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `system::privilege::RootPermission::return_permission` is unsafe and requires unsafe block [INFO] [stdout] --> src/system/privilege.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | root.return_permission()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `molyuuctl` (bin "molyuuctl" test) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `molyuuctl` (bin "molyuuctl") due to 2 previous errors; 11 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" "820d38476c0dc71bd5d058ca59ed54a59105674784817d3da4d0f715c5312026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820d38476c0dc71bd5d058ca59ed54a59105674784817d3da4d0f715c5312026", kill_on_drop: false }` [INFO] [stdout] 820d38476c0dc71bd5d058ca59ed54a59105674784817d3da4d0f715c5312026