[INFO] cloning repository https://github.com/IRONICBo/c_buffer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IRONICBo/c_buffer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIRONICBo%2Fc_buffer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIRONICBo%2Fc_buffer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ba8922b96007de3ea09517176ca692a4108fc4f [INFO] checking IRONICBo/c_buffer/0ba8922b96007de3ea09517176ca692a4108fc4f against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIRONICBo%2Fc_buffer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IRONICBo/c_buffer 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/IRONICBo/c_buffer [INFO] finished tweaking git repo https://github.com/IRONICBo/c_buffer [INFO] tweaked toml for git repo https://github.com/IRONICBo/c_buffer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/IRONICBo/c_buffer 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6682fa60167e81d44ebf685b69869e4d598a8bca40b92dbaf2203a9f2e3985a [INFO] running `Command { std: "docker" "start" "-a" "b6682fa60167e81d44ebf685b69869e4d598a8bca40b92dbaf2203a9f2e3985a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6682fa60167e81d44ebf685b69869e4d598a8bca40b92dbaf2203a9f2e3985a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6682fa60167e81d44ebf685b69869e4d598a8bca40b92dbaf2203a9f2e3985a", kill_on_drop: false }` [INFO] [stdout] b6682fa60167e81d44ebf685b69869e4d598a8bca40b92dbaf2203a9f2e3985a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 036342ee17ef7a5c15f9a7a0d32ef9111dbda3d2407196d95edeefed08cbeb31 [INFO] running `Command { std: "docker" "start" "-a" "036342ee17ef7a5c15f9a7a0d32ef9111dbda3d2407196d95edeefed08cbeb31", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling pyo3-build-config v0.16.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pyo3-ffi v0.16.6 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.6 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling pyo3 v0.16.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking backon v0.4.4 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking async-compat v0.2.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clippy-utilities v0.1.0 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Compiling pyo3-macros v0.16.6 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking reqsign v0.14.9 [INFO] [stderr] Compiling datenlord v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking opendal v0.43.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/storage/localfs.rs (1 fix) [INFO] [stderr] Fixed src/storage/virtualfs.rs (1 fix) [INFO] [stderr] Fixed src/sdk/py/datenlord.rs (1 fix) [INFO] [stderr] Fixed src/sdk/c/datenlord.rs (13 fixes) [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-9` [INFO] [stdout] --> src/storage/fs_util.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(feature = "abi-7-9")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-9` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-23` [INFO] [stdout] --> src/storage/fs_util.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(feature = "abi-7-23")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-23` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-23` [INFO] [stdout] --> src/storage/fs_util.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(feature = "abi-7-23")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-23` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_str` [INFO] [stdout] --> src/sdk/c/datenlord.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let config_str = unsafe { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> src/sdk/c/datenlord.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | recursive: bool [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/sdk/c/datenlord.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | let src = unsafe { CStr::from_ptr(src_file_path).to_str().unwrap_or_default() }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/sdk/c/datenlord.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | let path = unsafe { CStr::from_ptr(file_path).to_str().unwrap_or_default() }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/sdk/c/datenlord.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | let path = unsafe { CStr::from_ptr(file_path).to_str().unwrap_or_default() }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> src/sdk/py/datenlord.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | fn deldir(&self, dir_path: &str, recursive: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sdk/py/datenlord.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(size) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | fn copy_to_local_file(&self, src_file_path: &str, local_file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | fn copy_to_local_file(&self, src_file_path: &str, local_file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | fn stat(&self, file_path: &str) -> PyResult<(u64, u32, u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_file(&self, file_path: &str, content: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | fn read_file(&self, file_path: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn exists(&self, dir_path: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: `--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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | fn mkdir(&self, dir_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn deldir(&self, dir_path: &str, recursive: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | fn deldir(&self, dir_path: &str, recursive: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | fn rename_path(&self, src_path: &str, dest_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | fn rename_path(&self, src_path: &str, dest_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | fn copy_from_local_file(&self, local_file_path: &str, dest_file_path: &str, overwrite: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:99:75 [INFO] [stdout] | [INFO] [stdout] 99 | fn copy_from_local_file(&self, local_file_path: &str, dest_file_path: &str, overwrite: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:99:92 [INFO] [stdout] | [INFO] [stdout] 99 | fn copy_from_local_file(&self, local_file_path: &str, dest_file_path: &str, overwrite: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | fn copy_to_local_file(&self, src_file_path: &str, local_file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:121:72 [INFO] [stdout] | [INFO] [stdout] 121 | fn copy_to_local_file(&self, src_file_path: &str, local_file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_file(&self, file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | fn stat(&self, file_path: &str) -> PyResult<(u64, u32, u32, u32, u32)> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:187:37 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_file(&self, file_path: &str, content: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:187:52 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_file(&self, file_path: &str, content: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn read_file(&self, file_path: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: unused variable: `py` [INFO] [stdout] --> src/sdk/py/datenlord.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | fn datenlord(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | async fn getattr(&self, ino: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/storage/localfs.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | param: SetAttrParam, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | async fn readlink(&self, ino: u64) -> DatenLordResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | async fn open(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | fh: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/storage/localfs.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | data: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | fh: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | offset: i64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/storage/localfs.rs:144:65 [INFO] [stdout] | [INFO] [stdout] 144 | async fn unlink(&self, _uid: u32, _gid: u32, _parent: INum, name: &str) -> DatenLordResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/storage/localfs.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let path = format!("/tmp/{}", param.name); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/storage/localfs.rs:170:50 [INFO] [stdout] | [INFO] [stdout] 170 | async fn rename(&self, _uid: u32, _gid: u32, param: RenameParam) -> DatenLordResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | fh: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:185:50 [INFO] [stdout] | [INFO] [stdout] 185 | async fn statfs(&self, _uid: u32, _gid: u32, ino: u64) -> DatenLordResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/storage/localfs.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | uid: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/storage/localfs.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | gid: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | fh: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | offset: i64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_name` [INFO] [stdout] --> src/storage/localfs.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | dir_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/storage/localfs.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | uid: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/storage/localfs.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | gid: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/storage/localfs.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | parent: INum, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:240:51 [INFO] [stdout] | [INFO] [stdout] 240 | async fn opendir(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operator` is never read [INFO] [stdout] --> src/storage/localfs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LocalFS { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | operator: Operator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalFS` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fileattr_from_metadata` is never used [INFO] [stdout] --> src/storage/localfs.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl LocalFS { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn fileattr_from_metadata(metadata: opendal::Metadata, ino: u64) -> FileAttr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `now` and `setattr_precheck` are never used [INFO] [stdout] --> src/storage/fs_util.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 181 | impl FileAttr { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 182 | /// New a `FileAttr` [INFO] [stdout] 183 | pub(crate) fn now() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(crate) fn setattr_precheck( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-9` [INFO] [stdout] --> src/storage/fs_util.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(feature = "abi-7-9")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-9` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-23` [INFO] [stdout] --> src/storage/fs_util.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(feature = "abi-7-23")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-23` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `abi-7-23` [INFO] [stdout] --> src/storage/fs_util.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(feature = "abi-7-23")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `abi-7-23` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_str` [INFO] [stdout] --> src/sdk/c/datenlord.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let config_str = unsafe { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> src/sdk/c/datenlord.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | recursive: bool [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/sdk/c/datenlord.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | let src = unsafe { CStr::from_ptr(src_file_path).to_str().unwrap_or_default() }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/sdk/c/datenlord.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | let path = unsafe { CStr::from_ptr(file_path).to_str().unwrap_or_default() }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/sdk/c/datenlord.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | let path = unsafe { CStr::from_ptr(file_path).to_str().unwrap_or_default() }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> src/sdk/py/datenlord.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | fn deldir(&self, dir_path: &str, recursive: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sdk/py/datenlord.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(size) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | fn copy_to_local_file(&self, src_file_path: &str, local_file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | fn copy_to_local_file(&self, src_file_path: &str, local_file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | fn stat(&self, file_path: &str) -> PyResult<(u64, u32, u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_file(&self, file_path: &str, content: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/sdk/py/datenlord.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | fn read_file(&self, file_path: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn exists(&self, dir_path: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: `--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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | fn mkdir(&self, dir_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn deldir(&self, dir_path: &str, recursive: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | fn deldir(&self, dir_path: &str, recursive: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | fn rename_path(&self, src_path: &str, dest_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | fn rename_path(&self, src_path: &str, dest_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | fn copy_from_local_file(&self, local_file_path: &str, dest_file_path: &str, overwrite: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:99:75 [INFO] [stdout] | [INFO] [stdout] 99 | fn copy_from_local_file(&self, local_file_path: &str, dest_file_path: &str, overwrite: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:99:92 [INFO] [stdout] | [INFO] [stdout] 99 | fn copy_from_local_file(&self, local_file_path: &str, dest_file_path: &str, overwrite: bool) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | fn copy_to_local_file(&self, src_file_path: &str, local_file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:121:72 [INFO] [stdout] | [INFO] [stdout] 121 | fn copy_to_local_file(&self, src_file_path: &str, local_file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_file(&self, file_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | fn stat(&self, file_path: &str) -> PyResult<(u64, u32, u32, u32, u32)> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:187:37 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_file(&self, file_path: &str, content: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:187:52 [INFO] [stdout] | [INFO] [stdout] 187 | fn write_file(&self, file_path: &str, content: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/sdk/py/datenlord.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn read_file(&self, file_path: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: unused variable: `py` [INFO] [stdout] --> src/sdk/py/datenlord.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | fn datenlord(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | async fn getattr(&self, ino: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/storage/localfs.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | param: SetAttrParam, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | async fn readlink(&self, ino: u64) -> DatenLordResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | async fn open(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | fh: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/storage/localfs.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | data: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | fh: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | offset: i64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/storage/localfs.rs:144:65 [INFO] [stdout] | [INFO] [stdout] 144 | async fn unlink(&self, _uid: u32, _gid: u32, _parent: INum, name: &str) -> DatenLordResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/storage/localfs.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let path = format!("/tmp/{}", param.name); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/storage/localfs.rs:170:50 [INFO] [stdout] | [INFO] [stdout] 170 | async fn rename(&self, _uid: u32, _gid: u32, param: RenameParam) -> DatenLordResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | fh: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:185:50 [INFO] [stdout] | [INFO] [stdout] 185 | async fn statfs(&self, _uid: u32, _gid: u32, ino: u64) -> DatenLordResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/storage/localfs.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | uid: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/storage/localfs.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | gid: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | ino: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | fh: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | offset: i64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_name` [INFO] [stdout] --> src/storage/localfs.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | dir_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/storage/localfs.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | uid: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/storage/localfs.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | gid: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/storage/localfs.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | parent: INum, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:240:51 [INFO] [stdout] | [INFO] [stdout] 240 | async fn opendir(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operator` is never read [INFO] [stdout] --> src/storage/localfs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LocalFS { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | operator: Operator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalFS` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fileattr_from_metadata` is never used [INFO] [stdout] --> src/storage/localfs.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl LocalFS { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn fileattr_from_metadata(metadata: opendal::Metadata, ino: u64) -> FileAttr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `now` and `setattr_precheck` are never used [INFO] [stdout] --> src/storage/fs_util.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 181 | impl FileAttr { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 182 | /// New a `FileAttr` [INFO] [stdout] 183 | pub(crate) fn now() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(crate) fn setattr_precheck( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 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 34.15s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling datenlord v0.1.0 (/tmp/fixit) [INFO] [stderr] error: failed to run custom build command for `datenlord v0.1.0 (/tmp/fixit)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/datenlord-827ca5831df14105/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at build.rs:9:10: [INFO] [stderr] Unable to generate bindings: ParseSyntaxError { crate_name: "datenlord", src_path: "/tmp/fixit/src/sdk/c/datenlord.rs", error: Error("expected path") } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5fb1a14a40da - std::backtrace_rs::backtrace::libunwind::trace::h783ebedc0104095b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x5fb1a14a40da - std::backtrace_rs::backtrace::trace_unsynchronized::h34818374fc0b6b78 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5fb1a14a40da - std::sys::backtrace::_print_fmt::hd5981cd97d9117ef [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5fb1a14a40da - ::fmt::hcbd4016134536e7b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5fb1a14cc5fb - core::fmt::rt::Argument::fmt::h78f7d1c688b9afe5 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x5fb1a14cc5fb - core::fmt::write::hbd4b08e4de8d6f86 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/fmt/mod.rs:1186:21 [INFO] [stderr] 6: 0x5fb1a14a0dd3 - std::io::Write::write_fmt::h4c2d609b5a0eccd1 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/io/mod.rs:1823:15 [INFO] [stderr] 7: 0x5fb1a14a3f22 - std::sys::backtrace::BacktraceLock::print::h665a1f85637eba6c [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5fb1a14a5407 - std::panicking::default_hook::{{closure}}::h9accc11d42952801 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x5fb1a14a5236 - std::panicking::default_hook::h69a4769a07d287e2 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x5fb1a14a5a47 - std::panicking::rust_panic_with_hook::h74592f259a49b2d6 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x5fb1a14a58e7 - std::panicking::begin_panic_handler::{{closure}}::hc0a56168fb0a06ce [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x5fb1a14a45b9 - std::sys::backtrace::__rust_end_short_backtrace::h6739919067f5762e [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x5fb1a14a5574 - rust_begin_unwind [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x5fb1a14cad13 - core::panicking::panic_fmt::h1308fb333da65a11 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/panicking.rs:74:14 [INFO] [stderr] 15: 0x5fb1a14cb196 - core::result::unwrap_failed::h91567f187ce6fe65 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/result.rs:1689:5 [INFO] [stderr] 16: 0x5fb1a10d1088 - core::result::Result::expect::hbe35780c168e86d7 [INFO] [stderr] 17: 0x5fb1a10faa3f - build_script_build::main::h1016a470c72aebe1 [INFO] [stderr] 18: 0x5fb1a11042d3 - core::ops::function::FnOnce::call_once::h3bbd439338829981 [INFO] [stderr] 19: 0x5fb1a10e4266 - std::sys::backtrace::__rust_begin_short_backtrace::h17c7e8097e07a93b [INFO] [stderr] 20: 0x5fb1a10ddea9 - std::rt::lang_start::{{closure}}::hb7ab84622cb98c4f [INFO] [stderr] 21: 0x5fb1a149d9f0 - core::ops::function::impls:: for &F>::call_once::he8ef3f06ab422d00 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 22: 0x5fb1a149d9f0 - std::panicking::try::do_call::h098c245e0dfa6103 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:557:40 [INFO] [stderr] 23: 0x5fb1a149d9f0 - std::panicking::try::hd059086dad131f0b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:520:19 [INFO] [stderr] 24: 0x5fb1a149d9f0 - std::panic::catch_unwind::hd036f0b7d6a4c7e1 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panic.rs:348:14 [INFO] [stderr] 25: 0x5fb1a149d9f0 - std::rt::lang_start_internal::{{closure}}::h8beaecdd4df7cb9f [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/rt.rs:143:48 [INFO] [stderr] 26: 0x5fb1a149d9f0 - std::panicking::try::do_call::hf5501abf8d50286a [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:557:40 [INFO] [stderr] 27: 0x5fb1a149d9f0 - std::panicking::try::hc4096a14bc6803ea [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:520:19 [INFO] [stderr] 28: 0x5fb1a149d9f0 - std::panic::catch_unwind::h6739a5ceee88f204 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panic.rs:348:14 [INFO] [stderr] 29: 0x5fb1a149d9f0 - std::rt::lang_start_internal::h618fdb8d0eec4811 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/rt.rs:143:20 [INFO] [stderr] 30: 0x5fb1a10dde87 - std::rt::lang_start::h279d51f137814ef4 [INFO] [stderr] 31: 0x5fb1a10faaf5 - main [INFO] [stderr] 32: 0x740add4b2d90 - [INFO] [stderr] 33: 0x740add4b2e40 - __libc_start_main [INFO] [stderr] 34: 0x5fb1a0fc97d5 - _start [INFO] [stderr] 35: 0x0 - [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" "036342ee17ef7a5c15f9a7a0d32ef9111dbda3d2407196d95edeefed08cbeb31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036342ee17ef7a5c15f9a7a0d32ef9111dbda3d2407196d95edeefed08cbeb31", kill_on_drop: false }` [INFO] [stdout] 036342ee17ef7a5c15f9a7a0d32ef9111dbda3d2407196d95edeefed08cbeb31