[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 against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIRONICBo%2Fc_buffer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IRONICBo/c_buffer on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50595e983ed2835ef2df7428decff8057d89299927970c46d7b9fccea5984d2b [INFO] running `Command { std: "docker" "start" "-a" "50595e983ed2835ef2df7428decff8057d89299927970c46d7b9fccea5984d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50595e983ed2835ef2df7428decff8057d89299927970c46d7b9fccea5984d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50595e983ed2835ef2df7428decff8057d89299927970c46d7b9fccea5984d2b", kill_on_drop: false }` [INFO] [stdout] 50595e983ed2835ef2df7428decff8057d89299927970c46d7b9fccea5984d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e085feda381af2b3b7a33dc99f94651b925147c85b218e84e9db8425e4791202 [INFO] running `Command { std: "docker" "start" "-a" "e085feda381af2b3b7a33dc99f94651b925147c85b218e84e9db8425e4791202", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling pyo3-build-config v0.16.6 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling pyo3-ffi v0.16.6 [INFO] [stderr] Compiling pyo3 v0.16.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking md-5 v0.10.6 [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 xml-rs v0.8.22 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking clippy-utilities v0.1.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.6 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Compiling pyo3-macros v0.16.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking backon v0.4.4 [INFO] [stderr] Checking async-compat v0.2.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Compiling datenlord v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking reqsign v0.14.9 [INFO] [stderr] Checking opendal v0.43.0 [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/sdk/c/datenlord.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INum` [INFO] [stdout] --> src/sdk/py/datenlord.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::storage::virtualfs::{INum, VirtualFs}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> src/storage/virtualfs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> src/storage/localfs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [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: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/sdk/c/datenlord.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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 import: `INum` [INFO] [stdout] --> src/sdk/py/datenlord.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::storage::virtualfs::{INum, VirtualFs}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> src/storage/virtualfs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> src/storage/localfs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [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:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> src/sdk/c/datenlord.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | recursive: bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 159 | _recursive: bool [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEED_CHECK_PERM` [INFO] [stdout] | [INFO] [stdout] 159 - recursive: bool [INFO] [stdout] 159 + storage::fs_util::NEED_CHECK_PERM: bool [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/sdk/c/datenlord.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | 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:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | 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:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 62 | fn deldir(&self, dir_path: &str, _recursive: bool) -> PyResult<()> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEED_CHECK_PERM` [INFO] [stdout] | [INFO] [stdout] 62 - fn deldir(&self, dir_path: &str, recursive: bool) -> PyResult<()> { [INFO] [stdout] 62 + fn deldir(&self, dir_path: &str, storage::fs_util::NEED_CHECK_PERM: bool) -> PyResult<()> { [INFO] [stdout] | [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: `config_str` [INFO] [stdout] --> src/sdk/c/datenlord.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | 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)]` (part of `#[warn(unused)]`) on by default [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: unused variable: `recursive` [INFO] [stdout] --> src/sdk/c/datenlord.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | recursive: bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 159 | _recursive: bool [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEED_CHECK_PERM` [INFO] [stdout] | [INFO] [stdout] 159 - recursive: bool [INFO] [stdout] 159 + storage::fs_util::NEED_CHECK_PERM: bool [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/sdk/c/datenlord.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | 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: `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: `path` [INFO] [stdout] --> src/sdk/c/datenlord.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | 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:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 62 | fn deldir(&self, dir_path: &str, _recursive: bool) -> PyResult<()> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEED_CHECK_PERM` [INFO] [stdout] | [INFO] [stdout] 62 - fn deldir(&self, dir_path: &str, recursive: bool) -> PyResult<()> { [INFO] [stdout] 62 + fn deldir(&self, dir_path: &str, storage::fs_util::NEED_CHECK_PERM: bool) -> PyResult<()> { [INFO] [stdout] | [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: `ino` [INFO] [stdout] --> src/storage/localfs.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | async fn getattr(&self, ino: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 98 | async fn getattr(&self, _ino: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 98 - async fn getattr(&self, ino: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] 98 + async fn getattr(&self, storage::fs_util::ROOT_ID: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 106 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 106 - ino: u64, [INFO] [stdout] 106 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/storage/localfs.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | param: SetAttrParam, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [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: `ino` [INFO] [stdout] --> src/storage/localfs.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | async fn readlink(&self, ino: u64) -> DatenLordResult> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 112 | async fn readlink(&self, _ino: u64) -> DatenLordResult> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 112 - async fn readlink(&self, ino: u64) -> DatenLordResult> { [INFO] [stdout] 112 + async fn readlink(&self, storage::fs_util::ROOT_ID: u64) -> DatenLordResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:116:48 [INFO] [stdout] | [INFO] [stdout] 116 | async fn open(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 116 | async fn open(&self, _uid: u32, _gid: u32, _ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 116 - async fn open(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] 116 + async fn open(&self, _uid: u32, _gid: u32, storage::fs_util::ROOT_ID: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 122 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 122 - ino: u64, [INFO] [stdout] 122 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | fh: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 123 | _fh: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 123 - fh: u64, [INFO] [stdout] 123 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 124 | _offset: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 124 - offset: u64, [INFO] [stdout] 124 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [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: unused variable: `data` [INFO] [stdout] --> src/storage/localfs.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | 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:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 136 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 136 - ino: u64, [INFO] [stdout] 136 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | fh: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | _fh: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 137 - fh: u64, [INFO] [stdout] 137 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | 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:145:65 [INFO] [stdout] | [INFO] [stdout] 145 | 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:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | 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:171:50 [INFO] [stdout] | [INFO] [stdout] 171 | 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:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 177 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 177 - ino: u64, [INFO] [stdout] 177 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | fh: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | _fh: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 178 - fh: u64, [INFO] [stdout] 178 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 186 | async fn statfs(&self, _uid: u32, _gid: u32, ino: u64) -> DatenLordResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 186 | async fn statfs(&self, _uid: u32, _gid: u32, _ino: u64) -> DatenLordResult { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 186 - async fn statfs(&self, _uid: u32, _gid: u32, ino: u64) -> DatenLordResult { [INFO] [stdout] 186 + async fn statfs(&self, _uid: u32, _gid: u32, storage::fs_util::ROOT_ID: u64) -> DatenLordResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/storage/localfs.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | 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:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | 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:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 213 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 213 - ino: u64, [INFO] [stdout] 213 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | fh: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 214 | _fh: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 214 - fh: u64, [INFO] [stdout] 214 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | 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:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | 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:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | 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:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | 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:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | parent: INum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 224 | _parent: INum, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 224 - parent: INum, [INFO] [stdout] 224 + storage::fs_util::ROOT_ID: INum, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:241:51 [INFO] [stdout] | [INFO] [stdout] 241 | async fn opendir(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 241 | async fn opendir(&self, _uid: u32, _gid: u32, _ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 241 - async fn opendir(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] 241 + async fn opendir(&self, _uid: u32, _gid: u32, storage::fs_util::ROOT_ID: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | [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: field `operator` is never read [INFO] [stdout] --> src/storage/localfs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LocalFS { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 15 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fileattr_from_metadata` is never used [INFO] [stdout] --> src/storage/localfs.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl LocalFS { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | 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: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | async fn getattr(&self, ino: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 98 | async fn getattr(&self, _ino: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 98 - async fn getattr(&self, ino: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] 98 + async fn getattr(&self, storage::fs_util::ROOT_ID: u64) -> DatenLordResult<(Duration, FileAttr)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sdk/py/datenlord.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 18 | impl DatenlordSDK { [INFO] [stdout] | ------------ `DatenlordSDK` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 106 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 106 - ino: u64, [INFO] [stdout] 106 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/storage/localfs.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | 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:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | async fn readlink(&self, ino: u64) -> DatenLordResult> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 112 | async fn readlink(&self, _ino: u64) -> DatenLordResult> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 112 - async fn readlink(&self, ino: u64) -> DatenLordResult> { [INFO] [stdout] 112 + async fn readlink(&self, storage::fs_util::ROOT_ID: u64) -> DatenLordResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:116:48 [INFO] [stdout] | [INFO] [stdout] 116 | async fn open(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 116 | async fn open(&self, _uid: u32, _gid: u32, _ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 116 - async fn open(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] 116 + async fn open(&self, _uid: u32, _gid: u32, storage::fs_util::ROOT_ID: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 122 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 122 - ino: u64, [INFO] [stdout] 122 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | fh: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 123 | _fh: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 123 - fh: u64, [INFO] [stdout] 123 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 124 | _offset: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 124 - offset: u64, [INFO] [stdout] 124 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/storage/localfs.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | 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:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 136 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 136 - ino: u64, [INFO] [stdout] 136 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | fh: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | _fh: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 137 - fh: u64, [INFO] [stdout] 137 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | 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:145:65 [INFO] [stdout] | [INFO] [stdout] 145 | 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:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | 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:171:50 [INFO] [stdout] | [INFO] [stdout] 171 | 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:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 177 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 177 - ino: u64, [INFO] [stdout] 177 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | fh: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | _fh: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 178 - fh: u64, [INFO] [stdout] 178 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 186 | async fn statfs(&self, _uid: u32, _gid: u32, ino: u64) -> DatenLordResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 186 | async fn statfs(&self, _uid: u32, _gid: u32, _ino: u64) -> DatenLordResult { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 186 - async fn statfs(&self, _uid: u32, _gid: u32, ino: u64) -> DatenLordResult { [INFO] [stdout] 186 + async fn statfs(&self, _uid: u32, _gid: u32, storage::fs_util::ROOT_ID: u64) -> DatenLordResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/storage/localfs.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | 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:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | 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:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | ino: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 213 | _ino: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 213 - ino: u64, [INFO] [stdout] 213 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fh` [INFO] [stdout] --> src/storage/localfs.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | fh: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 214 | _fh: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 214 - fh: u64, [INFO] [stdout] 214 + storage::fs_util::ROOT_ID: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/storage/localfs.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | 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:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | 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:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | 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:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | 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:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | parent: INum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 224 | _parent: INum, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 224 - parent: INum, [INFO] [stdout] 224 + storage::fs_util::ROOT_ID: INum, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ino` [INFO] [stdout] --> src/storage/localfs.rs:241:51 [INFO] [stdout] | [INFO] [stdout] 241 | async fn opendir(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 241 | async fn opendir(&self, _uid: u32, _gid: u32, _ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ROOT_ID` [INFO] [stdout] | [INFO] [stdout] 241 - async fn opendir(&self, _uid: u32, _gid: u32, ino: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] 241 + async fn opendir(&self, _uid: u32, _gid: u32, storage::fs_util::ROOT_ID: u64, _flags: u32) -> DatenLordResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operator` is never read [INFO] [stdout] --> src/storage/localfs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LocalFS { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 15 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fileattr_from_metadata` is never used [INFO] [stdout] --> src/storage/localfs.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl LocalFS { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sdk/py/datenlord.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 18 | impl DatenlordSDK { [INFO] [stdout] | ------------ `DatenlordSDK` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e085feda381af2b3b7a33dc99f94651b925147c85b218e84e9db8425e4791202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e085feda381af2b3b7a33dc99f94651b925147c85b218e84e9db8425e4791202", kill_on_drop: false }` [INFO] [stdout] e085feda381af2b3b7a33dc99f94651b925147c85b218e84e9db8425e4791202