Skip to content

Rustix

Rustix #228

Triggered via pull request January 31, 2024 16:24
Status Failure
Total duration 1m 27s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
clippy
Process completed with exit code 101.
rustfmt check: /home/runner/work/KernelSU/KernelSU/userspace/ksud/src/mount.rs#L131
Original: ``` let tree = open_tree(CWD, from.as_ref(), OpenTreeFlags::OPEN_TREE_CLOEXEC | OpenTreeFlags::OPEN_TREE_CLONE)?; ``` Expected: ``` let tree = open_tree( CWD, from.as_ref(), OpenTreeFlags::OPEN_TREE_CLOEXEC | OpenTreeFlags::OPEN_TREE_CLONE, )?; ```
rustfmt check: /home/runner/work/KernelSU/KernelSU/userspace/ksud/src/mount.rs#L120
Original: ``` move_mount(mount.as_fd(), "", CWD, dest.as_ref(), MoveMountFlags::MOVE_MOUNT_F_EMPTY_PATH)?; ``` Expected: ``` move_mount( mount.as_fd(), "", CWD, dest.as_ref(), MoveMountFlags::MOVE_MOUNT_F_EMPTY_PATH, )?; ```
rustfmt check: /home/runner/work/KernelSU/KernelSU/userspace/ksud/src/mount.rs#L108
Original: ``` move_mount(mount.as_fd(), "", CWD, dest.as_ref(), MoveMountFlags::MOVE_MOUNT_F_EMPTY_PATH)?; ``` Expected: ``` move_mount( mount.as_fd(), "", CWD, dest.as_ref(), MoveMountFlags::MOVE_MOUNT_F_EMPTY_PATH, )?; ```
rustfmt check: /home/runner/work/KernelSU/KernelSU/userspace/ksud/src/mount.rs#L29
Original: ``` move_mount(mount.as_fd(), "", CWD, target, MoveMountFlags::MOVE_MOUNT_F_EMPTY_PATH)?; ``` Expected: ``` move_mount( mount.as_fd(), "", CWD, target, MoveMountFlags::MOVE_MOUNT_F_EMPTY_PATH, )?; ```
rustfmt check: /home/runner/work/KernelSU/KernelSU/userspace/ksud/src/mount.rs#L8
Original: ``` use rustix::{mount::*, fs::CWD, fd::AsFd}; ``` Expected: ``` use rustix::{fd::AsFd, fs::CWD, mount::*}; ```