[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 master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIRONICBo%2Fc_buffer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IRONICBo/c_buffer on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clippy-utilities v0.1.0 [INFO] [stderr] Downloaded reqsign v0.14.9 [INFO] [stderr] Downloaded anyhow v1.0.87 [INFO] [stderr] Downloaded procfs v0.16.0 [INFO] [stderr] Downloaded procfs-core v0.16.0 [INFO] [stderr] Downloaded async-compat v0.2.4 [INFO] [stderr] Downloaded flagset v0.4.6 [INFO] [stderr] Downloaded backon v0.4.4 [INFO] [stderr] Downloaded pkcs5 v0.7.1 [INFO] [stderr] Downloaded pyo3-build-config v0.16.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.6 [INFO] [stderr] Downloaded scrypt v0.11.0 [INFO] [stderr] Downloaded pyo3 v0.16.6 [INFO] [stderr] Downloaded pyo3-ffi v0.16.6 [INFO] [stderr] Downloaded opendal v0.43.0 [INFO] [stderr] Downloaded pyo3-macros v0.16.6 [INFO] [stderr] Downloaded cbindgen v0.26.0 [INFO] [stderr] Downloaded rustix v0.38.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 882b1809c428edb1825e89e52035de8395a81c1216d792aabc49b847d83ebb3a [INFO] running `Command { std: "docker" "start" "-a" "882b1809c428edb1825e89e52035de8395a81c1216d792aabc49b847d83ebb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "882b1809c428edb1825e89e52035de8395a81c1216d792aabc49b847d83ebb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882b1809c428edb1825e89e52035de8395a81c1216d792aabc49b847d83ebb3a", kill_on_drop: false }` [INFO] [stdout] 882b1809c428edb1825e89e52035de8395a81c1216d792aabc49b847d83ebb3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a812811a59b1bcb05f481471c7af7eaf127cd7f9c18cb7de5ced42cd0ccf1f68 [INFO] running `Command { std: "docker" "start" "-a" "a812811a59b1bcb05f481471c7af7eaf127cd7f9c18cb7de5ced42cd0ccf1f68", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [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 libc v0.2.158 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [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 inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling pyo3-build-config v0.16.6 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Compiling pyo3-ffi v0.16.6 [INFO] [stderr] Compiling pyo3 v0.16.6 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clippy-utilities v0.1.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.6 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [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] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling pyo3-macros v0.16.6 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compat v0.2.4 [INFO] [stderr] Checking backon v0.4.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_json v1.0.128 [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 jsonwebtoken v9.3.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling datenlord v0.1.0 (/opt/rustwide/workdir) [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: 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: `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: 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] | ^^^^^^^^^ 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: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: `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/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: `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: `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: `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: `recursive` [INFO] [stdout] --> src/sdk/c/datenlord.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | recursive: bool [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [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: `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: `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: `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: `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: `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: `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: `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] | ^^^ help: if this is intentional, prefix it with an underscore: `_ino` [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:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | 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: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] | ^^^ 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:116:48 [INFO] [stdout] | [INFO] [stdout] 116 | 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:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | 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:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [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] | ^^^ 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:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | 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: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: `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: `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] | ^^^ 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:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | 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:186:50 [INFO] [stdout] | [INFO] [stdout] 186 | 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: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] | ^^^ 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:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | 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: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: `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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [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: `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] | ^^^ 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:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | 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:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | 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: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] | ^^^ 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:116:48 [INFO] [stdout] | [INFO] [stdout] 116 | 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:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | 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:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [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] | ^^^ 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:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | 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: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: `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: `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] | ^^^ 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:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | 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:186:50 [INFO] [stdout] | [INFO] [stdout] 186 | 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: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] | ^^^ 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:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | 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: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: `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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [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: `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] | ^^^ 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: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] [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 21s [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 3` [INFO] running `Command { std: "docker" "inspect" "a812811a59b1bcb05f481471c7af7eaf127cd7f9c18cb7de5ced42cd0ccf1f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a812811a59b1bcb05f481471c7af7eaf127cd7f9c18cb7de5ced42cd0ccf1f68", kill_on_drop: false }` [INFO] [stdout] a812811a59b1bcb05f481471c7af7eaf127cd7f9c18cb7de5ced42cd0ccf1f68